:root {
  color-scheme: dark light;
    --csys1: #f0f0f0;
    --csys2: #ffffff;
    --csys3: #25661F;
    --csys4: #ffffff;
    --csys5: #E6E6E6;
    --csys6: #ffffff;
    --csys7: var(--csys8);
    --csys8: #d0d0d0;

    --sitecolor1: #275870;
    --sitecolor2: #387EA0;
    --sitecolor3: var(--sitecolor1);
    --sitecolor4: var(--sitecolor1);
    --sitecolor5: var(--sitecolor1);
}
@media (prefers-color-scheme: dark) {
   :root {
    --csys1: #202124;
    --csys2: #343434;
    --csys3: #00D061;
    --csys4: #454545;
    --csys5: var(--csys1);
    --csys6: var(--csys1);
    --csys7: var(--csys2);
    --csys8: var(--csys4);

    --sitecolor1: #BDDAE8;
    --sitecolor2: #343434;
    --sitecolor3: #454545;
    --sitecolor4: var(--sitecolor2);
    --sitecolor5: silver;
}
}

a,body,.searchbar{color: var(--sitecolor1)}
body{background-color: var(--csys1); color: var(--sitecolor5)}
.header{background-color: var(--sitecolor2)}

@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 400;
  src: url(../images/DroidKufi-Regular.woff);
  font-display: swap;
}
*{
   font-family: 'Droid Arabic Kufi', sans-serif;
   overflow-wrap: break-word;
   box-sizing: border-box;
   max-width: 100%;
}

html, body {
	margin: 0px;
	padding: 0px;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video, iframe {
	max-width: 100%;
	height: auto;
}
h1 {
	font-weight: normal;
	display: inline;
}
a,.searchbar {
	text-decoration: none;
	-o-transition: color .2s ease-out, background .2s ease-in;
	-ms-transition: color .2s ease-out, background .2s ease-in;
	-moz-transition: color .2s ease-out, background .2s ease-in;
	-webkit-transition: color .2s ease-out, background .2s ease-in;
	transition: color .2s ease-out, background .2s ease-in;
}
a:hover {
	text-decoration:underline;
}
img {
	vertical-align: bottom;
}
.offline-msg{
   position: fixed;
   padding: 10px 10px 0px 10px;
   bottom: 0;
   width: 100%;
   height: 50px;
   background: rgba(0, 0, 0, 0.8);
   color:white;
   text-align:center;
}
.offline-msg {display: none;}
.offline .online-msg {display: none;}
.offline .offline-msg {display: block;}

.commentshow label {
	display: block;
	border-bottom: 1px solid var(--csys1);
	padding: 10px;
	text-align: right;
}
.commentshow input,.commentshow textarea,.commentshow select {
	width: 100%;
	border: 1px solid var(--csys7);
}
.commentshow input:focus, .commentshow textarea:focus {
	outline: none;
	border-color: #389F2D;
	box-shadow: 0 0 5px rgba(56, 159, 45, 0.3);
}
.commentshow input:hover, .commentshow textarea:hover {
	border-color: #338E28;
}
#report_submit:hover {
	background-color: #338E28 !important;
	transform: translate(-2px, 2px);
	box-shadow: -1px 1px 0px 0px rgba(0, 0, 0, 0.2) !important;
}
#report_submit:active {
	transform: translate(0, 0);
	box-shadow: none !important;
}
.np {
	margin: 4px;
	padding: 4px;
	background-color: var(--csys5);
	border-radius: 4px;
}
.article {
	margin-top:6px;
	border-top:1px solid var(--csys7);
}
.footer * {
	color:silver;
	font-size: 16px;
}
.searchbar {
	border-radius: 30px;
	background-color:rgba(255, 255, 255, 0.1);
	border:1px solid rgba(255, 255, 255, 0.3);
	padding:5px;
}
.searchbar #q {
	background-color:transparent;
	border:1px solid transparent;
	width:100%;
	max-width:400px;
	color: rgba(255, 255, 255, 0.8);
	padding:20px;
}
.searchbar:hover,.searchbar:focus {
	background-color: rgba(255, 255, 255, 0.2);
}
.searchbar input:focus {outline: none;}
.searchbar input::placeholder {color:rgba(255, 255, 255, 0.6)}
.ads {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        word-wrap: break-word;
        font-size: 0;
}

.slider-wrapper .ads {
        overflow-x: visible;
        width: max-content;
        white-space: nowrap;
}

