/*---Use for slideshow 2.8.0 and after---*/
/*----for fixed width and fixed height slideshow------*/
/*#hero-main {
    height: 720px;
    width: 1280px;
    margin: 0 auto;
}
*/
/*---------for cover background image slideshow---------*/
#hero-main {
    width: 100%;
    height: 100vh;
}

/*-----Global slideshow styles------*/

#hero-main {
    position: relative;
    overflow: hidden;
}

.slideshow {
    position: relative;
    height: 100%;
    width: 100%;
    text-indent: -5000px;
}

    .slideshow .slide, .slideshow video {
        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: top center;
        background-size: cover;
        /*background-attachment: fixed;*/
        opacity: 1;
    }

.csstransforms .slideshow .slide, .csstransforms .slideshow video {
    z-index: 1;
    display: block;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-backface-visibility: hidden;
}

    .csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
        z-index: 2;
        visibility: visible;
    }

.Table-Slide {
    display: none;
}
/**************************/
/*Caption Container*/
.caption-container {
    position: absolute;
    left: 50%;
    margin-left: -40%;
    top: 16%;
    width: 80%;
    min-height: 275px;
    text-indent: 0;
    overflow: hidden;
    display: block;
    z-index: 500;
    -webkit-backface-visibility: hidden;
}
/* ---Use these two rules for captions that slide in and out--*/
/*
.csstransforms .captionInActive {
	right:-1000px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.csstransforms .captionActive {
	right: 0px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}*/

/*---Use these two rules for captions that fade in and out--*/
.csstransforms .captionInActive {
    opacity: 0;
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
    -webkit-backface-visibility: hidden;
    transition-delay: .5s;
}

.csstransforms .captionActive {
    opacity: 1;
    z-index: 100;
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
    -webkit-backface-visibility: hidden;
    transition-delay: .5s;
}

.caption-container div.caption {
    position: absolute;
    top: 0;
    margin: 0;
    overflow: hidden;
    border-collapse: collapse;
}

    .caption-container div.caption > * {
        border: none;
        margin: 0 !important;
        text-align: left;
    }

    .caption-container div.caption h2 {
        position: relative;
        margin: 0;
    }

    .caption-container div.caption p {
        margin: 5px 0;
    }

.slideshow-control-bar {
    position: absolute;
    bottom: 15rem;
    left: 0;
    right: 0;
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    z-index: 91;
}

    .slideshow-control-bar > button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 2rem;
        width: 2rem;
        text-align: center;
        padding: 0;
        margin: .5rem;
        border-radius: 500px;
        border-width: 0;
        cursor: pointer;
        background-color: rgba(255,255,255,.75);
        overflow: hidden;
    }

        .slideshow-control-bar > button:hover {
            background-color: #ff6600;
        }

        .slideshow-control-bar > button > i {
            display: flex;
            justify-content: center;
            text-align: center;
        }

.slideshow-play {
    display: none !important;
}

.slideshow-stopped .slideshow-play {
    display: inherit !important;
}

.slideshow-pause {
    display: inherit !important;
}

.slideshow-stopped .slideshow-pause {
    display: none !important;
}

.slideshow-container-controls {
    display: none;
    justify-content: center;
    width: 100%;
    order: 0;
}

.TOC .slideshow-container-controls {
    display: flex;
}

.slideshow-container-controls div {
    cursor: pointer;
    margin: .25rem;
    display: inline-block;
}

    .slideshow-container-controls div img {
        cursor: pointer;
        height: 40px;
        border-collapse: collapse;
        border-width: 0px;
        float: left;
        margin: 0px 0px 0px -60px;
    }

    .slideshow-container-controls div a {
        display: block;
        height: 1rem;
        width: 1rem;
        line-height: 1rem;
        overflow: hidden;
        text-decoration: none;
        background-color: rgba(255, 255, 255, 0.5);
        color: #fff;
        text-align: center;
        border-radius: 500px;
        text-indent: -0px;
        text-indent: -500px;
    }

