/* CSS Document */
html{overflow-x: hidden;}
html,body{  font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;}

:root{
	
	--bs-btn-active-bg: #344d50;
	--bs-btn-active-border-color: #344d50;
	--bs-border-color: #344d50;
	--bs-primary:#344d50;
	--bs-primary-rgb:52, 77, 80;
	--bs-primary-dark:#231f20;
	--bs-primary-dark-rgb:35, 31, 32;
	--bs-primary-light:#446163;
	--bs-primary-light-rgb:68, 97, 99;
	--bs-light-rgb: 247,246,242;
	--bs-primary-lighter:#d85456;
	--bs-primary-lighter-rgb:106,67,119;
	--swiper-pagination-bottom:-20px;
	--bs-btn-active-color:#fff;
	--bs-dark:#231f20;
	--bs-dark-rgb:35, 31, 32;
	--bs-darker:#141111;
	--bs-darker-rgb:20, 17, 17;
	--bs-primary-neon:#d85456;
	--bs-primary-neon-rgb:216, 84, 86;
	
	--bs-primary-text-emphasis:#231f20;
	--bs-primary-bg-subtle:#f4f0e1;
    --bs-link-color: #344d50;
    --bs-link-color-rgb: 69,20,85;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #d85456;
	--bs-link-hover-color-rgb:216, 84, 86;

    --bs-border-radius-pill:0;
    --bs-border-radius: 0;
    --bs-border-radius-lg: 0;

	user-select: none;

}

::selection {
  color: var(--bs-warning);
  background-color: var(--bs-primary-light);
}

::-webkit-scrollbar {
  width: 8px; border-radius: 4px; height: 8px;
}
 
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px #dee2e6; border-radius: 4px;
}
 
::-webkit-scrollbar-thumb {
  background-color: rgba(var(--bs-primary-rgb),1); border-radius: 4px;
}

/* webkit solution */
::-webkit-input-placeholder { text-align:right; }
/* mozilla solution */
input:-moz-placeholder { text-align:right; }

.accordion { --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.15); }

.form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), 1);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), 0.15);
}
.form-select option:hover {
  background-color: rgba(var(--bs-primary-rgb),1)!important;
}


.bg-dark {
	background-color: rgba(var(--bs-dark-rgb),1)!important;

}

.bg-darker {
	background-color: rgba(var(--bs-darker-rgb),1)!important;

}

.dropdown-menu{
	--bs-dropdown-link-active-bg: #6988B0;	
	
}

.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-color: rgba(255, 255, 255, 1);
}
.nav-link{padding-top:0; padding-bottom: 0;}
.nav-item{ padding:0 0.25rem;}


.sidebar-links::-webkit-scrollbar {
  width: 8px;  border-radius: 4px;
}

.sidebar-links::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px #dee2e6; border-radius: 4px;
}

.sidebar-links::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,.03);    border-bottom: 1px solid rgba(0,0,0,.125); border-radius: 4px;
}

.max-h-250::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,.03);    border-bottom: 1px solid rgba(0,0,0,.125); border-radius: 4px;
}

.max-h-250{max-height:250px; overflow-y: auto;}

.cursor-pointer{cursor:pointer;}

.logo img{width:90px; object-fit: cover; object-position: top; transition: all 0.3s ease-in-out;}
.home-page .logo{display: none;}
.search-page #search-container_mini { display: none !important; }
.search-page header .row.pt-3 {
	justify-content: space-between;
	align-items: center;
}
.search-page header .row.pt-3 > .col-sm:first-child {
	flex: 0 0 auto;
	width: auto;
}
.search-page #main_menu {
	flex: 0 0 auto;
	width: auto;
}
@media only screen and (max-width:767px) {
.home-page .logo{display: block;}
}
#menu-toggle{position:absolute; z-index: 99; top:15px; right:0px; cursor: pointer;  }

button:focus{outline:0px;}


.btn-40{width: 40px; height: 40px; line-height: 40px; padding: 0; overflow: hidden; display: inline-block}
.btn-48{width: 48px; height: 48px; line-height: 48px; padding: 0; overflow: hidden; display: inline-block}

.border{border-color:#979797;}
.border-weight-2{border-width:2px!important;}
.border-light{border-color:rgba(0,0,0,.125)!important;}

.border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) rgba(0,0,0,.125) !important;
}
.border-bottom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) rgba(0,0,0,.125) !important;
}

@media (min-width: 767px) {
	.border-sm-top-0 {border-top-width: 0!important;}
	.border-sm-start {border-right-width: 1px!important;}
}
.border-color-translucent{border-color: rgba(0, 0, 0, 0.175)!important; border-style: solid!important}

.modal-footer{border-top: var(--bs-border-width) var(--bs-border-style) rgba(0,0,0,.125) !important;}

.rounded-20{border-radius:20px!important;}
.height-5{height:5px; background-color: rgba(0,0,0,.1)}
.w-sm-auto{width:auto!important;}
.right-auto{right:auto;}

.sticky-top{z-index:1040;}

.text-black{color:#000;}
.text-black:hover{color:#000;}

.wishlist-heart{color:rgb(208, 89, 89)!important;}

.text-bg-grey{background-color: var(--bs-gray-700)!important;}
.text-bg-orange{background-color: var(--bs-orange)!important;}


.btn-link.text-secondary.show{color:#fff!important;}

.font-size-14{font-size:14px;}
.font-size-18{font-size:18px;}
.font-size-22{font-size:22px;}
.font-size-36{font-size:36px;}

.bg-primary-light{background-color:var(--bs-primary-lighter)}


.underline-primary {
    --bs-link-underline-opacity: 1;
    -webkit-text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;
    text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;
}

.bg-light-overlay{position: relative}
.bg-light-overlay:after{position: absolute; content: ''; width: 50vw; height: 100%; background-color: #f3f0eb; bottom: 0; right: 0;z-index: 0; pointer-events: none;}
.bg-light-overlay:before{position: absolute; content: ''; width: 50vw; height: 100%; background-color: rgba(var(--bs-light-rgb),1); bottom: 0; right: 0;z-index: 2; transform: translateX(100%);}


/* شبكة الفئات: flex لمنع تداخل العنوان مع السعر */
#cphItemsOnPage > .col-6 {
	display: flex;
	flex-direction: column;
}
#cphItemsOnPage > .col-6 > .book-item {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	height: auto !important;
}
.col-6 .book-item > .item.card,
.col-sm-3 .book-item > .item.card,
#cphItemsOnPage .book-item > .item.card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
#cphItemsOnPage .book-item > .item.card {
	flex: 1 1 auto;
	height: auto !important;
}
#cphItemsOnPage .book-item .card-body > p.card-text,
#cphItemsOnPage .book-item .card-author {
	min-height: 1.5em;
}
/* ارتفاع ثابت للكاتب (سطر) والعنوان (سطران) حتى لا يختل التصميم عند غياب الكاتب أو طول الاسم */
#cphItemsOnPage .book-item .card-author {
	-webkit-line-clamp: 1;
	line-height: 1.5;
	height: 1.5em;
	min-height: 1.5em;
	overflow: hidden;
}
#cphItemsOnPage .book-item .card-title {
	-webkit-line-clamp: 2;
	line-height: 1.4;
	min-height: calc(2 * 1.4em);
}
#cphItemsOnPage .book-item {
	transform-origin: top center;
}
.col-6 .book-item .card-header,
.col-sm-3 .book-item .card-header,
#cphItemsOnPage .book-item .card-header {
	height: auto !important;
	flex-shrink: 0;
	align-items: center !important;
}
.col-6 .book-item .card-header .booksn,
.col-sm-3 .book-item .card-header .booksn,
#cphItemsOnPage .book-item .card-header .booksn {
	width: 100%;
}
.col-6 .book-item .card-body,
.col-sm-3 .book-item .card-body,
#cphItemsOnPage .book-item .card-body {
	flex: 1 1 auto;
	min-height: 0;
}
.col-6 .book-item .card-footer,
.col-sm-3 .book-item .card-footer,
#cphItemsOnPage .book-item .card-footer {
	flex-shrink: 0;
	margin-top: auto;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 0.25rem;
}
.book-item .card-footer .price {
	line-height: 1.2;
}
.book-item .card-footer .d-flex.align-items-center {
	gap: 0.35rem;
	flex-shrink: 0;
}
.book-item .bookn {
	margin: 1%;
}
#page-author .author-book-desc {
	max-width: 40rem;
}
@media (max-width: 575.98px) {
	#page-author .author-share .btn {
		font-size: 0;
		padding-inline: 0.4rem;
	}
	#page-author .author-share .btn .bi {
		font-size: 1.15rem;
		margin-inline-end: 0 !important;
	}
}
.book-item .item.stock-no .booksn {
	position: relative;
}
.book-item .item.stock-no .booksn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(var(--bs-light-rgb), 0.35);
	pointer-events: none;
	z-index: 2;
	border-radius: 0 6px 6px 0;
}
.book-item .item.stock-no .item-na {
	background-color: var(--bs-gray-700) !important;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/*.booksn{ width:210px; height:297px; max-width: 100%; background-color:rgba(var(--bs-light-rgb),1);}*/

.header-books-mask{position: absolute; content: ''; width: 40vw; height: 100vw; background: linear-gradient(90deg, rgba(243,240,235,1) 0%, rgba(243,240,235,0) 100%); bottom: 0; left: 0;z-index: 2; transform: translateX(-50%); pointer-events: none;}

@media (max-width: 767px) {
.header-books-mask{width:25%; height: 100%; transform: translateX(0)}
.header-books-mask-right{position: absolute; content: ''; width:25%; height: 100%; background: linear-gradient(-90deg, rgba(243,240,235,1) 0%, rgba(243,240,235,0) 100%); bottom: 0; right: 0;z-index: 2;  pointer-events: none;}
}


@media (max-width: 767px) {
	.bg-light-overlay:after{width: 100vw;}	
}


@media (min-width: 767px) {
.translate-sm-y--100{transform: translateY(-100%)}
}


.custom-swiper-button-prev.swiper-button-disabled{opacity: 0!important; pointer-events: none}
.custom-swiper-button-next.swiper-button-disabled{opacity: 0!important; pointer-events: none}

.swiper-general-navigation .custom-swiper-button-prev.swiper-button-disabled{opacity: 0.3!important; pointer-events: none}
.swiper-general-navigation .custom-swiper-button-next.swiper-button-disabled{opacity: 0.3!important; pointer-events: none}

.swiper-picked-navigation .custom-swiper-button-prev.swiper-button-disabled{opacity: 0.3!important; pointer-events: none}
.swiper-picked-navigation .custom-swiper-button-next.swiper-button-disabled{opacity: 0.3!important; pointer-events: none}


#swiperHeader .swiper{overflow: unset;}


@media (max-width: 767px) {
	#swiperHeader .swiper{overflow: unset; width: 50%;}
}

#swiperHeader .book-item {
	transition: transform 500ms ease-out, opacity 500ms ease-out;
}

