/*Stop animation on mobile*/
@media only screen and (max-width: 768px){
    body .wpb_animate_when_almost_visible{
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-animation: none;
        -moz-animation: none;
        -o-animation: none;
        animation: none;
    }
    html:not(.no-js) .aoswp-enabled [data-aos] {
        opacity: 1!important;
        -webkit-transform: none!important;
        transform: none!important;
        transition: none!important;
        transition-timing-function: unset!important;
        transition-duration: unset!important;
        transition-property: none!important;
    }
}


@media only screen and (max-width: 1299px) {
    #footer ul.widget-menu > li {
        order: initial !important;
    }
    #footer ul.widget-menu > li {
        width: 100%;
    }
}

@media only screen and (max-width: 1000px) {

    rs-arrow.tparrows {
        position: absolute !important;
        bottom: 80px;
        left: auto !important;
        top: auto !important;
        transform: translate(0, 0) !important;
        border: 1px solid #fff;
        overflow: hidden;
        width: 35px !important;
        height: 35px !important;
    }
    rs-arrow.tparrows:before {
        line-height: 33px !important;
        font-size: 17px !important;
    }


    rs-arrow.tp-leftarrow.tparrows.hesperiden {
        right: 140px;
    }
    rs-arrow.tp-rightarrow.tparrows.hesperiden {
        right: 90px;
    }

    rs-arrow.tparrows:hover:before {
        color: #000 !important;
    }
    .mobile-menu ul li a {
        font-family: var(--fontFamily);
        text-transform: capitalize;
        position: relative;
        width: fit-content;
    }
   /* nav[class*=menu] li[class*=current-menu-]>.ct-menu-link, 
    nav[class*=menu] li[class*=current-menu-]>.ct-sub-menu-parent {
        font-weight: 700 !important;
    }*/
    
    .mobile-menu [class*=children]>ul li a:not(:empty):before {
        display: none;
    }
    /*.mobile-menu > ul > li.menu-item:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.7);
    }
    .mobile-menu [class*=children]>ul {
        padding-inline-start: calc(15px*var(--has-indentation, 1));
    }
    .mobile-menu [class*=children]>ul > li:first-child a {
        padding-top: 5px;
    }
    .mobile-menu [class*=children]>ul > li:not(:last-child) a {
        padding-bottom: 0px;
    }*/
    .mobile-menu > ul {
        padding-left: 0 !important;
    }
    .mobile-menu [class*=children]>ul {
        padding-inline-start: 0;
    }

    #footer > div > .ct-container {
        width: calc(100% - 30px);
    }
    #footer [data-column*=widget-area-2] > div:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.5);
        margin-bottom: 35px;
        padding-bottom: 35px;
    }
    #footer [data-row*=middle] > .ct-container {
        grid-row-gap: 35px;
        padding-bottom: 35px;
    }
    #footer ul.widget-menu {
        flex-direction: row;
        gap: 15px;
    }
    #footer ul.widget-menu > li {
        width: fit-content;
        line-height: 1;
    }
    #footer ul.widget-menu > li:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.5);
        padding-right: 15px;
    }
    #footer [data-column] .widget-title {
        font-weight: 700 !important;
        font-size: 17px;
    }
    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        column-gap: 65px;

    }
    .footer-contact > p:last-child {
        width: 100%;
        margin-bottom: 0;
    }
    .customer-row.projects-row > div {
        padding: 0;
    }
    .customer-row .wpb_single_image {
        padding: 70px 15px;
    }
    .customer-row .wpb_single_image img {
        width: 85%;
    }
    .customer-row .green-box p {
        min-height: 70.17px !important;     
    }
}





@media only screen and (min-width: 768px) and (max-width: 991px) {
    .projects-row .green-box p {
        min-height: 177px;
    }

}

@media only screen and (max-width: 768px) {
    rs-arrow.tparrows.hesperiden {
        bottom: 50px;
    }
    rs-arrow.tp-leftarrow.tparrows.hesperiden {
        right: auto;
        left: 35px !important;
    }
    rs-arrow.tp-rightarrow.tparrows.hesperiden {
        right: auto;
        left: 85px !important;
    }

    .all-title {
        font-size: 27px;
    }
    main#main .ct-container {
        max-width: 100%;
        min-width: 100%;
    }
    .woocommerce main#main .ct-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #header .ct-container {
        width: calc(100% - 30px);
    }
    #header [data-id*=logo] .site-title {
        font-size: 16px;
    }
    #header [data-id*=logo] .site-title > a small {
        font-size: 12px;
    }
    
}

@media only screen and (max-width: 480px) {
    rs-arrow.tparrows.hesperiden {
        bottom: 30px;
    }
    rs-arrow.tp-leftarrow.tparrows.hesperiden {
        left: 15px !important;
    }
    rs-arrow.tp-rightarrow.tparrows.hesperiden {
        left: 65px !important;
    }
}