.csstransitions .slideshow-container-controls div a, .csstransitions .slideshow-container-controls div:after {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.slideshow-container-controls div a:hover {
    background-color: #ff6600 !important;
    color: #fff !important;
}

.slideshow-container-controls div a .numeric-index {
    display: block;
}

.toc-active a {
    background-color: #ff6600 !important;
    color: #666 !important;
}


/** Slide transitions **
/** Add the '/' after the line with the title to enable the transition **

/** fade **/
.csstransforms .slideshow .slide, .csstransforms .slideshow video {
    opacity: 0;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

    .csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
        opacity: 1;
    }

/** Blur & Fade **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	opacity:0;
	-webkit-filter:blur(20px);
	-filter:blur(20px);
	-webkit-transition: all 5s ease-in-out;
	-moz-transition: all 5s ease-in-out;
	-ms-transition: all 5s ease-in-out;
	-o-transition: all 5s ease-in-out;
	transition: all 5s ease-in-out;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
	opacity:1;
	-webkit-filter:blur(0px);
	filter:blur(0px);
}

/** Brightness Maxing **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	opacity:0;
	-webkit-filter:brightness(10);
	filter:brightness(10);
	-webkit-transition: all 5s ease-in-out;
	-moz-transition: all 5s ease-in-out;
	-ms-transition: all 5s ease-in-out;
	-o-transition: all 5s ease-in-out;
	transition: all 5s ease-in-out;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
	opacity:1;
	-webkit-filter:brightness(1);
	filter:brightness(1);
}

/** slide-left **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:translateX(100%);
	-moz-transform:translateX(100%);
	-ms-transform:translateX(100%);
	transform:translateX(100%);
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
	-webkit-transform:translateX(0%) !important;
	-moz-transform:translateX(0%) !important;
	-ms-transform:translateX(0%) !important;
	transform:translateX(0%) !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous {
	-webkit-transform:translateX(-100%);
	-moz-transform:translateX(-100%);
	-ms-transform:translateX(-100%);
	transform:translateX(-100%);
}

/** slide-right **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:translateX(-100%);
	-moz-transform:translateX(-100%);
	-ms-transform:translateX(-100%);
	transform:translateX(-100%);
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active{
	-webkit-transform:translateX(0%) !important;
	-moz-transform:translateX(0%) !important;
	-ms-transform:translateX(0%) !important;
	transform:translateX(0%) !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous{
	-webkit-transform:translateX(100%);
	-moz-transform:translateX(100%);
	-ms-transform:translateX(100%);
	transform:translateX(100%);
}

/** slide-down **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:translateY(-100%);
	-moz-transform:translateY(-100%);
	-ms-transform:translateY(-100%);
	transform:translateY(-100%);
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active{
	-webkit-transform:translateY(0%) !important;
	-moz-transform:translateY(0%) !important;
	-ms-transform:translateY(0%) !important;
	transform:translateY(0%) !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous {
	-webkit-transform:translateY(100%);
	-moz-transform:translateY(100%);
	-ms-transform:translateY(100%);
	transform:translateY(100%);
}

/** slide-up **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:translateY(100%);
	-moz-transform:translateY(100%);
	-ms-transform:translateY(100%);
	transform:translateY(100%);
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active{
	-webkit-transform:translateY(0%) !important;
	-moz-transform:translateY(0%) !important;
	-ms-transform:translateY(0%) !important;
	transform:translateY(0%) !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous {
	-webkit-transform:translateY(-100%);
	-moz-transform:translateY(-100%);
	-ms-transform:translateY(-100%);
	transform:translateY(-100%);
}

/** flip horizontal **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transition: all 3.5s ease-in-out;
	-moz-transition: all 3.5s ease-in-out;
	-ms-transition: all 3.5s ease-in-out;
	-o-transition: all 3.5s ease-in-out;
	transition: all 3.5s ease-in-out;
	-webkit-transform: rotateX(5deg) rotateY(-180deg) translateY(0px) scale(.75);
    -moz-transform: rotateX(5deg) rotateY(-180deg) translateY(0px) scale(.75);
    -o-transform: rotateX(5deg) rotateY(-180deg) translateY(0px) scale(.75);
    -ms-transform: rotateX(5deg) rotateY(-180deg) translateY(0px) scale(.75);
    transform: rotateX(5deg) rotateY(-180deg) translateY(0px) scale(.75);
    opacity:0;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.active, .csstransforms .slideshow video.previous {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    overflow:hidden;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
    -webkit-transform: rotateY(0deg) translateY(0px) scale(1) !important;
    -moz-transform: rotateY(0deg) translateY(0px) scale(1) !important;
    -ms-transform: rotateY(0deg) translateY(0px) scale(1) !important;
    transform: rotateY(0deg) translateY(0px) scale(1) !important;
    opacity:1 !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous{
    -webkit-transform: rotateX(5deg) rotateY(180deg) translateY(0px) scale(.75);
    -moz-transform: rotateX(5deg) rotateY(180deg) translateY(0px) scale(.75);
    -o-transform: rotateX(5deg) rotateY(180deg) translateY(0px) scale(.75);
    -ms-transform: rotateX(5deg) rotateY(180deg) translateY(0px) scale(.75);
    transform: rotateX(5deg) rotateY(180deg) translateY(0px) scale(.75);
    opacity:0;
}

/** flip vertical **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transition: all 3.5s ease-in-out;
	-moz-transition: all 3.5s ease-in-out;
	-ms-transition: all 3.5s ease-in-out;
	-o-transition: all 3.5s ease-in-out;
	transition: all 3.5s ease-in-out;
	-webkit-transform: rotateX(-180deg);
    -moz-transform: rotateX(-180deg);
    -o-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    opacity:0;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.active, .csstransforms .slideshow video.previous {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    overflow:hidden;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
    -webkit-transform: rotateX(0deg) !important;
    -moz-transform: rotateX(0deg) !important;
    -ms-transform: rotateX(0deg) !important;
    -o-transform: rotateX(0deg) !important;
    opacity:1 !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous{
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity:0;
}

/** Spin **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:  rotateZ(-180deg)  scale(5.8);
    -moz-transform:  rotateZ(-180deg)  scale(5.8);
    -o-transform:  rotateZ(-180deg)  scale(5.8);
    -ms-transform:  rotateZ(-180deg)  scale(5.8);
    transform: rotateZ(-180deg)  scale(5.8);
    transform-origin: 50% 100%;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.active, .csstransforms .slideshow video.previous {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    overflow:hidden;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    -webkit-transition: all 3.5s ease-in-out;
	-moz-transition: all 3.5s ease-in-out;
	-ms-transition: all 3.5s ease-in-out;
	-o-transition: all 3.5s ease-in-out;
	transition: all 3.5s ease-in-out;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active{
    -webkit-transform: rotateZ(0deg) scale(1) !important;
    -moz-transform: rotateZ(0deg) scale(1) !important;
    -ms-transform: rotateZ(0deg) scale(1) !important;
    -o-transform: rotateZ(0deg) scale(1) !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous{
    -webkit-transform: rotateZ(180deg) scale(5.8);
    -moz-transform: rotateZ(180deg) scale(5.8);
    -o-transform: rotateZ(180deg) scale(5.8);
    -ms-transform: rotateZ(180deg) scale(5.8);
    transform: rotateZ(180deg) scale(5.8);
}

/** Slow Pan and Fade **
.csstransforms .slideshow .slide, .csstransforms .slideshow video {
    -webkit-transform: translateX(-5%) scale(1.1);
    -moz-transform: translateX(-5%) scale(1.1);
    -o-transform: translateX(-5%) scale(1.1);
    -ms-transform: translateX(-5%) scale(1.1);
    transform: translateX(-5%) scale(1.1);
    transform-origin: 50% 100%;
    opacity: 0;
}

    .csstransforms .slideshow .slide.active, .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.active, .csstransforms .slideshow video.previous {
        overflow: hidden;
        -webkit-transition: all 2s ease-in-out;
        -moz-transition: all 2s ease-in-out;
        -ms-transition: all 2s ease-in-out;
        -o-transition: all 2s ease-in-out;
        transition: all 2s ease-in-out;
    }

    .csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active {
        -webkit-transform: translateX(0%) scale(1) !important;
        -moz-transform: translateX(0%) scale(1) !important;
        -ms-transform: translateX(0%) scale(1) !important;
        -o-transform: translateX(0%) scale(1) !important;
        opacity: 1 !important;
    }

    .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous {
        -webkit-transform: translateX(-5%) scale(1.1);
        -moz-transform: translateX(-5%) scale(1.1);
        -o-transform: translateX(-5%) scale(1.1);
        -ms-transform: translateX(-5%) scale(1.1);
        transform: translateX(-5%) scale(1.1);
    }

/** Scale Snap In **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
	-webkit-transform:  scale(1.5);
    -moz-transform:  scale(1.5);
    -o-transform:  scale(1.5);
    -ms-transform:  scale(1.5);
    transform: scale(1.5);
    opacity:0;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.active, .csstransforms .slideshow video.previous{
    overflow:hidden;
    -webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}
.csstransforms .slideshow .slide.active, .csstransforms .slideshow video.active{
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    opacity:1 !important;
}
.csstransforms .slideshow .slide.previous, .csstransforms .slideshow video.previous{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

/** Lined Up **
.csstransforms .slideshow .slide, .csstransforms .slideshow video{
    -webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: transform 1s ease-in-out;
}
.csstransforms .slideshow .slide.item-2, .csstransforms .slideshow video.item-2{
    transform: translateX(0%);
    z-index:1 !important;
}
.csstransforms .slideshow .slide.item-3, .csstransforms .slideshow video.item-3{
    transform: translateX(100%);
    z-index:4!important;
}
.csstransforms .slideshow .slide.item-0, .csstransforms .slideshow video.item-0{
    transform: translateX(10%);
    z-index:3 !important;
}
.csstransforms .slideshow .slide.item-1, .csstransforms .slideshow video.item-1{
    transform: translateX(0%);
    transition: none;
    border-radius: 0px;
    z-index:2 !important;
}*/
/*----------Responsive styles ---------------*/
@media only screen and (max-width:1300px) {
    hero-main {
        height: 100%;
    }
}

@media only screen and (max-width:1250px) {
}

@media only screen and (max-width:1095px) {
}

@media only screen and (max-width:970px) {
}

@media only screen and (max-width:860px) {
    #hero-main {
        height: 500px;
    }
}

@media only screen and (max-width:640px) {
}

@media only screen and (max-width:560px) {
    #hero-main {
        height: 300px;
    }
}
/*CSS Cover Fix:*/
@media screen and (min-aspect-ratio: 16/9) {
    .slideshow video {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto;
    }
}

@media screen and (max-aspect-ratio: 16/9) {
    .slideshow video {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        height: 100%;
    }
}

@media screen and (min-aspect-ratio: 1920/770) {
    .slideshow img {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto;
    }
}

@media screen and (max-aspect-ratio: 1920/770) {
    .slideshow img {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        height: 100%;
    }
}

@supports (object-fit: cover) {
    .slideshow {
        width: auto;
    }

        .slideshow img, .slideshow video {
            top: 0;
            left: 0;
            transform: none;
            width: auto;
            height: 100%;
            object-fit: cover;
            object-position: 50% 50%;
            overflow: hidden;
        }
}
/**************************/
/** Slideshow Styles End **/
/**************************/