.ads label{
        display: inline-block;
        vertical-align: top;
        width: calc(33.333% - 6px);
        margin: 5px 2px;
        padding: 0px;
        background-color: var(--csys2);
        text-align: right;
        border-radius: 10px;
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        font-size: 12px;
        box-sizing: border-box;
        scroll-snap-align: start;
}

.slider-wrapper .ads label {
        margin: 10px 3px;
        flex-shrink: 0;
        width: calc(33.333% - 6px);
        min-width: calc(33.333% - 6px);
        max-width: calc(33.333% - 6px);
}
.slider-wrapper .ads span a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 3.8em;
}
.ads span {
	padding: 8px 10px;
	line-height: 1.3;
}
.ads span br {
	line-height: 0.8;
	margin: 2px 0;
	display: block;
}
.ads span .price {
	display: block;
	margin-top: 2px;
	line-height: 1.2;
}
.ads img {
 border-radius: 10px;
 width: 100%;
 max-width: 260px;
 height: auto;
 aspect-ratio: 260 / 200;
 object-fit: cover;
 display: block;
}
.ads a {font-size:14px}
.cats a{
        display: inline-block;
        vertical-align: top;
        clear: both;
        text-align: center;
        border-radius: 300px;
        box-shadow: -3px 3px 1px 0px rgba(0, 0, 0, 0.1);
        background-color: var(--csys2);
        width: 210px;
        padding: 10px;
        font-size:16px;
        margin: 5px;
}
.cats a:hover {
        box-shadow: -3px 3px 1px 0px rgba(0, 0, 0, 0.3);
}
.iosicon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.iosicon a,.iosicon label {
	padding: 0px 40px 4px 20px;
	border-radius: 6px;
	box-shadow: -3px 3px 0px 0px rgba(0, 0, 0, 0.1);
	color:rgba(255, 255, 255, 0.8);
	font-size:22px;
	margin:10px 5px;
	cursor:pointer;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	background-repeat: no-repeat;
}

.iosicon a:not(.iosicon-toggle),.iosicon label:not(.iosicon-toggle) {
	background-color: rgba(0, 0, 0, 0.3);
}

.iosicon-toggle {
	background-size: 24px;
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-color: var(--sitecolor3) !important;
	min-height: 34px;
	line-height: 34px;
	padding-top: 4px;
	padding-bottom: 4px;
}

.iosicon-toggle.menu-icon {
	background-image: url('../images/menu.png');
}

.iosicon-toggle.add-icon {
	background-image: url('../images/add.png');
}

.iosicon-toggle.search-icon {
	background-image: url('../images/search.png');
}

.iosicon-toggle span {
	display: inline-block;
}

@media screen and (max-width: 1060px) {
	.header .iosicon-toggle {
		width: 45px;
		height: 45px;
		min-width: 45px;
		min-height: 45px;
		background-size: 24px;
		background-position: center center;
		padding: 0;
		margin: 5px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.header .iosicon-toggle span {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	.header .iosicon-toggle {
		width: 45px;
		height: 45px;
		min-width: 45px;
		min-height: 45px;
		background-size: 22px;
		background-position: center center;
		padding: 0;
		margin: 4px;
	}
}

@media screen and (max-width: 360px) {
	.header .iosicon-toggle {
		width: 45px;
		height: 45px;
		min-width: 45px;
		min-height: 45px;
		background-size: 20px;
		background-position: center center;
		padding: 0;
		margin: 3px;
	}
}

.search-submit {
	border: 0;
	background-color: transparent;
	vertical-align: middle;
	height: 22px;
}
.iosicon a label {
	color:rgba(255, 255, 255, 0.8);
    cursor:pointer;
}
.iosicon label:hover {
	text-decoration:underline;
}
.hero-image {
  background-color: #cccccc;
  height: 260px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.details #title {font-size:22px;margin-bottom:6px}
.details #price {float:left;color:#25661F;text-shadow: -1px 1px 0px rgba(0, 0, 0, 0.1);font-size:22px}
.details #icon {background-color:#389F2D;cursor: pointer;box-shadow: -2px 2px 0px 0px rgba(0, 0, 0, 0.1);padding:2px 40px 2px 10px;font-size:20px;line-height: 50px}
.details #edit {box-shadow: -2px 2px 0px 0px rgba(0, 0, 0, 0.1);background-color:#fff;padding:2px 30px 2px 10px;font-size:16px;color:#E60000;border:1px solid #E60000}
.details .iosicon #call-button,
.details .iosicon #call-button2,
.details .iosicon #share-button,
.details .iosicon label[onclick*="showPhoneNumber"],
.details .iosicon a[href*="wa.me"] {
	font-size: 16px !important;
	padding: 2px 30px 2px 15px !important;
}
.details .iosicon #phone-link,
.details .iosicon #phone-link2 {
	font-size: 16px !important;
	padding: 2px 20px !important;
	text-align: center !important;
}
.details .iosicon #call-button,
.details .iosicon #call-button2,
.details .iosicon label[onclick*="showPhoneNumber"],
.details .iosicon a[href*="wa.me"],
.details .iosicon #edit {
	background-size: 20px !important;
	background-position: right 4px top 4px !important;
}
.details .iosicon #share-button i {
	font-size: 14px !important;
	margin-left: 4px !important;
}

