@media (min-width: 1200px) {

    .container, .elementor-container, .e-con > .e-con-inner {
        max-width: var(--containerAbove1368) !important;
    }

}


@media (min-width: 1601px) and (max-height: 825px) {
    .hero {
        min-height: unset !important;
        padding-bottom: clamp(60px, 7.8125vw, 150px);
    }
}

@media (max-width: 1600px) {

    .hero {
        min-height: unset !important;
        padding-bottom: clamp(60px, 7.8125vw, 150px);
    }

}


@media (max-width: 1367px) {

    main[role="main"] {
        padding: 0;
    }

    .pg-section, .pg-title, .hero, #header, #footer, .copyright, .pg404 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
}

@media (max-width: 991px) {

    .pg-title h1 strong {
        margin-left: 0;
        display: inline-block;
        position: relative;
        top: 10px;
    }
    
    .pg-title h1 em {
        display: inline-block;
    }
    
    .pg-title > .e-con-inner > .elementor-element {
        width: 100% !important;
    }
    
    .pg-title h1 {
        margin: 0 !important;
    }
    
    .pg-title > .e-con-inner {
        flex-direction: column;
        gap: 0 !important;
    }

    .pg-title + .pg-section {
        padding-top: var(--spacing) !important;
    }
    .pull-up {
        margin: 0 !important;
    }
    .pg-section h2 br  {
        display: none;
    }

    .fancy-list.fancy-list-inline ul {
        max-width: 100%;
    }

}

@media (max-width: 991px) and (min-width: 768px) {

    #header .navigation li:nth-child(2) {
        display: none;
    }

  


}

