/*RESPONSIVE CONTENT*/

@media only screen and (min-width: 0px) and (max-width: 1080px) {
    nav {
        flex-wrap: wrap;
        padding: 0;
    }

    .logo-image {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #nav {
        padding: 0px !important;
        background: #ffffff;
        width: 100%;
    }


    body {
        font-size: 14px;
    }

    header .contain {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    header img {
        margin: 0 auto;
        /* height: 110px; */
        padding: 10px 0 0;
    }

    nav {
        padding: 0;
        position: -webkit-static;
        position: static;
        background: #FFFFFF;
        top: 0;
    }

    #nav {
        display: none;
        padding: 0;
    }

    #nav ul {
        float: none !important;
    }

    #loginBtn,
    #menuBtn {
        display: block;
    }

    main #olb {
        float: none;
        display: none;
        left: 5%;
        right: 5%;
        position: fixed;
        top: 20px;
        max-width: 100%;
        width: 90%;
        z-index: 10;
        margin: 0;
    }

    #olb h2 {
        color: #ffffff;
        font-size: 2.5em;
    }

    #olb.open {
        display: block;
    }

    #loginCancel {
        display: block;
        font-weight: bold;
        border-radius: 10px;
    }

    main {
        display: block;
        padding: 0;
    }

    .inside {
        margin: 0;
        width: 100%;
    }

    .inside section {
        padding: 0;
    }
    
    #index-gallery {
        flex-direction: column!important;
    }

#index-gallery figure {
    width: 100%!important;
    height: 180px!important;
    }

    #backToTop {
        padding: 7.5px;
        font-size: 1.15em;
    }

}

@media only screen and (min-width: 0px) and (max-width: 880px) {
    header p {
        text-align: center;
        font-size: 12px;
        line-height: 1.25em;
    }

    .inside {
        font-size: 12px;
    }

    .secondary-header {
        height: 200px;
    }

    .secondary-header h1 {
        margin: 20px;
        font-size: 3em;
    }

    .footer-top div {}

}

@media only screen and (min-width: 0px) and (max-width: 767px) {
	.popup-overlay{padding: 5em 2em;}
	.popup-content {width:100%;}
}
@media only screen and (min-width: 0px) and (max-width: 768px) {
.subnav ul {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
     .subnav a:link,
    .subnav a:visited {
        padding: 7.5px;
        margin: 10px 5px 0;
    }
}
@media only screen and (min-width: 0px) and (max-width: 740px) {

    body {
        font-size: 12px;
    }

    .secondary-header {
        height: 200px;
    }

    .secondary-header h1 {
        margin: 20px;
        font-size: 3em;
        left: 0;
        right: 0;
        bottom: 10px;
        margin: auto;
        text-align: center;
    }

    .modal {
        padding-top: 0;
    }

    .modal-content {
        width: 100%;
        font-size: 0.95em;
    }

    .subnav {
        padding: 10px 5px 20px;

    }

    .subnav ul {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .subnav li .is-active {
        background: #EE2E24;
    }

    .subnav li a:focus {
        background: #EE2E24;
        color: #ffffff;
    }

    .subnav a:link,
    .subnav a:visited {
        padding: 7.5px;
        margin: 10px 5px 0;
    }

    .subnav a:hover,
    .subnav a:active {
        background: #0068B3;
        color: #ffffff !important;
        border-radius: 10px;
    }

    .align-items-center {
        flex-direction: column;
    }

    footer .footer-top {
        background-image: none;
    }

    footer .footer-top .contain-sm div {
        width: 100%;
        padding: 10px;
    }

    footer .footer-top .contain-sm {
        display: block;
        padding: 10px;
        font-size: 1em;
    }


}

@media only screen and (min-width: 0px) and (max-width: 420px) {

    .subnav {
        position: static;
    }

    /* CSS for secondary pages */

    .align {
        width: 100% !important;
    }

    .promos-card {
        width: 100%;
        float: left;
    }

    .promos-card-middle {
        width: 100%;
        float: left;
    }

    .map-box {
        width: 100%;
        float: left;
    }

    .side-box {
        width: 100%;
        float: left;
    }

    .secondary-header {
        height: 180px;
    }

    .rates-nav {
        flex-direction: column;
        margin: 20px 0;
    }

    .rates-nav li {
        margin-right: 0;
    }

    table tr td,
    table tr th {
        font-size: 12px !important;
        padding: 5px 0 5px 5px !important;
    }


}

@media only screen and (min-width: 0px) and (max-width: 420px) {
    .sidebar #date {
        display: none;
    }
}
