/**************************/
/**Slideshow Styles Start**/
/**************************/

.Table-Slide {
    display: none;
}

/**************************/
/*Caption Container*/
.caption-container {
    display: block;
    z-index: 8;
    text-align: center;
    position: relative;
    order: 2;
    padding: 0 4rem;
    height: 16rem;
    min-height: 16rem;
    width: 40rem;
    box-sizing: border-box;
}

    .caption-container .caption::before,
    .caption-container .caption::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 100%;
        height: calc(100% + 4rem);
        transform: translate3d(0, -50%, 0);
        padding-left: 8rem;
        /* background-image: u r l(../images/curve.svg); */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 100% 50%;
    }

    .caption-container .caption::after {
        right: auto;
        left: 100%;
        transform: translate3d(0, -50%, 0) rotate(180deg);
    }

.csstransforms .captionInActive {
    opacity: 0;
    transition: all .8s ease-in-out;
    -webkit-backface-visibility: hidden;
    transition-delay: .1s;
    transform: scale(0.90);
    transform-origin: 50% 200%;
}

.csstransforms .captionActive {
    z-index: 8;
    opacity: 1;
    transition: all .8s ease-in-out;
    -webkit-backface-visibility: hidden;
    transition-delay: .5s;
    transform: scale(1);
}

.caption-container div.caption {
    position: absolute;
    top: 0;
    left: 0;
    /* height: 100%; */
    width: 100%;
    /* overflow: hidden; */
}

    .caption-container div.caption > * {
        border: none;
    }

.slideshow {
    /* position: absolute; */
    height: 0;
    width: 100%;
    text-indent: -5000px;
    order: 3;
    z-index: 1;
    flex-grow: 3;
    transition: all 0.5s cubic-bezier(0.43, -0.14, 0.31, 1.14);
}

    .slideshow video, .slideshow .slide {
        display: block;
        position: absolute;
        width: auto;
        height: auto;
        min-height: 100%;
        min-width: 100%;
        max-width: none;
        top: 0;
        left: 0;
        z-index: 1;
        border-width: 0px;
        overflow: hidden;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: cover;
        opacity: .5;
        transition: all .5s ease-in-out;
        -webkit-backface-visibility: hidden;
    }

        .slideshow .slide.active, .slideshow video.active {
            z-index: 2;
        }

.slideshow-container-controls {
    order: 1;
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    margin-bottom: 1rem;
    flex-grow: 1;
}

    .slideshow-container-controls div {
        overflow: hidden;
        text-indent: -5000px;
    }

        .slideshow-container-controls div + div {
            margin-left: 0.5rem;
        }

        .slideshow-container-controls div img {
            display: none;
        }

        .slideshow-container-controls div a {
            display: block;
            height: 1rem;
            width: 1rem;
            overflow: hidden;
            border: solid 1px #c7c9c8;
            margin-top: 1px;
            border-radius: 50%;
        }

.csstransitions .slideshow-container-controls div a, .csstransitions .slideshow-container-controls div:after {
    transition: all .2s ease-in-out;
}

.slideshow-container-controls div a .numeric-index {
    display: none;
}

#next, #previous {
    /* content: ""; */
    display: block;
    position: absolute;
    width: 60px;
    height: 100%;
    line-height: 400px;
    top: 0px;
    right: 0px;
    z-index: 8;
    cursor: pointer;
    color: #fff;
    opacity: .3;
    font-size: 100px;
    text-align: right;
    padding-left: 50px;
    padding-right: 50px;
}

#previous {
    left: 0px;
    text-align: left;
}

    #next i, #previous i {
        position: absolute;
        top: 30%;
    }

.csstransitions #next, .csstransitions #previous {
    transition: all .5s ease-in-out;
}

#next:hover, #previous:hover {
    opacity: 1;
}

#next:hover {
    transform: translate(3px,0);
}

#previous:hover {
    transform: translate(-3px,0);
}

/** Slide transitions **
/** fade **/
.csstransforms .slideshow .slide, .csstransforms .slideshow video {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
        opacity: .4;
    }

/* Responsive Queries ---------------------------------------*/
@media only screen and (max-width:1280px) {
}

@media only screen and (max-width:768px) {
    .caption-container {
        width: 30rem;
    }

        .caption-container .caption::before,
        .caption-container .caption::after {
            content: none;
        }
}

@media only screen and (max-width:640px) {
    .caption-container {
        width: 24rem;
    }

    .slideshow {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: all 0.5s cubic-bezier(0.43, -0.14, 0.31, 1.14);
    }

    .openob .slideshow {
        height: 67%;
    }
}

@media only screen and (max-width:480px) {
    .caption-container {
        width: 22rem;
        min-height: 18rem;
    }
}

@media only screen and (max-width:320px) {
}
/**************************/
/** Slideshow Styles End **/
/**************************/