@media (max-width: 767px) {

    .pg-title h1 strong {
        top: 0;
    }



    .hero .e-hosted-video video {
        width: 95% !important;
        float: right;
    }

    .mobile-navigation li.mobile-logo img {
        max-width: 190px;
    }
    
    .mobile-navigation li.mobile-button span {
        margin: 2px 0 0;
        font-weight: 600;
        color: #fff;
    }
    
    .mobile-navigation li.mobile-button svg * {
        fill: var(--dark) !important;
    }
    
    #header, #header.active {
        background-color: rgba(50,90,111,1);
        padding: 8px 30px 3px !important;
    }
    
    .admin-bar #header {
        top: 46px;
    }

    #header .navigation li:first-child {
        display: none;
    }
    
    #header .navigation li a {
        padding: 10px 5px !important;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
    
    #header .navigation {
        margin: 5px -30px 0;
        background-color: rgba(0,0,0,0.1);
    }
    
    #header .navigation li:nth-child(2) a {
        border-top: 0;
    }
    
    #header .navigation .current-menu-item a {
        background-color: var(--teal);
        color: var(--dark);
        font-weight: 600;
    }

    .faqs .elementor-toggle .elementor-tab-title a {
        padding-right: 30px;
        display: block;
    }

    .home-mission #gallery-1 .gallery-item + .gallery-item {
        top: 0;
    }
    
    .reverse-cols > .e-con-inner > .elementor-element:last-child {
        order: -12;
    }

    .pg-section > .e-con-inner > .elementor-element {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    #header, #header.active {
        top: 0 !important;
        z-index: 999999999 !important; 
    }

    .why-use .videos-articles li {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .why-use .videos-articles li {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 0 0 30px
    }
    
    .why-use .videos-articles li h5 {
        flex: 0 0 55%;
        max-width: 55%;
    }
    
    .why-use .videos-articles li a {
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .why-use h5 span, .why-use h5 {
        margin: 0;
    }
    
    .why-use h5 span {
        margin: 0 0 10px;
    }
    
    .media-video a:before, .media-article a:before {
        font-size: 11px;
        width: auto;
        height: auto;
        padding: 8px;
        display: none;
    }
    
    .media-video a:after, .media-article a:after {
        width: clamp(40px, 3.125vw, 60px);
        background-size: 50%;
        height: clamp(40px, 3.125vw, 60px);
    }

    #footer .elementor-icon-list-items {
        display: block !important;
    }
    
    #footer .elementor-icon-list-items li {
        margin: 0;
    }
    
    #footer .elementor-icon-list-items li:nth-child(2n+2) {
        margin: 10px 0;
    }
    
    #footer .elementor-icon-list-items li:nth-child(3), #footer .elementor-icon-list-items li:nth-child(4) {
        display: inline-block;
        margin-top: 6px;
    }
    
    #footer .elementor-icon-list-items li:nth-child(3) svg, #footer .elementor-icon-list-items li:nth-child(4) svg {
        width: 26px;
        height: 26px;
    }

    .hero .hero-text {
        width: 100%;
        margin: 0;
    }
    
    .home-mission #gallery-1 {
        margin: 20px 0 -20px;
    }

    .hero .hero-video  {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 100%;
        height: 100%;
        float: none;
        z-index: 1;
    }

    .hero .e-hosted-video {
        float: none;
        height: 100% !important;
        width: 100% !important;
    }

    .hero .e-hosted-video .elementor-video { 
        width: 103% !important;
        height: 103% !important;
        object-fit: cover !important;
        float: none;
        position: relative;
        z-index: 1;
    }

    .hero .e-hosted-video:after {
        background-color: rgba(50,90,111,1);
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        z-index: 2;
        opacity: 0.7;
    }
    
    .hero h1 {
        position: relative;
        top: 0;
    }

    .hero {
        background-image: url(i/fallback.jpg?v=3) !important;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero .hero-text p a {
        display: none;
    }

    .hero .hero-text p strong {
        max-width: unset;
        flex: unset;
        padding: clamp(7.3333333333333px, 0.57291666666667vw, 11px) clamp(18px, 2.1875vw, 42px);
        font-size: 14px;
    }
    .home-mission #gallery-1 .gallery-item {
        height: clamp(120px, 10.416666666666666vw, 200px);
    }


    .pg-section h2 strong {
        display: inline;
    }
    
    .pg-section h2 strong:after {
        display: none;
    }
    
    .pg-section h2:after {
        content: "";
        display: block;
        height: 9px;
        background: var(--yellow);
        width: 25%;
        margin-top: 3px;
    }

    .pg-section .text-center h2:after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .pg-section h2 {
        position: relative;
        display: inline-block;
        margin: 0 0 18px;
    }
    
    .pg-section.bg-gradient h2:after {
        display: none;
    }
    
    .pg-section.bg-light h2:after {
        background-color: var(--teal);
    }

    .services-lead #gallery-2 {
        display: none;
    }
    
    .services-lead:after {
        content: "";
        display: block;
        width: 100%;
        height: 225px;
        background-image: url(i/what-we-do-min.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        margin: 20px 0 -130px;
    }

    .img-overlay {
        margin-bottom: 12px !important;
    }

    .pg-outro p {text-align: center;margin: 0;}

    .pg-outro p em {
        margin: 0 0 30px;
    }
    
    .pg-section.double-img > .e-con-inner > .elementor-element:last-child {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .pg-section.double-img > .e-con-inner > .elementor-element:last-child > .elementor-element {
        flex: 0 0 48%;
        max-width: 48%;
        margin-top: 0 !important;
    }
    .img-overlay .elementor-widget-container {
        overflow: hidden; 
    }
    .img-overlay .elementor-widget-container img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .icon-boxes + .icon-boxes {
        margin-top: 0 !important;
    }

    .icon-box-heading {
        border-top: clamp(23.333333333333px, 1.8229166666667vw, 35px) solid #ECF5FA;
        margin-top: 50px !important;
    }
    
    .icon-box-heading h2 {
        margin: 0;
    }
    .pg-contact.pg-section > .e-con-inner > .elementor-element.content-left {
        margin: 0 0 30px !important;
    }
    
    #cform label {
        font-size: 14px;
    }

    .pg-404 {
        min-height: 1px !important;
    }
    
    .pg404 {
        height: auto;
        min-height: 1px !important;
        padding: 100px 30px 80px !important;
    }
}

@media (max-width: 520px) {

    .pg-section.double-img > .e-con-inner > .elementor-element:last-child  .img-overlay .elementor-widget-container {
        height: 125px !important;
    }

    .img-overlay .elementor-widget-container {
        height: 250px !important;
        overflow: hidden;
    }

    .fancy-list.fancy-list-inline ul li {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .fancy-list.fancy-list-inline ul li:nth-child(2n+2) {
        order: 10;
    }
    
  
}