
@media (min-width:992px) and (max-width:1199px) {
}

@media (max-width: 1199px) {
}

@media only screen and (min-width: 1201px) {
    /**********
    submenu popup
    **********/
    nav.nav .sub-menu-inner {
        /* max-height: 0; */
        /* overflow: hidden; */
        position: absolute;
        flex-wrap: wrap;
        transition: all 200ms;
        display: none;
    }
    .menu-item-has-children::after {}
    nav.nav .menu-item-has-children.sub-menu-active>.sub-menu-inner {
        display:block;
    }
    nav.nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        display: inline-block;
        white-space: unset;
        line-height: 1.2;
    }
}

@media (min-width: 992px) {

}

@media (min-width:1201px) {
    .header-nav ul {
        list-style: none;
        display: flex;
        margin-bottom: 0;
        padding-left:0;
        flex-direction: row;
        justify-content: center;
    }
}


@media only screen and (max-width: 1200px) {
    .mobile-header-cta {
        display: block !important;
        margin: 0 40px;
    }
    .fix .innerBurger span {
        background-color: #262b5b !important;
    }
    #home-hero:before {
        content: '';
        height: 30%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        position: absolute;
        top: 0;
        z-index: 4;
        opacity: 0.5;
    }
    /**********
    HEADER NAV
    **********/
    body.fix {
        overflow: hidden;
    }
    .header-right {
        display:none;
    }
    #home-hero {
        padding: 150px 0 300px;
    }
    header .nav {
        position: fixed;
        left: -100%;
        z-index: 21;
        height: 100vh;
        width: 340px;
        top: 0;
        background-color: #fff;
        transition: all 300ms;
    }
    header .nav.navActive {
        box-shadow: 51px 0px 117px rgba(0, 0, 0, 0.2);
        left: 0%;
        transition: all 300ms;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    header .nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    header .nav>ul {
        margin-top: 120px;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
    }
    header .nav>ul li {
        position: relative;
    }
    header .nav>ul li a {
        font-weight: 700;
        display: block;
        padding-left: 10px;
        width: 100%;
    }
    .menu-item-has-children::after {
        position: absolute;
        right: 0;
    }
    #burgerNav {
        position: absolute;
        top: 25px;
        left: 15px;
        width: 24px;
        height: 24px;
        cursor: pointer;
        z-index: 90;
    }
    
    #burgerNav .innerBurger {
        position: relative;
        height: 100%;
    }
    
    #burgerNav .innerBurger span {
        width: 25px;
        height: 3px;
        border-radius: 25px;
        background-color: #0a0a0a;
        position: absolute;
        opacity: 1;
        transition: all 300ms;
        transform: rotate(0deg);
    }
    
    #burgerNav.navActive .innerBurger span {
        transition: all 300ms;
    }
    
    #burgerNav .innerBurger span:nth-child(1) {
        top: 0%;
        width: 25px !important;
    }
    
    #burgerNav .innerBurger span:nth-child(2) {
        top: 22%;
    }
    
    #burgerNav .innerBurger span:nth-child(3) {
        top: 44%;
    }
    
    #burgerNav.change .innerBurger span:nth-child(1) {
        top: 22%;
        transform: rotate(-45deg);
    }
    
    #burgerNav.change .innerBurger span:nth-child(2) {
        opacity: 0;
    }
    
    #burgerNav.change .innerBurger span:nth-child(3) {
        top: 22%;
        transform: rotate(45deg);
    } 
    nav.nav .sub-menu {
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        transition: all 200ms;
    }
    .menu-item-has-children::after {}
    nav.nav .menu-item-has-children.sub-menu-active .sub-menu {
        max-height: 900px;
    }

}

@media (max-width: 991px) {
}

@media (max-width: 767px) {
  
}

@media (max-width: 575px) {
}

@media (min-width: 992px) and (max-width: 1200px) {
}

