#megamenu, .megaclose{
visibility: hidden;
position: absolute;
}
@media (max-width: 320px){
    .bottom_top {
        padding: 0 8px;
    }

}

@media (max-width: 1110px){
    /* .side-menu-button-megaside{
        margin-right: 20px !important;
    } */
    .fixedtop{
        padding: 0 8px;
    }
    .nav-header-top{
        background-image: none;
        padding-top: 20px;
    }
    .nav-header-fixed:after{
        background: none;
    }
    .nav-header-fixed--shown {
        padding-top: 20px;
        padding-bottom: 15px;
    }
    .x-shelf{
        z-index: 99999999999999999 !important;
    }
    .megaclose{
        display: none ;
    }
    .megashow .megaclose{
        display: block;
        position: fixed;
        right: 20px;
        top: 90px;
        visibility: visible;
    }
    #megamenu{
       /*  transform: translate(0,0); */
        background: #FFFFFF;
        position: fixed;
        padding-left: 0px;
        padding-top: 0px;
        transition: 0.3s;
        top: 79px;
        bottom: 0;
        overflow-x: scroll;
        left: 0;
        width: 80%;
        z-index: 999999999999999999;
        bottom: 50px;
        transform: translate(-1000px, 0px);
    }
  /*   body.megashow::before{
        content: url("/images/megamenu/Group 113.png");
        position: absolute;
        right: 20px;
        z-index: 999;
        top: 89px;

    } */
    .megashow #megamenu{
        transform: translate(0px, 0px);
        visibility: visible;
    }
    #megamenu ul{
        padding-left:33px;
        margin-top: 0;
        padding-top: 20px;
    }
    #megamenu ul li{
        list-style-type: none;
        /* position: relative; */
    }
    #megamenu ul li{
        margin-bottom: 20px;
    }
    #megamenu ul li a,#megamenu ul li .nohref{
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0.03em;
        color: #313131;
        border-bottom: none;
    }
    #megamenu ul li ul.megainnerul{
        /* display: none; */
        position: absolute;
        top: 0;
        left: 0;
        background: #F7F7F7;
        width: 100%;
        height: 100%;
        transform: translate(-500px, 0px);
    }
    #megamenu ul li .wrap-megain ul.megainnerul{
        transform: translate(0px, 0px);
    }
    ul.megainnerul li{

    }
    ul.megainnerul li a{
        padding-left: 0px;
    }
    #megamenu-middle{
        border-bottom: 1px solid #EDECEC;
    }
    #megamenu-middle li > a, #megamenu-middle li > .nohref{
        padding-left: 50px;
        /* padding-bottom: 4px; */
        padding-bottom: 5px;
        padding-top: 5px;
    }
    a.komody{
        background: url("/upload/uf/485/4859c6e0fc869c3a9caed8199145e61f.png") no-repeat;
        background-position-x: 4px;
    }    
    a.collekcii{
        background: url("/img/group1.png") no-repeat;
        background-position-x: 4px;
        background-size: 32px;
    }
    a.divany{
        background: url("/images/megamenu/sofa (9) 1.png") no-repeat;  
    }
    a.stoly{
        background: url("/images/megamenu/dd85d12ff81fe9e66ca168175c2ef8ec.png") no-repeat;  
        background-position-x: -4px;
    }
    a.dizaynerskie-stulya{
        background: url("/images/megamenu/aec27fa90ecde280d5af464ca7dde85e (1).png") no-repeat;  
        background-position-x: -4px;
    }
    a.kresla{
        background: url("/images/megamenu/sofa (8) 2.png") no-repeat;  
        background-position-x: 4px;
    }
    a.krovati{
        background: url("/images/megamenu/5fcf3f8720e4b2e4ab0a42a21adfad5d 3.png") no-repeat;  
    }
    a.konsoli{
        background: url("/images/megamenu/8e7dac1443702fa545e54fa33bf16695.png") no-repeat;  
        background-position-x: -1px;
    }
    a.stellazhi{
        background: url("/images/megamenu/de90d58b5afaded7fde161d4ff4ad08e (1).png") no-repeat;  
        background-position-x: -5px;
    }
    a.dizaynerskie-shkafy{
        background: url("/images/megamenu/19b177659fdc7ba898b02f88e777ca32.png") no-repeat;  
        background-position-x: -5px;
    }
    a.dizaynerskie-bufety{
        background: url("/images/megamenu/ecf408d64c28207dc18902c472948293 (1) 2.1.png") no-repeat; 
        background-position-x: -5px; 
    }
    a.dizaynerskie-tumbochki{
        background: url("/images/megamenu/b2fd515fe9a5e89bd8075f8d368ff55b.png") no-repeat;  
        background-position-x: -4px;
    }
    a.pufy{
        background: url("/images/megamenu/Group 116.png") no-repeat;  
        background-position-x: -4px;
    }
    span.interer{
        background: url("/images/megamenu/interior 1.png") no-repeat;  
        background-position-x: 5px;
    }
    span.fhome{
        background: url("/images/megamenu/interior (1) 1.png") no-repeat;  
        background-position-x: 7px;
    }
    .megaphone a{
        font-weight: bold;
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0.03em;
        color: #339999;
    }
    .megaphone{
        padding-left: 27px;
        margin-bottom: 15px;
    }
    .megaphone a{
        padding-left: 30px;
        background: url("/images/megamenu/Vector.png") no-repeat;  
        background-position-x: 7px;
        border-bottom: 0;
        background-position-y: center;
    }
    .search-mega-form form{
            display: flex;
            align-items: center;
    }
    .search-mega-form input[type="submit"]{
        background: url("/images/megamenu/search (3) 1.png") no-repeat;    
        padding-right: 24px;
        width: 20px;
        height: 20px;
    }
    .search-mega-form input{
        min-height: unset;
        border: none;
        width: auto;
        font-style: normal;
    }
    #megamenu-top{
        padding-left: 38px;
        padding-top: 20px;
    }
    .nohref{
        padding-right: 10px;
    }
    /* .haschild span:after{
        background: url("/images/megamenu/Vector 8.png") no-repeat;
    } */
    .side-menu-button-megaside {
        width: 32px;
        margin-right: 0 !important;
        height: 21px;
        background-color: transparent;
        border-top: 3px solid #fff;
        border-bottom: 3px solid #fff;
        margin-right: 30px;
        position: relative;
        z-index: 10;
        float: left;
    }
    .side-menu-button-megaside:before {
        content: "";
        width: 100%;
        height: 3px;
        background-color: #fff;
        position: relative;
        top: 6px;
        z-index: 1;
        display: block;
    }
    .megacity{
        padding-left: 10px;
        padding-bottom: 20px;
    }
    .megashow .header{
        margin-bottom: 0px;
    }
    .megashow .main{
        padding-top: 40px;
        background: rgba(0, 0, 0, 0.5);
    }
    .megashow .main  * ,.megashow .header-bottom{
        background: rgba(0, 0, 0, 0.5);
    }

    #megamenu.showinmega{
        position: fixed !important;
        overflow-y: hidden;
        bottom: 0;
/*         margin-left: 20px;
        margin-top: 20px;
        width: 94%;
        height: 100%; */
    }
    .dopmegamenu{
        transform: translate(-1000px, 0px);
        position: absolute;
        transition: 0.3s;
        padding-top: 20px;
    }
    .dopmegamenu.showinmega{
        transform: translate(0px, 0px);
        margin-left: 20px;
        /* margin-top: 20px; */
        /* background: #F7F7F7; */
        width: 94%;
        height: 100%;
    
    }
    .magebackback{
        padding-left: 30px;     
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0.03em;
        margin-bottom: 20px;
        color: #313131;   
    }
    .magebackback img{
        padding-right: 20px;
    }
    #megamenu.megaclick{
        overflow: hidden;
    }
    #megamenu.megaclick ul{
        height: 100%;
        background: #F7F7F7;
    }
}

.haschild .interer, .haschild .hachildim,
.haschild .fhome, .haschild .hachildim {
    cursor: pointer;
}