/*:root {*/
/*    --bg-hover-color-menu: #000000;*/
/*    --bg-font-hover-color-menu: #000000;*/
/*    --font-hover-color: #000000;*/
/*    --font-color-menu: #000000;*/
/*}*/
.menu > .top-menu{
    width: 100%;
    margin: 0;
}
#header .menu{
    width: 100%;
    position: relative;
}
.menu-tab-a {
    /*text-transform: uppercase;*/
    cursor: pointer;
}

.top-menu .sub-menu ul[data-depth="1"]>li{
    margin: 0;
}
.banner-image img{
    max-width: 100%;
    width: 100%;
}

.top-menu a:not([data-depth="0"]) span{
    display: none;
}

.top-menu .hover-pause a:not([data-depth="0"]) span{
    display: inline-block;
}

/*.top-menu .hover-pause a:not([data-depth="0"]){*/
/*    padding: 5px 0;*/
/*    position: relative;*/
/*    transition: padding .2s;*/
/*    overflow: hidden;*/
/*}*/

/*.top-menu .hover-pause a:not([data-depth="0"]) span{*/
/*    font-size: 12px;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    opacity: 1;*/
/*    left: -10px;*/
/*    transition: opacity .2s, left .2s;*/
/*}*/

/*.top-menu .hover-pause a:not([data-depth="0"]):hover{*/
/*    padding: 5px 12px;*/
/*}*/

.top-menu .hover-pause a:not([data-depth="0"]):hover span{
    opacity: 1;
    left: 0;
}

#_desktop_top_menu .top-menu[data-depth="0"] li .sub-menu{
    transform: translateY(-10px);
    transition: transform .3s;
    visibility: hidden;
    display: block !important;
    /*top:138px;*/
    margin: 0;
    width: 100%;
    position: absolute;
    z-index: 5;
    left: 0;
    background-color: white;
}

#_desktop_top_menu .top-menu[data-depth="0"] li:hover .sub-menu{
    transform: translateY(0px);
    visibility: visible;
}


#header .top-menu  a{
    text-transform: none;
    display: flex;
    align-items: center;
}
#header .top-menu  a:first-letter{
    text-transform: uppercase;
}


.top-menu a[data-depth="0"]{
    padding: 39px 12px;
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"], .top-menu[data-depth="0"] > .category{
    transition: .3s;
    font-weight: 500;
    display: block;
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"]{
    position: relative;
    z-index: 1;
    /*text-transform: uppercase;*/
    text-align: center;
    display: flex;
    height: 100%;
}#header .top-menu[data-depth="0"] > .category a[data-depth="0"]:hover::after{
    opacity: 1;
 }
#header .top-menu[data-depth="0"] > .category a[data-depth="0"]:hover{
    color: #8C6141;
    text-decoration: none;
}

#header .top-menu[data-depth="0"] > .category a[data-depth="0"]::after{
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 4px 4px 0 0;
    background-color: #8C6141;
    opacity: 0;
    transition: .3s all ease;
}

#index #header .top-menu[data-depth="0"] > .category a[data-depth="0"]{
    color: white;
}
#header .top-menu[data-depth="0"] > .category:hover a[data-depth="0"]{
    /*text-decoration: underline;*/
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"]:before{
    content: '';
    position: absolute;
    bottom: 0;
    display: block;
    height: 0;
    width: 100%;
    left:0;
    z-index: -1;
    transition: height .2s;
}
#header .top-menu[data-depth="0"] > .category:hover a[data-depth="0"]:before{
    /*height: 100%;*/
}

.top-menu[data-depth="1"]{
    margin: 10px 0 0 0;
}

#header .header-top .menu{
    /*padding-left:0;*/
}

#mobile_top_menu_wrapper .top-menu .sub-menu li>a{
    padding: 5px 0;
}

#mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"]>li{
    margin: 0;
}
#mobile_top_menu_wrapper .top-menu .collapse-icons[aria-expanded=true] .remove{
    margin-top: -3px;
}
#mobile_top_menu_wrapper .top-menu .collapse-icons .add{
    margin-top: -3px;
}
#mobile_top_menu_wrapper .top-menu .navbar-toggler{
    width: inherit;
    height: inherit;
}
.children-category-item{
    position: relative;
    display: inline-block;
}
.children-category{
    display: inline-grid;
}
.children-category[data-depth="3"], .children-category[data-depth="4"]{
    opacity: 0;
    visibility: hidden;
    box-shadow: 2px 1px 11px 2px rgba(0,0,0,.1);
    position: absolute;
    left: 100%;
    top: -10px;
    z-index: 9;
    padding: 10px 25px;
    width: 300px;
    background: #fff;
    transition: opacity .3s;
}