.swiper .book-item {
	transition: 300ms linear all;
	transform: scale(0.8);
}
.swiper .book-item .card-header .booksn {
	width: auto;
	max-width: 100%;
}
.swiper .book-item .card-body {
	min-height: 7rem;
}

.swiper .swiper-slide-active .book-item{
	transform: scale(1);
}

@media (max-width: 767px) {
	.swiper .book-item {
		opacity: 0.4;
	}

	.swiper .swiper-slide-active .book-item{
		opacity: 1;
	}
}
@media (min-width: 767px) {
	.swiperGeneral .swiper .book-item {	transform: scale(0.8);}
	.swiperClub .swiper .book-item {	transform: scale(0.8);}
	.swiperPicked .swiper .book-item {	transform: scale(0.8);}
	#featured .book-item {	transform: scale(0.8);}
	#catalogue .book-item {	transform: scale(0.8);}
	#page-search .book-item {	transform: scale(0.8);}
	.page .book-item {	transform: scale(0.8);}
	.related  .swiper .book-item {	transform: scale(0.8);}
	#cphItemsOnPage > .col-6.col-sm-3:nth-child(-n+5) .book-item {
		transform-origin: top center;
	}
}

/* صفحة نتائج البحث */
#page-search {
	overflow-x: clip;
	max-width: 100%;
}

#page-search .container {
	overflow-x: clip;
	max-width: 100%;
}

#page-search .search-page-type-tabs-wrap {
	overflow-x: clip;
	max-width: 100%;
}

#page-search .search-page-type-tabs {
	display: flex;
	flex-wrap: wrap !important;
	gap: 0.35rem;
	padding: 0;
	margin: 0;
	padding-bottom: 0.15rem;
	justify-content: center;
	max-width: 100%;
	width: 100%;
	overflow-x: clip;
	box-sizing: border-box;
}

#page-search .search-page-type-tabs .nav-item {
	flex: 0 1 auto;
	max-width: 100%;
	min-width: 0;
}

#page-search .search-page-type-tabs .nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0 !important;
	border: 1px solid transparent !important;
	border-radius: 999px;
	padding: 0.5rem 0.85rem;
	min-height: 2.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--bs-body-color, #212529);
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	text-decoration: none;
}

#page-search .search-page-type-tabs .nav-link:hover:not(.active) {
	border-color: rgba(var(--bs-primary-rgb), 0.25) !important;
	color: var(--bs-primary);
}

#page-search .search-page-type-tabs .nav-link.active {
	color: #fff !important;
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	box-shadow: 0 1px 4px rgba(var(--bs-primary-rgb), 0.35);
}

#page-search .search-result-card:hover {
	background-color: var(--bs-tertiary-bg, #f8f9fa);
}

#page-search .search-result-list:not(.search-results-show-badges) .search-result-type-badge {
	display: none;
}

#page-search .search-page-type-tabs .nav-link.disabled {
	pointer-events: none;
	opacity: 0.55;
}

#page-search .search-result-thumb--product .search-result-card-img {
	width: 56px;
	height: 78px;
	object-fit: contain;
	background: var(--bs-tertiary-bg, #f8f9fa);
}

#page-search .search-result-thumb--product .search-result-card-img.lead-cover:not(.hide-init) {
	opacity: 1;
}

#page-search .search-result-thumb--team .search-result-avatar img.lead-cover:not(.hide-init) {
	opacity: 1;
}

#page-search .search-result-thumb--default .search-result-card-img.lead-cover:not(.hide-init) {
	opacity: 1;
}

#page-search .search-result-thumb--team .search-result-avatar {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

#page-search .search-result-thumb--team .search-result-avatar img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	display: block;
}

#page-search .search-result-thumb--default .search-result-card-img {
	width: 56px;
	height: 78px;
	object-fit: contain;
	background: var(--bs-tertiary-bg, #f8f9fa);
}

#page-search .search-result-card-subtitle {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}

#page-search .books,
#page-search .book {
	transform: none;
	padding: 0;
}

#page-search .book:before,
#page-search .book:after {
	display: none;
}

@media (max-width: 767px) {
	#page-search.page {
		padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
	}

	#page-search .search-page-type-tabs-wrap {
		overflow-x: clip;
	}

	#page-search .search-page-type-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.35rem;
		justify-content: stretch;
		width: 100%;
		overflow-x: clip;
	}

	#page-search .search-page-type-tabs .nav-item {
		min-width: 0;
		width: 100%;
	}

	#page-search .search-page-type-tabs .nav-link {
		width: 100%;
		max-width: 100%;
		white-space: normal;
		text-align: center;
		padding: 0.35rem 0.45rem;
		min-height: 2.25rem;
		font-size: 0.72rem;
		line-height: 1.25;
		box-sizing: border-box;
	}

	#page-search .search-page-form .input-group-lg > .form-control,
	#page-search .search-page-form .input-group-lg > .btn {
		font-size: 1rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	#page-search .search-result-card {
		padding: 0.65rem 0.75rem !important;
	}

	#page-search .search-result-card .d-flex {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 0.5rem;
	}

	#page-search .search-result-thumb {
		flex-shrink: 0;
	}

	#page-search .search-result-thumb--product .search-result-card-img,
	#page-search .search-result-thumb--default .search-result-card-img {
		width: 48px;
		height: 66px;
	}

	#page-search .search-result-thumb--team .search-result-avatar,
	#page-search .search-result-thumb--team .search-result-avatar img {
		width: 48px;
		height: 48px;
	}

	#page-search .search-result-card .min-w-0.flex-grow-1 {
		flex: 1 1 calc(100% - 56px);
		min-width: 0;
	}

	#page-search .search-result-card-title {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	#page-search .search-result-card .badge {
		order: 3;
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		white-space: nowrap;
		font-size: 0.7rem;
		margin-inline-start: auto;
	}
}

