@font-face {
	font-family: Cairo;
	src: url(../fonts/Cairo/Cairo-Regular.ttf);
}
@font-face {
	font-family: Tajawal;
	src: url(../fonts/Tajawal/Tajawal-Regular.ttf);
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	/* background: #E8E8E8 url("../images/logo-bemorail.png") center center no-repeat; */
	font-size: 14px;
	color: #707070;
	font-family: "Tajawal", tahoma, arial, sans-serif;
	background: #eff3f5;
	direction: rtl;
	text-align: right;
}
.custom-control{
	display: inline-block;
}
table .form-control.observ{
	padding: 3px;
	height: 1.8em;
}
a{
	color: #222222;
	font-family:tahoma, sans-serif;
	font-size: 13px;
	text-decoration: none;
}
a:hover{
	color: #000;
	text-decoration: none;
}

.ltr{
	direction: ltr;
	text-align: left;
}
h1,h2,h3,h4,h5,h6{
	color: #555;
	text-shadow: 0 1px #FFF;
	font-weight: 600;
	/* color: #354168; */
	font-family: 'Cairo', serif;
	margin-bottom: 0;
}
h3{
	font-size: 1.2rem;	
}
h4{
	font-size: 1.13rem;
}
h2.alert{
	margin-bottom: 0;
}
label{
	font-size: 1em;
	font-weight: bold;
}
.tooltip-inner h3{
	color: #FFF;
	text-shadow: none;
	padding-top: 10px;
}
.btn-group, .input-group{
	direction: ltr;
	flex-direction: row-reverse;
}
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group > .input-group-append:last-child > .input-group-text:not(:last-child), .input-group > .input-group-append:not(:last-child) > .btn, .input-group > .input-group-append:not(:last-child) > .input-group-text, .input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child){
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-left: 0;
}
.input-group > .custom-select:first-child, .input-group > .form-control:first-child{
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
.input-group > .custom-select:last-child, .input-group > .form-control:last-child{
	border-top-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

.btn-group > .btn-group > .btn, .btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle){
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
.error input{
	border: 1px solid red;
	background-color: rgb(248, 90, 90);
	color: #FFF;
}
.btn-group > .btn-group:last-child > .btn, .btn-group > .btn:last-child{
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}
.btn-group > .btn-group:first-child > .btn, .btn-group > .btn:first-child{
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	border-left: 0;
}

header{
	background: #FFF;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
select, input{
	direction: rtl;
}
.logo{
	display: block;
	height: 70px;
	font-family: 'Cairo', serif;
	font-size: 20px;
	padding-top: 10px;
	text-align: left;
}
a.logo{
	color: #880054;
}
.logo img{
	max-width: 100%;
}
dl, ul, ol{
	font-size: 0.8rem;
}
.img-xs {
    width: 37px;
    height: 37px;
}
nav .logo img{
	max-width:100%;
}
.navtop{
	padding: 17px 0;
}
.navtop a{
	color: #111;
}
.user{
	display: inline-block;	
}
.navtop a.notifications{
	margin: 0 25px;
}
.navbar{
	padding: 0;
}

#menu ul{
	margin-bottom: 20px;
	background: #f9f9fc;
	width: 100%;
}
.navbar-toggler{
	color: #111;
}
.nav-link{
	font-size: 13px;
}
#menu a.nav-link{
	padding: 17px 10px;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	transition-duration: 0.2s;
}
#menu a.nav-link .icon{
	color: #464de4;
	margin-right: 4px;
}
#menu .nav-item.active a.nav-link .icon{
	color: #FFF;
}
#menu a.nav-link:hover{
	background: #f2f2f9;
}
#menu .nav-item.active > a.nav-link{
	background: linear-gradient(30deg, #464de4, #814eff);
	color: #fff;
}
#app{
    display: block;
    width: 100%;
	/* padding-top: 45px; */
    min-height: calc(100% - 140px);
}
#appContainer{
    display: block;
	padding: 20px 0;
}

th{
	font-weight: normal;
}
.modal-xxl{
	max-width: 1140px;
}
/* .modal-title{
	float: left;
} */
.modal-footer > :not(:last-child){
	margin-right: 0;
	margin-left: .25rem;
}
.card{
	border-radius: 0px;
	border-color: #d5dcec;
}
h1, h2{
	font-size: 20px;
	font-weight: 500;
}
.card .card-body {
	padding: 15px;
	overflow-x: auto;
}
.card .card-body h3{
	margin-bottom: 5px;
}
.card .dataTables_wrapper{
	margin-top: 10px;
}
.card .dataTables_length, .card .dataTables_filter{
	margin: 0 5px;
}
.card .dataTables_info, .card div.dataTables_wrapper div.dataTables_paginate{
	margin: 7px;
}
.badge.text-lg{
	font-size: 1em;
}

.bootbox-body{
	clear: both;
}
.pagetitle{
	margin-bottom: 10px;
}
.vspacer{
	padding-top: 7px;
	padding-bottom: 7px;
}
.bspacer{
	margin-bottom: 10px;
}
form .vspacer{
	padding-top: 3px;
	padding-bottom: 3px;
}
.btn{
	border-radius: 0 !important;
}
.btn-fixed{
	width: 150px;
}
.span-fixed{
	width: 110px;
}

.note{
	font: italic 12px verdana, tahoma, sans-serif;
	color: #707070;
}
.default{
	background: #F0F0F0;
}

