/*.sl-header-outer {
    font-family: 'Open Sans', sans-serif;
    position: relative !important;
    z-index: 999;
}*/

.st_preview_frame_sticky {
    z-index: 90 !important;
}

.sl-header {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 999;
}

.sl-header .dropdown-menu.show {
    display: block !important;
    
}

/* ------------------------------- topbar ------------------------------ */
.sl-topbar {
	background-color: var(--color-yellow);
	color: var(--color-blue);
	font-size: 12px;
    font-weight: 600;
	padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.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: #777;
    font-size: 12px;
    display: block;
    padding: 0;
    text-align: left;
}

.sl-topbar ul.sl-topbar-right-menu li a:hover {
    color: var(--color-khaki);
    text-decoration: none;
}

.sl-topbar ul.sl-topbar-right-menu .dropdown-menu li.active a {
    color: var(--color-khaki);
}

.currency-selector .btn,
.language-selector .btn {
    color: var(--color-blue);
    height: 20px;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}
.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;
}
.language-selector .dropdown-menu ul li:first-child a {
    font-family: "Geeza Pro", "Nadeem", "Al Bayan", "DecoType Naskh", "DejaVu Sans", "STFangsong", "STHeiti", "STKaiti", "STSong", "AB AlBayan", "AB Geeza", "AB Kufi", "DecoType Naskh", "Aldhabi", "Andalus", "Sakkal Majalla", "Simplified Arabic", "Traditional Arabic", "Arabic Typesetting", "Urdu Typesetting", "Droid Naskh", "Droid Kufi", "Roboto", "Tahoma", "Times New Roman", "Arial", serif;
    font-size: 14px;
}
@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: 10px 0;
	background-color: #fafafa;
	/* border-bottom: 1px solid #eee; */
}

@media(min-width: 1200px){
    .col-sl-bars{
        cursor: pointer;
    }
    .sl-bars {
        height: 35px;
        display: flex;
        align-items: center;
    }
}

.sl-logo img {
    max-height: 84px;
}
@media(max-width: 1199.98px){
    .sl-logo img {
        max-height: 50px;
    }
}

html[lang="ar"] .sl-logo{text-align: right;}

.sl-logobar-carticon {
    text-align: right;
}


#small-searchterms {
	border-radius: 4px;
	border: 1px solid #e1e1e1;
    color: black;
    padding-top: 8px;
	padding-bottom: 8px;
	height: unset;
}
html[lang="en"] #small-searchterms {
    padding-left: 45px;
}
html[lang="ar"] #small-searchterms {
    padding-right: 45px;
}
#small-search-box-form .bi-search {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
    color: black;
}
html[lang="ar"] #small-search-box-form .bi-search {
	left: unset;
	right: 15px;
}
.search-box-button {
	margin-left: 7px;
	border-radius: 4px !important;
    font-size: 16px;
}
html[lang="ar"] .search-box-button {
	margin-left: 0;
	margin-right: 7px;
}
.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;
}
/* barcode scanner*/
#small-search-box-form .btn-barcode-scanner {
	background-color: #f7f7f7;
	height: 34px;
	width: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
	border-radius: 2px;
    color: gray;
    cursor: pointer;
}
html[lang="ar"] #small-search-box-form .btn-barcode-scanner {
	left: 2px;
    right: unset;
}
#small-search-box-form .btn-barcode-scanner svg {
	width: 20px;
	height: 20px;
}
html[lang="en"] .has-barcode-scanner #small-searchterms{
    padding-right: 42px;
}
html[lang="ar"] .has-barcode-scanner #small-searchterms{
    padding-left: 42px;
}

#popupBarcodeScanner {
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	align-items: center;
	justify-content: center;
	z-index: 3000;
    display: none;
    opacity: 0;
}
#popupBarcodeScanner.shown {
    display: flex;
    opacity: 1;
}
#popupBarcodeScanner .popup-dialog {
	background-color: white;
	padding: 25px 50px;
	width: 400px;
	border-radius: 7px;
    position: relative;
}
    #popupBarcodeScanner .popup-dialog .popup-loader {
        position: absolute;
        width: 100%;
        height: 100%;
        max-width: 300px;
        max-height: 300px;
        background-color: rgba(138,134,138,0.5);
        left: calc(50% - 150px);
        top: 0;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
    }
         
        .loader-icon > .container:hover > .attribution  {
            display: none !important;
            opacity: 0 !important;
          }
        @media(max-width: 767.98px) {
            #popupBarcodeScanner .popup-dialog {
        padding: 20px;
        width: 90%;
    }
}
.img-barcode {
	max-width: 300px;
	max-height: 300px;
	object-fit: contain;
	border: 1px solid #e5e5e5;
}
@media(max-width: 767.98px){
    .img-barcode {
        max-width: 100%;
    }
}

.btn-close-popupBarcodeScanner {
	width: 35px;
	height: 35px;
	display: inline-flex;
	position: absolute;
	right: 0;
	top: 0;
	transform: translate(15px,-15px);
	background-color: black;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	color: white !important;
    cursor: pointer;
}
html[lang="ar"] .btn-close-popupBarcodeScanner {
	right: unset;
	left: 0;
	transform: translate(-15px,-15px);
}
.btn-close-popupBarcodeScanner svg {
	width: 22px;
	height: 22px;
}

/* search suggestion dropdown */
@media(min-width: 1200px){
    .advanced-search-results.open {
        min-width: 570px;
    }
    html[lang="ar"] .advanced-search-results.open {
        left: unset;
        right: 15px;
    }
}

.advanced-search-results .in-separator,
.advanced-search-results .product-in {
	display: none !important;
}