@media (min-width: 767px) {
.bg-primary .item *, .bg-primary .item .link-dark{color:#fff!important;}
}

.swiper-club-pagination .swiper-pagination{position: relative; top:unset!important; bottom:unset!important;}

.swiper-club-pagination  .swiper-pagination-bullet {
	transition: 300ms linear all;
    width: 16px;
    height: 8px;
    display: inline-block;
    border-radius: 50rem;
    background: var(--bs-primary);
    opacity: 0.35;
}
.swiper-club-pagination .swiper-pagination-bullet-active {
	width: 32px;
    opacity: 1;
    background: var(--bs-primary);
}

.swiper-club-navigation .custom-swiper-button-prev,
.swiper-club-navigation .custom-swiper-button-next {
	cursor: pointer;
}
.swiper-club-navigation .custom-swiper-button-prev.swiper-button-disabled,
.swiper-club-navigation .custom-swiper-button-next.swiper-button-disabled {
	opacity: 0.35 !important;
	pointer-events: none;
}

.swiperClub .booksn:before{content:attr(data-rank);pointer-events:none;position: absolute; bottom:-6rem; right:0rem; font-size:15rem;  z-index: 2; text-shadow: #000 0px 0 0.5rem; -webkit-text-stroke: 0.25rem white; color:var(--bs-primary);}
.swiperClub .booksn.is-wide-rank:before{letter-spacing: -2rem;right:1rem;}
.swiperClub .booksn{padding-right:3rem;}
.swiperClub .book-item .card-body{padding-top:1rem!important;}

@media (min-width: 767px) {
	.swiperClub .btn-cart *{ color: var(--bs-primary)!important;}
	.swiperClub .btn-cart{background: #fff;}
	.swiperClub .btn-cart:hover{background: var(--bs-primary-dark); color: var(--bs-primary)}
	.swiperClub .btn-cart:hover *{ color: #fff!important;}
}
@media (max-width: 767px) {
	.swiperClub .booksn{padding-right:0;}
	.swiperClub .booksn:before{bottom:-4rem; right:0rem; font-size:12rem;  text-shadow: #000 0px 0 0.5rem; -webkit-text-stroke: 0.20rem white;}
	.swiperClub .booksn.is-wide-rank:before{ right:2rem;}
	#phTabs,
	.swiper-pagination{display:none !important;}
}

.swiperCategory .swiper{overflow: unset;}
.swiper-category-pagination .swiper-pagination{position: relative; top:unset!important; bottom:unset!important;}

.swiper-category-pagination  .swiper-pagination-bullet {
	transition: 300ms linear all;
    width: 16px;
    height: 8px;
    display: inline-block;
    border-radius: 50rem;
    background: var(--bs-primary);
    opacity: 0.2;
}
.swiper-category-pagination .swiper-pagination-bullet-active {
	width: 32px;
    opacity: 1;
    background: var(--bs-primary);
}


.swiperCategory .swiper-slide{
		opacity: 0.4;
	}

.swiperCategory .swiper-slide-visible{
		opacity: 1;
	}

#categories:after, #categories:before{
    position: absolute;
    content: '';
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}
#categories:after{
	left: auto;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    right: 0;
}

#categories .categories-all-link{
	color: var(--bs-primary);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

#categories .categories-all-link:hover,
#categories .categories-all-link:focus-visible{
	color: var(--bs-link-hover-color);
}

#categories.categories-tiles{
	background: var(--bs-primary-bg-subtle);
}

#categories.categories-tiles:before,
#categories.categories-tiles:after{
	display: none;
}

#categories.categories-tiles .swiperCategory .swiper-slide,
#categories.categories-tiles .swiperCategory .swiper-slide-visible{
	opacity: 1;
	height: auto;
	display: flex;
}

#categories.categories-tiles .category-tile{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	min-height: 4.5rem;
	padding: 0.75rem 0.85rem;
	background: #fff;
	color: var(--bs-primary);
	border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
	border-radius: 0;
	text-decoration: none;
	text-align: start;
	transition: color 200ms ease, border-color 200ms ease;
}

#categories.categories-tiles .category-tile:hover,
#categories.categories-tiles .category-tile:focus-visible{
	color: var(--bs-link-hover-color);
	border-color: rgba(var(--bs-primary-rgb), 0.45);
}

#categories.categories-tiles .category-tile-title{
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 600;
}

#categories.categories-tiles .category-tile-count{
	margin-top: 0.35rem;
	font-size: 0.875rem;
	color: rgba(var(--bs-primary-rgb), 0.65);
}

#categories.categories-tiles .category-tile:hover .category-tile-count,
#categories.categories-tiles .category-tile:focus-visible .category-tile-count{
	color: var(--bs-link-hover-color);
}




@media (min-width: 1024px) {
	.hor .item{ flex-direction: row}
	.hor .book-item{transform: scale(1)!important;}
	.hor .swiper-wrapper{padding: 30px 0px;}
	.hor .card-group{align-content: flex-end;}
}


.text-truncate-custom{
	display: -webkit-box;
    -webkit-box-orient: vertical;
	overflow: hidden;
}
.text-truncate-l-1{-webkit-line-clamp: 1;}
.text-truncate-l-2{-webkit-line-clamp: 2;}
.text-truncate-l-3{-webkit-line-clamp: 3;}
.text-truncate-l-4{-webkit-line-clamp: 4;}
.text-truncate-l-5{-webkit-line-clamp: 5;}
.text-truncate-l-6{-webkit-line-clamp: 6;}
.text-truncate-l-7{-webkit-line-clamp: 7;}
.text-truncate-l-8{-webkit-line-clamp: 8;}





.bookn {
  transform: scaleX(-100%);
  display: inline-block;
  position:relative;
  text-align: center;
  margin:2.5%;
}


.bookn img{transform: scaleX(-100%);}

/* placeholder فوري + lazy load — يمنع الفوضى قبل تحميل الغلاف */
.lead-cover.hide-init {
  opacity: 0;
}
.lead-cover:not(.hide-init) {
  opacity: 1;
  transition: opacity 0.15s ease-in;
}
.bookn-cover img.lead-cover {
  width: 100%;
  aspect-ratio: 17 / 24;
  object-fit: cover;
  display: block;
}

.bookn-cover {
  z-index:1;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  -webkit-transform-origin: 0 50%;
  background: #111;
  background-size:cover;
  border-radius: 0 6px 6px 0;
  box-shadow: 
    inset 4px 1px 3px #ffffff60,
    inset 0 -1px 2px #00000080;
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
	overflow: hidden;
}

.bookn .bookn-cover {
  background-size: 100% 100%;
}


.effect {
  width: 1rem;
  height: 100%;
  margin-left: 5%;
  border-left: 2px solid #00000010;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  transition: all .5s ease;
position: absolute;
top: 0;
	left: 0;
	pointer-events: none;
}

.light {
  width: 90%;
  height: 100%;
  position: absolute;
  border-radius: 3px; 
  background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 100%);
  top: 0;
  right:0;
  opacity: .1;
  transition: all .5s ease;
  -webkit-transition: all .5s ease;
	pointer-events: none;
}

.book-item:hover .bookn {  }