.top-menu .hover-pause a:not([data-depth="0"]) i{
    font-size: 16px;
    color: #909090;
}
/*.top-menu .hover-pause .children-category-item:hover > a:not([data-depth="0"]){*/
/*    padding: 5px 12px;*/
/*}*/

/*.top-menu .hover-pause .children-category-item:hover > a:not([data-depth="0"]) span{*/
/*    opacity: 1;*/
/*    left: 0;*/
/*}*/
.children-category .children-category-item:hover > .children-category[data-depth="3"], .children-category .children-category-item:hover > .children-category[data-depth="4"]{
    opacity: 1;
    visibility: visible;
}

.top-menu a[data-depth="0"].icon-link{
    display: flex;
}

.icon-link i{
    margin-right: 0px;
}

#header .top-menu[data-depth="0"] > .category a[data-depth="0"].img-link{
    display: flex;
}
.img-link-wrap{
    margin-right: 10px;
}
.img-link-wrap img{
    max-height: 30px;
}

#header .top-menu .category-type-banner a{
    padding: 0;
    justify-content: end;
}
#header .top-menu .category-type-banner{
    padding-bottom: 20px;
}
.d-flex{
    display: flex;
}
img{
    max-width: 100%;
    height: auto;

}

.child-menu-img img{
    padding-bottom: 30px;
}
.top-menu[data-depth="1"] .category{
    padding-top: 10px;
    padding-bottom: 10px;
}
.top-menu a:not([data-depth="0"]){
    padding: 0;
    font-weight: 400;
    padding-left: 15px;
    margin-bottom: 10px;
}

.top-menu a[data-depth="1"]{
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 0;
    font-size: 16px;
}
.top-menu .block-contact-title{
    padding-top: 10px;
    margin-bottom: 15px;
}

@media (max-width: 1550px){
    .top-menu .sub-menu ul[data-depth="1"]>li:last-child .children-category[data-depth="3"], .top-menu .sub-menu ul[data-depth="1"]>li:last-child .children-category[data-depth="4"]{
        top: inherit;
        right: 0;
        left: inherit;
        max-width: 100%;
    }

    .top-menu .sub-menu ul[data-depth="1"]>li:last-child .children-category-item{
        position: static;
    }
}

@media (max-width: 767px){
    .children-category[data-depth="3"],  .children-category[data-depth="4"]{
        opacity: 1;
        visibility: visible;
        position: static;
        padding: 0px 15px;
        box-shadow: none;
    }

    .top-menu .hover-pause a:not([data-depth="0"]) i{
        display: none;
    }
}

#_desktop_top_menu > .top-menu{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}


.children-category-item--extra {
    display: none;
}

.children-category-item--extra.is-visible {
    display: block;
}

.children-category-show-more .menu-tab-a {
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.children-category-show-more .material-icons {
    font-size: 18px;
}

.js-show-more-submenu{
    text-decoration: none !important;
}

#_mobile_top_menu{
    margin-top: 20px;
}

#_mobile_top_menu .top-menu > .category{
    margin: 20px 0;
}

#_mobile_top_menu  .top-menu a[data-depth="0"]{
    font-size: 16px;
    padding: 15px;
}

#_mobile_top_menu  .top-menu a:not([data-depth="0"]){
    text-transform: none;
    white-space: nowrap;
}

#_mobile_top_menu  .top-menu[data-depth="1"] .category
{
    padding-top: 0;
}

#_mobile_top_menu  .children-category-item{
 margin: 5px 0;
}

#_mobile_top_menu .material-icons.add:before, #_mobile_top_menu .material-icons.remove:before{
    display: none;
}

#_mobile_top_menu .navbar-toggler[aria-expanded="false"] .material-icons.remove, #_mobile_top_menu .navbar-toggler .material-icons.remove, #_mobile_top_menu .navbar-toggler[aria-expanded="true"] .material-icons.add{
    display: none;
}

#_mobile_top_menu .navbar-toggler[aria-expanded="true"] .material-icons.remove{
   display: inline-block;
}


#header .top-menu .category-html-custom a{
    display: unset;
    padding: 0;
    margin: 0;
}

#_mobile_top_menu .children-category{
    display: flex;
    flex-direction: column;
}