/*all pages*/
@media only screen and (max-width: 768px) {
    .mobile-justify {
        text-align: justify;
    }
    .home-counter-row .messive-wrapper-counter .mega_count_content {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    .home-counter-row .mega_count_content h3 {
        margin-bottom: 0 !important;
        font-size: 16px !important;
    }
    .home-counter-row > .wpb_column > .vc_column-inner > div {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    .home-counter-row > .wpb_column:last-child > .vc_column-inner > div {
        margin-bottom: 0;
    }
    .home-counter-row > .wpb_column > .vc_column-inner> div:after {
        width: 100%;
    }
    .home-counter-row > .wpb_column:first-child .mega_count_content .main-counter:after {
        right: -55px;
    }
    .home-we-provide-sec:before {
        height: 250px;
    }
    .home-service-row {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .home-service-row > .wpb_column > .vc_column-inner {
        padding: 0;
    }
    .home-service-row > .wpb_column .content-box {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .home-service-row > .wpb_column:last-child .content-box {
        padding-bottom: 0;
    }
    .home-service-row > .wpb_column .content-box > div > div > div {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto;
        align-items: center;
        gap: 0 15px;
    }
    .home-service-row > .wpb_column .content-box .all-icon {
        margin-bottom: 25px !important;
        grid-area: 1 / 1 / 2 / 2;
    }
    .home-service-row > .wpb_column .content-box .vc_custom_heading {
        grid-area: 1 / 2 / 2 / 3;
    }
    .home-service-row > .wpb_column .content-box .wpb_text_column {
        grid-area: 2 / 1 / 3 / 3;
    }
    .home-service-row > .wpb_column .content-box .readmore {
        grid-area: 3 / 1 / 4 / 3;
    } 
    .all-icon.wpb_single_image img {
        max-height: 40px;
    }
    .home-service-row > .wpb_column .content-box .vc_custom_heading br {
        display: none;
    }
    .home-promotion-row:before {
        height: 85%;
    }
    .promo-img-col .wpb_single_image {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .testimonial-col {
        clip-path: initial;
    }
    .testimonial-slider-sec .slick-track {
        column-gap: 0;
    }
    .testimonial-slider-sec .slick-list {
        margin-left: 15px;
        margin-right: 15px;
    }
    .shape {
        clip-path: initial;
    }
    .home-cta .all-title {
        font-size: 27px;
    }
    .home-cta {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .video-block {
        width: 90%;
        height: 80%;
        right: -95px;
    }
    .cta-sec .font-18 {
        width: 55%;
        font-size: 16px;
    }
    #footer [data-column*=widget-area-1] .widget_media_image img {
        max-height: 60px;
    }
    .about-intro-row {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
    }
    .shape.wpb_single_image img {
        max-height: 300px;
    }
    .about-icon-row > div:not(:last-child) {
        margin-bottom: 25px;
    }
    .about-icon-row > div > div > div {
        display: flex;
        column-gap: 15px;
    }
    .about-icon-row .all-icon img {
        min-height: 40px;
    }
    .reverse-col {
        display: flex;
        flex-direction: column-reverse;
    }
    .reverse-img .wpb_singleimage_heading {
        font-size: 22px;
    }
    .product-sec .all-icon.reverse-img {
        align-items: center;
    }
    .product-sec > .vc_row {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .product-sec > .vc_row > .wpb_column > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .product-sec > .vc_row:not(:last-child) {
        margin-bottom: 35px;
        padding-bottom: 0;
    }
    .projects-row .green-box p {
        display: flex;
        align-items: center;
    }
    .projects-row .green-box {
        padding-left: 15px;
        padding-right: 15px;
    }
    .home-projects-sec.project-page {
        padding-bottom: 35px;
    }
    .form {
        display: block;
    }
    .contact-form-row > div > div > div > div:nth-child(1),
    .contact-form-row > div > div > div > div:nth-child(2),
    .contact-form-row > div > div > div > div:nth-child(3),
    .contact-form-row > div > div > div > div:nth-child(4),
    .contact-form-row > div > div > div > div:nth-child(5) {
        width: 100%;
    }
    .contact-form-row > div > div > div > div:nth-child(5) {
        order: -1;
        padding: 35px 15px;
    }
    .customer-row .wpb_single_image img {
        width: 65%;
    }
    .customer-row .green-box p {
        min-height: auto !important; 
    }
    .home-cta .all-title br {
        display: none;
    }
    .projects-row .green-box p {
        font-size: 17px;
    }
    .home .cta-sec {
        padding-bottom: 0;
    }
    .cta-sec .wpb_text_column:not(.all-title) {
        width: 52%;
    }
}

@media only screen and (max-width: 480px) {
    .product-sec .shape.image img {
        max-height: 250px;
    }

}

@media only screen and (max-width: 360px) {
    .home-counter-row .messive-wrapper-counter .mega_count_content {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    
}