/* --------------------------- menubar -------------------------------- */
@media(min-width: 1200px){
    .sl-menubar {
        margin-bottom: 7px;
        background-color: #fafafa;
        box-shadow: 0 5px 5px rgba(0,0,0,0.05);
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #e5e5e5;
        max-height: 60px;
        transition: all 0.5s ease;
    }
}

.sl-menu .dropdown-menu.show {
    display: block !important;
}

.sl-menu {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 999;
    background-color: transparent;
    /*-webkit-box-shadow: 0 6px 12px 0 rgba(0,0,0,.04);
    box-shadow: 0 6px 12px 0 rgba(0,0,0,.04);
    display: flex;*/
}

.sl-menu > .list-inline-item {
    margin-right: 0;
}
.sl-menu > li > a {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    color: black;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    position: relative;
    white-space: nowrap;
}
/*.sl-menu > li:not(:last-child) > a {
    border-right: 1px solid rgba(255,255,255,0.1);
}*/

.sl-menu > li:hover > a {
    color: var(--sl-red);
}

.sl-dropdown-wrap {
    position: absolute;
    top: 100%;
    background-color: white;
    color: black;
    text-align: left;
    padding: 30px;
    box-shadow: 0px 2px 11px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
/* full width mega menu desktops */
@media(min-width: 1200px){
    .sl-menu li.has-dropdown:not(.style-vertical-list) > .sl-dropdown-wrap {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

/**/

@media(min-width: 1200px) {
    .sl-dropdown-wrap {
        display: none;
    }

    .sl-menu > .list-inline-item:hover .sl-dropdown-wrap {
        display: block;
        z-index: 50;
    }

}

/*----- submenu ----- */
.sl-submenu-title a {
    color: black;
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
}
@media(min-width: 1200px) {
    .sl-submenu-title a {
        font-size: 14px;
        font-weight: 700;
    }
}

.sl-submenu-title a:hover {
    color: var(--sl-red);
}

.sl-submenu-items > ul > li > a {
    color: black;
    padding: 5px 0 0 0;
    display: block;
    text-transform: capitalize;
    text-decoration: none;
    font-size: 13px;
    line-height: 22px;
    white-space: nowrap;
}

.sl-submenu-items > ul > li > a:hover {
    color: #bf172d;
}

/* dropdowns: style vertical list */
@media(min-width: 1200px){
    .sl-menu > .style-vertical-list{
        position: relative;
    }
    .sl-menu > .style-vertical-list .sl-dropdown-wrap{
        min-width: 180px;
        right: auto;
        z-index: 9;
        /* max-height: 450px; */
        max-height: calc(100vh - 230px);
        overflow-y: auto;
    }
    .sl-menu > .style-vertical-list .sl-submenu-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .sl-menu > .style-vertical-list .sl-submenu-wrap .sl-submenu-title a {
        padding: 5px 0;
        display: block;
        white-space: nowrap;
    }
    .sl-menu > .style-vertical-list .sl-submenu-wrap .sl-submenu-items {
        display: none;
        position: absolute;
        left: calc(100% - 10px);
        top: -10px;
        min-width: 170px;
        background-color: white;
        padding: 15px;
        box-shadow: 0px 2px 11px 3px rgba(0, 0, 0, 0.1);
    }
    .sl-menu > .style-vertical-list .sl-submenu-wrap:hover .sl-submenu-items {
        display: block;
    }
}

/* sticky menu on desktops */
@media(min-width: 1200px){
    .sl-menubar.sticky {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        /*background-color: #e8ebee;*/
        background-color: white;
        box-shadow: 3px 2px 4px 0px #c3c3c3;
        z-index: 99;
    }
}
/* set icons on sticky menu */
.sl-menubar .sl-logobar-carticon-ul{
    display: none;
}
.sl-menubar .sl-logobar-carticon-ul .icon-label,
.sl-menubar .sl-logobar-carticon-ul .user-mediastyle-txt{
    display: none;
}
.sl-menubar .sl-logobar-carticon-ul .user-mediastyle{
    padding-right: 0;
    border: 0;
}
html[lang="ar"] .sl-menubar .sl-logobar-carticon-ul .user-mediastyle{
    padding-right: 0;
    padding-left: 0;
}
.sl-menubar .sl-logobar-carticon-ul .list-inline-item:first-child + .list-inline-item{
    margin-right: 20px;
}
html[lang="ar"] .sl-menubar .sl-logobar-carticon-ul .list-inline-item:first-child + .list-inline-item{
    margin-right: 0;
    margin-left: 20px;
}

.sl-menubar.sticky .sl-logobar-carticon-ul {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: block;
}
html[lang="ar"] .sl-menubar.sticky .sl-logobar-carticon-ul {
    right: unset;
    left: 15px;
}
@media(max-width: 1199.98px){
    .sl-menubar.sticky .sl-logobar-carticon-ul{
        display: none;
    }
}

.sl-logobar-carticon-ul .icon-white{
    display: none;
}
.sl-menubar .sl-logobar-carticon-ul .icon-white{
    display: inline;
    width: 24px;
    height: 24px;
	display:none;
}
.sl-logobar-carticon-ul .icon-black{
    display: inline;
}
/*.sl-menubar .sl-logobar-carticon-ul .icon-black{
    display: none;
}*/
@media(max-width: 1199.98px){
    .sl-menubar .sl-logobar-carticon-ul .icon-white{
        display: none !important;
    }
}


html[lang="ar"] .sl-menubar .sl-logobar-carticon-ul .heart-counter-badge {
    right: unset;
    left: -18px;
}
html[lang="ar"] .sl-menubar .sl-logobar-carticon-ul .cart-counter-badge {
    right: unset;
    left: -20px;
}


/* 3 dots ... more link on desktops */
/*
@media(min-width: 768px){
    .li-dots {
        position: absolute !important;
        right: 0;
        top: 0;
        cursor: pointer;
    }
    html[lang="ar"] .li-dots {
        right: auto; left: 0;
    }
    .lets-hide-baby{display: none !important;}
    .slim{height: 44px !important;}
    .fat{height: auto !important;}

    .li-dots > a {
        padding: 15px 18px !important;
    }
    .li-dots > a > .fa {
        font-size: 5px;
    }

    /*.overflow-hidden-desktop{overflow: hidden !important;}*-/
}
@media(max-width: 767.98px){
    .li-dots {
        display: none !important;
    }
}
*/


/*------------------------------- menu on mobile -------------------------*/

@media(max-width: 1199.98px) {

    /*------logobar ----- */
    .sl-logobar {
        padding: 20px 0;
        border-bottom: 0;
    }

    .sl-bars {
        padding: 5px 10px 5px 0;
        cursor: pointer;
    }
    html[lang="ar"] .sl-bars {
        padding: 5px 0 5px 10px;
    }

    .sl-logo {
        margin-left: -15px;
        margin-right: -15px;
    }

    .padding-0-mobile {
        padding: 0;
    }

    .sl-bars .fa {
        font-size: 30px;
    }

    .sl-logobar-carticon a.has-icon {
        width: 32px;
        height: 32px;
        margin-left: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sl-dropdown-profileicon a.has-icon {
        max-width: 26px;
        padding-bottom: 5px;
    }

    .sl-dropdown-profileicon .dropdown-toggle::after {
        display: none;
    }

    .sl-dropdown-profileicon .dropdown-menu {
        background-color: black;
    }

        .sl-dropdown-profileicon .dropdown-menu a {
            background-color: black;
            color: white;
            font-size: 15px;
        }

    section.sl-search-mobile {
        padding: 0 0 15px 0;
        background-color: white;
    }

    /*----- menu -----*/
    .sl-menubar {
        background: linear-gradient(90deg, #f0f0f0 80%, rgba(0,0,0,0.5) 80%);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 99;
        box-shadow: 1px 1px 7px black;
        overflow-y: auto;
        display: none;
    }

    .sl-menu.list-inline {
        display: flex;
        flex-direction: column;
        width: 80%;
    }

    .sl-menu > .list-inline-item {
        margin: 0;
    }

    .sl-menu > .list-inline-item > a {
        text-align: left;
        padding: 10px;
        padding-left: 20px;
        background-color: #f0f0f0;
        color: black;
        border-top: 1px solid #e7e7e7;
        font-size: 14px;
        font-weight: bold;
        border-right: 0 !important;
    }

    /*dropdown*/
    .has-dropdown {
        position: relative;
    }

    .sl-slide-trigger {
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 5px;
        color: black;
        border-left: 1px solid #e7e7e7;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sl-menu > .list-inline-item.has-dropdown > .sl-slide-trigger {
        height: 42px;
        width: 52px;
    }

    .sl-submenu-title.has-dropdown > .sl-slide-trigger {
        height: 42px;
        width: 52px;
    }

    .sl-dropdown-wrap {
        position: relative;
        padding: 0;
        display: none;
        box-shadow: none;
        border-top: 1px solid #d6d0d2;
        border-bottom: 1px solid #d6d0d2;
    }

    .sl-submenu-wrap-picture {
        display: none;
    }

    .sl-submenu-title a {
        color: black;
        background-color: white;
        width: 100%;
        display: block;
        font-size: 13px;
        padding: 10px 10px 10px 30px;
        border-bottom: 1px solid #f5f5f5;
    }

    .sl-submenu-items {
        margin: 0;
        display: none;
    }

        .sl-submenu-items > ul > li > a {
            display: block;
            color: white;
            background-color: #262626;
            font-size: 14px;
            padding: 10px 10px 10px 50px;
        }
    /* mobile menu dropdown header */
    .sl-menu-mobile-header {
        padding: 10px 15px 10px 15px;
        background-color: #262626;
        color: white;
        font-size: 14px;
        position: relative;
    }

        .sl-menu-mobile-header a {
            color: white;
            font-size: 14px;
        }

    .currency-selector .dropdown-menu, .language-selector .dropdown-menu {
        background-color: black;
        margin: 0;
    }

    .currency-selector .dropdown-menu li, .language-selector .dropdown-menu li {
        text-align: center;
        padding: 3px;
    }

    .currency-selector .dropdown-menu li:hover, .language-selector .dropdown-menu li:hover {
        background-color: white;
    }

    .currency-selector .dropdown-menu a:hover, .language-selector .dropdown-menu a:hover {
        color: black;
    }

    .currency-selector .dropdown-menu li.active a, 
    .language-selector .dropdown-menu li.active a{
        color: var(--sl-red) !important;
    }

    .sl-menu-mobile-header .fa {
        font-size: 18px;
    }

    .sl-menu-mobile-header .dropdown-toggle {
        font-size: 13px;
        padding: 5px;
    }

        .sl-menu-mobile-header .dropdown-toggle:hover {
            color: white;
        }

    .sl-menu-mobile-header .currency-dropdown .dropdown-menu {
        min-width: 50px;
        background-color: black;
        color: white;
    }

    .sl-menu-mobile-header .language-dropdown .dropdown-menu {
        min-width: 50px;
        background-color: black;
        color: white;
    }

    .sl-close-menu {
        position: fixed;
        left: calc(80% + 10px);
        top: 5px;
        background-color: rgba(0,0,0,0.7);
        color: white;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        z-index: 999;
    }

    .fa.fa-close {
        font-size: 25px;
    }
    .sl-close-menu-empty-bar {
        background-color: rgba(0,0,0,0.2);
        width: 20%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
    }
    html[lang="ar"] .sl-close-menu-empty-bar {
        right: auto;
        left: 0;
    }

}
/* ------------------------------ Header RTL -----------------------------*/
html[lang='ar'] .sl-menu {
    text-align: right;
    font-family: DinNext, sans-serif;
}
html[lang="ar"] .sl-menu > .list-inline-item {
    margin-left: 0;
}
html[lang='ar'] .sl-header {
    font-family: DinNext, sans-serif !important;
}

html[lang='ar'] section {
    overflow: visible;
}

html[lang="ar"] .sl-topbar ul.sl-topbar-right-menu .list-inline-item:not(:last-child) {
    padding-right: 0px;
}
html[lang="ar"] .sl-topbar ul.sl-topbar-right-menu .list-inline-item-currency.list-inline-item:not(:last-child) {
    padding-right: 5px;
    padding-left: 0;
}

/*html[lang='ar'] .sl-topbar-right-menu > .list-inline-item:not(:first-child) {
    margin-right: .5rem;
}*/

html[lang='ar'] .sl-logobar-carticon {
    text-align: left;
}

html[lang='ar'] .sl-dropdown-wrap {
    text-align: right;
}

html[lang='ar'] .sl-submenu-items > ul > li > a {
    text-align: right;
}

html[lang='ar'] .custom-select.search-box-select {
    padding: .375rem;
    border-radius: 0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat left .75rem center/8px 10px;
}
/* style vertical list */
html[lang='ar'] .sl-menu > .style-vertical-list .sl-dropdown-wrap {
    right: 0;
    left: auto;
}
html[lang='ar'] .sl-menu > .style-vertical-list .sl-submenu-wrap .sl-submenu-items {
    right: calc(100% - 10px);
    left: auto;
}

/*------------------- Header RTL on mobile ---------------- */
@media(max-width: 1199.98px) {
    /*--------------*/
    /* html[lang='ar'] .sl-logobar-carticon .list-inline-item:not(:last-child) {
        margin-right: 0;
        margin-left: 10px;
    } */
    html[lang='ar'] .sl-logobar-carticon .list-inline-item:last-child {
        margin-left: 0;
    }

    html[lang='ar'] .sl-close-menu {
        right: calc(80% + 10px);
        left: auto;
    }

    html[lang='ar'] .sl-menubar {
        background: linear-gradient(90deg, rgba(0,0,0,0.5) 20%, #f0f0f0 20%);
        overflow-y: auto !important;
    }

    html[lang='ar'] .sl-menu > .list-inline-item > a {
        text-align: right;
        padding-right: 20px;
        padding-left: 0;
    }

    html[lang='ar'] .sl-dropdown-profileicon .dropdown-menu a {
        padding-right: 10px;
    }

    html[lang='ar'] .sl-submenu-title a {
        padding: 15px 30px 15px 10px;
    }

    html[lang='ar'] .sl-slide-trigger {
        right: auto;
        left: 0;
        border-left: none;
        border-right: 1px solid #e7e7e7;
    }

    html[lang='ar'] .sl-submenu-items > ul > li > a {
        padding: 12px 50px 12px 10px;
    }

    html[lang='ar'] .sl-menu-mobile-header .currency-dropdown .dropdown-menu a {
        padding-left: 15px;
        padding-right: 15px;
    }
    /*--------------*/
}


/* ============= 3 dots ... more link on desktops =========== */

@media(min-width: 1200px){
    .li-dots {
        position: absolute !important;
        right: 0;
        top: 0;
        cursor: pointer;
    }
    html[lang="ar"] .li-dots {
        right: auto; left: 0;
    }

    .li-dots > a:hover {
        background-color: var(--sl-red) !important;
    }

    .li-dots.active{
        background-color: var(--sl-red) !important;
        color: white;
    }

    .li-dots > a {
        width: 56px;
        height: 56px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .lets-hide-baby{display: none !important;}
    .slim{height: 56px !important;}
    .fat{height: auto !important;}

    /*.overflow-hidden-desktop{overflow: hidden !important;}*/

    .li-dots > a > .fa {
        font-size: 18px;
        color: black;
        margin: 2px;
    }
    .li-dots.active > a > .fa {
        color: white !important;
    }
    .li-dots > a > .fa-circle {
        font-size: 5px;
    }
    .li-dots:hover > a > .fa {
        color: white;
    }

    .li-dots > a > .fa-circle {
        display: block;
    }
    .li-dots > a > .fa-times {
        display: none;
    }
    .li-dots.active > a > .fa-times {
        display: block;
    }
    .li-dots.active > a > .fa-circle {
        display: none;
    }

    #overflownMenuUl {
        position: absolute;
        right: 0;
        top: 100%;
        padding: 10px;
        width: auto;
        min-width: 250px;
        max-height: calc(100vh - 285px); /* will be adjusted by js */
        overflow: auto;
        background-color: white;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        display: none;
    }
    html[lang="ar"] #overflownMenuUl {
        right: unset;
        left: 0;
    }
    #overflownMenuUl li {
        display: block !important;
        margin: 0 !important;
    }
    #overflownMenuUl li:not(:last-child) > a {
        border-bottom: 1px solid #ece6e6;
    }
    #overflownMenuUl a {
        padding: 10px 16px;
        display: block;
        position: relative;
        color: gray;
        font-size: 14px;
        font-weight: bold;
    }
    #overflownMenuUl a:hover {
        background-color: rgb(243, 243, 243);
    }

    .li-dots .has-dropdown {
        position: relative;
    }

    .li-dots .sl-slide-trigger {
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
        color: black;
        border-left: 1px solid #e7e7e7;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    html[lang="ar"] .li-dots .sl-slide-trigger {
        right: unset;
        left: 0;
        border-left: 0;
        border-right: 1px solid #e7e7e7;
    }
    .li-dots .has-dropdown > .sl-slide-trigger {
        height: 41px;
        width: 41px;
    }
    .li-dots .sl-submenu-title.has-dropdown > .sl-slide-trigger {
        height: 41px;
        width: 41px;
    }
    .li-dots .sl-dropdown-wrap {
        position: relative;
        padding: 0;
        display: none;
        box-shadow: none;
        width: auto !important;
        background-color: #f9f9f9;
        padding: 0 15px;
    }
    .li-dots .sl-submenu-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .li-dots .sl-submenu-title {
        border-top: 1px solid #e6e6e6;
    }
    .li-dots .sl-submenu-items {
        display: none;
        background-color: #f0f0f0;
        padding: 0 15px;
    }
}

@media(max-width: 1199.98px){
    .li-dots {
        display: none !important;
    }
}
