
.header {
    position: relative;
    z-index: 999;
    background-color: var(--colorHighlight1);
    color: white;
    padding: 15px 0;
}
@media(max-width: 1199.98px) {
    .header {
        padding: 10px 0;
    }
}

.header .dropdown-menu.show {
    display: block !important;
    
}

/* ===========================================================================
Components
============================================================================*/
/* ---------- language selector ---------- */
.lang-selector > a.active {
    display: none !important;
}


/* ---------- search ---------- */
#small-searchterms {
	border: 1px solid #dbdbdb;
}
.searchBox .form-control {
    font-size: 12px !important;
    height: calc(1.5em + .75rem + 4px);
}
.searchBox .field-validation-error {
    color: white !important;
    font-size: 12px;
}
.search-box-button {
	font-size: 16px;
	border: 1px solid #dbdbdb;
	background-color: white;
	color: #c8c8c8;
	border-radius: 4px;
}


@media(max-width: 1199.98px) {
    .btn-search-mobile {
        font-size: 24px;
        padding: 5px;
        color: white;
    }
    .col-searchbox {
        display: none;
    }
}

/* .sl-search .form-control {
    border-color: #f5f5f5;
    background-color: #f5f5f5;
}

.sl-search .form-control:focus {
    border-color: black;
    background-color: white;
}
.sl-search .btn-outline-secondary {
    background-color: black;
    color: white;
    border-color: black;
} */

/* search suggestion dropdown */
.advanced-search-results {
	z-index: 100;
}

/*sticky search*/
/* @media(max-width: 1199.98px){
    section.sl-search-mobile {
        min-height: 53px;
    }
    #sl-search-mobile-form-holder.sticky {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        background-color: white;
        padding: 10px;
        box-shadow: 1px 1px 8px #ddd;
        transition: 0.2s ease;
        transform: translateY(-100%);
    }
    body.scroll-up #sl-search-mobile-form-holder.sticky {
        transform: translateY(0%);
    }
} */
/*end sticky search*/


/* ===========================================================================
Topbar
============================================================================*/
/* .sl-topbar {
	background-color: #242424;
	color: white;
	font-size: 12px;
	padding: 6px 0;
}

.topbar-offer {
	font-weight: 500;
	font-size: 16px;
} */


/* .sl-topbar ul.sl-topbar-left-menu > li > a{
    color: white;
}

.sl-topbar ul.sl-topbar-left-menu li a.btn {
    background-color: transparent;
    color: white;
    padding: 3px 5px;
    line-height: 1;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.sl-topbar ul.sl-topbar-left-menu li a.btn.dropdown-toggle::after {
    margin-top: 5px;
    margin-left: 5px !important;
}

.sl-topbar ul.sl-topbar-left-menu .dropdown-menu {
    min-width: 3.6rem;
    background-color: black;
    padding: 0;
}

.sl-topbar ul.sl-topbar-left-menu .dropdown-menu .dropdown-item {
    color: white;
    background-color: black;
    font-size: 14px;
    padding: 5px;
    border-top: 1px solid #646464;
    text-align: center;
}

.sl-topbar ul.sl-topbar-left-menu .dropdown-menu .dropdown-item:focus,
.sl-topbar ul.sl-topbar-left-menu .dropdown-menu .dropdown-item:hover {
    color: white;
    background-color: #d71c24;
}

.sl-topbar ul.sl-topbar-right-menu .list-inline-item:not(:last-child) {
    margin-right: 0;
    padding-right: 15px;
    line-height: 1;
}
.sl-topbar ul.sl-topbar-right-menu .list-inline-item-currency.list-inline-item:not(:last-child){
    padding-right: 5px;
    padding-left: 5px;
}

.sl-topbar ul.sl-topbar-right-menu > li > a {
	color: #fff !important;
}
.sl-topbar ul.sl-topbar-right-menu li a {
    color: #777;
    font-size: 12px;
    display: block;
    padding: 0;
    text-align: left;
}

.sl-topbar ul.sl-topbar-right-menu li a:hover {
    color: var(--sl-red);
    text-decoration: none;
}

.sl-topbar ul.sl-topbar-right-menu .dropdown-menu li.active a {
    color: var(--sl-red);
} */

