body {
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: 'Muli', sans-serif !important;
}

body.mobileMenuOpen {
    overflow-y: hidden;
}

/* ------ DEFAULTS ------ */

.mainpage a {
    color: #007DB3;
}

#mainContent {
    padding-left: 3vw;
    padding-right: 3vw;
    padding-bottom: 2vw;
}

#pageBody {
    min-height: 400px;
    padding: 0px;
    margin-left: 0px;
    transition: margin-left 0.4s;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#mainContent h1 {
    color: #007DB3;
    margin-top: 2vw;
    font-size: 2rem;
    margin-bottom: 1vw;
}

#mainContent h1, #mainContent h2, #mainContent h3 {
    font-family: 'Muli', sans-serif !important;
    padding-bottom: 0px;
}

#skipToContent {
    position: absolute;
    top: -1000px;
    left: -1000px;
    height: 1px;
    width: 1px;
    text-align: left;
    overflow: hidden;
    background-color: white;
    color: black;
    z-index: 100000;
}

#skipToContent:active, #skipToContent:focus, #skipToContent:hover {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
}

/* ---------------------- */

/*------ FOOTER --------*/

#pageFooter {
    width: 100%;
    background-color: #333133;
    overflow: hidden;
    padding: 3vw;
    padding-bottom: 1%;
    transition: 0.4s;
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 0px;
    font-size: 16px
}

#pageFooter .spacer {
    margin: 0 5px;
    color: white
}

#pageFooter p, #pageFooter a, #pageFooter span {
    color: white;
    font-size: 16px;
}

#pageFooter a:hover {
    text-decoration: underline white;
}

#pageFooter span.icon {
    color: white;
    font-size: 35px;
}

#footerCKLogo {
    width: 165px;
    padding-bottom: 15px;
    margin-top: auto
}
#footerSocialMedia {
    margin-bottom: 1rem;
}
#footerSocialMedia span.icon {
    transition: 0.4s;
}

#footerTwitter span.icon:hover, #footerTwitter:focus span.icon {
    color: #1DA1F2;
}

#footerTwitter:focus, #footerFacebook:focus, #footerYoutube:focus, #footerInstagram:focus {
    outline-style: none;
}

#footerFacebook span.icon:hover, #footerFacebook:focus span.icon {
    color: #4267B2;
}

#footerYoutube span.icon:hover, #footerYoutube:focus span.icon {
    color: #C4302b;
}

#footerInstagram span.icon:hover, #footerInstagram:focus span.icon {
    color: #bc2a8d
}

/*--------------*/

/*- SPOTLIGHT IMAGE/PAGE TITLE -*/

#pageTitle {
    text-align: left;
    color: white;
    width: 100%;
    font-size: calc(28px + (45 - 28) * ((100vw - 320px) / (1600 - 320)));
    font-weight: 700;
    margin-bottom: 10px;
}

#pageTitleContainer {
    display: flex;
    align-items: flex-end;
    position: absolute;
    padding-left: 3%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    font-family: 'Muli', sans-serif !important;
    margin-bottom: 0;
}

#pageTitleContainer div {
    bottom: 20%;
    left: 5%;
    position: relative;
    height: fit-content;
}

.spotlightImage {
    position: relative !important;
    overflow: hidden;
    padding-bottom: 20%;
}

.spotlightImage img, #pageImageEdit img {
    width: 100%;
}

.spotlightImage img:not(.placeholderImage) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
}

.spotlight {
    margin-bottom: 35px;
    width: 100%;
    padding-bottom: 15%;
    overflow-x: hidden;
}

.spotlight img{
    width: 100%;
    position: absolute;
    z-index: -1;
    max-height: 100%
}

/*----------------------------*/

/* ------ HEADER ------ */

#pageHeader {
    background-color: #333133;
    max-width: 100%;
    margin: 0px;
    height: 120px;
    z-index: 1;
    transition: margin-left 0.4s;
    font-size: 16px;
    padding: 0 3vw
}

