@import url(face.css);
@import url(select2.min.css);
@import url(persianDatepicker-default.css);
@import url(sweetalert2.min.css);
@import url(persian-datepicker.min.css);
@import url(bootstrap.rtl.min.css);
@import url(bootstrap.rtl.min.css.map);
:root {
	--body-bg:#f3f6f9;
	--w-side:150px;
	--pr-color:#74457b;
	--pr-color-sm:#00C9BE;
	--pr-color-light:#eecde2;
}
*:focus{
	outline:none !important;
}
body{
	font-family: 'IRANSans';
	background-color: var(--body-bg);
}
#sidebar{
	background: #fff;
	box-shadow: 0 0 40px #0000001c;
    position: fixed;
    width: var(--w-side);
	overflow: auto;
    right: 0;
    top: 15px;
    bottom: 15px;
	display: flex;
	align-items: center;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	justify-content: space-between;
	flex-direction: column;
	z-index: 4;
}
#logo{
	color: #292D32;
	font-size: 17px;
	text-align: center;
	padding-top: 30px;
	padding-bottom: 10px;
	width: 100%;
}
#logo .icon svg{
	color: var(--pr-color);
	width: 90px;
}
#logo span{
	text-transform: uppercase;
	font-size: 10pt;
	font-weight: 500;
}
#navbar ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#navbar ul li a {
	margin: 5px 0;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	color: #292D32;
	padding: 15px;
	word-spacing: -1px;
	border-radius: 10px;
	transition: 0.2s;
}
#navbar ul li a:hover , #navbar ul li a.active{
	background-color: var(--pr-color);
	color: white;
	transition: 0.2s;
}
#navbar ul li a .icon{
	margin-bottom: 5px;
}
#navbar ul li a .icon svg{
	width: 26px;
	height: 26px;
}
#navbar ul li a .caption{
	font-size: 10.5pt;
}
.sidebar-bottom{
	width: 100%;
	text-align: center;
	color: #292D32;
	padding-top: 10px;
	padding-bottom: 25px;
	font-size: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.sidebar-bottom svg{
	margin-bottom: 3px;
}
.sidebar-bottom a{
	background-color: var(--pr-color-light);
	color: var(--pr-color);
	text-decoration: none;
	display: block;
	border-radius: 10px;
	padding: 15px;
	transition: 0.2s;
	font-weight: 500;	
}
.sidebar-bottom a:hover{
	background-color: var(--pr-color);
	color: white;
	transition: 0.2s;
}
#main{
	padding: 30px;
	position: relative;
	padding-right: calc(var(--w-side) + 30px);
}
#main::before{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 300px;
	z-index: -1;
	content: "";
	background-color: var(--pr-color);
}
.content{
	background-color: white;
	padding: 0;
	border-radius: 15px;
	min-height: calc(100vh - 170px);
	box-shadow: 0px 0px 20px rgba(94, 98, 120, 0.04);
}
.content-title{
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #dee2e6;
	box-shadow: 0 0 20px #0000001c;
	padding: 20px;
}
.content-text{
	padding: 20px;
}
.content-title button , .content-title a{
	color: var(--pr-color);
	font-weight: 500;
	background-color: var(--pr-color-light);
	border: 0;
	border-radius: 5px;
	text-decoration: none;
	display: block;
	padding: 10px 15px;
	font-size: 14px;
	word-spacing: -2px;
	transition: 0.2s;
}
.content-title button:hover , .content-title a:hover{
	background-color: var(--pr-color);
	color: white;
	transition: 0.2s;
}
.content-title button svg , .content-title a svg{
	margin-right: 5px;
}
.content-title h2{
	word-spacing: -2px;
	font-size: 17px;
	margin: 10px 0;
}
.form-label{
	color: #424242;
    font-size: 14px;
    word-spacing: -1px;
	margin-bottom: 10px;
}
#topbar{
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
}
.page-title ul{
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	color: #FFF;
	font-size: 13px;
	margin-top: 10px;
	word-spacing: normal;
}
.page-title ul li a{
	color: #d3d3d3;
	text-decoration: none;
}
.page-title ul li a::after{
	content: "/";
	margin: 0 10px;
}
#topbar .page-title h2{
	color: white;
	word-spacing: -4px;
	font-size:  20px;
	margin-bottom: 5px;
}
#topbar .page-title p{
	margin-bottom: 0;
	font-size: 9pt;
	color: #d3d3d3;
}
.topbar-user{
	color: white;
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
}
.user-login b{
	display: block;
	word-spacing: -2px;
	margin-bottom: 0px;
	font-weight: 500;
	font-size: 18px;
}
.user-login b i{
	font-style: normal;
	font-weight:300;
	color: #d3d3d3;
}
.user-login span{
	display: block;
	margin-bottom: 0;
    font-size: 11pt;
    color: #d3d3d3;
}
.btn-topbar{
	background-color: #623569;
	cursor: pointer;
	padding: 10px;
	margin-right: 10px;
	border-radius: 5px;
	transition: 0.3s;
	font-size: 15px;
}
.btn-topbar:hover{
	transition: 0.3s;
	color: var(--pr-color);
	background-color: var(--pr-color-light);
}
.topbar-btn-area{
	display: flex;
	align-items: center;
	flex-direction: row;
}
.table>:not(caption)>*>*{
	padding: 15px;
	font-size: 15px;
}
.table-btn{
	display: flex;
}
.table-btn button , .table-btn a{
	margin: 0 2px;
}
.nowrap{
	white-space: nowrap;
}
.btn{
	font-size: 14px;
}
.btn-lg{
	padding: 15px 30px;
}
.btn-sm{
	font-size: 13px;
}
.form-control , .form-select{
	width: 100%;
    display: block;
    padding: 15px;
    background-color: #f3f6f9;
    direction: rtl;
    border-radius: 10px;
    font-size: 15px;
    word-spacing: -1px;
    border: 1px solid #f4f4f4;
}
.form-control:focus , .form-select:focus , .select2-container--open .select2-selection{
    border-color: #74457b !important;
    box-shadow: 0 0 0 0.25rem rgb(116 69 123 / 16%);
	background-color: #FFF !important;
}
.modal-title{word-spacing: -2px;}
hr{
	opacity: 0.1;
}
.select2 {
	width: 100%;
	display: block;
}
.select2-container .select2-selection--single{
	padding: 12px;
}
.select2-container .select2-selection{
	height: auto !important;
	background-color: #f3f6f9;
    direction: rtl;
    border-radius: 10px;
    font-size: 15px;
    word-spacing: -1px;
    border: 1px solid #f4f4f4;
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
	border: 1px solid #f4f4f4;
}
.select2-container .select2-selection--multiple{
	min-height: 54px;
}
.select2-container .select2-search--inline .select2-search__field{
	height: 42px !important;
	font-family: 'IRANSans';
	line-height: 42px;
	margin-right: 10px;
	font-size: 15px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
	padding: 8px;
	padding-left: 20px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
	bottom: 0	;
}
.select2-dropdown{
	border-color:#dee2e6;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 52px;
    width: 40px;
}
.select2-container .select2-selection--single:focus{
	border: 1px solid #f4f4f4;
}
.select2.is-invalid .select2-selection{
	border-color: var(--bs-danger) !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat ;
    background-position: left calc(0.375em + 0.1875rem) center ;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) ;
}
.virgul:last-child{
    display: none;
}
.inputfile input[type=file]{
	display: none;
}
.inputfile > button{
	width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	background-color: #e8f4e8;
	border: 1px dashed green;
	border-radius: 15px;
	padding: 15px;
	min-height: 100px;
	font-size: 14px;
	transition: 0.2s;
	word-spacing: -2px;
}
.inputfile > button:hover{
	background-color: #c3eec3;
	transition: 0.2s;
}
.inputfile > button b{
	margin-top: 20px;
	margin-bottom: 5px;
}
.inputfile > button img{
	max-width: 100%;
	max-height:400px;
	border-radius: 5px;
	object-fit: cover;
	margin-top: 30px;
}
.inputfile > button.inValid{
	background-color: #ffe5e5;
	border-color: red;
}
.date-type button{
	background-color: var(--pr-color-light);
	color: var(--pr-color);
	padding: 15px;
	font-weight: 500;
	font-size: 14px;
	width: 100%;
	border-radius: 5px;
	border: 0;
	transition: 0.2s;
}
.date-type button:first-child{
	margin-left: 5px;
}
.date-type button:last-child{
	margin-right: 5px;
}
.date-type button:hover , .date-type button.active{
	background-color: var(--pr-color);
	color: white;
	transition: 0.2s;
}
#date_end_selector{
	display:none;
}
#date_end_selector.show{
	display:block !important;
}
@media only screen and (max-width: 992px) {
	#sidebar{
		width: auto;
		bottom: 0;
		left: 0;
		bottom: 0;
		top: unset;
		border-left: 0;
		border-bottom-left-radius: 0;
		border-top-right-radius: 15px;
		border-top: 1px solid #eee;
	}
	#logo{
		display: none;
	}
	#main{
		padding: 15px;
		padding-bottom: 90px;
	}
	.content-title{
		padding: 15px;
	}
	.content-title h2{
		font-size: 15px;
		margin-right: 5px;
	}
	.content-text{
		min-height: 500px;
	}
	#navbar{
		width: 100%;
	}
	.btn-topbar svg{
		width:22px;
		height:22px;
	}
	#navbar ul{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-evenly;
	}
	#navbar ul li a{
		margin: 0;
		border-radius: 0;
	}
	#navbar ul li a .caption{
		font-size: 11px;
	}
	.page-title{display: none;}
	.sidebar-bottom{
		display: none;
	}
	#topbar{
		margin-top:5px;
		margin-bottom: 20px;
	}
	.user-login{
		padding: 0;
		margin:0;
		border:0;
	}
	.user-login b{
		font-size: 15px;
	}
	.user-login b i{
		display: inline-block;
		font-style: normal;
		font-weight: 100;
		margin-left: 2px;
		color: #d3d3d3;
	}
	.user-login span{
		font-size: 10pt;
	}
}