.bigcats a{
        display: inline-block;
        vertical-align: top;
        clear: both;
        text-align: center;
        border-radius: 300px;
        box-shadow: -3px 3px 1px 0px rgba(0, 0, 0, 0.1);
        background-color: var(--csys4);
        width: 200px;
        font-size:26px;
        padding: 50px 10px;
        margin: 20px;
}
.bigcats a:hover {
        box-shadow: -3px 3px 1px 0px rgba(0, 0, 0, 0.3);
}

.csscheck1[type=checkbox] {display:none;}
.csscheck1[type=checkbox]:checked ~ #catsonly {display: block;}
#catsonly {display: none;}

.csscheck2[type=checkbox] {display:none;}
.csscheck2[type=checkbox]:checked ~ #searchbaronly {display: block;}
#searchbaronly {display: none;}
.header #logo {
	padding: 5px;
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
	display: block;
	object-fit: contain;
	visibility: visible;
	opacity: 1;
}

.top {
	background-color: var(--sitecolor2);
}


#catsonly {
	background-color: var(--sitecolor4);
	padding: 5px;
	text-align: center;
}

#searchbaronly {
	background-color: var(--sitecolor3);
	padding: 5px;
	text-align: center;
}

.searchbar {
	display: inline;
}

.searchbar input[type="image"] {
	border: 0;
	background-color: transparent;
	vertical-align: middle;
	height: 22px;
}

.wrapper {
	width: 100%;
}

.footer-wrapper {
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	margin-top: auto;
	text-align: center;
}

.footer {
	width: 100%;
}

.footer-content {
	padding: 30px 0px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.footer-content a {
	color: #fff;
	text-decoration: none;
}

.ads span {
	display: block;
	color: gray;
}

.ads span.price {
	display: block;
	float: left;
	color: var(--csys3);
	margin-top: 2px;
}

.ads span.red-text {
	color: red;
}

.clear-both {
	clear: both;
}

.wrapper .ads a {white-space: normal;display: block; line-height: 1.3}
.wrapper {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
	padding: 0 5px;
}

@media screen and (min-width: 1061px) {
.wrapper {
	padding: 0;
}
}

.pagination {
	margin: 20px 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.pagination a {
	margin: 0 10px;
	padding: 8px 15px;
	background-color: var(--csys2);
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	box-sizing: border-box;
	white-space: nowrap;
}

.pagination a:hover {
	background-color: var(--csys3);
	color: var(--csys2);
	text-decoration: none;
}

.pagination span {
	margin: 0 10px;
	padding: 8px 15px;
	display: inline-block;
	box-sizing: border-box;
}

.slider-wrapper {
	width: 100%;
	max-width: 100vw;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	margin-bottom: 20px;
	margin-top: 0;
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--csys1);
	padding: 10px 0;
}

.slider-wrapper::-webkit-scrollbar {
	height: 8px;
}

.slider-wrapper::-webkit-scrollbar-track {
	background: var(--csys5);
	border-radius: 4px;
}

.slider-wrapper::-webkit-scrollbar-thumb {
	background: var(--csys8);
	border-radius: 4px;
}

.slider-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--csys7);
}

#items {
	position: relative;
	overflow: scroll;
	white-space: nowrap;
	font-size: 0;
	cursor: pointer;
	width: max-content;
	display: inline-block;
	min-width: 100%;
	
	&.active {
		cursor: grab;
	}
}