#headerLeftSide {
    max-height: 100%;
    padding: 0px;
}

#headerImage {
    position: relative;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 0px 0px 30px 30px;
    max-width: 470px;
}

#headerImage a {
    display: flex;
    width: 100%;
    align-items: center;
}

#headerImage a:hover {
    text-decoration: none;
}

#headerImage img {
    max-width: 100%;
    max-height: 100%;
}

/* -------------------- */


/*-------GOOGLE TRANSLATE-----*/

iframe {
    max-width: 100vw;
    max-height: 100vh;
}

div.goog-te-gadget-simple {
    background-color: transparent;
    color: white;
    border: none;
}

div.skiptranslate.goog-te-gadget {
    display: inline;
}

#google_translate_element {
    margin-top: 7px;
}

#google_translate_element a.goog-te-menu-value {
    font-family: 'Muli', sans-serif !important;
}

#google_translate_element>span {
    color: white;
    pointer-events: none;
    position: absolute;
    width: fit-content;
    width: -moz-max-content;
}

#google_translate_element>span>span {
    color: white;
}

#google_translate_element:hover>span>span {
    text-decoration: underline;
}

/* IE Only. Need this becuase pointer-events: none doesnt work in IE */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #google_translate_element:hover>span * {
        display: none;
    }
}

#google_translate_element span.icon {
    color: white;
    font-size: 16px;
}

/*-- Mobile Chin Bar --*/

#mobileChinBar {
    padding: 0px;
    position: fixed;
    bottom: 0;
    height: 38px;
    background-color: rgba(51, 49, 51, 1);
    margin: 0;
    z-index: 25;
    font-size: 0.6rem;
}

#mobileChinBar a, #mobileChinBar span {
    color: white;
}

#mobileChinBar a:hover {
    text-decoration: none;
}

#mobileChinBar span.icon {
    display: block;
}

#mobileChinBar #mobileCloseNavIcon, #mobileChinBar #mobileCloseNavIcon span {
    color: #ff3636;
}

#menuIcon, #mobileCloseNavIcon {
    display: none;
}

#mobileChinBar .visible {
    display: inline;
}

/*----------------------*/


/*------ VERTNAV -------*/

#vertNav {
    padding-right: 0px;
    padding-left: 0px;
    background-color: #333133;
}

#vertNav ul ul:not(.collapse):not(.collapsing) {
    display: none;
}

#vertNav ul {
    padding-left: 0;
    list-style: none;
}

#vertNav li {
    margin: 5px 0;
    cursor: pointer;
}
#vertNav ul.root{
    width: 100%;
    height: fit-content;
    height: -moz-max-content ;
    margin-top: auto;
    
}
#vertNav ul.root>li:first-child {
    margin-top: 0;
}

#vertNav ul.root>li:last-child {
    margin-bottom: 0;
}

#vertNav a:hover, #vertNav span:hover {
    text-decoration: none;
}

#vertNav .nav-header span:not(.ddIndicator) {
    flex: 1;
}

#vertNav span.icon {
    transition-duration: 0.8s;
    color: white;
    vertical-align: middle;
    position: absolute;
    top: 19%;
    left: 43%;
}

span.icon.fa-minus {
    opacity: 0;
}

span.icon.fa-plus {
    opacity: 1;
}

.open span.icon.fa-minus {
    opacity: 1;
}

.open span.icon.fa-plus {
    opacity: 0;
}

[data-toggle="collapse"] span.icon.fa-minus {
    transition-duration: 0.8s;
    opacity: 1;
    position: absolute;
}

[data-toggle="collapse"] span.icon.fa-plus {
    transition-duration: 0.8s;
    opacity: 0;
    position: absolute;
}

[data-toggle="collapse"].collapsed span.icon.fa-minus {
    opacity: 0;
}

[data-toggle="collapse"].collapsed span.icon.fa-plus {
    opacity: 1;
}