.sl-logobar-carticon a.has-icon {
	cursor: pointer;
	display: flex;
	align-items: center;
	background-color: transparent;
	padding: 6px;
	/* border-radius: 50%; */
	/* border: 1px solid #1c1c1c; */
	color: #f9cd13;
	/* max-width: 40px; */
	max-height: 40px;
}
.sl-logobar-carticon a.has-icon .material-icons {
	font-size: 26px;
}
.sl-logobar-carticon a.sl-hearticon{
    color: #f9cd13;
}



.sl-logobar-carticon-ul > li {
	display: inline-flex;
	align-items: center;
}
html[lang="en"] .sl-logobar-carticon-ul > .list-inline-item:not(:last-child) {
	margin-right: 0px;
	padding-right: 15px;
}
@media(max-width: 1199.98px){
    html[lang="en"] .sl-logobar-carticon-ul > .list-inline-item:not(:last-child) {
        border-right: 0;
        padding-right: 5px;
    }
}

html[lang="ar"] .sl-logobar-carticon-ul > .list-inline-item:not(:last-child) {
	margin-left: 0;
	padding-left: 15px;
}
@media(max-width: 1199.98px){
    html[lang="ar"] .sl-logobar-carticon-ul > .list-inline-item:not(:last-child) {
        border-left: 0;
        padding-left: 5px;
    }
}

.sl-logobar-carticon-ul .bi {
	width: 25px;
	height: 25px;
}
.sl-logobar-carticon-ul .bi.bi-person {
	width: 26px;
	height: 26px;
}
.sl-logobar-carticon-ul .bi.bi-heart {
	width: 23px;
	height: 23px;
}

.sl-carticon {
    position: relative;
}

.sl-logobar-carticon .icon-label{
    font-size: 14px;
    display: block;
    color: rgb(41, 41, 41);
}
html[lang="en"] .sl-logobar-carticon .icon-label{
    margin-left: 12px;
}
html[lang="ar"] .sl-logobar-carticon .icon-label{
    margin-right: 12px;
}

.sl-logobar-carticon .c-button__text {
    display: contents;
}

.cart-counter-badge {
    position: absolute;
    left: 24px;
    top: -8px;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    font-size: 11px;
    text-align: center;
    padding: 0;
    background-color: #cdcdcd;
    color: black;
    display: block;
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
}

html[lang="ar"] .cart-counter-badge{
    right: 24px;
    left: unset;
}


.sl-hearticon {
    position: relative;
}

.heart-counter-badge {
    position: absolute;
    left: 24px;
    top: -10px;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    font-size: 11px;
    text-align: center;
    padding: 0;
    background-color: var(--color-khaki);
    color: black;
    display: block;
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
}

html[lang="ar"] .heart-counter-badge {
	left: unset;
	right: 24px;
}


.heart-counter-badge.has-items, .cart-counter-badge.has-items {
	background-color: var(--color-blue);
	color: white;
	font-size: 12px !important;
	line-height: 1.5;
	font-family: sans-serif !important;
	width: 21px;
	height: 21px;
	top: -7px;
	border: 2px solid white;
}

@media(max-width: 1199.98px){
    .sl-logobar-carticon a.has-icon {
        padding: 4px;
        max-width: 36px;
        max-height: 36px;
    }
    .sl-logobar-carticon .icon-label {
        display: none;
    }
}


/* 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;
}


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;
}


/*------------------------------- menu on mobile -------------------------*/

@media(max-width: 1199.98px) {

    /*------logobar ----- */
    .sl-logobar {
        padding: 20px 0;
        border-bottom: 0;
    }

    .sl-logo {
        margin-left: -15px;
        margin-right: -15px;
    }

    .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;
        background-color: #fafafa;
    }

}


@media(max-width: 1199.98px) {

    /* mobile menu dropdown header */
    .sl-menu-mobile-header {
        padding: 10px 15px 10px 15px;
        background-color: var(--color-yellow);
        color: black;
        font-size: 14px;
        position: relative;
    }

        .sl-menu-mobile-header a {
            color: black;
            font-size: 14px;
        }

    .currency-selector .dropdown-menu, .language-selector .dropdown-menu {
        background-color: black;
        margin: 0;
    }

    .currency-selector .dropdown-menu li {
        text-align: center;
        padding: 3px;
    }
    .language-selector .dropdown-menu li {
        padding: 3px 5px;
    }
    .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(--color-khaki) !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;
    }


    .col-logo { order: 1; }
    .col-search { order: 3; }
    .col-header-icons { order: 2; }


}



/* ------------------------------ Header RTL -----------------------------*/
html[lang='ar'] .sl-header {
    font-family: DinNext, sans-serif !important;
}


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: 11999.98px) {
    /*--------------*/
    html[lang='ar'] .sl-logobar-carticon .list-inline-item:not(:last-child) {
        margin-right: 0;
        margin-left: 0;
    }
    /*--------------*/
}

@media(max-width: 11999.98px) {

    html[lang='ar'] .sl-dropdown-profileicon .dropdown-menu a {
        padding-right: 10px;
    }

    html[lang='ar'] .sl-menu-mobile-header .currency-dropdown .dropdown-menu a {
        padding-left: 15px;
        padding-right: 15px;
    }
    /*--------------*/
}



/* ----------------------- search bar ------------------------- */
.sl-search-mobile {
	background-color: #fafafa;
	padding: 15px 0;
	/*border-bottom: 1px solid #eee;*/
}


@media(min-width: 1200px){
    .sl-search-mobile {
        display: none;
    }
}

@media(max-width: 1200px){
    .sl-logobar.sticky .sl-search-mobile {
        display: none;
    }
}

/*
.sl-logobar.sticky .list-item-search-trigger {
    display: none;
}
*/

/* appear shadow div while showing dropdown on desktops */
.shadow-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /*z-index: 70;*/
    z-index: 150;
}