.book-item:hover .bookn .bookn-cover,  .bookn.opened .bookn-cover{
  transform: perspective(2000px) rotateY(-30deg);
  -webkit-transform: perspective(2000px) rotateY(-30deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  box-shadow: 
    inset 4px 1px 3px #ffffff60,
    inset 0 -1px 2px #00000080,
    10px 0px 10px -5px #00000030
}

.book-item:hover .bookn .effect, .bookn.opened .effect {
  width: 40px;
 /** margin-left:13px;
  opacity: 0.5; **/
}

.book-item:hover .bookn .light,  .bookn.opened .light {
  opacity: 1;
  width: 70%;
}

.bookn-inside{
  width: calc(100% - 2px);
  height:96%;
  position:absolute;
  z-index: -1;
  top: 2%;
  border: 1px solid grey;
  border-radius:3px;
  background: white;
  box-shadow: 
  0.5vw 0.5vw 2vw 0px #00000070,
  inset -2px 0 0 grey,
  inset -3px 0 0 #DBDBCA,
  inset -4px 0 0 white,
  inset -5px 0 0 #dbdbdb,
  inset -6px 0 0 white,
  inset -7px 0 0 #dbdbdb,
  inset -8px 0 0 white,
  inset -9px 0 0 #dbdbdb;
}

.price del{text-decoration: none; position: relative;}
.price del:after{  content:'';width: 115%;  height: 100%;  border-bottom: 0.15em solid red;  -webkit-transform: translateY(-15px) translateX(-3px) rotate(-15deg);  position: absolute; right: 0; top: 0;}
.price del.small{font-size: 0.7em}

@media (max-width: 576px) {
	.bookn{margin: 0}
	.book-item{background-color: #fff}
}

@media (min-width: 576px) {
    .g-sm-6, .gx-sm-6 {
        --bs-gutter-x: 3.5rem;
    }
    #featured .row.gx-sm-6 > .col-6 {
        flex: 0 0 auto;
        width: 20%;
        max-width: 20%;
    }
}

@media (min-width: 1200px) {
    .fs-1 {
        font-size: 3.5rem !important;
    }
}



@media (min-width: 767px) {
	.w-sm-50{
		width:50%!important;
	}
}


.btn-custom-arrow{
	position: relative;
	font-weight: bold;
	color:var(--bs-primary);
	text-decoration: none;
	
}
.btn-custom-arrow:before{
	content: '';
    bottom: -2px;
    right: 0;
    width: 116%;
    height: 14px;
	position: absolute;
		border-bottom:var(--bs-primary) 2px solid ; 
}
.btn-custom-arrow:after{
	content: '';
    bottom: -10px;
    right: 2px;
    width: 116%;
    height: 20px;
	position: absolute;

	background-image: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.6 13.85"><defs><style>.cls-1{fill:%23451455;}</style></defs><polygon class="cls-1" points="7.45 0 8.6 1.24 2.49 6.92 8.6 12.61 7.45 13.85 0 6.92 7.45 0"/></svg>');
	background-size: 9px 14px;
	background-position:left 4.5px;
	background-repeat: no-repeat;
}


/******************* author ****************/
.authorBooks {transform:  translateY(7%);}
.authorBooks .booksn{z-index: 0;transform: scale(0.9);}
.authorBooks .booksn:nth-of-type(2){transform: scale(1.3) translateY(-7%); z-index: 1}
.avatar{max-width: 120px; max-height: 120px;}



.owl-carousel .owl-stage{display: flex;}

.chosen-container-single {
    width: 100% !important;
}

.item .btn-cart .edit-text{display:none;}
.item .btn-cart .add-text{display:inline-block;}

.item.selected, .item-hover:hover{box-shadow: 0 0rem 0.2rem rgba(0,0,0,.15)!important;  background-color: rgb(var(--bs-light-rgb))!important}
.item-hover:hover{cursor: pointer;}
.item.selected .item-icon{position: absolute; top:7px; left: 7px; display: block!important; padding:0px;width: 32px; height: 32px; line-height: 32px;}
.item.selected .btn-cart{background-color: var(--bs-warning);}
.item.selected .btn-cart .edit-text{display:inline-block;}
.item.selected .btn-cart .add-text{display:none;}

.item.stock-no .btn-cart {
	display: none !important;
}
.item.stock-no .add-to-cart {
	display: none !important;
}
.item.stock-no .corner-ribbon {
	display: block !important;
}

.item-hor {width: 100%;}
.item-hor .book img{width: 100px;}
.item-hor .card-header{padding:0px!important; display: none;}
.item-hor .card-body{display: flex;}
.item-hor .card-footer{display: flex; flex-shrink:1!important;}
.item-hor .card-body h5{margin-left:auto!important; text-align: right;}
.item-hor .card-footer h5{text-align: right;}
.item-hor .card-footer .add-to-cart{margin-right:auto!important;}
.item-hor .card-body p{white-space: nowrap; margin-bottom: 0;}
.item-hor .card-body p.card-dana{margin-left:0.5rem}
.item-hor .corner-ribbon.top-left{    top: 11px;    left: -33px;    transform: rotate(-25deg);    -webkit-transform: rotate(-25deg);}

@media only screen and (max-width: 767px) {
	.item-hor .card-body, .item-hor .card-footer{width: 100%;}
	.item-hor .card-body{padding: 0.5rem 0.5rem 0 0.5rem!important;}
	.item-hor .card-body h5{text-align: center; margin-left: auto;}
	.item-hor .card-body p.card-dana{margin-left: auto; margin-right: auto;}
}



.item-smart.item-hor .card-body{display: block;}
.item-smart.item-hor .card-body h5{margin-left: 1em!important;}
@media only screen and (min-width: 767px) {
	.item-smart.item-hor hr{display: none;}
	.item-smart.item-hor .flex-column{
		-webkit-box-orient: horizontal!important;
		-webkit-box-direction: normal!important;
		-webkit-flex-direction: row!important;
		-ms-flex-direction: row!important;
		flex-direction: row!important;}
}


@media only screen and (max-width: 767px) {
.cover-banner{
	height:auto!important; width:100%!important;
}
}

.corner-ribbon{
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -25px;
  text-align: center;
  line-height: 25px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
z-index:1;
}




/* Different positions */

.corner-ribbon.top-left{
  top: 30px;
  left: -50px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left{
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right{
  top: auto;
  right: -50px;
  bottom: 25px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}


.bg-dark hr{border-top: 1px solid rgba(255,255,255,.1);}


.border-gradient:after {
	content:'';
	position: absolute;
	left: 24px; top: 14px;
	width:calc(100% - 48px);
	height: calc(100% - 28px);
	border: 4px solid;
	border-image-source: linear-gradient(90deg, #ff5824, #fe161c);
	border-image-slice: 1;
	pointer-events: none;
}
.border-gradient:before{
	content:'';
	position: absolute;
	width: 100%; height: 50%;
	bottom: 0px; left: 0;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.9+30 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.9) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 30%,rgba(255,255,255,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 30%,rgba(255,255,255,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#e6ffffff',GradientType=0 ); /* IE6-9 */
	pointer-events: none;

}

.underline{position:relative; line-height: 0.7em;}
.underline:after{content:''; width:50px; height: 4px; margin:15px 0px; border-radius: 2px; display: inline-block;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff5824+1,c1902e+100 */
background: #ff5824; /* Old browsers */
background: -moz-linear-gradient(left,  #ff5824 1%, #fe161c 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #ff5824 1%,#fe161c 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #ff5824 1%,#fe161c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff5824', endColorstr='#fe161c',GradientType=1 ); /* IE6-9 */
}

.underline-white:after{
	background: #ffffff; /* Old browsers */	
	margin-bottom: 3px;
}

.underline-mono:after{
	background: #5d6066; /* Old browsers */	
	margin-bottom: 3px;
}




input{outline: 0;}

.bullets {list-style: none;padding-right:0}
.bullets li{}
.bullets li:before{content:'»'; margin-left:10px;}

#benefits{background-position:bottom right; background-repeat: no-repeat; background-size: contain;}
.benefits_icon{max-width:56px;}

.b_icons{max-height:90px; width: 115px;}
.b_icons_2{max-height:130px; width: 180px;}

#menu-primary{ text-transform: uppercase; margin-top:43px; font-size: 18px;transition: all 0.3s ease-in-out;}
#menu-primary li {position: relative;}
#menu-primary li a{padding-top:0px; padding-bottom: 0px; color:#000; padding:0px 0.75em;}
#menu-primary li:last-child a{padding-right:0.5em;}
#menu-primary li.active{font-weight:bold; }
#menu-primary li:before{transition: all 1s linear}
#menu-primary li.active:before, #menu-primary li:hover:before{content:''; position: absolute; bottom: -1em; left: 0px; width: 100%; height: 4px; border-radius: 2px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff5824+1,c1902e+100 */
background: #ff5824; /* Old browsers */
background: -moz-linear-gradient(left,  #ff5824 1%, #fe161c 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #ff5824 1%,#fe161c 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #ff5824 1%,#fe161c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff5824', endColorstr='#fe161c',GradientType=1 ); /* IE6-9 */
} 

header, header #menu-secondary li a,#mobile_search{transition: all 0.3s ease-in-out;}
header{background-color:#fff;}
header.sticky{ backdrop-filter: blur(5px);}
header.sticky:after{content: ''; top: 0; left: 0; height: 100%; width:100%; background:linear-gradient(90deg, rgba(247, 246, 242, 0.8) 0%, rgba(247, 246, 242, 0.8) 100%); position: absolute;z-index: -1;}
.home-page header.sticky .logo{display: block;}
header.sticky .logo img{width:52px; height: 48px;}

@media only screen and (min-width: 767px) {
	#mobile_search{opacity: 0}
	header.sticky #mobile_search{display: flex!important; align-items: center; opacity: 1}
}

#mobile_menu{ background:linear-gradient(90deg, rgba(var(--bs-dark-rgb), 0.8) 0%, rgba(var(--bs-darker-rgb), 0.8) 100%);backdrop-filter: blur(5px); color:#fff;}
#mobile_menu label{font-size: 0.7rem; margin-top:0.2rem}
#mobile_menu .mobile_menu_button{    transform: scale(0.85);}
#mobile_menu #mobile_cart{    transform: scale(1.1) translateY(-9%);}

header.showsearch #mobile_search{display: flex!important; opacity: 1!important}

.swal2-timer-progress-bar{position:absolute;bottom:0;left:0;width:100%;height:.25em;background:#198754;}
.swal2-popup.swal2-store {
    font-family: "Noto Kufi Arabic", sans-serif;
}
.swal2-popup.swal2-store .swal2-icon.swal2-warning {
    border-color: var(--bs-primary-neon);
    color: var(--bs-primary-neon);
}
.btn-float{margin-bottom:-2.5rem;}

.form-check-input:checked{background-color: var(--bs-primary); border-color:var(--bs-primary);}
.form-check-input:focus {
    border-color: rgba(var(--bs-primary),0.5);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary), .25);
}
.text-primary-neon{color:var(--bs-primary-neon)}
.link-underline-primary-neon{text-decoration-color:var(--bs-primary-neon)}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary-dark);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-dark-rgb),0.5);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-light-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-light);
    --bs-btn-active-border-color: rgba(var(--bs-primary-light-rgb),0.5);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-primary-neon {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary-neon);
    --bs-btn-border-color: var(--bs-primary-neon);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0.5);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-light-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-light);
    --bs-btn-active-border-color: rgba(var(--bs-primary-light-rgb),0.5);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary-dark);
    --bs-btn-disabled-border-color: var(--bs-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-gray-dark);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
    --bs-gradient: none;
}
.btn-outline-primary.btn-bg-white{
	--bs-btn-bg: #fff;
	--bs-btn-hover-bg: var(--bs-primary);
}

.btn-primary-light {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary-lighter);
    --bs-btn-border-color: var(--bs-lighter);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary-dark);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-dark-rgb),0.5);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-light-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-light);
    --bs-btn-active-border-color: rgba(var(--bs-primary-light-rgb),0.5);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-success{
	
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff5824+1,c1902e+100 */
	background: #198754!important; /* Old browsers */
	border:0px!important;
	
}

.btn-success:hover{
	background: rgba(21,115,0,1.00); /* Old browsers */

}
.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle{
	background: #157347; /* Old browsers */}
.btn-success.focus, .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(21,115,0,0.5);
}
.btn-success:not(:disabled):not(.disabled).active:focus, .btn-success:not(:disabled):not(.disabled):active:focus, .show>.btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(21,115,0,0.5);
}


.btn-secondary {
    color: #fff;
    background-color: #6988B0;
    border-color: #6988B0;
}




