.home-rotator-constrain {
    max-width:1680px;
    margin: 0 auto;
}
.home-rotator {
    position: relative;
    height: 0;
    /*padding-bottom:55.10%;*/
    padding-bottom:42.06%; /* 710 / 1688 */
    overflow: hidden;
    outline-style: none;
    width: 100%;
}
.home-rotator__items li {
    display:block;
    width: 100%;
    height: 0;
    padding-bottom:42.06%; /* 710 / 1688 */
    position: absolute;
    top:0;bottom:0;
}
.home-rotator__items .content-wrapper {
    width:100%;
    position:relative;
}
.home-rotator__items li .media {
    width: 100%;
    height: 0;
    padding-bottom:42.06%; /* 710 / 1688 */
    display: block;
    position: relative;
}
.home-rotator__items li .media img {
    width:100%;
    height:auto;
}
.home-rotator__items li .media iframe {
    position:absolute;
    width:100%;
    height:100%;
}
.home-rotator__items li .media div.field-type-youtube {
    position: relative;
    top: -2px;
    left: -9999px;
    z-index: 50;
}
.home-rotator__items li:last-child .media div.field-type-youtube {
    position:absolute !important;
    left: 0;
    top:0;
    width:100%;
    height:100%;
}
.home-rotator__items li div.content {
    position: absolute;
    left: 40px;
    bottom:50px;
    z-index:70;
    padding:24px 20px;
    width: 790px;
    color: #3a495b;
    background-color:rgba(96, 106, 114, 0.93);
}
.home-rotator__items li.switch div.content {
    left:auto;
    right: 40px;
}

.home-rotator__items li div.content p {
    font-family: Trebuchet MS, sans-serif;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 0.5em;
    color:white;
    text-shadow: 1px 1px rgba(0,0,0,0.30);
}
.home-rotator__items li div.content h2 {
    font-size: 48px;
    text-transform:none;
    font-family: Georgia;
    margin-bottom: 14px;
    line-height: 48px;
    color:#FFF;
    text-shadow: 2px 1px rgba(0,0,0,0.30);
}
.home-rotator__items li div.content a {
    color: white;
    text-decoration: underline;
    text-transform: uppercase;
}
.home-rotator__items li div.content a:hover {
    text-decoration: underline;
}
.home-rotator__items li div.content a:after {
    font-family: "Font Awesome 5 Free";
    content: "\00A0" "\f0da";
    font-weight:900;
}
.home-rotator div.nav-container {
    background: linear-gradient(to top, rgba(0,0,0,0.60), rgba(0,0,0,0.00));
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 132px;
    z-index:60;

    display:flex;
    justify-content:center;
    align-items:flex-end;
}
.home-rotator ul.nav {
    height: 50px;
    display:flex;
    align-items:center;
}
.home-rotator ul.nav li {
    display: inline;
}
.home-rotator ul.nav li a {
    background: transparent;
    border: 2px solid #e0dedd;
    border-radius: 100%;
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 3px;
}
.home-rotator ul.nav li a:hover,
.home-rotator ul.nav li.active a {
    background: #e0dedd;
}
.home-rotator ul.nav li.rotate a {
    background: transparent url('../img/pause-button.png') no-repeat scroll center center;
    height:18px;
    width:18px;
    margin-left:15px;
}
.home-rotator span.rotate a,
.home-rotator span.rotate a.pause {

}
.home-rotator span.rotate a.play {
    /*background: transparent url('../img/home-rotator-nav-play-icons.png') no-repeat scroll left center;*/
}
.home-rotator span.rotate a:hover {
    background-position: right center;
}


@media screen and (max-width:1200px) {
    .home-rotator__items li div.content {
        width:600px;
    }
    .home-rotator__items li div.content p {
        font-size: 14px;
        line-height: 20px;
        text-shadow: 1px 1px rgba(0,0,0,0.30);
    }
    .home-rotator__items li div.content h2 {
        font-size: 32px;
        line-height: 32px;
    }
}
@media screen and (max-width:800px) {

    .home-rotator {
        box-sizing:content-box;
        height:170px; /* Allow additional space for caption box underneath */
    }
    .home-rotator__items li {
        box-sizing:content-box;
        height:170px; /* Allow additional space for caption box underneath */
    }

    .home-rotator div.nav-container { bottom: 170px; }
    .home-rotator span.rotate { bottom:175px; }

    .home-rotator__items li div.content {
        position: relative;
        left: auto; bottom: auto;
        width: 100%;

        padding:10px 13px;
        height:170px;
    }
    .home-rotator__items li.switch div.content {
        right: auto;
    }

    .home-rotator__items li div.content h2 {
        font-size:20px;
        line-height:24px;
        margin-bottom: 6px;
    }
    .home-rotator__items li div.content p {
        font-size:13px;
        line-height:16px;
    }


}