#item {
	display: inline-block;
	margin-left: 3px;
	user-select: none;
	cursor: pointer;
	width: calc(33.333% - 6px);
	min-width: calc(33.333% - 6px);
	max-width: calc(33.333% - 6px);
	box-sizing: border-box;
}
#item:last-child {
	margin-right: 20px;
}

@media screen and (max-width: 1060px) {
.forweb {display:none}
body {margin-top:65px}
.header .iosicon a,.header .iosicon label {
	font-size:21px;
	padding-right:30px;
	margin-right:10px;
	padding-left:18px;
	border-radius: 100px;
}
.details .iosicon a {margin:1px}
.details .iosicon #call-button,
.details .iosicon #call-button2,
.details .iosicon #share-button,
.details .iosicon label[onclick*="showPhoneNumber"],
.details .iosicon a[href*="wa.me"],
.details .iosicon #edit {
	padding-right: 30px !important;
	padding-left: 8px !important;
	font-size: 14px !important;
}
.details .iosicon #phone-link,
.details .iosicon #phone-link2 {
	padding: 2px 15px !important;
	font-size: 14px !important;
	text-align: center !important;
}
.details .iosicon #call-button,
.details .iosicon #call-button2,
.details .iosicon label[onclick*="showPhoneNumber"],
.details .iosicon a[href*="wa.me"],
.details .iosicon #edit {
	background-size: 18px !important;
	background-position: right 6px center !important;
}
.details .iosicon #share-button i {
	font-size: 12px !important;
	margin-left: 3px !important;
}
.footer *{font-size: 10px;}
.np {margin: 2px;padding: 1px;border-radius: 4px;font-size: 10px}
.np *{font-size: 10px}
.msize {width:100%; max-width: 100%; overflow-x: hidden; box-sizing: border-box;}
.top {
	position:fixed;
	top:0;
	z-index:10;
	box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2);
	width:100%;
	left: 0;
	right: 0;
}
.header #logo {
	height: 55px !important;
	width: 140px !important;
}
.container {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
table {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	table-layout: fixed;
}
td {
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}
.header span {display: none}
.header table {
	width: 100%;
}
.header td {
	vertical-align: middle;
}
.header td:first-child {
	width: auto;
	min-width: 0;
}
.header td:last-child {
	width: auto;
}
.slider-wrapper {
	height: 180px;
	scrollbar-width: none;
	margin: 0px;
	padding: 0px;
	-ms-overflow-style: none;
	z-index: 0;
}
.slider-wrapper::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
.media-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.media-item {
	width: calc((100% - 16px) / 3);
	min-width: calc((100% - 16px) / 3);
	max-width: calc((100% - 16px) / 3);
	height: auto;
	aspect-ratio: 1;
	border: 1px solid var(--csys7);
	border-radius: 5px;
	overflow: hidden;
	position: relative;
}
.media-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slider-wrapper .ads label {
	width: 165px !important;
	min-width: 165px;
	margin: 5px 2px;
	font-size:10px;
	flex-shrink: 0;
}
.slider-wrapper .ads img {
	width: 100% !important;
	max-width: 165px !important;
	height: auto !important;
	aspect-ratio: 260 / 200;
	object-fit: cover;
}
.ads label{
        width: calc(50% - 4px);
        margin: 5px 2px;
        font-size:10px;
}
.ads span {padding: 4px;}
.ads img {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 260 / 200;
	object-fit: cover;
	display: block;
}
.ads a {font-size:12px}
.cats a{
        border-radius: 4px;
        box-shadow: -1px 1px 1px 0px rgba(0, 0, 0, 0.1);
        width: calc(50% - 4px);
        max-width: 110px;
        padding: 2px;
        font-size:11px;
        margin: 0px 2px;
        line-height: 18px;
}
.cats a:hover {
        box-shadow: -1px 1px 1px 0px rgba(0, 0, 0, 0.3);
}
.hero-image {height: 140px;}
.details #title {font-size:18px}
.details #price {font-size:18px}
.details #icon {font-size:14px;padding:5px 40px 5px 20px;}
.details #edit {font-size:14px;padding:5px 40px 5px 20px;}
.bigcats a{
        width: calc(50% - 4px);
        max-width: 100px;
        font-size:12px;
        padding: 8px 5px;
        margin: 2px;
        border-radius: 100px;
		  line-height: 17px;
}
.bigcats a img {height: 30px; width: auto; max-width: 100%;}
.article {font-size: 14px}
.searchbar {padding:1px; width: 100%; max-width: 100%;}
.searchbar #q {width:100%; max-width:250px; padding:7px; box-sizing: border-box;}
.wrapper .ads label{width: calc(50% - 8px); margin: 4px; font-size:10px;}
.wrapper .ads span {padding: 3px;}
.wrapper .ads img {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 165 / 127;
	object-fit: cover;
}
.wrapper .ads a {font-size:12px}
input, textarea, select {font-size: 16px; max-width: 100%; box-sizing: border-box;}
}
@media screen and (min-width: 1061px) {
.formob {display:none}
.top {margin-bottom:4px}
.msize {width:1060px; max-width: 100%; overflow-x: hidden; box-sizing: border-box;}
.ads label {
	width: calc(25% - 8px) !important;
	margin: 5px 4px;
	font-size: 13px;
}
.ads img {
	max-width: 100%;
	height: auto;
	aspect-ratio: 260 / 200;
	object-fit: cover;
}
.slider-wrapper .ads label {
	width: calc(16.666% - 6px) !important;
	min-width: calc(16.666% - 6px) !important;
	max-width: calc(16.666% - 6px) !important;
	margin: 5px 3px;
}
.slider-wrapper .ads img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 260 / 200;
	object-fit: cover;
}
.header #logo {
	height: 80px !important;
	width: 221px !important;
	max-width: 221px !important;
	min-width: 221px !important;
}
.header table td:first-child {
	width: auto !important;
	min-width: 221px !important;
}
}

