#header{
    transition:bottom 2s ease;
    position: relative;
    z-index: 10000001;
}
#header.fixed {
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 10000001;
    animation: slide-down 0.7s;
    left: 0;
    right: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    
}
/* Medium devices (tablets, less than 992px) */
@media (min-width: 943px) and (max-width: 1054px) { 
    body #header .header-nav {
        border-bottom: none !important;
        padding: 7.6px 0px !important;
    }
}
@media (min-width: 1054px) and (max-width: 1147px) {
    .p-special {
        padding-right: 0;
    }
}
@media (min-width: 1340px) and (max-width: 1495px) {
    .p-special {
        padding-right: 30px;
    }
}
@media (min-width: 1495px) and (max-width: 1632px) { 
    .p-special {
        padding-right: 15px !important;
    }
}
@media (min-width: 1631px) and (max-width: 1800px) {
    #header .container,
    .footer .container {
        max-width: 1560px;
    }
    .p-special {
        padding-right: 70px;
    }
}
        
@keyframes slide-down {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(0)
    }
}
#header .wbheadstore a{
    font-weight: 600;
    font-size: 13px !important;
    color: #000;
    position: relative;
    display: inline-block;
    padding: 14.15px 9.68px;
    font-family: sans-serif;
    line-height: 1.2;
}
#header .wbheadstore a.red-color{
    color: #ed1c24;
}
#header .top-left-header .wbheadstore a:after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #ed1c24;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.wbheadstore li a:hover::after {
    transform: scaleX(1) !important;
}
#header #search_toggle{
    border: none;
    cursor: pointer;
    vertical-align: middle;
    min-width: 42px;
    background: #F4F4F4;
    min-height: 30px;
    border-radius: 25px;
    width: 100% !important;
    -webkit-appearance: button;
}
#header .header-top{
    border-bottom: 1px solid #00000029 !important;
    box-shadow: none !important;
}
#header .header-top-item {
    color: #898989;
    font-size: 10px;
    padding: 7px 5px;
}
#header #search_toggle svg {
    width: 15px;
    height: 25px;
    fill: #898989;
    float: left;
    margin-left: 10px;
}
.top-right-header .wbheadstore li {
    margin-left: 15px !important;
    border-right: inset 1px #D5D5D5;
    padding-right: 10px;
}
.top-right-header .wbheadstore a{
    font-weight: normal !important;
    padding: 4.4px 4px !important;
    font-family: 'Rubik' !important;
}
.eddenyalive li{
    margin-left: 20px;
}
.language-selector-wrapper{
    margin-left: 0px !important;
}
.wbheadmap li a, .language-selector-wrapper a {
    color: #221E20!important;
    text-transform: capitalize;
    font-size: 14px;
    font-family: 'Rubik';
    font-weight: 600;
}
.popup-over .popup-content {
    padding: .625rem;
    position: absolute;
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    min-width: 140px;
    z-index: 9999;
    display: none;
    right: 0;
    transition: opacity 0.3s linear 0s;
    margin: 0;
}
.popup-over .popup-content li {
    display: block;
}
.popup-over .popup-content a {
    font-size: 13px;
    padding: .3125rem 0;
    color: rgb(34, 30, 32) !important;
}
.popup-over:hover .popup-content{
    display: block;
}
.leo-blockcart .left-side .svgbg {
    padding-top: 0px !important;
}
#header .header-nav{
    z-index: 0;
    position: relative;
    background: rgb(255, 255, 255);
    /*box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 0px !important;*/
    border-bottom: 2px solid rgb(237, 28, 36) !important;
    padding: 2.6px 0px !important;
}
#header .logo{
    max-width: 200px;
}
.button-elligibility{
    margin-right: 30px;
}
.button-red-elligibility{
    border-radius: 25px !important;
    font: normal normal 600 13px / 15px Rubik;
    width: max-content;
    padding: 4px 8px;
    background-color: rgba(203, 44, 48, 0.2);
    color: rgb(203, 44, 48);
    border: 1px solid rgb(203, 44, 48);
}
#header .userinfo-selector{
    margin: 0 15px;
}
.svgbg {
    cursor: pointer;
    background: #ed1c24;
    min-width: 42px;
    min-height: 42px;
    border-radius: 100%;
    text-align: center;
}
#_desktop_cart .cart-products-count {
    font-size: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    position: absolute;
    line-height: 20px;
    right: -10px;
    left: auto;
    border-radius: 100%;
    color: #ed1c24 !important;
    background: #fff !important;
    font-weight: 900 !important;
    top: 0 !important;
    font-family: sans-serif;
}
/*#header .header-nav .inner{
    padding: 10px 0;
}*/

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1,1)
    }

    50% {
        transform: scale(1.1,1.1)
    }

    100% {
        transform: scale(1,1)
    }
}

