/*---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;
    z-index: 9;
}

/*-----Global slideshow styles------*/

#hero-main {
    position: relative;
    /* overflow: hidden; */
}

    #hero-main:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -0.75rem;
        height: 3px;
        width: 100%;
        background-color: #666;
    }

.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;
    }

.slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: none;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 50%,rgba(0,0,0,0) 100%);
    z-index: 2;
}

.mobile .slide:before {
    background: linear-gradient(to right, rgba(0,0,0,.2) 0%,rgba(0,0,0,0.5) 50%,rgba(0,0,0,.2) 100%);
}

@media only screen and (max-width: 640px) {
    .mobile .slide:before {
        background: rgba(0,0,0,0.6);
    }
}

.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: -30%;
    top: 25vh;
    width: 60%;
    min-height: 275px;
    text-indent: 0;
    /* overflow: hidden; */
    display: block;
    z-index: 5;
    -webkit-backface-visibility: hidden;
}

.test .caption-container {
    border: 3px dashed yellow;
}
/* ---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: .1s;
    transform: translate(0px, 30px);
}

.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;
    transform: translate(0px, 0px);
}

.caption-container div.caption {
    position: absolute;
    width: 100%;
    top: 0;
    margin: 0;
    /* overflow: hidden; */
    color: #fff;
    font-family: 'Roboto';
    border-collapse: collapse;
    padding: 0px 25px 0 25px;
}

    .caption-container div.caption > * {
        border: none;
        margin: 0 !important;
        text-align: left;
    }

    .caption-container div.caption h2 {
        position: relative;
        font-family: "Roboto Slab";
        font-weight: 700;
        color: #fff;
        margin: 0;
        padding: 0;
        font-size: 2.441rem;
        line-height: 1;
        text-align: center;
    }

        .caption-container div.caption h2:not(:only-of-type):first-child {
            font-family: "Roboto";
            font-weight: 300;
            font-size: 1.75rem;
        }

    .caption-container div.caption p {
        margin: 5px 0;
        padding: 8px 0;
        text-align: center;
    }

        .caption-container div.caption p.Copyright {
            right: inherit;
            left: 0;
            bottom: inherit;
            top: calc(190% - 30px);
            padding: 0px 40px;
        }

@media only screen and (max-width: 1100px) {
    .caption-container div.caption p.Copyright {
        top: calc(170% - 30px);
    }
}

@media only screen and (max-width: 1000px) {
    .caption-container div.caption p.Copyright {
        top: calc(230% - 30px);
    }
}

@media only screen and (max-height: 800px) {
    .caption-container div.caption p.Copyright {
        top: calc(160% - 30px);
    }
}

@media only screen and (max-height: 700px) {
    .caption-container div.caption p.Copyright {
        top: calc(120% - 30px);
    }
}

@media only screen and (max-width: 540px) {
    .caption-container div.caption p.Copyright {
        top: 170%;
    }
}

.caption-container a.Button1 {
    margin: 5px 10px 5px 0;
    font-size: 16px;
    font-family: 'Open Sans Bold', Arial, Helvetica, sans-serif;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    display: inline-block;
    text-decoration: none;
    padding: 14px 20px 14px 20px;
    background-color: #cf3339;
    color: #fff;
    cursor: pointer;
    transition: all .3s ease-in-out;
    outline: 0;
    border: 0;
    border-radius: 2px;
    position: relative;
}

.slideshow-container-controls {
    position: absolute;
    margin: 0 75px 0 0;
    height: 23px;
    bottom: 25vh;
    right: 10%;
    z-index: 5;
    overflow: visible;
}

    .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, 1);
            color: #fff;
            text-align: center;
            /* border-radius: 500px; */
            font-size: 12px;
            text-indent: -0px;
            text-indent: -500px;
        }

.csstransitions .slideshow-container-controls div a, .csstransitions .slideshow-container-controls div:after {
    transition: all .2s ease-in-out;
}

.slideshow-container-controls div a:hover {
    background-color: #cf3339 !important;
    color: #fff !important;
}

.slideshow-container-controls div a .numeric-index {
    display: block;
}

.toc-active a {
    background-color: #cf3339 !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;
    }
}

/** 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:1000px) {
    #hero-main {
        height: calc(100vh - 85px);
    }

    .caption-container {
        top: 22vh;
    }

    .slideshow-container-controls {
        bottom: 5vh;
        right: 0;
    }
}

@media only screen and (max-width:970px) {
}

@media only screen and (max-width:860px) {
    #hero-main {
        /* height: 500px; */
    }

    .caption-container {
        width: 90%;
        margin-left: -45%;
        top: 18vh;
        min-height: 400px;
    }

        .caption-container div.caption h2 {
            /*font-size: 18px;
            line-height: 22px;*/
        }

            .caption-container div.caption h2 + h2 {
                /* font-size: 26px;
                line-height: 30px;
                padding-bottom: 0;*/
            }

        .caption-container div.caption p {
            /*font-size: 14px;
            line-height: 20px;*/
        }

        .caption-container div.caption a.Button1 {
            /*font-size: 14px;
            line-height: 20px;
            padding: 10px 15px;*/
        }
}

@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 **/
/**************************/
