@font-face {
  font-family: barcodes;
  src: url("Fonts/free3of9.ttf")format("truetype");
}
@font-face {
  font-family: pinar;
  src: url("Fonts/Pinar.woff2")format("woff2");
}
@font-face {
    font-family: 'Iranian Sans';
    src:url('Fonts/YekanWeb-Regular.woff') format('woff'); 
    font-weight:normal;
    font-style:normal;
}
@font-face{
    font-family:'IRANSansLightPersian';
    font-style:normal;
    font-weight:normal;
    src:url('Fonts/sansLight.ttf?1f20916062d2a26389128449c4823825') format("truetype")
}
@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 100;
    src: url(Fonts/jw/YekanBakhFaNum-Thin.0e2899a5.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-Thin.ef8fd7b9.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 300;
    src: url(Fonts/jw/YekanBakhFaNum-Light.ab09bc65.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-Light.0cd12378.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 400;
    src: url(Fonts/jw/YekanBakhFaNum-Regular.cf2a9512.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-Regular.a52ed951.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 600;
    src: url(Fonts/jw/YekanBakhFaNum-SemiBold.231e26fb.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-SemiBold.54f096a7.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 700;
    src: url(Fonts/jw/YekanBakhFaNum-Bold.93006216.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-Bold.9c90097f.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 800;
    src: url(Fonts/jw/YekanBakhFaNum-ExtraBold.bd1a95d1.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-ExtraBold.62047917.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 900;
    src: url(Fonts/jw/YekanBakhFaNum-Black.6aa8e6a9.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-Black.69082471.woff2) format("woff2")
}

@font-face {
    font-family: Yekan;
    font-style: normal;
    font-weight: 950;
    src: url(Fonts/jw/YekanBakhFaNum-ExtraBlack.5ed826f1.woff) format("woff") , url(Fonts/jw/YekanBakhFaNum-ExtraBlack.3797b5fb.woff2) format("woff2")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 100;
    src: url(Fonts/jw/Poppins-Thin.605324f7.ttf) format("truetype")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 300;
    src: url(Fonts/jw/Poppins-Light.8b20023e.ttf) format("truetype")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 400;
    src: url(Fonts/jw/Poppins-Regular.4b4ebe20.ttf) format("truetype")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 500;
    src: url(Fonts/jw/Poppins-Medium.a52d0bf0.ttf) format("truetype")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 600;
    src: url(Fonts/jw/Poppins-SemiBold.98512bf8.ttf) format("truetype")
}

@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 700;
    src: url(Fonts/jw/Poppins-Bold.8001a01b.ttf) format("truetype")
}
body {
	direction: rtl;
	font-family: Yekan !important;
	padding-top:25px;
	padding-bottom:50px;

}
.round{border-radius:var(--border-radius)}
.round-mini{border-radius:10px}
.animate{
		transition: all 0.5s ease;
}
.btn:focus {
    outline: none;
    outline-style: none;
    box-shadow: none;
}
.btn-base{
	color: var(--text-color);
    background-color: var(--btn-color);
    border-color: var(--btn-color);
}
.btn-base:hover{
	color: var(--text-color);
    background-color: var(--btn-color-darker);
    border-color: var(--btn-color-darker);
}
.form-control:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.alef-fields {
    height:55px;
    width:100%;
    float:right;
    margin-top: .5rem !important;
}
.alef-fields input,select,textarea{
    float:right;
    display: block;
    width: 100%;
    height: 55px;
    padding: 20px 10px 10px 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #fff;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-radius:15px;
    position:abolute;
    z-index:0;
}
.alef-fields-label{
    position:absolute;
    float:right;
    height:25px;
    color:#ced4da;
    font-size:9pt;
    padding:7px 15px 0px 0px;
    z-index:1;
}
.alef-fields input:focus{
    outline: 1px solid #007aff;
    border: 1px solid #007aff;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.alef-fields select:focus{
    outline: 1px solid #007aff;
    border: 1px solid #007aff;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.alef-fields textarea:focus{
    outline: 1px solid #007aff;
    border: 1px solid #007aff;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.alef-fields input:focus + .alef-fields-label{
    color:#007aff;
}
.alef-fields select:focus + .alef-fields-label{
    color:#007aff;
}
.alef-fields textara:focus + .alef-fields-label{
    color:#007aff;
}

.top {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100px;
	background-color: var(--head-color);
	-webkit-backdrop-filter: blur(0.3em);
    backdrop-filter: blur(0.3em);
	color:white;
	z-index: 999;
	border-bottom:1px solid #ededed;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0px;
  background-color: var(--box-bg);
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius:8px;
  border-top-right-radius:0px;
}
.dropdown-content a {
  color: black;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  font-size:10pt;
  width:100%;
  text-align:right;
}
.dropdown-content a:hover {background-color: #eee;  border-radius:8px;}
.dropdown:hover .dropdown-content {display: flex !important;}
.dropdown:hover .dropbtn {background-color: var(--box-bg);border-bottom-left-radius:0px;border-bottom-right-radius:0px;}
.minitop {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 60px;
	background-color: var(--head-color);
	-webkit-backdrop-filter: blur(0.3em);
    backdrop-filter: blur(0.3em);
	color:white;
	z-index: 999;
	border-bottom:1px solid #ededed;
}
.mobile-tabs {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    will-change: transform;
    height: 60px;
    box-shadow: 5px 2px 30px rgba(0, 0, 0, .17);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(0.3em);
    backdrop-filter: blur(0.3em);
    padding: 5px 10px;
}
.alertbox	{
	will-change: transform;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .17);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 1);
    padding: 5px 10px;
	margin:2px;
	display:inline-block;
	padding:0px;
	overflow:hidden;
	text-decoration:none;
	color:black;
}
.box {
    will-change: transform;
    height: 260px;
	width:160px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .17);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 1);
    padding: 5px 10px;
	margin:2px;
	display:inline-block;
	padding:0px;
	overflow:hidden;
	text-decoration:none;
	color:black;
}
.box:hover{
	text-decoration:none;
	color:black;
}
.box:hover b{
	text-decoration:none;
	color:var(--base-color);
}
.box img{
	width:150px;
	height:150px;
	margin-top:5px;
}
.grad{position:absolute;width:100%;height:50px;margin-top:-50px;background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);}
.box p{
	color:#ffb10b;
}
.box .title{
	width:100%;
	height:45px;
	padding:5px;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
	font-size:10pt;
}
.box .price{
	margin-top:10px;
	color:var(--price);
	float: right;
    margin-right: 10px;
}
.off{
	background:var(--box-bg);
	color:white;
	padding:5px;
}
.offbox {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	border-radius:var(--border-radius);
	height:315px;
	width:100%;
	overflow-y:hidden;
	white-space: nowrap;
	padding:15px;
	padding-left:20px;
}
.offbox::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
.new{
	padding:5px;
}