/* .currency-selector .btn,
.language-selector .btn {
    color: white;
    height: 20px;
    font-size: 12px;
}
.currency-selector .btn-group .btn .mdi::before,
.language-selector .btn .mdi::before {
    margin-top:3px !important;
}
@media(max-width: 1199.98px) {
    .currency-selector .btn, .language-selector .btn{
	    color: white;
	}
}
.sl-topbar ul.sl-topbar-right-menu .dropdown-menu {
    background-color: white;
    padding: 10px;
    min-width: 100px;
}
.currency-selector .dropdown-menu a, .language-selector .dropdown-menu a {
    color: black;
    font-size: 14px;
    padding: 6px 0 !important;
}
@media(max-width: 1199.98px){
    .sl-menu-mobile-header .dropdown-menu{
        min-width: 80px;
    }
    .currency-selector .dropdown-menu a, .language-selector .dropdown-menu a {
        color: white;
        line-height: 1;
    }
} */



/* ===========================================================================
Logobar
============================================================================*/
.sl-logobar {
	padding: 25px 0;
	background-color: white;
    margin-bottom: 10px;
    z-index: 100;
    position: relative;
}
.logo img {
	max-height: 45px;
}
@media(max-width: 450px) {
    .logo img {
        max-height: 32px;
    }
}



.sl-logobar-carticon a.has-icon {
	cursor: pointer;
	display: flex;
	align-items: center;
	position: relative;
	padding: 2px 10px;
	font-size: 16px;
    line-height: 1;
    color: white;
}
.sl-logobar-carticon a.has-icon i {
	font-size: 24px;
}


/* ----- */
.sl-logobar-carticon-ul {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sl-logobar-carticon-ul > li {
	display: inline-flex;
	align-items: center;
}
@media(max-width: 450px) {
    html[lang="en"] .sl-logobar-carticon-ul > li {
        margin-right: 1px !important;
    }
    html[lang="en"] .sl-logobar-carticon-ul > li {
        margin-left: 1px !important;
    }
}

.sl-carticon {
    position: relative;
}

.sl-logobar-carticon .icon-label {
	font-size: 16px;
	display: inline-block;
	color: white;
	font-weight: bold;
}
html[lang="ar"] .sl-logobar-carticon .icon-label {
	font-weight: 500;
}
.sl-logobar-carticon .icon-label-price-count {
	font-size: 16px;
    font-weight: 300;
    text-align: center;
    white-space: nowrap;
}
@media(max-width: 767.98px) {
    .sl-logobar-carticon .icon-label-price-count {
        font-size: 13px;
    }
}


.sl-logobar-carticon .c-button__text {
    display: contents;
}

.cart-counter-badge {
	position: absolute;
	left: calc(50% + 2px);
	top: -10px;
	border-radius: 50%;
	width: 21px;
	height: 21px;
	font-size: 11px;
	text-align: center;
	padding: 0;
	background-color: black;
	color: white;
	line-height: 1.7;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--colorHighlight1);
}

html[lang="ar"] .cart-counter-badge{
    left: unset;
    right: calc(50% + 2px);
}
@media(max-width: 1199.98px) {
    .cart-counter-badge {
        background: var(--colorHighlight1-hover);
    }
}

/*
@media(max-width: 767.98px){
    html[lang="ar"] .cart-counter-badge{
        right: unset;
        left: -15px;
    }
}
*/


.sl-hearticon {
    position: relative;
}

.heart-counter-badge {
	position: absolute;
	left: calc(50% + 5px);
	top: -10px;
	border-radius: 50%;
	width: 21px;
	height: 21px;
	font-size: 11px;
	text-align: center;
	padding: 0;
	background-color: black;
	color: white;
	line-height: 1.7;
	border: 2px solid var(--colorHighlight1);
	display: flex;
	align-items: center;
	justify-content: center;
}

html[lang="ar"] .heart-counter-badge {
	left: unset;
    right: calc(50% + 5px);
}


.heart-counter-badge.has-items,
.cart-counter-badge.has-items{
    background-color: black;
    color: white;
}

