.header-m .overlay{
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 99;
    display: none;

}
@media only screen and (max-width: 1410px) {
/*****************front page***************/
.f-inquiry .inquiry-img{
    left: 0;
    top: 68px;
}
.footer__content .subtract{
    height: 400px;
}
    
}

@media only screen and (max-width: 1200px) {
    .container,
    .container-xl{
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
   
    .f-categories__wrapper a {
        padding: 3.2rem 1rem
    }
    .footer__content .subtract{
        height: 450px;
    }
    .megamenu-cat {
       
        width: 1000px;
    }
    

    /**************about us***************/
    @media (min-width: 991px) {
        .aboutus__catalogue .col-lg-8 {
            width: 55%;
        }
    
        .aboutus__catalogue .col-lg-2 {
            width: 22.5%;
        }
    
    .about__intro .mx--32{
        margin-right: calc(-0.5* var(--bs-gutter-x))!important;
        margin-left: calc(-0.5* var(--bs-gutter-x))!important;
    }
    .about__intro .col-md-6{
        padding-right: calc(var(--bs-gutter-x)* 0.5)!important;
        padding-left: calc(var(--bs-gutter-x)* 0.5)!important;
    }
    

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

    .container,
    .container-xl{
        padding-right: 3rem;
        padding-left: 3rem;
    }
    .toggle-menu{
        right: 0 !important;
    }
    /****************menu*******************/
    .header-m .menu-m{
        padding: 2rem 2.5rem;
        position: fixed;
        background-color: #fff;
        width: 50%;
        z-index: 100;
        top: 0;
        right: -100%;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        -webkit-transition: all 0.45s ease-in-out;
        -o-transition: all 0.45s ease-in-out;
        transition: all 0.45s ease-in-out;
    }

    .toggle-menu{
        right: 0 !important;
    }
    .display-b{
        display: block !important;
    }

    .header-m  .mega-menu__container > li{
        -webkit-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .header-m  .mega-menu__container{
        border-bottom: 1px solid var(--main-color);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .header-m  .mega-menu__container > li > a{
        padding: 16px 12px 16px 8px;
        color: var(--secondary-tx-color);
        position: relative;
        font-family: "font-semi-bold";
    }

    .header-m .mega-menu__container > li > a::before{
        content: "";
        background: var(--primary-color);
        border-radius: 4px 0px 0px 4px;
        width: 4px;
        height: 24px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(0,-50%);
    }
    
    .header-m .mega-menu__container > li > ul > li > a::before{
        content: "";
        background: var(--primary-color);
        border-radius: 4px 0px 0px 4px;
        width: 4px;
        height: 8px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(0,-50%);
    }

    .header-m .mega-menu__container > li > ul > li > ul > li > a::before{
        content: "";
        background: var(--primary-color);
        border-radius: 4px 0px 0px 4px;
        width: 4px;
        height: 4px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(0,-50%);
    }

    .header-m  .mega-menu__container > li a{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        position: relative;   

    }
    .header-m  .menu__container > li.menu-item-has-children > a{
        position: relative;   
    }
    .header-m  .mega-menu__container > li.menu-item-has-children > a svg,
    .header-m  .mega-menu__container > li.menu-item-has-children > ul > li.menu-item-has-children >a svg,
    .header-m  .menu__container > li.menu-item-has-children > a svg{
        position: absolute;
        left: 0;
        top: 50%;
        -webkit-transform: translate(0, -50%);
            -ms-transform: translate(0, -50%);
                transform: translate(0, -50%);
    }
    .header-m  .mega-menu__container > li > ul{
        background: #f1f1f1;
    }
    .header-m  .mega-menu__container > li > ul > li > ul{
        background: #e7e7e7;
    }
    .header-m  .mega-menu__container > li > ul,
    .header-m  .mega-menu__container > li > ul > li > ul,
    .header-m  .menu__container > li > ul {
        display: none;
    }

    .header-m  .mega-menu__container > li > ul>li,
    .header-m  .mega-menu__container > li > ul>li > ul >li,
    .header-m  .menu__container > li > ul>li{
        padding:0 2rem 0 1.5rem;

    }
    .header-m  .mega-menu__container > li > ul>li a{
        padding: 12px 12px 12px 8px;
    }
    .header-m  .close-menu{
        font-size: 2rem;
    }

    
    /*****************front page***************/
    .header-m{
        padding: 3rem 0;
    }
    .f-categories__wrapper li:nth-child(1),
    .f-categories__wrapper li:nth-child(2),
    .f-categories__wrapper li:nth-child(3),
    .f-categories__wrapper li:nth-child(4){
        margin-bottom: 1.6rem;
    }
    .f-adv .col-6:nth-child(1),
    .f-adv .col-6:nth-child(2){
        margin-bottom: 2.4rem;
    }
    .f-categories__wrapper li{
        width:25%
    }


    /**************footer**************/
    .footer__menu{
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 3;
        padding: 2.5rem 0;
        box-shadow: 0px -5px 11.4px rgba(0, 0, 0, 0.09);


    }
    .footer__menu li{
        padding: 0 2.5rem;
        width: 33.3333%;
        flex: 0 0 auto;

    }
    .footer__menu .footer__item{
        cursor: pointer;
    }
    .footer__item-icon{
        border-radius: 50%;
        padding: 2.5rem;
    }
    .footer__menu-phone{
        transform: translate(50%, -50%); 
        position: absolute;
        top: 0;
        right: 50%;
    }
    .footer__item-icon svg{
        width: 35px;
        height: 35px;
    }

    /**************about us***************/

    .aboutus__catalogue-img {
        right: 0;
        top: -13px;
    }
    .aboutus__catalogue a{
        margin: 0;
    }
    .aboutus__catalogue{
        padding: 2.4rem;
    }

    .aboutus__timeline{
        display: flex;
        flex-wrap: wrap;
        margin: 0 -1.2rem;

    }
    .timeline-1,
    .timeline-2,
    .timeline-3,
    .timeline-4{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: calc(50% - 2.4rem);
        flex: 0 0 auto;
        max-width: calc(50% - 2.4rem);
        margin: 0 1.2rem 2.4rem;

    }
    .aboutus__timeline{
        padding-bottom: 0;
    }

/**************contact us***************/
    .contactus__wrapper {
        padding: 5rem 1.5rem;
    }

}

@media only screen and (max-width: 767px) {
    html{
        font-size: 56.25%;
    }
    .header-m .menu-m{
        width: 75%;
    }
    .footer__item-icon{
        border-radius: 50%;
        padding: 2.2rem;
    }

    .footer__item-icon svg{
        width: 30px;
        height: 30px;
    }
    .footer__content .enamad{
        position: relative !important;
        left: auto;
        bottom: auto;
        text-align: center;
        margin-top: 2.4rem;
    } 

    .footer__content .subtract{
        width: calc(100% - 3rem);
    }

    .footer__social ul {
        background-color: var(--g800);
        margin-bottom: -60px;
    }
    .footer__content .subtract {
        height: 103.5%;

    }
    .footer__contact {
        margin-top: 4rem;
    }
    .footer__content p{
        margin-bottom: 2.5rem;
    }
    .footer__content p.py-32 {
        padding: 2rem 0 !important;
    }
    .footer__content .footer__logo{
        margin-top: 2.4rem;
    }
    
    
/**************about us***************/

    .aboutus__catalogue-img{
        position: relative !important;
        right: auto;
        top: auto;
        margin: 2.4rem 0;
    }
    .aboutus__catalogue .col-12{
        text-align: center;
    }
    .aboutus__desc .about__head{
        width: 100%;
    }

/**************contact us***************/
    .contactus__wrapper {
        background: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 100%;
        padding: 10rem 11rem;
    }
    .contactus__wrapper {
        padding: 0;
    }
    .contactus__card{
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }
    .contactus .order-2{
        margin-top: 2.4rem;
    }
/*********************archive product************************/
    #filter-container,
    #calc-weight{
        position: fixed;
        width: 100%;
        height: 100Vh;
        top: 0;
        right: -100%;
        background: #fafafa;
        z-index: 20;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        padding: 3.2rem;
    }

    .products-category .category-sidebar__box .close{
        display: block;
        margin-bottom: 2.5rem;
    }

    #filter-btn,
    #calc-btn{
        padding: 1.2rem 2.4rem;
    }
/***************************single post***************************/
    .toogle-table{
        position: absolute;
        left: 0;
        top: 0;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        z-index: 10;
    }
    
    .table-exp{
        max-height: 2.5rem;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }
    
}


@media only screen and (max-width: 576px) {
    .py-8{
        padding: 4rem 0 !important;
    }
    .my-8{
        margin: 4rem 0 !important; 
    }
    .mb-8{
        margin-bottom: 4rem!important; 
    }

    .container,
    .container-xl{
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    
    .header-m{
        padding: 1.5rem 0;
    }

    .header-m .menu-m{
        width: 94%;
    }
 
    .f-categories__wrapper li svg{
        width:30.5px;
        height: 30.5px;
        margin-top: 1.6rem;

    }
    .f-categories__wrapper a {
        padding: 0px 0.2px;
    }
    .f-categories__more{
        display:none !important;
    }
    .f-categories__title {
        margin-bottom: 1.8rem;
        margin-top: 0 !important;
    }

    .f-categories__wrapper a:hover > svg, .f-categories__wrapper a:hover .f-categories__title {
        transform: translateY(0);
    }
    .f-categories__wrapper li svg{
        width:25px;
        height: 25px;
    }
    .f-categories__title {
        font-size: 12px;
    }
    .footer__item-icon svg{
        width: 24px;
        height: 24px;
    }
    .footer__menu li{
        padding: 0 1rem;
    }
    .footer__social svg{
        width: 24px;
        height: 24px;
    }
    .footer__social ul {
        margin-bottom: -98px;
    }
    .footer__content .footer__logo {
        margin-top: 3.4rem;
    }
    .footer-container li{
        padding: 0 1.6rem !important;
    }
   
/**************about us***************/
    .timeline-1,
    .timeline-2,
    .timeline-3,
    .timeline-4{
        width: calc(100% - 2.4rem);
        flex: 0 0 auto;
        max-width: calc(100% - 2.4rem);
        margin: 0 1.2rem 2.4rem;

    }
    
}







