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: "Open Sans", tahoma, arial, sans-serif;
	background: #eff3f5;
}
.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;
}
a:hover{
	color: #000;
	text-decoration: none;
}
.dropdown-item{
	text-align: right;
}
.rtl{
	direction: rtl;
	text-align: right;
}
h1,h2,h3,h4,h5,h6{
	color: #555;
	text-shadow: 0 1px #FFF;
	font-weight: 600;
	color: #354168;
	font-family: 'Times New Roman', Times, serif;
}
h3{
	font-size: 1.2rem;	
}
h4{
	font-size: 1.13rem;
}
.tooltip-inner h3{
	color: #FFF;
	text-shadow: none;
	padding-top: 10px;
}
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;
}
.logo{
	display: block;
	height: 70px;
}
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;
}
#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-title{
	float: left;
}

.card{
	border-radius: 0px;
	border-color: #d5dcec;
}
.card .card-body {
    padding: 25px;
}

.badge.text-lg{
	font-size: 1em;
}

.bootbox-body{
	clear: both;
}
.pagetitle{
	margin-bottom: 10px;
}
.vspacer{
	padding-top: 10px;
	padding-bottom: 10px;
}
.bspacer{
	margin-bottom: 30px;
}
form .vspacer{
	padding-top: 3px;
	padding-bottom: 3px;
}
.btn-fixed{
	width: 150px;
}
.span-fixed{
	width: 110px;
}

.note{
	font: italic 12px verdana, tahoma, sans-serif;
	color: #606060;
}
.default{
	background: #F0F0F0;
}

.btn-block{
	text-transform: uppercase;
	font-size: 1.1em;
}
.restricted{
	width: 300px;
	margin: 10% auto;
	text-align: center;
	font-size: 2em;
}
.nav-link{
	font-size: .9em;
	padding: .5rem .5rem;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
	background: #0062cc;
	color: white;
}
.loginpage{
	margin: 0 auto;
	padding: 10px;
	width: calc(100%-20px);
	max-width: 450px;
	background: #FFF;
	border-radius: 5px;
}
.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;
}
.moreInfo{
	white-space: nowrap;
}
.tooltip-inner {
    max-width: 350px;
    width: 350px; 
}
.small{
	font-size:.8em;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 35px !important;
}
.select2-container .select2-selection--single{
	height: 35px;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple{
	border: 1px solid #ced4da !important;
}
.system{
	transition: all 1s ease;
}
.system span{
	display: inline-block;
	padding: 5px 0;
	font-size: 1.1em;
}

.stretch-card{
	display: flex;
	align-items: stretch;
}
.stretch-card .card{
	max-height: 550px;
	width: 100%;
	overflow: auto;

}

#accordion .card .card-header a{
	display: block;
	color: #857bff
}
#accordion .card .card-header a:before{
	top: 12px;
	color: #857bff;
	font-family: "Font Awesome 5 Free";
	position: absolute;
	right: 8px;
	font-size: 16px;
	display: block;
	font-weight: 900;
}

#accordion .card .card-header a[aria-expanded="false"]:before{
	content: "\f107";
}

#accordion .card .card-header a[aria-expanded="true"]:before{
	content: "\f106";
}
span.form-control{
	white-space:nowrap;
	overflow: hidden;
}

@keyframes submenuAnimation {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0); }
  to {
    opacity: 1;
    transform: none;
    transform: translate3d(0, 0px, 0); }
}
.submenu{
	animation-name: submenuAnimation;
	animation-duration: 0.25s;
	animation-fill-mode: both;
	display: none;
	position: relative;
	top: -100%;
	z-index: 999;
}
.nav-item{
	position: relative;
}
.nav-item:hover .submenu{
	display: block;
}
.submenu-item{
	position: absolute;
	width: calc(100% - 1px);
	left: 0;
	right: 0;
	top: 46px;
	z-index: 999;
}
.nav-item .submenu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu .nav-item .submenu ul li.nav-item{
	display: block;
	width: 100%;
	line-height: 20px;
}

.nav-item .submenu ul li a{
	width: 100%;
	display: block;
	padding: 5px 10px;
	font-weight: 600;
	color: #223C61;
	text-decoration: none;
	text-align: left;
	margin: 4px 0;
	max-width: 100%;
	white-space: nowrap;
	transition-duration: 0.2s;
	transition-property: background;
}

#editCar #accordion{
	max-height: 550px;
	overflow: auto;
}

#listExtras .rate{
	max-width: 35px;
	padding: 0 0 0 5px;
}

/* 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;
}

.mb0{
	margin-bottom: 0;
}

.carStatusHistory ul{
	font-size: 1rem;
}

.carStatusHistory ul li:first-child{
	background: #007bff;
	color: #FFF;
	font-weight: bold;
}

.carCommentsList{
	max-height: 500px;
	overflow-y: auto;
}

.carCommentsList li{
	transition: all 1s ease;
}

#editSoldCar .card-body{
	max-height: 550px;
	overflow-y: auto;
}

#paymentsTable th.name{
	min-width: 100px;
}

.bootbox-confirm .bootbox-body{
	direction: rtl;
	text-align: center;
	font-weight: bold;
}

.observ{
	height: 30px;
	overflow: hidden;
}

.observLarge{
	position: absolute;
	top:0;
	right: 0;
	min-width: 300px;
	min-height: 70px;
	z-index: 100;
}
@media screen and (max-width: 640px){
	#menu ul li a .fa{
		font-size:16px;
	}
	#menu ul li a .hidden-md-down{
		display: none;
	}
	.card{
		margin-bottom: 20px;
	}
	.bspacer{
		margin-bottom: 0;
	}
}
@media (min-width: 768px) {
	.nav-link{
		font-size: 1.2em;
		padding: .5rem 1rem;
	}
	.loginpage{
		margin-top: 60px;
		padding: 40px;
	}
}
@media (min-width: 992px){
	#menu .nav-item{
		text-align: center;
		width: 16.66%;
	}

	.mainnav{
		position: relative;
		top:0;
		left:0;
		right:0;
		width:100%;
		display: flex;
		transition-property: position, left, right, top, z-index;
	}
	.mainnav.menuFixed{
		position: fixed;
		z-index:999;
		top:0;
		left:0;
		right:0;
	}
	.mainnav.menuFixed #menu ul{
		background: #FFF;
		box-shadow: 0 8px 5px 0 rgba(0, 0, 0, 0.06);
	}
}