﻿@media screen and (max-width: 376.98px) {
    .tabs-title a {
        font-size: 1.0rem !important; 
    }
    li.tabs-title {
        margin-bottom: -2px; 
    }
}



@media screen and (max-width: 399.98px) {
    img.logo {
        padding: 15px;
        margin-top: -10px;
        margin-bottom: -70px;
        float: right;
    }
}
@media screen and (max-width: 640px) {
    body {
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .program-card {
        margin-bottom: 25px;
    }

    img.logo {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
        font-weight: bold;
    }

    h2 {
        padding-top: 10px;
        font-size: 1.4em;
        font-weight: bold;
    }

    h3 {
        font-size: 1.2em;
    }

    p {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .photocaption {
        font-size: 0.9em;
        padding-left: 20px;
        padding-right: 20px;
    }

    #page-nav {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

        #page-nav label {
            display: inline-block;
            font-style: normal;
            font-size: 1.1em;
            padding: 10px;
            cursor: pointer;
        }

        /* Hide menu items by default on mobile */
        #page-nav ul.headerNavs {
            display: none;
        }

    /* Show menu items when checkbox is checked */
    #hamburger:checked ~ ul.headerNavs {
        display: block;
    }

    /* Break down menu items into vertical */
    #page-nav ul li {
        width: 100%;
        display: block;
    }

    #page-nav ul li {
        border-top: 1px solid #333;
    }

    /* Toggle show/hide menu on checkbox click */
    .headerSubNav {
        display: none;
    }

        .headerSubNav.visible {
            display: block;
        }

    ul.headerSubNav.visible {
        width: 350px !important;
    }

    #page-nav .topNav {
        margin-top: 3.2em;
        margin-left: -2em;
        width: 100% !important;
    }

    #page-nav .topNav {
        text-align: center;
    }

    #pagesLeftContent .sync {
        height: auto;
    }

    .overlap {
        margin-top: 0px !important;
    }

    ul.headerNavs {
        position: unset;
        bottom: unset;
    }

    .headerNavLinks {
        height: unset;
    }
}


@media screen and (max-width: 768px) {

    .socialmedia {
        display display:none;
    }

/*    img.logo {
        margin-top: 5px;
        margin-bottom: -80px;
    }*/

    #pagesLeftContent div {
        background-color: white;
        padding-top: 0px;
    }

    .as-row {
        margin: 0;
        padding: 3px !important;
    }

    ul.nav li {
        margin-bottom: .5em;
    }

    .progheader {
        font-size: 28px;
    }

    .remove-mobile-padding {
        padding: 0 !important;
    }
}


@media screen and (max-width: 1020px) {

    .socialmedia {
        display display:none;
    }

/*    img.logo {
        margin-top: -10px;
        margin-bottom: -80px;
        float:right; 
    }*/

    #pagesLeftContent div {
        background-color: white;
        padding-top: 0px;
    }

    .as-row {
        margin: 0;
        padding: 3px !important;
    }

    ul.nav li {
        margin-bottom: .5em;
    }

    .progheader {
        font-size: 28px;
    }

    .remove-mobile-padding {
        padding: 0 !important;
    }
}

@media screen and (max-width:1099.98px) {
    img.logo {
        max-width:180px;
        height:75px; 
    }
}

@media screen and (max-width:1190.98px) {

    li.tabs-title {
        margin-bottom: -2px;
    }


}

@media screen and (min-width:970px) {
    .overlap {
        margin-bottom: -45px;
        position: relative;
        top: -90px;
    }

    .heroSlider .rsOverflow,
    .royalSlider.heroSlider {
        height: 470px !important;
    }
}

@media screen and (min-width:960px) and (min-height:660px) {
    .overlap {
        margin-bottom: -45px;
        position: relative;
        top: -90px;
    }

    .heroSlider .rsOverflow,
    .royalSlider.heroSlider {
        height: 470px !important;
    }
}

@media screen and (min-width: 0px) and (max-width: 800px) {
    .overlap {
        margin-bottom: -45px;
        position: relative;
        top: -45px;
    }

    .royalSlider.heroSlider,
    .royalSlider.heroSlider .rsOverflow {
        height: 250px !important;
    }
}
