

@media(min-width: 1024px) {
    .hidden-desktop {
        display: none;
    }
}

@media (max-width: 1280px) {
    .services-menu-menu > li > a {
        font-size: .95em;
    }
    body .owl-carousel:not([data-section="hero-slider"],[data-section="gallery-slider"]) .owl-item {
        padding: 0 5px;
    }
}

@media (max-width: 1024px) {
    .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
        bottom: 20px;
        top: unset;
        border: 1px solid white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0px !important;
        width: 50px;
        height: 50px;
        
    }
    .owl-carousel .owl-nav button.owl-next {
        right:10px;
    }
    .owl-carousel .owl-nav button.owl-prev {
        left:unset;
        right:70px;
    }
    .owl-carousel .owl-nav button.owl-next:hover, .owl-carousel .owl-nav button.owl-next:focus, .owl-carousel .owl-nav button.owl-prev:hover, .owl-carousel .owl-nav button.owl-prev:focus {
        background-color:#FFF !important;
        color:#000 !important;
    }
    .owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span {
        margin-top: -14px;
        line-height: 45px;
    }
    .owl-carousel .owl-nav button.owl-next:hover span, .owl-carousel .owl-nav button.owl-next:focus span, .owl-carousel .owl-nav button.owl-prev:hover span, .owl-carousel .owl-nav button.owl-prev:focus span {
        color:#000 !important;
    }
    #timeline {
        gap:30px;
    }
    body .history-item {
        width: calc(100% + 2px);
        position: relative;
        border: 1px solid #e1e1e1;
    }
    .bg-contour {
        background-size:600px;
    }
    .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
        position: absolute;
        width: 28px;
        height: 3px;
        transition-timing-function: ease;
        transition-duration: .15s;
        transition-property: transform;
        border-radius: 4px;
        background-color: #000;
    }
    .hamburger-box {
        position: relative;
        width: 36px;
        height: 24px;
        display: flex;
        justify-content: center;
    }
    #navWrap {
        background: #f8f2f2;
        top: 95px;
        padding: 0px 30px;
        overflow-y: scroll;
        transition: all 0.3s ease-in-out;
        max-height: 0px;
        z-index: 0;
    }
    #navWrap.active {
        height: 100vh !important;
        z-index: 50;
        padding: 5px 30px;
        max-height: 100vh !important;
    }
    body #timeline .history-item:before {
        left: initial;
        right: 0px !important;
        top: unset;
        bottom: -10px;
        left: 0px !important;
        margin: auto;
        height: 24px;
        width: 24px;
        z-index: 5;
    }
    body #timeline div.flex .history-item:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        height: 100px;
        width: 5px;
        height: 100%;
        background-color: #c9242b;
        z-index: 0;
    }
    body #timeline div.flex:last-of-type .history-item:after,
    body #timeline div.flex:last-of-type .history-item:before {
        display: none !important;
    }
    #primary-menu a {
        font-size: .95em;
        border-bottom: 1px solid #d6d6d6;
        padding: 15px 0px;
    }
    #newsletterSignup input.wpcf7-submit {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    #primary-menu {
        display: block;
    }
    .is-active {
        background-color: #005cac !important;
    }

    .is-active .hamburger-inner, .is-active .hamburger-inner:after, .is-active .hamburger-inner:before {
        background-color: #fff !important;
    }
    html .title {
        font-size: 1.9em;
        line-height: 2rem;;
    }
    .entry-content h2 {
        font-size: 1.8em;
        line-height: 2.3rem;
    }
}

@media (max-width: 768px) {
    .single-service .logo-carousel .owl-stage {
        padding: 5px 0px;
    }
    .single-service .title {
        font-size: 1.8em;
        line-height: .9em;
    }
    body .wpcf7-form {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        flex-direction: column;
    }
    body .wpcf7-form > p {
        width: 100%;
    }
    .single .entry-content p, .single .entry-content li {
        line-height: 23px;
    }
    .entry-content li {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 640px) {
    body .wpcf7-form .wpcf7-submit {
        width: 100%;
    }
}