/*** start header responsive **/
.menu-mobile{
    display: none ;
}

/* Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) { 
    .button-elligibility{
        display: none !important;
    }
}
@media (max-width: 1199.98px) { 
    #header .header-top{
        display: none;
    }
    
    .hoz-menu{
        width: 66.66667%;
    }
    .wb2-header-right{
        width: 16.66667%;
    }
    #header .main_menu>ul>li:first-of-type {
        margin-right: 8px;
    }
    #header .main_menu>ul>li+li {
        margin: 0 8px;
    }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    .hoz-menu{
        display: none;
    }
    .toggle-menu-mobile{
        display: block;
        outline: none;
        font-weight: bold;
        font-size: 28px;
        margin-right: 15px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        background: transparent no-repeat center center;
        background-size: 24px 24px;
        border: 1px solid transparent;
        border-radius: .25rem;
        font-weight: 400;
    }
    .header_logo{
        width: 25%;
        padding: 0; 
    }
    .header-nav>div>.inner{
        justify-content: space-between;
    }
    .header-nav .wb2-header-right{
        justify-content: flex-end;
        padding: 0;
    }
}
/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) { 
    #header.fixed {
        box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 0px;
    }
    #header .header-nav{
        padding: 15px 0 !important;
        border-bottom: none !important ;
    }
    .header_logo,
    .header-nav .wb2-header-right {
        width: 50%;
    }
    /** menu mobile **/
    .menu-mobile{
        overflow-y: scroll;
        max-width: none;
        transition: all 400ms;
        -webkit-animation-name: fadeInLeft;
        -moz-animation-name: fadeInLeft;
        -o-animation-name: fadeInLeft;
        animation-name: fadeInLeft;
        position: fixed;
        z-index: 99999;
        top: 0;
        left: 0;
        bottom: 0;
        background: #f4f6f8;
        -webkit-animation-duration: 0.5s;
        animation-duration: 0.5s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        height: 100%;
        width: 100%;
        display: none !important;
    }
    .menu-mobile.show{
        display: block !important;
    }
    @-webkit-keyframes fadeInLeft {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0)
        }
    
        100% {
            opacity: 1;
            -webkit-transform: none;
            transform: none
        }
    }
    @keyframes fadeInLeft {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0)
        }
    
        100% {
            opacity: 1;
            -webkit-transform: none;
            transform: none
        }
    }
    .fadeInLeft {
        -webkit-animation-name: fadeInLeft;
        animation-name: fadeInLeft;
    }

    .menu-mobile .header-menu{
        border-bottom: 1px solid rgb(213, 213, 213);
        padding: 0px 15px;
        background-color: #fff;
    }
    
    #header .logo {
        max-width: 100px;
    }
    .menu-mobile .logo{
        max-width: 28px !important;
    }
    .menu-mobile .wbheadstore {
        margin: 0px 15px;
        border-left: 1px solid rgb(213, 213, 213);
        border-right: 1px solid rgb(213, 213, 213);
        padding-bottom: 1px;
    }
    #header .wbheadstore a{
        padding: 23px 10px 17px 10px;
        font-weight: 400;
        font-size: 16px !important;
        margin-bottom: -2.7px;
    }
    #header .wbheadstore a.onclick {
        border-bottom: 2px solid rgb(237, 28, 36);
    }
    #header .close{
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        padding: 6px 5px 0px 0;
    }
    #header .close-search-mobile{
        position: absolute;
        top: 0;
        z-index: 3;
        right: 40px;
        top: -2px;
        display: none;
        opacity: 0;
        transition: opacity 0.5s 0.1s ease-in;
    }
    #header .cssload-speeding-wheel-mobile {
        z-index: 3 !important;
        top: -3px !important;
    }
    body.active-search::after {
        display: none !important;
    }
    .active-search #header .close-search-mobile{
        display: block;
        opacity: 1;
    }
    #header #main_menu_header{
        flex-direction: column;
        max-width: 100%;
        overflow: hidden;
    }
    #header #main_menu_header>li {
        border-bottom: 1px solid rgb(230, 230, 230) !important;
        background: #fff;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
    }
    #header #main_menu_header li a{
        padding: 1.0625rem 15px;

    }
    #header #main_menu_header li ul li a{
        padding: 17.5px 0px 17.5px 18px  !important;
        font-weight: 400 !important;

    }
    #header #main_menu_header li ul ul li a{
        padding: 1.5px 0px 1.5px 25px !important;
        color: #000 !important;
        font-family: sans-serif !important;
    }
    #header #main_menu_header li.mega-menu-template a{
        padding-left: 15px !important;
        font-family: RUBIK !important;
        font-size: 15px !important;
    }
    #header .main_menu #main_menu_header ul li a.bold, 
    #header .main_menu #main_menu_header  ul li a span.tag.bold{
        font-weight: 700 !important;
    }
    #header #main_menu_header li{
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        min-width: 100% !important;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #header #main_menu_header li.mega-menu-template li{
        margin-bottom: 20px;
    }
    #header #main_menu_header #main_menu_header>li.has-children>a{
        position: relative;
        font-weight: 500 !important;
        font-size: 15px !important;
    }
    #header #main_menu_header li.has-children>a::after {
        content: "+" !important;
        font-size: 20px;
        font-weight: 700;
        position: absolute;
        right: 20px;
        padding: 0 !important;
        line-height: 100%;
        margin-top: -3px;
    }
    #header #main_menu_header li.has-children li.has-children>a::after{
        margin-right: 13px;
    }
    #header #main_menu_header li.has-children.open>a::after {
        content: "-" !important;
    }
    #header #main_menu_header li.has-children .submenu {
        position: static;
        width: 100%;
        min-width: 100%;
        border: none;
        box-shadow: none;
        padding: 0 !important;
        display: none;
    }
    #header #main_menu_header li.has-children.open>.submenu {
        display: flex !important;
        width: 100% !important;
        min-width: 100% !important;
    }
    #header #main_menu_header li.has-children .submenu>ul{
        flex-direction: column;
        width: 100%;
    }
    #header #main_menu_header li.has-children .submenu-2>ul{
        padding-bottom: 10px;
    }
    #header .bottom-menu{
        background-color: #F4F6F8;
        padding: 30px 30px;
        height: auto;
    }
    #header .bottom-menu .links{
        margin: 25px 0;
    }
    #header .bottom-menu a{
        color: #000;
        font-weight: 600;
        display: flex;
        font-size: 1rem;
        font-family: sans-serif;
    }
    #header .bottom-menu .language-selector-wrapper{
        margin-bottom: 24px;
    }
    #header .bottom-menu .language-selector-wrapper a{
        font-size: 14px;
        font-family: 'Rubik';
    }
    #header .bottom-menu .language-selector-wrapper.popup-over .popup-content{
        right: auto;
        top: -99px;
        width: 80%;
    }
    #header .bottom-menu .language-selector-wrapper.popup-over .popup-content li:first-of-type a{
        margin-bottom: 10px;
    }
    #header .bottom-menu .button a{
        color: #fff !important;
        padding: 5px 9px;
        margin-right: 20px;
        font: normal normal bold 15px Rubik;
    }
    #header .bottom-menu .button a:last-of-type{
        color: #000 !important;
        width: max-content;
        padding: 6px 9px;
        margin-right: 0px;
        font-family: sans-serif;
    }
    #header .bottom-menu .button a:last-of-type span{
        padding-top: 2px;
        font-weight: 600;
    }
    #header .bottom-menu .button a svg{
        margin-right: 5px;
    }
    #header li.mega-menu-template{
        display: none;
        padding-top: 20px !important;
    }
    .svgbg {
        min-width: 30px;
        min-height: 30px;
        padding-top: 2px;
    }
    .svgbg svg{
        width: 16px;
        height: 16px;
    }
    .navbar-nav.megamenu .menu-title{
        text-transform: capitalize;
    }
    #header #main_menu_header li.mega-menu-template.style-2>ul>li{
        padding: 0 15px;
        width: max-content !important;
        min-width: max-content !important;
    }
    #header #main_menu_header li.mega-menu-template.style-2>ul>li a{
        padding: 10px !important;
    }
    #header #search_toggle{
        min-width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    #header #search_toggle svg{
        margin-left: 0;
    }
    #header .header-top-item {
        display: none;
    }
    #header #wb2-search_block{
        margin-left: 16px;
    }
    #header .search-input-mobile{
        position: absolute;
        top: 13px;
        right: 15px;
        width: 0;
        background: #F4F4F4;
        height: 34px;
        border: none;
        border-radius: 25px;
        z-index: 1;
        transition: width 0.5s ease-in-out;
        padding: 0;
        outline: none !important;
    }
    #header .search-input-mobile.show{
        width: calc( 100% - 27px );
        padding: 0 15px;
    }
    /*body.active-search .wbSearch{
        display: none  !important;
        opacity: 0;
    }*/
    .wbSearch {
        padding: 0 !important;
    }
    #leo_search_query_top,
    #search_block_top .input-group-btn{
        display: none;
    }
    .ac_results {
        position: fixed !important;
        top: 60px;
        max-height: calc( 100vh - 60px ) !important;
        max-width: 100%;
        overflow-x: hidden !important;
        overflow-y: overlay !important;
        padding-bottom: 150px !important;
    }
    .ac_results .lps-result-content{
        max-width: calc(100% - 60px);
        padding-left: 14px;
    }
}