@media (max-width: 1399.98px) {  }

@media (max-width: 1199.98px) {  }

@media (max-width: 991.98px) { 
    /* MOBILE NAV */
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav .mobile-logo-container img {
        max-width: 100px;
        aspect-ratio: auto 1 / 1;
        height: auto;
    }

    .mobile-nav .mobile-toggle-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 22px;
        width: 22px;
      }
      
      .nav-toggle .closeBar {
        height: 2px;
        width: 25px;
        background-color: #4e4e4e;
        transition: all 100ms ease-in-out;
        border-radius: 3px;
      }
      
      .nav-toggle:hover {
        cursor: pointer;
      }
      
      .x:nth-of-type(1) {
        transition: all 100ms ease-in-out;
        transform: rotate(45deg);
        transform-origin: top left;
        width: 30px;
      }
      
      .x:nth-of-type(2) {
        transition: all 100ms ease-in-out;
        transform-origin: center;
        width: 0;
      }
      
      .x:nth-of-type(3) {
        transition: all 100ms ease-in-out;
        transform: rotate(-45deg);
        transform-origin: bottom left;
        width: 30px;
      }

    #collapseMobile {
        background-color: #fff;
        position: absolute;
        width: 100%;
        z-index: 10000;
        box-shadow: 0px 4px 4px rgba(100,100,100,0.5);
    }

    #collapseMobile .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 0 1.5rem 0;
        max-width: 100%;
        width: 100%;
    }

    #collapseMobile .container .menu-main-menu-container {
        margin: 1rem 0;
        text-align: center;
    }

    #collapseMobile .container .menu-main-menu-container .menu-item {
        border-top: .5px #4e4e4e solid;
        padding: 1rem 2rem;
    }

    #collapseMobile .container .menu-main-menu-container .menu-item:nth-child(1) {
        border-top: none;
    }

    #collapseMobile .container .menu-main-menu-container .menu-item a {
        color: #000;
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: 300;
    }


    /* FOOTER */
    footer .wpcf7 h2 {
        text-align: center;
        background: linear-gradient(90deg, #7eb544 0%, #3199fc 70.08%, #1459b7 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    footer .wpcf7 form .row .col-lg-6:nth-child(1) {
        padding-right: 0rem;
    }
    
    footer .wpcf7 form .row .col-lg-6:nth-child(2) {
        padding-left: 0rem;
    }

    footer .wpcf7 form .submit-container {
        justify-content: center;
    }

    footer .logos .col-12 {
        margin: 1.5rem 0;
    }


    footer .bottom .col-12:nth-of-type(1) {
        text-align: center;
        margin-bottom: 1rem;
    }

    footer .bottom .col-12:nth-of-type(2) .menu-footer-menu-container {
        justify-content: center;
    }


    /* TEAM ARCHIVE */
    .department .team-member .col-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #memberModal .modal-dialog .modal-content .modal-body {
        max-height: 400px;
        overflow: scroll;
    }

    /* HOMEPAGE CARDS */

    section.homepage-cards .custom-card {
        min-height: fit-content;
    }

    section.homepage-cards .custom-card .card-content {
        min-height: fit-content;
    }
    
    
}

@media (max-width: 767.98px) { 

    /* PAGE BANNER */
    section.page-banner {
        height: 400px;
        padding: 0;
    }

    section.page-banner .cta {
        height: fit-content;
        padding: 2rem;
    }

    section.page-banner .cta h1 {
        font-size: 2rem;
    }

    /* FRONTPAGE BANNER */
    .frontpage-container section.page-banner {
        height: 500px;
    }

    .frontpage-container section.page-banner .cta h1 {
        font-size: 1.75rem;
    }

    .frontpage-container section.page-banner .cta p {
        font-size: 1rem;
    }

    /* CIRCLE IMAGE */
    .circle-image {
        margin: 2rem 0;
    }

    .team-member .title {
        text-align: center;
    }

    footer .wpcf7 {
        max-width: 100%;
    }

}

@media (max-width: 575.98px) { 

    /* PAGE BANNER */
    section.page-banner {
        height: 250px;
    }

    /* FRONTPAGE BANNER */
    .frontpage-container section.page-banner {
        height: 450px;
        min-height: fit-content;
    }

    .custom-btn {
        margin: 0 auto;
    }

    footer .bottom #menu-footer-menu {
        flex-direction: column;
        align-items: center;
    }

    footer .bottom #menu-footer-menu .menu-item {
        margin: 1rem 0;
    }
}