.btn-block{
	text-transform: uppercase;
	font-size: 1.1em;
}
.restricted{
	width: 300px;
	margin: 10% auto;
	text-align: center;
	font-size: 2em;
}

.loginpage{
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.loginpage #form{
	background: #FFF;
	border-radius: 5px;
	padding: 20px;
	max-width: 450px;
	width: 100%;
	box-shadow: 0 0 3px #00000044;
	transform: translateY(-50px);
}
.loginpage .logo{
	text-align: center;
}
.loginpage .vspacer{
	padding: 10px 0;
}
.form-check-label{
	line-height: 1.5;
	padding-left: 25px;
}
.form-check-label input{
	position: absolute;
	/* margin-left: -20px; */
	margin-top: 4px\9;
	top: 0;
	left: 0;
	z-index: 1;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
	margin-top: 0;
}
.form-check-label input:checked + .input-helper:before {
    background-color: #fff;
}
.form-check-label input:checked + .input-helper:after {
    width: 18px;
    opacity: 1;
    line-height: 18px;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.form-check .form-check-label input:disabled + .input-helper:before {
    border: 2px solid #c3cde4;
}
.form-check .form-check-label input:disabled:checked + .input-helper:after {
    color: #d5dcec;
}
.form-check-label .input-helper:before {
    position: absolute;
    content: "";
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 2px;
    left: 15px;
    border: 2px solid #c3cde4;
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    transition-duration: 0s;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}
.form-check-label .input-helper:after {
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	transition-duration: 0s;
	-webkit-transition-duration: 250ms;
	transition-duration: 250ms;
	font-family: "Font Awesome 5 Free";
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
	content: '\f00c';
	position: absolute;
	/* font-size: 0.9375rem; */
	font-weight: bold;
	left: 15px;
	top: 2px;
	color: #857bff;
}

.tooltip-inner {
    max-width: 350px;
    width: 350px; 
}
.small{
	font-size:.8em;
}

/* Filesmanager styles */
.fm-container{
	padding: 5px;
	min-height: 50px;
}
.fmitem{
	border: 1px solid #F0F0F0;
	height: 105px;
	margin: 5px 0 0 5px;
	position: relative;
}
.fmitem .fm-icon{
	display: block;
	padding: 0;
	margin: 0;
	max-height: 100px;
	overflow: hidden;
}
.fmitem .fm-itemtools{
	padding: 3px;
}
.fmitem .fm-itemtools{
	position: absolute;
	top: 0px;
	right: 3px;
	display: none;
}
.fmitem:hover .fm-itemtools{
	display: block;
}
.fmitem:hover{
	background: #FEFEFE;
}
.fmitem .fm-icon img{
	width: 100%;
}
.fm-itemSelected{
	background: #F0F0F0;
}

.fm-icon .file{
	height: 58px;
	border: 1px solid #F0F0F0;
	background: #FFF;
	position: relative;
}
.fm-icon .file:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f016";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}
.fm-icon .file.txt:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f0f6";
	color: #000;
	top: 5px;
	left: 10px;
}
.fm-icon .file.zip:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f1c6";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}
.fm-icon .file.pdf:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f1c1";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}
.fm-icon .file.xls:before, .fm-icon .file.xlsx:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f1c3";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}
.fm-icon .file.doc:before, .fm-icon .file.docx:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f1c2";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}
.fm-icon .file.ppt:before, .fm-icon .file.pptx:before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 35px;
	content: "\f1c4";
	color: #000;
	top: 5px;
	left: 10px;
	color: red;
}

.statusbar{
	width: 100%;
	padding: 0 5px;
	background: #F0F0F0;
}

.custom-file-label{
	overflow: hidden;
}

div.dataTables_wrapper div.dataTables_filter{
	text-align: left;
}
div.dataTables_wrapper span.select-info{
	margin-right: 0.5em;
}
.page-item:first-child .page-link{
	border-top-right-radius: .25rem;
	border-bottom-right-radius: .25rem;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.page-item:last-child .page-link{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
}
/*
.bootbox.modal .close{
	float: left;
	margin: -1rem auto -3rem -1rem;
	padding: 1rem 1rem;
}*/
.dropdown-item{
	text-align: right;
}

.input-group > .custom-select, .input-group > .form-control.coursesList{
	width: 150px;
}
.list-group{
	padding-right: 0;
}
.courseItem{
	font-size: 1.3em;
}
.table.resultsList thead th{
	text-align: center;
	vertical-align: top;
	color: #707070;
}
table th.subject .name{
	display: block;
	text-align: center;
	transform: rotate(-90deg);
	font-size: 0.9em;
	min-height: 30px;
}
.table.resultsList tbody td{
	text-align: center;
}
table.result.footer{
	width: 80% !important;
	margin: 0 auto;
}
table.result td.description{
	text-align: left;
}
table.result td.checkbox{
	border:1px solid #000 !important;
	border-radius: 3px;
	width: 30px;
}
@media (min-width: 576px) {}

@media (min-width: 768px) {
    .logo{
		padding-top: 5px;
		font-size: 30px;
	}
}

@media (min-width: 992px) {
    
}

@media (min-width: 1200px) {

}
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected{
	background: #F0F0F0;
	color:#000;
}

.select2-container{
	z-index: 9999;
}
.month_payment{
	color: #FFF;
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #2196F3;
	border-radius: 50%;
	text-align: center;
}
@media print {
	header, .no-print{
		display: none;
		width: 0;
		height: 0;
		opacity: 0;
	}
	.card-body{
		border: 0px !important;
		border-color: transparent !important;
	}
}