@media (max-width: 1200px) {
    #homehero {
        height: 650px;
        aspect-ratio: auto;
        background-position: center;
    }
    .wygbox-right img {
        width: 370px;
        right: -190px;
    }
    .wyg-bg {
        position: absolute;
        aspect-ratio: 917 / 651;
        width: 820px;
        right: 0;
        top: -50px;
        max-width: 100%;
    }

    .wygbox {
        padding: 60px 80px 60px 40px;
    }
    .about-box-text {
        font-size: 17px;
    }
    .about-box-text {
        position: relative;
        padding: 45px 35px;
    }
    .about-box-text h2 {
        font-size: 37px;
    }
    body {
        font-size: 18px;
    }
    .testi-inner {
        font-size: 17px;
        padding: 60px 20px;
    }
    .testibox {
        margin: 0 6px;
    }
}

@media (max-width: 991px) {
    .wyg-bg {
        aspect-ratio: auto;
        position: relative;
        top: 0;
    }
    .wygbox-right {
        position: relative;
        right: auto;
        transform: translateX(-50%);
        top: 0;
        left: 50%;
        margin-top: -350px;
        margin-bottom: 70px;
    }
    .wygbox {
        padding: 60px;
    }
    .wygboxleft {
        width: 100%;
    }
    .wif-text h5 {
        font-size: 16px;
    }
    h2 {
        font-size: 35px;
    }
    body {
        font-size: 16px;
    }
    .cs-block-inner-right {
        padding: 10% 10%;
    }
    .cs-block-inner-left {
        aspect-ratio: 1;
    }
    .cs-block-inner-left .slick-track {
        height:100% !important;
    }
    .cs-left, .cs-right {
        width: 700px;
        max-width: 90%;
        margin: 0 auto;
    }
    #case-studies {
        padding-top:80px;
    }
    #testimonials {
        padding-top:70px;
    }
    #homehero:after {
        height: 200px;
    }
    #homehero {
        height: auto;
        padding-bottom: 180px;
        padding-top: 150px;
    }
    #homehero h1 {
        font-size: 50px;
    }
    .aboutimg {
        aspect-ratio: 4 / 3;
    }
    #homehero h1 br {
        display: none;
    }
    .about-box-text h2 {
        font-size: 30px;
    }
}


@media (max-width: 767px) {
    #case-studies {
        padding-top: 50px;
    }
    section.block {
        padding: 60px 0;
    }
    .wygbox-right {
        margin-top: -290px;
    }
    #homehero h1 {
        font-size: 40px;
    }
    .cs-block-inner-right {
        padding: 5% 0 10%;
    }
    .cs-slider-arrows i {
        bottom: 0;
    }
    .cs-slider-arrows .slick-prev-custom {
        left: 0;
    }
    .cs-slider-arrows .slick-next-custom {
        left: auto;
        right:0;
    }
    .cs-slider-right strong {
        font-size: 20px;
        margin-bottom: 10px;
        display: block;
        line-height: 1.5;
    }
    .homehero-btns {
        width: 300px;
        margin: 0 auto;
    }
    .wygboxleft {
        max-width: 100%;
        width: 500px;
        margin: 0 auto;
    }
    .testimonials-slider {
        padding:0;
    }
    .testi-inner {
        padding: 60px 60px;
    }
    .gb-text h5 {
        font-size:20px;
    }
    .slick-arrow {
        font-size:25px;
    }
    .slick-arrow.fa-chevron-right {
        right: -5px;
    }
    .slick-arrow.fa-chevron-left {
        left: -5px;
    }
}


@media (max-width: 575px) {
    #homehero h1 {
        font-size: 36px;
    }
    #homehero:after {
        height: 130px;
    }
    .testi-inner {
        padding: 50px 30px;
    }
    .wygbox {
        padding: 40px 20px;
    }
    .l-shape::before {
        width: 13px;
        height: 26px;
    }
    .l-shape::after {
        width: 26px;
        height: 13px;
    }
    .l-shape.l-shape-bottom:after {
        left: 10px;
    }
    .l-shape.l-shape-bottom:before {
        top: 10px;
    }
    .about-box-text {
        padding: 40px 30px;
    }
    .gb-btn .btn {
        padding: 12px 20px;
    }
    .wyg-list {
        row-gap: 15px;
    }
}



@media (max-width: 479px) {
    .productrow {
        width: 100%;
    }
    .prod-mainbox {
        width: 350px;
        max-width: 100%;
        margin: 0 auto;
    }
    h2 {
        font-size:32px;
    }
}

@media (max-width: 420px) {
    .prod-mainbox {
        width: 300px;
    }
    .gb-text h5 {
        font-size: 17px;
    }
}