@media(max-width: 1199.98px){
    .sl-logobar-carticon a.has-icon {
        display: block;
    }
    .sl-logobar-carticon .icon-label {
        display: none;
    }
    .sl-logobar-carticon a.has-icon.sticky-menu {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    .sl-logobar-carticon a.has-icon.sticky-menu {
        display: flex;
        flex-direction: column;
    }
    .sl-logobar-carticon a.has-icon.sticky-menu .sticky-menu-name {
        font-size: 12px;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
    }
}
@media(min-width: 1200px) {
    .sl-logobar-carticon a.has-icon.sticky-menu .sticky-menu-name {
        display: none;
    }
}

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;
}

/* dark mode icon */
/* .custom-switch.b-custom-control-lg, .input-group-lg .custom-switch {
	padding-left: 35px;
    padding-right: 0;
	height: 27px;
}
.custom-switch.b-custom-control-lg .custom-control-label::after, .input-group-lg .custom-switch .custom-control-label::after {
	left: calc(-35px + 2px);
}
.custom-switch.b-custom-control-lg .custom-control-label::before, .input-group-lg .custom-switch .custom-control-label::before {
	left: -35px;
}
.custom-switch.b-custom-control-lg .custom-control-label::before, .input-group-lg .custom-switch .custom-control-label::before {
	left: -35px;
}
.contrast-switch .b-icon {
	left: calc(-35px + 3px);
}
.custom-switch.b-custom-control-lg .custom-control-label::after, .input-group-lg .custom-switch .custom-control-label::after {
	left: calc(-35px + 2px);
}
.contrast-switch .custom-control-label::before {
	border-color: #979797;
}
.contrast-switch .b-icon.light {
	color: #21262c !important;
}
.contrast-switch .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #404040;
	border-color: #444;
} */
/* .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
	background-color: #b7b7b7;
} */


/* sticky logobar on desktops */
/* .sl-logobar.sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
    padding: 12px 0;
    transition: 0.4s ease;
}
.sl-logobar.sticky #small-search-box-form {
	pointer-events: none;
	opacity: 0;
}
.sl-logobar.sticky .sl-logo img {
	max-height: 40px;
} */

/* sticky header */
@media(min-width: 1200px) {
    .header-and-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }
    body {
        padding-top: 127px;
    }
}
@media(max-width: 1199.98px) {
    .header-and-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }
    body {
        padding-top: 66px;
    }
}


/* ---------- sticky footer (containing header icons) ---------- */
body.cart-view .li-sidebar-cart {
    display: none;
}

@media(max-width: 1199.98px) {

    .sl-logobar-carticon {
        /*background-color: var(--colorHighlight1);*/
        background-color: #180203;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 10px 5px 10px;
        border-top: 1px solid white;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }
    .sl-logobar-carticon-ul {
        display: flex;
        align-items: flex-end;
        justify-content: space-around;
    }

    /*orders*/
    .list-inline-item-home {
        order: 1;
    }
    /* .list-inline-item-darkmode-button {
        order: 2;
    } */
    .list-inline-item-search {
        order: 2;
    }
    .list-inline-item-cart {
        order: 3;
    }
    .list-inline-item-wishlist {
        order: 4;
    }
    .list-inline-item-account {
        order: 5;
    }

}




/*------------------------------- menu on mobile (+ desktops ?) -------------------------*/
@media(max-width: 1199.98px) {
    .col-menu {
        display: contents;
    }
}

.sl-bars a {
	color: var(--colorHighlight1) !important;
}


@media(max-width: 1199.98px) {

    /*------logobar ----- */
    .sl-logobar {
        padding: 15px 0;
        border-bottom: 0;
    }

    .sl-bars {
        padding: 5px 10px 5px 0;
        cursor: pointer;
    }

    .sl-logo {
        margin-left: -15px;
        margin-right: -15px;
    }

    .padding-0-mobile {
        padding: 0;
    }

    .sl-bars .fa {
        font-size: 30px;
    }

    .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;
    }

}


@media(max-width: 10000px) {

    .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(--colorHighlight1) !important;
    }

}

/* ------------------------------ Header RTL -----------------------------*/
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-logobar-carticon {
    text-align: left;
}

/*------------------- 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: 0;
    }
    /*--------------*/
}