.newbox {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	border-radius:var(--border-radius);
	height:300px;
	width:100%;
	overflow-y:hidden;
	white-space: nowrap;
	padding:15px;
	padding-left:20px;
	background:var(--box-bg);
}
.ads {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	border-radius:var(--border-radius);
	width:100%;
	overflow-y:hidden;
	white-space: nowrap;
	padding:15px;
	padding-left:20px;
}
.ads img{
	width:100%;height:auto;border-radius:var(--border-radius);overflow:hidden;
}
.newbox::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
.fullbox	{
	min-width:100%;
	margin:0px;
	height: 100%;
	border-radius:0px;
	padding:0px;
	background:white;
	border:0px;
}
.offtitle{
	width:30px;
	height:25px;
	padding:5px;
	margin-top:10px;
	margin-right:5px;
	font-weight:bold;
	font-size:9pt;
	position:absolute;
	background:#dc3545!important;/*rgba(217, 4, 41, 0.6);*/
	color:white;
	border-radius:250px;
	border-bottom-left-radius:0px;
    z-index:3;
}
img{opacity:1;transition:opacity 0.2s linear;}
.hideimg{opacity:0;}

.category	{
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	overflow-y:hidden;
	white-space: nowrap;
}
.category .catbox{
	font-size:9pt;
	color:#000;
	display:inline-block;
	width:100px;
	height:120px;
	margin:5px;
	text-decoration:none;
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.category .catbox:hover{
	color:#000;
	text-decoration:none;
}
.category .catbox div{
	width:100px;
	height:100px;
	background-color:var(--box-bg);
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.mobile-tabs-items {
	font-size:9pt;
	float:right;
	width:25%;
	height:55px;
	text-align:center;
	color:#54595F;
	transition: all 0.5s ease;
	cursor:pointer;
	text-decoration:none;
}
.mobile-tabs-items:hover {
	text-decoration:none;
	color:#54595F;
}
.tabs-icon {
	font-size:15pt;
	margin-top:5px;
}
.tabs-selected	{
	color:var(--btn-color);
}
.tabs-selected:hover	{
	color:var(--btn-color);
}
.swiper {
	  margin-top:16px;
      height:400px;
    }

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide div {
  width: 100%;
  height: 100%;
  background-repeat:no-repeat;
  background-size:auto 100%;
  background-position:center center;
}
.toman	{
	font-size:8pt;
}
.btn-custom {
    color: #fff;
    background-color: rgba(217, 4, 41, 1);
    border-color: rgba(217, 4, 41, 1);
	width:170px;
	border-radius:var(--border-radius);
}
/* side bar */

.sidebar {
	width: 300px; height: 100vh; position: fixed; top: 0; right: -305px; z-index: 999; 
	background:#fff; color: #fff; transition: all .3s; box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
	text-align: right;
}

.sidebar.active { right: 0; }

.dismiss {
	width: 35px; height: 35px; position: absolute; top: 10px; left: 10px; transition: all .3s; 
	border-radius: 450px; text-align: center; line-height: 35px; cursor: pointer;
}


.overlay {
	display: none; position: fixed; width: 100vw; height: 100vh; 
	background: rgba(51, 51, 51, 0.8); z-index: 998; opacity: 0; transition: all .5s ease-in-out;
}

.overlay.active { display: block; opacity: 1;}
.footerlink{color:black;text-decoration:none;}
.footerlink:hover{color:va(--base-color);text-decoration:none;}

.infobox{
    box-sizing: border-box;
    border: 5px solid white;
    font-size:10pt;
    background:var(--box-bg);
    padding:10px;
}
.infobox span{
    float:right;
    font-size:30px;
    margin:5px;
    color:var(--base-color)
}
.infobox h6{
    font-weight:bold;
    font-size:10pt;
}
.infobox h5{
    width:60%;
    height:15px;
    font-size:9pt;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
    .sbox {
    will-change: transform;
    min-height: 60px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .17);
    border-radius: 15px;
    padding: 5px 10px;
    margin: 2px;
    padding: 0px;
    overflow: hidden;
    color: black;
}
.sbox img {
    float:right;
    width: 50px;
    height: 50px;
    margin-top: 5px;
    border-radius: 15px;
}
.sbox .stitle {
    float:right;
    width: 200px;
    height:20px;
    padding: 5px;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9pt;
    text-decoration:none;
}
.sbox .prices {
    width: 100px;
    height:20px;
    margin-top: 5px;
    color: var(--price);
    float: right;
    margin-right: 10px;
    font-size:10pt;
}
.sbox .dtl {
    width: 100px;
    height:20px;
    margin-top: 5px;
    color: #888;
    float: right;
    margin-right: 10px;
    font-size:10pt;
}
    .spbox{float:right;height:100px;color:black;}
    .spbox .sptitle{float:right;width:100%;padding-right:75px;height:20px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-size: 10pt;text-align:right;margin-top:10px;}
    .spbox .spicon{float:right;width:10%;color:red;margin-top:10px;font-size:15pt;text-align:left;}
    .spbox .spprice{float:left;width:70%;margin-left:5%;text-align:left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
    .spbox img{float:right;width:75px;border-radius:8px;}
    .rotimg1{z-index:2;position:absolute;right:0px;float:right;transform: rotate(7deg);box-shadow: 2px 2px 5px rgba(0, 0, 0, .17);transition: all 0.1s ease-in;}
    .spbox:hover .rotimg1{width:79px;transform: rotate(10deg);margin-top:-2px;margin-right:-2px;}
    .rotimg2{z-index:0;position:absolute;right:0px;float:right;transform: rotate(-2deg);box-shadow: 2px 2px 5px rgba(0, 0, 0, .17);}


.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}


.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.swslider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.swslider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .swslider {
  background-color: #2196F3;
}

input:focus + .swslider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .swslider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.swslider.roundsw {
  border-radius: 34px;
}

.swslider.roundsw:before {
  border-radius: 50%;
}