: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;
    position: relative;
}


#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%;
}

.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;
    display: none;
}

.top-menu .hover-pause a:not([data-depth="0"]):hover{
    color:  #B80C0C !important;
}

.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: none;
    top:50px;
    margin: 0;
    /*width: 100%;*/
}

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

#header .top-menu a[data-depth="0"]:hover{
    color: var(--font-hover-color);
}
#header .top-menu  a{
    text-transform: none;
    display: flex;
    align-items: center;
}
#header .top-menu  a:first-letter{
    text-transform: uppercase;
}
#header .top-menu  a:hover{
    color: var(--font-hover-color);

}

.top-menu a[data-depth="0"]{
    padding: 14px 0;
    margin: 0 18px;
}

.top-menu > .category:first-child > a[data-depth="0"]{
    margin-left: 0;
}

#_desktop_top_menu > .top-menu > .category:last-child {
    background-color: #E91313;
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"], .top-menu[data-depth="0"] > .category{
    transition: .3s;
    font-weight: 700;
    color: var(--font-color-menu);
    display: block;
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"], .dropdown-item.menu-tab-a[data-depth="0"]{
    position: relative;
    z-index: 1;
    color: white;
    text-transform: none;
    font-weight: 500;
    font-size: 17px;
    width: fit-content;

}

@media(min-width: 767px){
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"], .dropdown-item.menu-tab-a[data-depth="0"]{
        padding: 14px 0;
        margin: 0 18px;
    }
}
#header .top-menu[data-depth="0"] > .category:hover a[data-depth="0"]::after, #header .top-menu[data-depth="0"] > .category:hover .dropdown-item.menu-tab-a[data-depth="0"]::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #B80C0C;
}
#header .top-menu[data-depth="0"] > .category a[data-depth="0"]:before{
    content: '';
    position: absolute;
    bottom: 0;
    display: block;
    background: var(--bg-hover-color-menu);
    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: 10px 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;
    width: 100%;
}
.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;
    position: absolute;
    left: 50%;
    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 0 10px 0;
}
#header .top-menu .category-type-banner{
    padding-bottom: 0px;
}
.d-flex{
    display: flex;
}
img{
    max-width: 100%;
    height: auto;

}

.child-menu-img img{
    padding-bottom: 30px;
}
.top-menu[data-depth="1"] .category{
    padding-bottom: 30px;
}
.top-menu a:not([data-depth="0"]){
    padding: 0;
}
.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;
    }
}

@media(min-width: 767px){
    #header .top-menu[data-depth="0"] > .category .dropdown-item[data-depth="0"]::before{
        position: absolute;
        right: 0;
        left: 100%;
        top: 15px;
        content: "\e5cc";
        font-family: "Material Icons";
        font-size: 20px;
        width: 22px;
        height: 22px;
        background: transparent;
        transform: rotate(90deg);


    }

    .top-menu a[data-depth="1"]{
        font-size: 17px;
        margin-bottom: 15px;
    }
}

#header .top-menu[data-depth="0"] > .category:last-child a[data-depth="0"]::before{
    position: absolute;
    content: '';
    background: url("/themes/elnaroTheme/assets/img/icons/menu-icon-ig.png");
    background-size: cover;
    width: 20px;
    height: 23px;
    top: 50%;
    transform: translateY(-50%);

}
@media(max-width: 767px) {
    #header .top-menu[data-depth="0"] > .category:last-child a[data-depth="0"]::before {

        background: url("/themes/elnaroTheme/assets/img/icons/red-ig.svg") no-repeat;
        background-size: cover;
        width: 23px;
        height: 26px;
        left: 15px;
    }
    #header .top-menu[data-depth="0"] > .category:last-child a[data-depth="0"] {
        padding-left: 45px !important;
        color: #B80C0C;
    }
}
#header .top-menu[data-depth="0"] > .category:last-child a[data-depth="0"]{
    padding-left: 28px;
}


@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@media(max-width: 767px){

    #_mobile_top_menu .material-icons.add{
        font-size: 22px;
    }

    #_mobile_top_menu .material-icons.remove{
        font-size: 22px;
    }

    #_mobile_top_menu .top-menu > .category {
        border-bottom: 1px solid #C8C8C8;
        padding-bottom: 10px;
        padding-top: 10px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #_mobile_top_menu .menu-tab-a{
        text-transform: none;
    }

    #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"]>li{
        margin-top: 5px !important;
    }

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

    #_mobile_top_menu .top-menu a[data-depth="1"]{
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
    }

    #_mobile_top_menu .dropdown-item.menu-tab-a{
        text-decoration: none !important;
    }

    #header .top-menu[data-depth="0"] > .category a[data-depth="0"],  #header .top-menu[data-depth="0"] > .category .menu-tab-a[data-depth="0"] {
        position: relative;
        z-index: 1;
        color: var(--textColor);
        text-transform: none;
        font-weight: 600;
        font-size: 16px;
        width: 100%;
        margin-left: 0;
    }

    #header .top-menu[data-depth="0"] > .category:hover a[data-depth="0"]::after {
        display: none;
    }

    #mobile_top_menu_wrapper{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 10;
        margin: 0;
        padding: 0;
    }

    #header.is-open .pp-bars-slider-container{
        display: none;
    }

    #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
        border-bottom: none;
    }

    .mobile-bar-menu{
        background-color:  #E91313;
        padding: 15px;
        display: flex;
        gap: 10px;
        align-items: center;
        position: relative;
    }

    #close-mobile-menu{
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-bar-menu .text-menu{
        font-size: 18px;
        line-height: 25px;
        color: white;
        font-weight: 700;
    }

    #_mobile_top_menu .top-menu[data-depth="0"]  > .category:first-child
    {
        border-top: none;
        margin-top: 0 !important;
    }

    #mobile_top_menu_wrapper .top-menu a[data-depth="0"],  #mobile_top_menu_wrapper  .menu-tab-a[data-depth="0"]
    {
        padding: 6px 15px;
    }

    #mobile_top_menu_wrapper {
        overflow: hidden;
    }


    #_mobile_top_menu .top-menu[data-depth="0"] > .category > .js-sub-menu {
        position: fixed;
        top: 60px;
        left: 0;

        width: 100%;
        height: 100vh;

        background: #fff;
        z-index: 9999;

        transform: translateX(-100%);
        transition: transform 0.3s ease;

        overflow-y: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }


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

    #_mobile_top_menu .submenu-depth-2 > .category, #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="2"] li a
    {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #mobile_top_menu_wrapper .children-category {
        display: none;
    }
    #mobile_top_menu_wrapper li.category {
        position: relative;
    }


    #mobile_top_menu_wrapper .child-toggle {
        position: absolute;
        right: 10px;
        top: 10px;
        cursor: pointer;
    }


    #mobile_top_menu_wrapper .child-toggle i.material-icons {
        font-size: 28px;
        rotate:90deg;
    }

    #mobile_top_menu_wrapper .child-toggle.is-open i.material-icons {
        transform: rotate(180deg);
    }

}

@media(min-width: 767px){
    .top-menu .hover-pause a:not([data-depth="0"])
    {
        padding: 3px 0;
       font-size: 12px;
    }

    .top-menu a[data-depth="1"]{
        font-size: 15px;
        margin-bottom: 10px;
    }

   
}