@keyframes loading_anim {
	0% {
		left: -40%;
	}
	100% {
		left: 100%;
	}
}

@font-face {
	font-family: vfont;
	src: url('../fonts/YekanBakhFaNum-VF.woff') format('woff-variations'),
	url('../fonts/YekanBakhFaNum-VF.woff2') format('woff2');
	font-weight: 100 950;
}

@font-face {
	font-family: font;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
	url('../fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}

@font-face {
	font-family: font;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
	url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
	font-family: font;
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
	url('../fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
	font-family: font;
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
	url('../fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
	font-family: font;
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
	url('../fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
}

:root {
	--light: 300;
	--regular: 500;
	--semibold: 700;
	--bold: 800;
	--black: 950;
}

body {
	margin: 0;
	direction: rtl;
	font-weight: 400;
	font-size: 9pt;
	letter-spacing: -0.2pt;
}

#page_container {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

#page_container::-webkit-scrollbar {
	display: none;
}

#page_container {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

input, select, textarea {
	font-size: 9pt;
}

* {
	font-family: font, tahoma, serif;
}

@supports (font-variation-settings: normal) {
	* {
		font-family: vfont, font, tahoma, serif;
		font-variation-settings: "DOTS" 0;
	}
}


#message {
	position: fixed;
	left: 0;
	top: -30px;
	width: 100%;
	height: 0;
	text-align: center;
	padding: 0 20px;
	box-sizing: border-box;
	line-height: 25px;
	z-index: +100;
	display: none;
}

#message > div {
	display: inline-block;
	vertical-align: middle;
	max-width: 600px;
	padding: 15px 20px;
	border-radius: 10px;
	position: relative;
	text-align: right;
	color: #fff;
	line-height: 25px;
	overflow: hidden;
}

#message.ok > div {
	background-color: #487e2b;
}

#message.cancel > div {
	background-color: #de454f;
}

#message_loading {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: rgba(0, 0, 0, 0.05);
}

#message_loading > div {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: rgba(0, 0, 0, 0.3);
}

#loading {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	z-index: +100;
	background-color: rgba(0, 0, 0, 0.1);
}

#loading > div {
	width: 40%;
	height: 3px;
	left: -40%;
	top: 0;
	background-color: #6ef724;
	position: fixed;
	z-index: +101;
	animation: loading_anim 2000ms linear infinite;
	-webkit-animation: loading_anim 2000ms linear infinite;
	-moz-animation: loading_anim 2000ms linear infinite;
}

.tbl {
	display: table;
}

.tbl > div {
	display: table-cell;
	vertical-align: middle;
}

a {
	text-decoration: none;
	color: #000;
}

img {
	vertical-align: middle;
}

.clr {
	clear: both;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.d-none {
	display: none !important;
}
