  @media (max-width: 1199.98px) {
    .tycolumn {height:300px;}
    .tycolumnmid {height:300px;}
    .thankyou-info h1 {margin: 0 35%;}    

    .blog-view-lists .grid-post .list-post-info .readmore{ bottom: 40px; }

    #primary-menu>li>a{ font-size: 18px; }
    .site-header .phone-contact a{ font-size: 18px; }
}

@media (min-width: 991.98px) {
    .home-page-contain .banner-image {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        width: 100%;
        height: 575px;
    }

    .home-page-contain .banner-image img {
        display: none;
    }
    
    .blog-terms{
        margin-bottom: 50px;
    }

    .page-template-location-page .location-form{
        margin-left: 15px;
        width: 97%
    }
}

@media (max-width: 991.98px) {

    .home-page-contain .banner-image {
        background-image: none !important;
        text-align: center;
    }

    .inner-site-header.fixed-site-header {
        position: static;
        box-shadow: none;
    }

    .home-page-contain .home-page-video,
    #home-page-video {
        height: auto;
    }

    .home-page-contain .content-block .cb-sidebar {
        margin-top: 30px;
    }



    .events-block {
        margin-top: 50px;
    }



    .site-footer .footer .f-col2 {
        text-align: center;
    }



    .site-footer .site-info .info-center {
        margin-top: 25px;
    }



    #open-nav {

        font-size: 30px;

        color: var(--green);

        text-align: right;

        cursor: pointer;

    }

    #open-nav .dashicons {
        font-size: 45px;
        width: 45px;
        height: 45px;
    }

    .sticky-sidebar {
        margin-top: 50px;
    }

    .blog-view-lists .list-post {
        flex-direction: column;
        min-height: 0;
        margin-bottom: 30px;
    }

    .blog-view-lists .list-post .list-post-thumbnail {
        width: 100%;
        min-height: 225px;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    .blog-view-lists .list-post .list-post-info,
    .blog-view-lists .grid-post .list-post-info {
        width: 100%;
        padding: 1% 3% 7%;
    }

    .related-story {
        flex-direction: column;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .related-story .item {
        width: 100%;
        margin-bottom: 20px;
    }

    .related-story .item:not(:last-of-type) {
        padding-right: 0;
    }

    .page-template-contact-page .contact-form {
        top: 0;
        margin-top: 30px;
    }

    .img-container {
        height: auto !important;
    }

    .page-template-location-page .map-form .coll:first-child {
        padding-right: 15px;
    }

    .page-template-location-page .map-form .coll:last-child {
        padding-left: 15px;
    }

    .page-template-location-page .map-form .location-map {
        height: auto;
    }

    .page-template-location-page .map-form .location-map iframe {
        height: 300px;
    }

    .page-template-location-archive-page .location-boxes ul {
        flex-direction: column;
    }

    .page-template-location-archive-page .location-boxes ul li {
        width: 100%;
        min-height: 0;
    }
    
    .thankyou-info{ display: block; text-align: center; }
    .thankyou-info h1 {margin: 0;}
    
    .tycolumn, .tycolumnmid{
        display: block;
        float: none;
        width: 95%;
        height: auto;
        margin: 20px auto;    
    }

    .page-template-location-page .location-form{
        margin-top: 50px;
    }

    .mris-collapse .ginput_container_consent label{ margin-top: 0 !important; }
    
    .blog-view-lists .grid-post{ height: auto; }

    .blog-view-lists .grid-post .list-post-info .readmore{ position: static; }
}


@media (max-width: 767.98px) {

    .home-page-vimeo-container{ height: 275px; }

    .home-page-contain .footer-btns ul {
        flex-direction: column;
    }

    .home-page-contain .footer-btns ul li {
        margin-bottom: 10px;
    }

    .home-page-contain .footer-btns ul li:last-child {
        margin-bottom: 0;
    }

    .site-footer .footer {
        text-align: center;
    }

    .site-footer .footer .f-col2 {
        padding-top: 10px;
    }

    .site-footer .footer .f-col3 {
        text-align: center;
        margin-top: 25px;
    }

    .post-thumbnail {
        margin-bottom: 25px;
        display: block;
    }

    .blog-view-lists .list-post .list-post-info,
    .blog-view-lists .grid-post .list-post-info {
        padding-bottom: 9%;
    }

    .program-boxes-container {
        flex-direction: column;
    }

    .program-boxes-container .program-box {
        width: 100%;
    }

    .page-template-location-page .site-main {
        padding-top: 0;
    }

    .page-template-location-page .locations-info {
        flex-direction: column;
        margin-top: 30px;
        padding: 0;

        text-align: center;
    }

    .page-template-location-page .locations-info li {
        width: 100%;
        flex-direction: column;
        justify-content: center;

        padding: 0 1% 5%;
    }

    .page-template-location-page .locations-info li+li {
        border-left: none;
        border-top: 1px solid rgba(218, 150, 23, 0.59);
    }

    .mris-collapse .gfield input, .mris-collapse .gfield select,
    .mris-collapse .gform_button{
        width: 100% !important;
    }

    .mris-collapse .gfield input[type='checkbox']{
        width: auto !important;
        height: auto !important;
    }
    
    .site-main-404{ padding-bottom: 30px; }
    .site-main-404 .navi{
        flex-direction: column;
    }
    
    .site-main-404 .navi .readmorebutton{
        margin-bottom: 20px;
    }
    
    .site-main-404 .search-form{ margin-left: 0; }
    
    .site-main-404 .error-404{
        display: flex;
        flex-direction: column;
    }
    .site-main-404 .error-404 .error-404-contain{ order: 2; }
    .site-main-404 .error-404 .signs-img{ order: 1; }

}



@media (max-width: 575.98px) {

    .gform_wrapper.gravity-theme .ginput_complex .ginput_full {display:block;}

    .site-footer .site-info .info-left,
    .site-footer .site-info .info-right {
        text-align: center !important;
    }

    .site-footer .site-info .info-right {
        margin-top: 15px;
    }

    .footerbutton {
        margin: 0 0;
    }

    #open-nav {

        font-size: 26px;

    }

    #open-nav .dashicons {
        font-size: 40px;
        width: 40px;
        height: 40px;
    }

    .footer-btns ul {
        flex-direction: column;
    }

    .footer-btns ul li+li {
        margin-top: 15px;
    }

    .home-page-contain .hero-block{
        background-position: center;
        background-attachment: unset;
    }
    
    .home-page-contain .hero-block .sec-title {
        font-size: 40px;
    }

    .program-boxes-container .program-box {
        padding: 7%;
        margin-bottom: 15px;
    }

    .wp-pagenavi{ display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }

    .mris-collapse .ginput_container_consent label{ margin-top: -4px !important; }
}

@media (max-width: 400px) {
    .mt-4,
    .my-4 {
        margin-top: 20px !important;
    }

    .entry-content embed,
    iframe,
    object {
        max-height: 210px;
    }

    .page-template-location-page .locations-info li {
        justify-content: left;
    }

    .page-template-location-page .locations-info li.phone {
        justify-content: left;
    }
}