.ddIndicator, .ddIndicator:hover {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 35px;
    background: transparent;
    border: transparent;
    min-width: 0;
    padding-left: 10px;
}

/*----------------------*/

#mainContent p, #mainContent li, #mainContent strong, #mainContent span:not(.icon) {
    font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));
    color: #000000;
}

#mainContent ul {
    list-style-type: circle;
}

#mainContent H2 {
    font-size: 25px !important;
    color: #007DB3;
}

#mainContent H3, #mainContent H4, #mainContent H5 {
    font-size: 20px !important;
    color: #007DB3;
}
/* Desktop Only */
@media (min-width: 991.98px) {
    .desktopHide {
        display: none !important;
    }
    #vertNav ul.root {
        margin-top: 0;
        background-color: white;
        padding: 5px 0;
    }
    #vertNav .nav-header {
        color: white;
        display: flex;
        padding: 15px 30px 15px 30px;
        background-color: #007DB3;
        font-size: 20px;
    }
    #vertNav ul:not(.root) {
        background-color: rgb(230, 236, 247);
        overflow: hidden;
        transition: 0.4s;
    }
    #vertNav .nav-link {
        color: black;
        font-weight: 700;
        padding: 5px 20px 5px 40px
    }
    #vertNav .nav-link.selected {
        font-weight: 500;
    }
    #vertNav a.selected:before {
        content: "‣";
        font-weight: 700;
        position: absolute;
        left: 20px;
    }
}
/* Mobile Only */
@media (max-width: 991.98px) {
    #vertNav span.icon {
        transition-duration: 0.8s;
        color: white;
        vertical-align: middle;
        position: absolute;
    }
    #vertNav {
        display: flex;
        width: 100%;
    }
    #vertNav {
        width: 65vw;
        transition: 0.4s;
        position: fixed;
        display: flex;
        z-index: 20;
        background-color: #333133;
        height: 100%;
        left: -65vw;
        right: 0;
        bottom: 0;
        margin-bottom: 38px;
        overflow: scroll;
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
        scrollbar-width: none;
        /* Firefox */
    }
    #vertNav ul.root {
        flex-direction: column;
    }
    #vertNav li {
        width: 100%;
    }
    #vertNav a{
        color: white;
        display: flex;
        font-size: 16px;
    }
    #vertNav ul.root li span:not(.icon) {
        padding: 10px 0px 10px 0px;
    }
    #vertNav ul.root>li {
        border-bottom: 1px solid grey;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    #vertNav ul.root>li:last-child {
        border-bottom: 0px;
    }
    #vertNav a:visited, #vertNav a:hover, #vertNav a:link, #vertNav span.menu-item {
        background: transparent;
        font-weight: normal;
    }
    #vertNav.show {
        left: 0;
    }
    ul.root>li span {
        color: white;
    }
    #vertNav ul.root>li>ul>li>a, ul.root>li>ul>li>span {
        padding-left: 20px;
    }
    #vertNav ul.root>li>ul>li>ul>li>a, ul.root>li>ul>li>ul>li>span {
        padding-left: 40px
    }
    #vertNav ul.root>li>ul>li>ul>li>ul>li>a, ul.root>li>ul>li>ul>li>ul>li>span {
        padding-left: 45px
    }
    /* Cover the content with a 'shadow' when the mobile navigation or mobile search is opened.*/
    #mobileShadow {
        transition: 0.4s;
        z-index: 20;
        pointer-events: none;
        width: 100vw;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(51, 49, 51, 0.0);
    }
    #mobileShadow.showNav {
        pointer-events: auto;
        left: 65vw;
        background-color: rgba(51, 49, 51, 0.8);
    }
    .spotlightImage img {
        width: auto !important;
        height: 20vh;
        min-width: 100vw;
    }
    .spotlightImage {
        padding-bottom: 20vh!important;
    }
    /* Room for chin bar */
    body {
        padding-bottom: 38px;
    }
    ::-webkit-scrollbar {
        display: none;
    }
}