.btn-outline-secondary{border:1px solid #6988B0;}
.btn-outline-secondary:hover{
	background: #6988B0; /* Old browsers */
	border:1px solid #6988B0;
	color:#fff;
}

.input-group-text{border:1px solid #6988B0;}
.input-group-text:hover{background: #6988B0!important; color:#fff;}


.btn-outline-secondary{background: #fff;box-shadow: none!important;}

.btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle{
	color: #fff;
    background-color: #6988B0;
    border-color: #6988B0;
	box-shadow: none!important;
}

.btn-height-40{min-height:40px; min-width: 40px; line-height: 38px; padding-top:0px; padding-bottom:0px;}

.btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:not(:first-child){    border-top-right-radius: 0!important;    border-bottom-right-radius: 0!important;}
.btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-left-radius: 0!important;    border-bottom-left-radius: 0!important;}

.service a{color:#58585a; text-decoration: none;}
.service a:hover{color:#fe161c; text-decoration: none;}


.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: rgba(var(--bs-primary-rgb),1.00);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(193,144,46,0);
}
.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #495057;
}
.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(193,144,46,.25);
}
.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: rgba(193,144,46,.25);
    border-color: rgba(193,144,46,.25);
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #fe161c;
	background: #fe161c; /* Old browsers */
}

.custom-select{ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.6 9.1'%3e%3cpath fill='%258585a' d='M0.9,0l7.3,7.4L15.6,0l0.9,0.9L8.8,8.8L8.3,9.1L7.8,8.8L0,0.9L0.9,0z'/%3e%3c/svg%3e")!important; background-size: 16.6px 9.1px; }
.custom-select:focus {
    border-color: #fe161c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(254, 22, 28,.5);
}

.banner-container, .banner{min-height:374px;}

.banner{background-position: top center; background-repeat: no-repeat; background-size: cover; position: relative;}

.banner .banner-text{z-index:2;}
.owl-nav{position:absolute;    bottom: 0;    left: 0;    width: 100%;    height: 20%;    margin: 0!important;    padding: 0; pointer-events: none;}
.owl-theme .owl-nav [class*=owl-]:hover{color:#000;}
.lead-box{position: absolute; bottom: -15%; left: 0px; width: 100%; z-index: 3;}

.sidebar-links{margin: 0; padding:0;list-style: none;}
.sidebar-links li{margin-bottom:5px; position: relative;}
.sidebar-links li a{color:#000; text-decoration: none;}
.sidebar-links li span{padding:0px 5px;}
.sidebar-links li a:hover:after, .sidebar-links .selected:after{content:''; left:0; top:50%; transform: translateY(-50%); border-bottom: 1px solid #fe161c; position: absolute; z-index:0; width: 500%;}
.sidebar-links li a:hover:before,.sidebar-links .selected:before{content:''; left:0; top:50%; transform: translateY(-50%); width: 9px; height: 9px; border: 1px solid #fe161c; border-radius: 50%; position: absolute; z-index:1; background-color: #fff;}
.sidebar-links li a:hover span, .sidebar-links .selected span{background-color: #fff; z-index:1; position: relative; color:#fe161c; font-weight: bold;}

.custom-checkbox2{margin-bottom:5px;}
.custom-checkbox2 .custom-control-label::after, .custom-checkbox2 .custom-control-label::before{
	border-radius:4px; width:16px; height: 16px; border-width:1px; background-image:none!important;;
}
.custom-checkbox2 .custom-control-input:checked~.custom-control-label{color:#fe161c;}
.custom-checkbox2 .custom-control-label{display: block;}

.custom-checkbox3{padding-right: 1.7rem;}
.custom-checkbox3 .custom-control-label::after, .custom-checkbox3 .custom-control-label::before{
	border-radius:50%; width:20px; height: 20px; border-width:1px; background-image:none!important; top: .1rem;
}
.custom-checkbox3 .custom-control-input:checked~.custom-control-label{color:#000;}

.sep:after{content:''; left:0; top:50%; transform: translateY(-50%); border-bottom: 1px solid #6988B0; position: absolute; z-index:0; width: 500%;}
.sep:before{content:''; left:0; top:50%; transform: translateY(-50%); width: 9px; height: 9px; border: 1px solid #6988B0; border-radius: 50%; position: absolute; z-index:1; background-color: #fff;}
.sep span{background-color: #fff; z-index:1; position: relative; color:#6988B0; font-weight: bold;padding:0px 5px;}

.bg-light .sep span{background-color: #f8f9fa!important;}
/*.bg-primary{background: #fe161c!important;}
.bg-secondary{background: #6988B0!important;}
.badge-primary{background: #fe161c!important;}*/

.books {
	padding:20px;
	transform: translateX(-10px);
  -moz-perspective: 100px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  display: inline-block;
}

.book {
  position: relative;
  -moz-perspective: 100px;
  -moz-transform: rotateY(-3deg);
  -webkit-transform: perspective(100) rotateY(-3deg);
  outline: 1px solid transparent; /* Helps smooth jagged edges in Firefox */
  box-shadow: none;
  margin: 0;
}
	


.book img {
  position: relative;
  width: 20vh;
  border-radius: 5px;
	vertical-align: middle;
}

.book:before,
.book:after {
  position: absolute;
  top: 2%;
  height: 96%;
  content: ' ';
  z-index: -1;
}

.book:before {
  width: 100%;
  left: 7.5%;
  background-color: #999;
  border-radius: 5px;
  box-shadow: 3px 3px 10px #999;
}

.book:after {
  width: 5%;
  left: 100%;
  background-color: #EFEFEF;
  box-shadow: inset 0px 0px 5px #aaa;
  -moz-transform: rotateY(20deg);
  -webkit-transform: perspective(100) rotateY(20deg);
}



#search{}
#search .loader {
  position: absolute!important;  width: 32px!important;  height: 32px!important;  left: 5px; top:50%; transform: translateY(-50%)
}
.search-item .book img{width: 50px;}
.search-item .books {padding:5px;}
.search-item .book:before { box-shadow: 2px 2px 5px #999;}
.search-item:not(:first-child) { border-top:1px solid rgba(0,0,0,.125);}

.search-item a{text-decoration:none; color:#000;}
.search-item a:hover{background-color: rgba(0,0,0,.03)}


.modal-open{padding:0!important;}
.modal{padding:0!important;}
.modal-backdrop{background-color: rgb(var(--bs-light-rgb));}

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: rgba(var(--bs-primary-rgb),0.75);
}

.pointer-events-all{pointer-events:all}
.pointer-events-none{pointer-events:none}


#cart{}
.cart-item .book img{width: 70px;}
.cart-item .books {padding:5px;}
.cart-item .book:before { box-shadow: 2px 2px 5px #999;}

.cart-item .bookn img{width: 70px;}
.cart-item .booksn {padding:5px;}
.cart-item .bookn:before { box-shadow: 2px 2px 5px #999;}
.cart-item:not(:first-child) { border-top:1px solid rgba(0,0,0,.125);}

.cart-item a{text-decoration:none; color:#000;}
.cart-item a:not(.btn-outline-secondary):hover{background-color: rgba(0,0,0,.03)}

.rounded-20 .cart-body .cart-item.selected{box-shadow: 0px 0px 0px 1px #155724 inset!important; background-color: #d4edda;border-top: 1px solid rgba(0,0,0,.125)!important;}
.rounded-20 .cart-body .cart-item:first-child {border-top-left-radius: 20px!important;border-top-right-radius: 20px!important;}
.rounded-20 .cart-body .cart-item:last-child {border-bottom-left-radius: 20px!important;border-bottom-right-radius: 20px!important;}

#cartwindow{width: calc(100%); z-index: 1060}


.banner-items .owl-nav { font-size:22px;    overflow: hidden;}
.banner-items .owl-nav .owl-next .nav-circle, 
.banner-items .owl-nav .owl-prev .nav-circle{
	border-radius: 50%; background-color: rgba(255,255,255,0.9); position: absolute; width: 36px; height: 36px; top:50%; left:50%; transform: translate(-50%,-50%); z-index: 0;
	line-height: 36px; border:1px solid #979797;
}
.banner-items .owl-next {
	z-index:1;
	pointer-events: all;
	height: 100%; position: absolute; right:60px; top:0; width:50px; text-align: center ;
	background: transparent!important;
    opacity: 1;
}
.banner-items .owl-prev {
	pointer-events: all;
	height: 100%; position: absolute; left:60px; top:0; width:50px; text-align: center ;
    opacity: 1;
	background: transparent!important;
}
.banner-items .owl-nav .owl-next:hover .nav-circle, 
.banner-items .owl-nav .owl-prev:hover .nav-circle{
	background-color: rgba(0,0,0,0.9)!important; color:#fff;
}


.bg-hover-dark:hover{background-color: rgba(52,58,64,1)!important;}




.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #58585a;
}

.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f8f9fa;
	margin-right:32px;
}
.quote:before{content:'“'; position: absolute; left:40px; top:-60px; font-size:150px; color:#9b9c9e; pointer-events: none;}


textarea.rounded-pill{border-radius:20px!important;min-height: 100px;}

.logo-footer img{max-width:180px;}
footer a{color:#ffffff;}
footer a:hover{color:#eee;}
footer .bg-dark, footer .bg-dark a{color:#122d3b;}
a.bg-dark:focus, a.bg-dark:hover, button.bg-dark:focus, button.bg-dark:hover {
    background-color: #122d3b!important;
}
.logo-float{margin-top:-40px;}

#leadnet{ background:url(../img/leadnet.png) no-repeat center center; display:inline-block; text-align:right;}
#leadnet a{display:inline-block;width:68px; height:15px;}



.loader {
  pointer-events: none;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.loader div {
  position: absolute;
  border: 2px solid #6988B0;
  opacity: 1;
  border-radius: 50%;
  animation: loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loader div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes loader {
  0% {
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

.loader.loader-white div{border: 2px solid #fff;}

.bs-popover-auto[x-placement^=bottom] .arrow::after, .bs-popover-bottom .arrow::after {
    border-bottom-color: #f7f7f7;
}


.list-group-item:first-child {
    border-top-right-radius: .25rem;
    border-top-left-radius: .25rem;
}


.title{position:relative;z-index:1;}
.title .underline:after{ position: absolute; bottom: -1.8em}


.sticky-menu{position:sticky; top:148px;background: #ffffff; right: 0;}
.sticky-menu .btn-outline-secondary{background-color: transparent; color:#fff; border-color:#fff;box-shadow: none!important;}
.sticky-menu .btn-outline-secondary:not(:disabled):not(.disabled).active,.sticky-menu .btn-outline-secondary:not(:disabled):not(.disabled):active, .sticky-menu .show>.btn-outline-secondary.dropdown-toggle{
	color: #fe161c!important;
    background-color: #ffffff!important;
    border-color: #ffffff!important;
	box-shadow: none!important;
}

.sidebar{position:relative; z-index: 2; pointer-events: none;}
.sidebar *{ pointer-events: all;}



table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child{padding-left: 0.75; padding-right:40px;}
table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    top: 10px;
    right: 4px;
	left: auto;
    height: 24px;
    width: 24px;
    display: block;
    position: absolute;
    border: 1px solid #6988B0;
    border-radius: 24px;
    box-shadow: 0 0 0;
    box-sizing: content-box;
    text-align: center;
    font-family: 'themify';
    line-height: 24px;
    content: '\e61a';
    color: #6988B0;
    background-color: #fff;
}


.daterangepicker {
    direction: rtl!important;
    text-align: right!important;
	font-family: inherit!important;
}
.daterangepicker .drp-calendar.left{float:right!important;}
.daterangepicker .calendar-table .next span {
    transform: rotate(135deg)!important;
    -webkit-transform: rotate(135deg)!important;

}
.daterangepicker .calendar-table .prev span {
    transform: rotate(-45deg)!important;
    -webkit-transform: rotate(-45deg)!important;
}
.daterangepicker td.start-date {
    border-radius: 0 4px 4px 0!important;
}
.daterangepicker td.end-date {
	border-radius: 4px 0 0 4px!important;
}
.daterangepicker td.start-date.end-date {
    border-radius: 4px!important;
}
.daterangepicker td.in-range{background: rgba(193,144,0,0.3)!important;}
.daterangepicker td.active, .daterangepicker td.active:hover{background: #fe161c!important;}
.daterangepicker.show-calendar .drp-buttons{display: flex!important;}
.daterangepicker .drp-selected{ margin-left: auto!important;    align-self: center;}
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td{font-size: inherit!important;}
.daterangepicker .drp-buttons .btn{font-size: inherit!important;}

@media only screen and (max-width: 767px) {
	.daterangepicker{top:0px!important; left: 0px!important; width: 100%!important; height: 100%!important; right:0px!important; margin: 0px!important;
    flex-flow: column!important;}	
	.daterangepicker:before{display: none!important;}
	.daterangepicker .drp-calendar.left, .daterangepicker .drp-calendar.right{float: none!important; max-width: none!important;    margin-bottom: auto;}
}



.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{top:1px; position: relative;}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{border-bottom: 0px;}
#searchwindow{overflow-y: auto!important;    max-height: 70vh;}

.cat-export-list{max-height: 300px; overflow-y: auto;}


/* ********************** INNER *****************  */

#map{min-height:500px;}
.bg-img{background-size:cover; background-position: center center; background-repeat: no-repeat;}
.hero-img{position:absolute; left:0px; top:0px; width:50%; height: 100%;}
.half_height{min-height:50vh}
.bg-gradient{position:relative;}
.bg-gradient:before{content:''; top:0; left: 0; position: absolute; height: 100%; width:100%; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#006d62+0,00a99d+100 */
background: rgb(0,109,98); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(0,109,98,1) 0%, rgba(0,169,157,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,109,98,1) 0%,rgba(0,169,157,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,109,98,1) 0%,rgba(0,169,157,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006d62', endColorstr='#00a99d',GradientType=0 ); /* IE6-9 */
display:block;
opacity:0.4;
z-index:0
}
.hero_container{z-index:2;}

/* #Media Queries  */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 1366px) {
		.display-4{font-size:2.4em;}	
	}
	
	@media only screen and (min-width: 959px) {
	.sidebar-links{max-height: calc(100vh - 300px); max-height: 40vh; overflow-y: auto; padding-left:8px!important;}



		}

	@media only screen and (min-width: 768px) {
		.border-md-0{border:0!important}
		header.sticky #menu-secondary li a{padding:0.25em 0.4em 0.25 1em; font-size:14px;}
		.shadow-md-none{box-shadow: none!important;}
		}		

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {

		}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		.container-fluid-md-only {width: 100%;max-width: none;}

		.display-4{font-size:2.4em;}
		.font-size-36{font-size:24px; line-height: 1}
		header .logo img,header.sticky .logo img{max-height:48px; max-width: 52px;}
		.banner-container, .banner{}
		#menu-primary li a, #menu-secondary li a {padding:0px;}
		#menu-primary li, #menu-secondary li {margin-bottom:10px;}
		header.sticky #menu-primary li.active,header.sticky #menu-primary li:hover, #menu-primary li.active:before, #menu-primary li:hover:before{bottom:0px!important;}
		.logo:before{right:50%!important; transform: translateX(50%)}
		.w-100{width: 100%!important}
		.banner-container, .banner {min-height: 300px;}
		.banner{background-position:-450px center;}
		.banner-items .owl-prev{left:-20px;}
		.banner-items .owl-next{right:-20px;}
		.banner-items .owl-nav .owl-next .nav-circle, .banner-items .owl-nav .owl-prev .nav-circle{background-color: rgba(255,255,255,0.5)!important}
		.banner .banner-title{max-height: 3.5em; overflow: hidden; font-size:1.5em;}
		.b_icons{max-height:80px;}
		
		#cartwindow{left:0em;}

		/* inner */
		.hero-img{position:relative; height: 300px; width: 100%;	}
		.bg-img-inner{padding-top:150px;}
		.bg-white-80{background-color:rgba(255,255,255,0.8)!important}
		.title .underline:after{bottom: -1em;}
		
		.sidebar{position:absolute; z-index: 1039; height: 100%;}
		.sidebar-links{overflow-y: scroll; height: calc(100vh - 250px);}
		
		#quantity .modal-dialog {
		  width: 100%;
		  height: 100%;
		  margin: 0;
		  padding: 0;
		}

		#quantity .modal-content {
		  height: auto;
		  min-height: 100%;
		  border-radius: 0!important;
		  border:0px;
		}
		#quantity .modal-content .book img{width: 20vh}
		#searchwindow{width:calc(100vw - 2em)!important;}

		.books {	padding:5px;	transform: translateX(-2.5px);}
		
		header .nav-item:not(:first-child){padding:10px 0px; font-size:18px; margin: 0px;}
		header .navbar-collapse {
			position: absolute;
			top: 0px;
			left: 100%;
			padding-left: 15px;
			padding-right: 15px;
			padding-bottom: 15px;
			margin:0px;
			width: 100%;
			transition: all 0.4s ease;
			display: block;
			background-color: var(--bs-primary-dark);
			height: 100vh;
			z-index:1060;
			box-shadow: 0 0 10px rgba(0,0,0,0.3);
		}
		header .navbar-collapse.collapsing {

			margin-left: 50%;
			left: 50%;
			transition: all 0.2s ease;
			height: 100vh!important;
		}
		header .navbar-collapse.show {
			left: 0;
		}
		.logo-footer{margin-bottom:20px; display: inline-block;}
		.logo-footer img {
			max-width: 100px;
		}
		
		
		
		}
		

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
		}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		#searchwindow{width:calc(100vw - 1em)!important;}
		}



.bounce-up {
	position: absolute;
	width: 100%;
	left: 0px;
	top:-30px;
	-moz-animation: bounce-up 3s infinite;
	-webkit-animation: bounce-up 3s infinite;
	animation: bounce-up 3s infinite;
}
.bounce-right {
	position: absolute;
	height: 100%;
	top:0px;
	right:-30px;
	-moz-animation: bounce-right 3s infinite;
	-webkit-animation: bounce-right 3s infinite;
	animation: bounce-right 3s infinite;
}
@keyframes bounce-up {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce-right {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  40% {
    -moz-transform: translateX(30px);
    -ms-transform: translateX(30px);
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -moz-transform: translateX(15px);
    -ms-transform: translateX(15px);
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
  }
}
.nav-link{cursor: pointer; position: relative}
.nav-link.nav-on:before{content:'';position: absolute; width: 100%; height: 100%; left:0px; top:0;  background: #0071BC; z-index: 0;}
.nav-link.nav-on i, .nav-link.nav-on span{position: relative; z-index:1;}
.nav-link.nav-on{color:#fff;}

.circle-menu{opacity: 0;transition: all 1s; pointer-events: none;}
.circle-menu.circleMenu-open{opacity: 1; pointer-events: all;}




.chosen-select {
    width: 70%
}

@media only screen and (max-width:1199px) {
    .chosen-select {
        width: 100% !important
    }
}

.chosen-select-deselect {
    width: 70%
}

#chosen_ccity2_chosen {
    width: 100% !important
}

.chosen-container {
    display: inline-block;
    font-size: 1em;
    position: relative;
    vertical-align: middle
}

.chosen-container .chosen-drop {
    background: #ffffff;
    border: 1px solid #dbdbdb;
    -webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, .25);
    box-shadow: 0 8px 8px rgba(0, 0, 0, .25);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-top: -1px;
    position: absolute;
    top: -9000px;
    z-index: 1060
}

.chosen-container.chosen-with-drop .chosen-drop {
    left: 0;
    right: 0;
	top: 100%;
}

.chosen-container .chosen-results {
    color: #555555;
    margin: 0 4px 4px 0;
    max-height: 240px;
    padding: 0 0 0 4px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

.chosen-container .chosen-results li {
    display: none;
    line-height: 1.42857143;
    list-style: none;
    margin: 0;
    padding: 5px 6px
}

.chosen-container .chosen-results li em {
    background: #feffde;
    font-style: normal
}

.chosen-container .chosen-results li.group-result {
    display: list-item;
    cursor: default;
    color: #999;
    font-weight: bold
}

.chosen-container .chosen-results li.group-option {
    padding-left: 15px
}

.chosen-container .chosen-results li.active-result {
    cursor: pointer;
    display: list-item
}

.chosen-container .chosen-results li.highlighted {
    background-color: var(--bs-primary);
    background-image: none;
    color: white
}

.chosen-container .chosen-results li.highlighted em {
    background: transparent
}

.chosen-container .chosen-results li.disabled-result {
    display: list-item;
    color: #8c8c8c
}

.chosen-container .chosen-results .no-results {
    background: #e6e6e6;
    display: list-item
}

.chosen-container .chosen-results-scroll {
    background: white;
    margin: 0 4px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 1
}

.chosen-container .chosen-results-scroll span {
    display: inline-block;
    height: 1.42857143;
    text-indent: -5000px;
    width: 9px
}

.chosen-container .chosen-results-scroll-down {
    bottom: 0
}

.chosen-container .chosen-results-scroll-down span {
    background: url("../images/chosen-sprite.png") no-repeat -4px -3px
}

.chosen-container .chosen-results-scroll-up span {
    background: url("../images/chosen-sprite.png") no-repeat -22px -3px
}

.chosen-container-single {
    width: 100%
}

@media only screen and (max-width:1199px) {
    .chosen-container-single {
        width: 100% !important
    }
}

.chosen-container-single .chosen-single {
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    color: #000;
    display: block;
    height: 36px;
    overflow: hidden;
    line-height: 36px;
    padding: 0 0 0 8px;
    position: relative;
    text-decoration: none;
    white-space: nowrap
}

.chosen-container-single .chosen-single span {
    display: block;
    margin-right: 26px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap
}

.chosen-container-single .chosen-single abbr {
    background: url("../images/chosen-sprite.png") right top no-repeat;
    display: block;
    font-size: 1px;
    height: 10px;
    position: absolute;
    right: 26px;
    top: 13px;
    width: 12px
}

.chosen-container-single .chosen-single abbr:hover {
    background-position: right -11px
}

.chosen-container-single .chosen-single.chosen-disabled .chosen-single abbr:hover {
    background-position: right 2px
}

.chosen-container-single .chosen-single div {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 18px
}

.chosen-container-single .chosen-single div b {
    background: url("../images/chosen-sprite.png") no-repeat 0 7px;
    display: block;
    height: 100%;
    width: 100%
}

.chosen-container-single .chosen-default {
    color: #7b7a7a
}

.chosen-container-single .chosen-search {
    margin: 0;
    padding: 3px 4px;
    position: relative;
    white-space: nowrap;
    z-index: 1000
}

.chosen-container-single .chosen-search input[type=text] {
    background: url("../images/chosen-sprite.png") no-repeat 100% -20px, #f5f5f5;
    border: 1px solid var(--bs-border-color);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    margin: 1px 0;
    padding: 4px 20px 4px 4px;
    width: 100%
}

.chosen-container-single .chosen-drop {
    margin-top: -1px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box
}

.chosen-container-single-nosearch .chosen-search input {
    position: absolute;
    left: -9000px
}

.chosen-container-multi .chosen-choices {
    background-color: #f5f5f5;
    border: 1px solid var(--bs-border-color);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    cursor: text;
    height: auto !important;
    height: 1%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative
}

.chosen-container-multi .chosen-choices li {
    float: left;
    list-style: none
}

.chosen-container-multi .chosen-choices .search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap
}

.chosen-container-multi .chosen-choices .search-field input[type=text] {
    background: transparent !important;
    border: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #555555;
    height: 44px;
    margin: 0;
    padding: 4px;
    outline: 0
}

.chosen-container-multi .chosen-choices .search-field .default {
    color: #999
}

.chosen-container-multi .chosen-choices .search-choice {
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #333333;
    cursor: default;
    line-height: 13px;
    margin: 6px 0 3px 5px;
    padding: 3px 20px 3px 5px;
    position: relative
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
    background: url("../images/chosen-sprite.png") right top no-repeat;
    display: block;
    font-size: 1px;
    height: 10px;
    position: absolute;
    right: 4px;
    top: 5px;
    width: 12px;
    cursor: pointer
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
    background-position: right -11px
}

.chosen-container-multi .chosen-choices .search-choice-focus {
}

.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close {
    background-position: right -11px
}

.chosen-container-multi .chosen-results {
    margin: 0 0 0 0;
    padding: 0
}

.chosen-container-multi .chosen-drop .result-selected {
    display: none
}

.chosen-container-active .chosen-single {
    border: 1px solid var(--bs-border-color);

}

.chosen-container-active.chosen-with-drop .chosen-single {
    border: 1px solid var(--bs-border-color);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.chosen-container-active.chosen-with-drop .chosen-single div {
    border-left: none
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -18px 7px
}

.chosen-container-active .chosen-choices {
    border: 1px solid #dbdbdb;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset;
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -webkit-transition: border linear .2s, -webkit-box-shadow linear .2s;
    transition: border linear .2s, -webkit-box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s, -webkit-box-shadow linear .2s
}

.chosen-container-active .chosen-choices .search-field input[type=text] {
    color: #111 !important
}

.chosen-container-active.chosen-with-drop .chosen-choices {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0
}

.chosen-disabled {
    cursor: default;
    opacity: 0.5 !important
}

.chosen-disabled .chosen-single {
    cursor: default
}

.chosen-disabled .chosen-choices .search-choice .search-choice-close {
    cursor: default
}

.chosen-rtl {
    text-align: right
}

.chosen-rtl .chosen-single {
    padding: 0 8px 0 0;
    overflow: visible
}

.chosen-rtl .chosen-single span {
    margin-left: 26px;
    margin-right: 0;
    direction: rtl
}

.chosen-rtl .chosen-single div {
    left: 7px;
    right: auto;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.6 9.1'%3e%3cpath fill='%258585a' d='M0.9,0l7.3,7.4L15.6,0l0.9,0.9L8.8,8.8L8.3,9.1L7.8,8.8L0,0.9L0.9,0z'/%3e%3c/svg%3e")!important; background-size: 16.6px 9.1px;
	background-repeat: no-repeat; background-position: center center;
}


.chosen-rtl .chosen-single abbr {
    left: 26px;
    right: auto
}

.chosen-rtl .chosen-choices .search-field input[type=text] {
    direction: rtl
}

.chosen-rtl .chosen-choices li {
    float: right
}

.chosen-rtl .chosen-choices .search-choice {
    margin: 6px 5px 3px 0;
    padding: 3px 5px 3px 19px
}

.chosen-rtl .chosen-choices .search-choice .search-choice-close {
    background-position: right top;
    left: 4px;
    right: auto
}

.chosen-rtl.chosen-container-single .chosen-results {
    margin: 0 0 4px 4px;
    padding: 0 4px 0 0
}

.chosen-rtl .chosen-results .group-option {
    padding-left: 0;
    padding-right: 15px
}

.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
    border-right: none
}

.chosen-rtl .chosen-search input[type=text] {
    background: url("../images/chosen-sprite.png") no-repeat -28px -20px, #fff;
    direction: rtl;
    padding: 4px 5px 4px 20px
}

.input-group .chosen-container:last-child .chosen-choices,
.input-group .chosen-container:last-child .chosen-default,
.input-group .chosen-container:last-child .chosen-single {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px
}

.input-group .chosen-container:not(:last-child) .chosen-choices,
.input-group .chosen-container:not(:last-child) .chosen-default,
.input-group .chosen-container:not(:last-child) .chosen-single {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px
}

@media only screen and (-o-min-device-pixel-ratio:2/1),
only screen and (-webkit-min-device-pixel-ratio:2),
only screen and (min-resolution:2dppx) {
    .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
    .chosen-container-single .chosen-search input[type=text],
    .chosen-container-single .chosen-single abbr,
    .chosen-container-single .chosen-single div b,
    .chosen-container .chosen-results-scroll-down span,
    .chosen-container .chosen-results-scroll-up span,
    .chosen-rtl .chosen-search input[type=text] {
        background-image: url("../images/chosen-sprite@2x.png") !important;
        background-size: 52px 37px !important;
        background-repeat: no-repeat !important
    }
}


#cartwindow{transition: all 0.5s linear; max-width:450px; left:-100%;}
#cartwindow.active{left:0;}
#cartwindow .cart-nonempty-flex > .btn{
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.25;
    padding-inline: 0.55rem;
    white-space: normal;
}

.classes .row:nth-of-type(1) .col:nth-of-type(1) button{background-color: blueviolet;}
.classes .row:nth-of-type(1) .col:nth-of-type(2) button{background-color: darkolivegreen;}
.classes .row:nth-of-type(1) .col:nth-of-type(3) button{background-color: indianred;}
.classes .row:nth-of-type(1) .col:nth-of-type(4) button{background-color: orange;}
.classes .row:nth-of-type(1) .col:nth-of-type(5) button{background-color: olive;}
.classes .row:nth-of-type(1) .col:nth-of-type(6) button{background-color: olivedrab;}
.classes .row:nth-of-type(1) .col:nth-of-type(7) button{background-color: teal;}

.classes .row:nth-of-type(2) .col:nth-of-type(1) button{background-color: mediumorchid;}
.classes .row:nth-of-type(2) .col:nth-of-type(2) button{background-color: slateblue;}
.classes .row:nth-of-type(2) .col:nth-of-type(3) button{background-color: sienna;}
.classes .row:nth-of-type(2) .col:nth-of-type(4) button{background-color: plum;}
.classes .row:nth-of-type(2) .col:nth-of-type(5) button{background-color: tomato;}
.classes .row:nth-of-type(2) .col:nth-of-type(6) button{background-color: mediumseagreen;}
.classes .row:nth-of-type(2) .col:nth-of-type(7) button{background-color: goldenrod;}

.classroom.active{background-color: #213A5B!important; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 95% ; border:#fe161c solid 2px;}

#drpCity option[data-city-mandatory="true"] {
    color: #42648f;
    font-weight: bold;
}


/******************* footer *************/
#feature-bullets{}
#feature-bullets .row > div:after{content: ''; height: 100%; width: 1.5px; background-color: var(--bs-dark);}
#feature-bullets .row > div:last-of-type:after{display:none}
@media only screen and (max-width:767px) {
	#feature-bullets .row > div{flex-direction: column; }
	#feature-bullets .row > div:after{width: 100%; height: 1.5px;margin-top: var(--bs-gutter-y);}
}


.feature-bullet{height: 4vw}
@media only screen and (max-width:767px) {
	.feature-bullet{height: 10vw}
}

@media only screen and (max-width:1200px) {
	.fs-3{font-size: 1.3em!important;}
}

@media only screen and (max-width:1200px) {
	.newsletter{background-size: 112%!important;}
}




/* ************ inner   ****************** */

.breadcrumb a{text-decoration: none; color: var(--bs-dark);}
.list-group {    --bs-list-group-border-color: var(--bs-gray-300);}
.sticky-menu{top:93px;}
@media only screen and (max-width:767px) {.sticky-menu{top:72px;}}
@media only screen and (max-width:767px) {
	#navbarSidebarContent{position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #fff; z-index: 1060;}
	#navbarSidebarContentList{overflow-y: auto;}
}

@media only screen and (max-width:767px) {
	.add-to-cart{width: 100%!important;}
    #add_to_cart {
        position: fixed;
        bottom: 76px;
        left: 0;
        width: 100%!important;
        padding: .5rem 0.55rem 0.75rem 0.55rem!important;
        z-index: 10;
        background-color: var(--bs-primary-bg-subtle);
        display: flex;
        gap: .5rem;
		
    }

    #add_to_cart>div {
        margin: 0!important;
        flex-wrap: nowrap;
        width: 100%
    }

    #add_to_cart>div .btn {
        white-space: nowrap;
		font-size:0.9em;!important;
    }

    #add_to_cart .input-group button {
        background-color: #fff
    }
	#add_to_cart .qtybutton {padding: 0 .375rem}
    #add_to_cart .input-group input {
        min-width: 30px;
        padding: 0 .375rem
    }
	
}

.swiperImage, .swiperThumb{}
.swiperThumb .swiper-wrapper{align-items: end;}
.swiperImage .swiper-wrapper{align-items: center;}


.swiperImage {
  max-height: 500px;
  width: 100%;
  
}
.swiperImage .swiper-slide{display: flex; align-items: center;padding: 2.5rem;}
.product-cover-frame {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.product-cover-frame.is-unavailable::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--bs-light-rgb), 0.35);
  pointer-events: none;
  z-index: 0;
  border-radius: 0 6px 6px 0;
}
.product-cover-frame .item-na {
  background-color: var(--bs-gray-700) !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.swiperThumb {
  box-sizing: border-box;
  padding: 10px 0;
}

.swiperThumb .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  display: flex; align-items: end;padding: 0.5rem;
}
.swiperThumb .swiper-slide .bookn-inside{    box-shadow: 0.1vw 0.1vw 0.5vw 0px #00000070, inset -2px 0 0 grey, inset -3px 0 0 #DBDBCA, inset -4px 0 0 white, inset -5px 0 0 #dbdbdb, inset -6px 0 0 white, inset -7px 0 0 #dbdbdb, inset -8px 0 0 white, inset -9px 0 0 #dbdbdb;}
.swiperThumb .swiper-slide-thumb-active {  opacity: 1;}


.book_mockup{}
.book_mockup .bookimage:after{content: '';position: absolute;left:0; bottom:30%; transform: translateX(-50%); width:18px; height: 40px; background: url("../img/mockup_hand_l.svg") no-repeat; background-size: contain;}
.book_mockup .bookimage:before{content: '';position: absolute;right:0; bottom:30%; transform: translateX(50%); width:18px; height: 40px; background: url("../img/mockup_hand_r.svg") no-repeat; background-size: contain; z-index:1;}
.book_mockup .bookimage img{border:3px solid #792ba7;}

.swiperThumb .book_mockup .bookimage:after,.swiperThumb .book_mockup .bookimage:before{width:7.5px; height: 15px;}
.swiperThumb .book_mockup .bookimageHands{transform: translate(-50%, -10px)!important}

@media only screen and (min-width:767px) {
	/*.page{min-height: -webkit-fill-available;}*/
	.page .bookn-inside{    box-shadow: 0.1vw 0.1vw 0.5vw 0px #00000070, inset -2px 0 0 grey, inset -3px 0 0 #DBDBCA, inset -4px 0 0 white, inset -5px 0 0 #dbdbdb, inset -6px 0 0 white, inset -7px 0 0 #dbdbdb, inset -8px 0 0 white, inset -9px 0 0 #dbdbdb;}
}


.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}

#page-blog .card img{width: 100%; object-fit: cover;}
#page-blog .card img.lead-cover:not(.hide-init) {
    opacity: 1;
}
#page-blog .blog-img-hero{height: auto; aspect-ratio: 25 / 16;}
#page-blog .blog-img-side{height: auto; aspect-ratio: 16 / 10;}
#page-blog .blog-img-rest{height: 250px;}
@media (min-width: 768px){
  #page-blog .blog-side-col{display: flex; flex-direction: column;}
  #page-blog .blog-side-row{flex: 1 1 auto; align-content: stretch;}
  #page-blog .blog-side-cell{display: flex;}
  #page-blog .blog-side-cell .card{width: 100%;}
}

/* زاوية مدوّنة البيت: أشكال موحّدة تطابق التصميم الأصلي بصرف النظر عن مصدر الصورة أو ترتيبها.
   الهيرو: 25:16 دائمًا. الجانبية: 25:16 عند التراص (موبايل/تابلت) وتتحوّل إلى مربّع 1:1 على الديسكتوب (xl) حيث تقف بجانب النص. */
#blog .blog-img-hero{width: 100%; aspect-ratio: 25 / 16; object-fit: cover;}
#blog .blog-img-side{width: 100%; aspect-ratio: 25 / 16; object-fit: cover;}
@media (min-width: 1200px){
  #blog .blog-img-side{aspect-ratio: 1 / 1;}
  /* محاذاة الحدّ السفلي للبطاقة الجانبية السفلية مع الهيرو: نوزّع البطاقتين على ارتفاع العمود
     بدفع السفلية للأسفل (space-between) دون فرض ارتفاعات مئوية تُسبّب انهيار التخطيط */
  #blog .blog-side-col{display: flex; flex-direction: column;}
  #blog .blog-side-row{flex: 1 1 auto; align-content: space-between;}
}