/* ========== MOBILE ONLY: slide level 1 + accordion +/- ========== */
@media (max-width: 767px) {
    #mobile_top_menu_wrapper .modal-body {
        overflow: hidden;
        position: relative;
    }

    #mobile_top_menu_wrapper .mobile-bar-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 16px;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
        z-index: 1070;
        min-height: 56px;
        margin-top: 36px;
        border-top: 1px solid #e5e5e5;
    }

    #mobile_top_menu_wrapper .mobile-bar-menu .text-menu {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }

    #mobile_top_menu_wrapper #back-mobile {
        border: 0;
        background: transparent;
        padding: 0;
        line-height: 1;
        color: inherit;
    }

    #mobile_top_menu_wrapper #back-mobile .material-icons {
        font-size: 28px;
        margin-left: -10px;
    }

    #_mobile_top_menu {
        margin-top: 0;
        position: relative;
        overflow: hidden auto !important;
        flex: 0 1 auto;
        min-height: 0;
    }

    #_mobile_top_menu .top-menu[data-depth="0"] {
        margin: 0;
        padding: 0;
    }

    #_mobile_top_menu .top-menu[data-depth="0"] > .category {
        margin: 0;
        border-bottom: 1px solid #eee;
        position: static;
    }

    #_mobile_top_menu .top-menu[data-depth="0"] > .category > a.menu-tab-a[data-depth="0"] {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
    }

    #_mobile_top_menu .top-menu[data-depth="0"] > .category > a .float-xs-right {
        float: none !important;
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    #_mobile_top_menu .navbar-toggler {
        padding: 0;
        border: 0;
        background: transparent;
        line-height: 1;
        width: auto;
        height: auto;
    }

    #_mobile_top_menu .navbar-toggler .material-icons.add {
        display: inline-block !important;
        font-size: 28px;
    }


    #_mobile_top_menu .top-menu[data-depth="0"] > .category > .js-sub-menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 0 24px;
        background: #fff;
        z-index: 1060;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: none;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }

    #_mobile_top_menu .top-menu[data-depth="0"] > .category > .js-sub-menu.active-category {
        transform: translateX(0);
        pointer-events: auto;
    }

    #_mobile_top_menu .js-sub-menu .col-md-2,
    #_mobile_top_menu .js-sub-menu .col-sm-0,
    #_mobile_top_menu .js-sub-menu [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #_mobile_top_menu .js-sub-menu .top-menu,
    #_mobile_top_menu .js-sub-menu .submenu-depth-2 {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #_mobile_top_menu .js-sub-menu .submenu-depth-2 > .category,
    #_mobile_top_menu .js-sub-menu .category {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    #_mobile_top_menu .js-sub-menu > .top-menu > .category > a.dropdown-submenu:empty,
    #_mobile_top_menu .js-sub-menu > .top-menu > .category > a.level-depth-1:empty {
        display: none;
    }

    #_mobile_top_menu .js-sub-menu a[data-depth="1"],
    #_mobile_top_menu .js-sub-menu .dropdown-submenu {
        display: block;
        padding: 14px 48px 14px 16px;
        font-size: 15px;
        font-weight: 500;
        margin: 0;
        white-space: normal;
        text-align: left;
    }

    #_mobile_top_menu .top-menu a:not([data-depth="0"]) {
        white-space: normal;
    }

    /* Level 2 accordion */
    #_mobile_top_menu .children-category,
    #mobile_top_menu_wrapper .children-category {
        display: none;
        flex-direction: column;
        padding: 0 16px 12px;
        padding-left: 30px;
    }

    #_mobile_top_menu .children-category .children-category-item {
        margin: 0;
        padding: 8px 0;
        border: 0;
        display: block;
    }

    #_mobile_top_menu .children-category .menu-tab-a {
        font-size: 14px;
        font-weight: 400;
        padding: 0;
    }

    #mobile_top_menu_wrapper .child-toggle {
        position: absolute;
        right: 14px;
        top:0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: end;
        cursor: pointer;
        z-index: 2;
        line-height: 1;
        color: #222;
        user-select: none;
    }

    #mobile_top_menu_wrapper .child-toggle i.material-icons {
        font-size: 22px;
        transform: none;
    }

    .children-category-item--extra.is-hidden {
        display: block;
    }

    .children-category-item--extra.is-visible {
        display: block;
    }

    #mobile_top_menu_wrapper .top-menu .sub-menu li>a {
        padding: 14px 16px;
        width: fit-content;
    }

    #mobile_top_menu_wrapper .category.col-md-2{
        border-bottom: none;
    }

    #mobile_top_menu_wrapper .children-category-item.children-category-show-more{
        display: none;
    }

    #mobile_top_menu_wrapper .child-toggle.is-open i{
        color: #BF8459;
    }

    #mobile_top_menu_wrapper .top-menu .navbar-toggler{
        height: 28px;
    }

    #mobile_top_menu_wrapper .category.no-link.col-md-12{
        display: none;
    }

}

.children-category-item.children-category-show-more{
    order: 101;
}

