﻿/*---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;
}

@media only screen and (max-width:320px) {
    #hero-main {
        height: 40rem;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 20rem;
    }

    .caption-container {
        background-color: #fff;
        height: 20rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .slideshow-container-controls {
        margin: 0 75px 1em 0;
        width: 100%;
        bottom: 20rem;
        left: 0;
        text-align: center;
    }
}

@media only screen and (min-width:321px) and (max-width:480px) {
    #hero-main {
        height: 30rem;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 20rem;
    }

    .caption-container {
        background-color: #fff;
        height: 20rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .slideshow-container-controls {
        margin: 0 75px 1em 0;
        width: 100%;
        bottom: 20rem;
        left: 0;
        text-align: center;
    }
}

@media only screen and (min-width:481px) and (max-width:640px) {
    #hero-main {
        height: 30rem;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 19rem;
    }

    .caption-container {
        background-color: #fff;
        height: 19rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .slideshow-container-controls {
        margin: 0 75px 1em 0;
        width: 100%;
        bottom: 19rem;
        left: 0;
        text-align: center;
    }
}

@media only screen and (min-width:641px) and (max-width:1000px) {
    #hero-main {
        height: 30rem;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 16rem;
    }

    .caption-container {
        background-color: #fff;
        height: 16rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .slideshow-container-controls {
        margin: 0 75px 1em 0;
        width: 100%;
        bottom: 16rem;
        left: 0;
        text-align: center;
    }
}

@media only screen and (min-width:481px) and (max-width:1000px) and (max-aspect-ratio: 1/2) {
    #hero-main {
        height: calc(125vh - 4.5rem);
        padding-bottom: 55vh;
    }
}

@media only screen and (min-width:1001px) and (max-height:860px) {
    #hero-main {
        min-height: 40rem;
    }
}

.slideshow {
    position: relative;
    height: 100%;
    width: 100%;
    text-indent: -5000px;
}

@media screen and (min-width: 1001px) {
    .slideshow:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
        height: 100%;
        width: 100%;
        background: linear-gradient(100deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 20%,rgba(255,255,255,.8) 30%,rgba(255,255,255,0) 50%), radial-gradient(circle at 55%, rgba(255, 255, 255, 0) 20%,rgba(255, 255, 255, .6) 60%,rgba(255, 255, 255, .6) 100%);
        background-repeat: no-repeat;
    }
}

.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;
}

@media only screen and (max-width:1000px) {
    .slideshow .slide, .slideshow video {
        background-position: center;
        background-size: cover;
    }
}

.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 {
    text-indent: 0;
    display: block;
    position: relative;
}

@media only screen and (min-width:1001px) {
    .caption-container {
        position: absolute;
        left: 50%;
        margin-left: -40%;
        top: 22%;
        width: 31%;
        min-height: 22rem;
        text-indent: 0;
        overflow: hidden;
        display: block;
        z-index: 500;
        -webkit-backface-visibility: hidden;
    }
}

@media only screen and (min-width:1001px) and (max-height:860px) {
    .caption-container {
        top: 9rem;
    }
}


/* ---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;
    color: #333333;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 600;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 16px;
    font-size: 20px;
    line-height: 25px;
}

@media only screen and (max-width:1000px) {
    .caption-container div.caption {
        padding: 5%;
    }
}

.caption-container div.caption > * {
    border: none;
    margin: 0 !important;
    text-align: left;
}

.caption-container div.caption h2 {
    position: relative;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: rgba(224, 58, 62, 1);
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.2em;
}

    .caption-container div.caption h2 + h2 {
        color: #666;
        padding: 0 0 5px 0;
        font-size: 2.5rem;
        line-height: 1.1em;
        font-family: 'Droid Serif', Arial, Helvetica, sans-serif;
        letter-spacing: -0.025em;
    }

@media only screen and (max-height:890px) and (min-width:1001px) {
    .caption-container div.caption h2 + h2 {
        font-size: 2rem;
    }
}

.caption-container div.caption p {
    margin: 5px 0;
    padding: 8px 0;
}

@media only screen and (max-height:890px) and (min-width:1001px) {
    .caption-container div.caption p {
        font-size: .8rem;
    }
}

.slideshow-container-controls {
    position: absolute;
    height: 23px;
    z-index: 750;
    overflow: visible;
}

@media only screen and (min-width:1001px) {
    .slideshow-container-controls {
        margin: 0 auto;
        bottom: 34vh;
        left: 0;
        right: 0;
        width: 80%;
        display: flex !important;
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media screen and (max-height:768px) and (min-width:1001px) {
    .slideshow-container-controls {
        bottom: 270px;
    }
}

.slideshow-container-controls div {
    cursor: pointer;
    height: 15px;
    width: 15px;
    line-height: 15px;
    margin: 2px 2px;
    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: 12px;
        width: 12px;
        line-height: 12px;
        overflow: hidden;
        text-decoration: none;
        background-color: rgba(255, 255, 255, 0.5);
        color: #fff;
        text-align: center;
        border-radius: 500px;
        font-size: 12px;
        text-indent: -0px;
        text-indent: -500px;
        box-shadow: 0em .15em .3em rgba(0,0,0,.15);
    }

.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: rgba(224, 58, 62, 1) !important;
    color: #fff !important;
}

.slideshow-container-controls div a .numeric-index {
    display: block;
}

.toc-active a {
    background-color: rgba(224, 58, 62, 1) !important;
    color: #666 !important;
}

#next, #previous {
    position: absolute;
    width: 60px;
    height: 100%;
    line-height: 400px;
    top: 0px;
    right: 0px;
    z-index: 9;
    cursor: pointer;
    color: #002a5c;
    font-size: 100px;
    text-align: right;
    padding-left: 20px;
    padding-right: 50px;
    transition: all .5s ease-in-out;
}

#previous {
    left: 0px;
    text-align: left;
    padding-right: 0px;
}

#next {
    padding-left: 0px;
}

    #next i, #previous i {
        position: absolute;
        top: 36%;
    }

.csstransitions #next, .csstransitions #previous {
    transition: all .5s ease-in-out;
}

#next:hover {
    transform: translate(3px,0);
}

#previous:hover {
    transform: translate(-3px,0);
}

@media only screen and (max-width:768px) {
    #next i, #previous i {
        top: initial;
        bottom: 3%;
        font-size: 80px;
    }
}

/** 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;
    }

/*----------Responsive styles ---------------*/

@media only screen and (max-width:1000px) {

    .caption-container div.caption h2 {
        font-size: 1.2rem;
        line-height: 1.3em;
    }

        .caption-container div.caption h2 + h2 {
            font-size: 1.5rem;
            line-height: 1.3em;
            padding-bottom: 0;
        }

    .caption-container div.caption p {
        font-size: 1rem;
        line-height: 1.3em;
    }

    .caption-container div.caption a.Button1 {
        font-size: 1rem;
        line-height: 1.3em;
        padding: 10px 15px;
    }
}

/*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;
        background-color: #fff;
    }

        .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 **/
/**************************/