@media screen and (max-width: 768px) {
.ads label{
        width: calc(50% - 4px);
        margin: 5px 2px;
        font-size:10px;
}
.wrapper .ads label{width: calc(50% - 8px); margin: 4px; font-size:10px;}
.slider-wrapper .ads label {
	width: 140px !important;
	min-width: 140px;
	margin: 5px 2px;
}
.slider-wrapper .ads img {
	max-width: 140px !important;
}
.media-preview {
	gap: 8px;
}
.media-item {
	width: calc((100% - 16px) / 3);
	min-width: calc((100% - 16px) / 3);
	max-width: calc((100% - 16px) / 3);
}
.header .iosicon a,.header .iosicon label {
	font-size:18px;
	padding-right:25px;
	margin-right:8px;
	padding-left:15px;
}
}

@media screen and (max-width: 480px) {
.ads label{
        width: calc(50% - 4px);
        margin: 4px 2px;
        font-size:9px;
}
.wrapper .ads label{width: calc(50% - 8px); margin: 3px; font-size:9px;}
.slider-wrapper .ads label {
	width: 120px !important;
	min-width: 120px;
	margin: 4px 2px;
	font-size:9px;
}
.slider-wrapper .ads img {
	max-width: 120px !important;
}
.media-preview {
	gap: 6px;
}
.media-item {
	width: calc((100% - 12px) / 3);
	min-width: calc((100% - 12px) / 3);
	max-width: calc((100% - 12px) / 3);
}
.header .iosicon a,.header .iosicon label {
	font-size:14px;
	padding-right:15px;
	margin-right:3px;
	padding-left:10px;
	min-width: 0;
}
.header #logo {
	height: 55px;
	width: 140px;
}
.searchbar {width: 100%; max-width: 100%; padding: 2px; box-sizing: border-box;}
.searchbar #q {width: 100%; max-width:180px; padding:5px; font-size:14px; box-sizing: border-box;}
.bigcats a{
        width: calc(50% - 4px);
        max-width: 90px;
        font-size:11px;
        padding: 6px 4px;
        margin: 2px;
}
.cats a{
        width: calc(50% - 4px);
        max-width: 100px;
        font-size:10px;
}
.pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 10px;
}
.pagination a, .pagination span {
	width: 100%;
	max-width: 200px;
	text-align: center;
	box-sizing: border-box;
}
.header table td {
	padding: 2px;
}
.footer-content {
	padding: 15px 10px;
	font-size: 12px;
}
}

@media screen and (max-width: 360px) {
.header .iosicon a,.header .iosicon label {
	font-size: 12px;
	padding-right: 12px;
	padding-left: 8px;
	margin-right: 2px;
}
.header #logo {
	/* max-width: 60px; */
	height: auto;
}
.searchbar #q {
	max-width: 150px;
	padding: 4px;
	font-size: 12px;
}
.slider-wrapper .ads label {
	width: 100px !important;
	min-width: 100px;
	font-size: 8px;
}
 
.bigcats a {
	font-size: 10px;
	padding: 4px 2px;
}
}
