div.clear{
	clear: both;
}

body{
	min-width: 1000px;
}

header{
	position: fixed;
	width: 100%;
	background-color: var(--theme-color);
	color: white;
	z-index: 10;
	padding: 15px;
	height: 80px;
	box-sizing: border-box;
	min-width: 1000px;
}

header a.logo{
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	margin-right: 18px;
	min-width: 163px;
}

header a.logo img{
	height: 50px;
}

header div.title{
	display: inline-block;
	font-family: var(--theme-font);
	font-size: 18px;
	color: white;
	text-transform: uppercase;
	border-left: 1px solid #fff;
	vertical-align: middle;
	line-height: 2.8em;
	padding-left: 20px;
}

div.divUserMenu{
	position: absolute;
	top: 17px;
	right: 15px;
	font-family: var(--theme-font);
}

div.divUserMenu a.aUserMenu{
	display: block;
	font-size: 14px;
	border: 1px solid white;
	padding: 15px 35px 15px 45px;
	background-image: url(/modules/admin/images/header/profile.png), url(/modules/admin/images/layout/arrow_down.png);
	background-repeat: no-repeat;
	background-size: 25px, 12px;
	background-position: left 10px center, right 10px center;
	border-radius: 5px 5px 0px 0px;
}

div.divUserMenu:hover a.aUserMenu{
	border-color: white;
	background-color: var(--theme-hover-color);
}

div.divUserMenu ul{
	display: none;
	position: relative;
	border: 1px solid #ccc;
	border-top: 0px;
	border-radius: 0px 0px 5px 5px;
	overflow: hidden;
}

div.divUserMenu ul li{
	border-top: 1px solid #eee;
}

div.divUserMenu ul li:first-child{
	border-top: 0px;
}

div.divUserMenu ul li a{
	display: block;
	padding: 15px;
	text-decoration: none;
	color: #333;
	background-color: white;
	font-weight: bold;
}

div.divUserMenu ul li a:hover{
	background-color: #eee;
}

div.divUserMenu:hover ul{
	display: block;
}










nav.main{
	position: fixed;
	top: 80px;
	width: 200px;
	background-color: #444;
	z-index: 5;
	height: 100%;
	overflow: auto;
	font-family: var(--theme-font);
}

nav.main li{
	position: relative;
	border-top: 1px solid #444;
}

nav.main li:hover > a{
	background-color: var(--theme-color);
}

nav.main li li:hover > a{
	background-color: #666;
}

nav.main li li li:hover > a{
	background-color: #565656;
}

nav.main li a{
	display: block;
	color: white;
	padding: 14px 18px 14px 41px;
	text-decoration: none;
	background-color: #555;
	line-height: 1.2em;
}

nav.main li a.active{
	border-left: 2px solid var(--theme-color);
	padding-left: 39px;
}

nav.main li.liSub > a{
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 35px;
	background-image: url(/modules/admin/images/layout/arrow_down.png);
	background-size: 10px;
}

nav.main li.liSub > a.open{
	background-image: url(/modules/admin/images/layout/arrow_up.png);
}

nav.main li ul{
	display: none;
}

nav.main li ul li{
	border-top: 1px solid #555;
}

nav.main li ul li a{
	background-color: #444;
}

nav.main li ul li ul li{
	border-top: 1px solid #444;
}

nav.main li ul li ul li a{
	background-color: #333;
	padding-top: 11px;
	padding-bottom: 11px;
}

nav.main > ul > li:last-child > ul > li:last-child{
	border-bottom: 1px solid #555;
}

nav.main > ul > li > a{
	font-weight: bold;
}

nav.main > ul > li > a:before{
	display: block;
	position: absolute;
	content: '';
	height: 18px;
	width: 18px;
	background-repeat: no-repeat;
	background-size: cover;
	top: 11px;
	left: 14px;
}

nav.main a.dashboard:before{
	background-image: url(/modules/admin/images/navbar/icons/dashboard.png);
}

nav.main a.contacts:before{
	background-image: url(/modules/admin/images/navbar/icons/contacts.png);
}

nav.main a.orders:before{
	background-image: url(/modules/admin/images/navbar/icons/orders.png);
}

nav.main a.workload:before{
	background-image: url(/modules/admin/images/navbar/icons/workload.png);
}

nav.main a.suppliers:before{
	background-image: url(/modules/admin/images/navbar/icons/suppliers.png);
}

nav.main a.purchaseorders:before{
	background-image: url(/modules/admin/images/navbar/icons/purchaseorders.png);
}

nav.main a.users:before{
	background-image: url(/modules/admin/images/navbar/icons/users.png);
}

nav.main a.tasks:before{
	background-image: url(/modules/admin/images/navbar/icons/tasks.png);
}

nav.main a.events:before{
	background-image: url(/modules/admin/images/navbar/icons/events.png);
}

nav.main a.reports:before{
	background-image: url(/modules/admin/images/navbar/icons/reports.png);
}

nav.main a.routines:before{
	background-image: url(/modules/admin/images/navbar/icons/routines.png);
}

nav.main a.admin:before{
	background-image: url(/modules/admin/images/navbar/icons/admin.png);
}

nav.main a.website:before{
	background-image: url(/modules/admin/images/navbar/icons/website.png);
}

nav.main a.root:before{
	background-image: url(/modules/admin/images/navbar/icons/root.png);
}

nav.main a.mail:before{
	background-image: url(/modules/admin/images/navbar/icons/mail.png);
}

nav.main a.files:before{
	background-image: url(/modules/admin/images/navbar/icons/files.png);
}

nav.main a.invoices:before{
	background-image: url(/modules/admin/images/navbar/icons/invoices.png);
}

nav.main a.deliveries:before{
	background-image: url(/modules/admin/images/navbar/icons/deliveries.png);
}

nav.main a.jobs:before{
	background-image: url(/modules/admin/images/navbar/icons/jobs.png);
}

nav.main a.awards:before{
	background-image: url(/modules/admin/images/navbar/icons/awards.png);
}

nav.main a.buysell:before{
	background-image: url(/modules/admin/images/navbar/icons/buysell.png);
}

nav.main a.nsrncm:before{
	background-image: url(/modules/admin/images/navbar/icons/nsrncm.png);
}
nav.main a.parts:before{
	background-image: url(/modules/admin/images/navbar/icons/parts.png);
}





main{
	position: relative;
	background-color: white;
	padding: 80px 0px 32px;
	margin-left: 200px;
}

main div.divContent{
	position: relative;
	padding: 25px;
}

footer{
	position: fixed;
	width: 100%;
	bottom: 0px;
	background-color: var(--theme-color);
	color: white;
	text-align: center;
	padding: 11px;
	box-sizing: border-box;
	z-index: 5;
	min-width: 1000px;
	font-family: var(--theme-font);
}

footer .left{
	float: left;
}

footer .right{
	float: right;
}

footer strong{
	font-weight: 600;
}

ul.ulBreadcrumb{
	background-color: #eee;
	padding: 12px;
	font-family: var(--theme-font);
	font-size: 13px;
	color: #888;
}

ul.ulBreadcrumb li{
	display: inline-block;
}

ul.ulBreadcrumb li:not(:last-child):after{
	content: '/';
	display: inline-block;
	padding: 0px 5px;
}

ul.ulBreadcrumb li a{
	color: black;
	text-decoration: none;
}

ul.ulBreadcrumb li a:hover{
	text-decoration: underline;
}

ul.ulBreadcrumb li a:not([href]){
	cursor: default;
}


















div.divLoginError{
	font-weight: normal;
	color: red;
	margin-top: 15px;
	font-size: 14px;
}



a.docs_toggle{
	display: block;
	width: 25px;
	height: 25px;
	background-image: url(/modules/admin/images/layout/help.png);
	background-size: cover;
	position: absolute;
	top: 86px;
	right: 10px;
	opacity: 0.4;
	z-index: 2;
}

a.docs_toggle:hover{
	opacity: 0.5;
}

a.docs_toggle.active{
	opacity: 0.8;
}

a.docs_toggle.active:hover{
	opacity: 0.9;
}

div.docs_container{
	display: none;
	background-color: #aaa;
	padding: 25px;
}

div.docs_container div.inner{
	background-color: white;
	border: 1px solid #ccc;
	padding: 20px;
}

div.docs_container div.inner div.content{
	max-height: 400px;
	overflow: auto;
	overflow-x: hidden;
}

div.docs_container div.inner div.content :first-child,
div.docs_container div.inner div.content span + *{
	margin-top: 0px;
}

div.docs_container input[type=submit]{
	margin-top: 20px;
}





















body.bodyLoginPage,
body.bodyLoginPage main{
	background-color: #ccc;
}

body.bodyLoginPage main{
	margin-left: 0px;
}

@media (max-width: 1000px) {
	body.bodyLoginPage main{
		float: none;
		width: 100%;
	}
}

div.divLoginContainer{
	background-color: white;
	padding: 30px;
	width: 350px;
	margin: auto;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	font-family: var(--theme-font);
}

div.divLoginContainer h1{
	margin-bottom: 10px;
}

div.divLoginContainer input:not([type=checkbox]){
	width: 100%;
	margin-top: 15px;
	padding: 10px;
}

div.divLoginContainer input[type=submit]{
	text-transform: uppercase;
}

div.divLoginContainer a{
	 text-decoration: none;
	 color: #4158A6;
}

div.divLoginContainer a:hover{
	text-decoration: underline;
}

div.divLoginContainer div.links{
	margin-top: 12px;
}

div.divLoginContainer div.links span{
	display: inline-block;
	margin: 0px 7px;
}

div.divLoginContainer div.checkbox{
	margin: 10px 0px 15px;
}

div.divLoginContainer p{
	margin-top: 15px;
}










@media (max-width: 1000px) {
	header{
		position: relative;
	}

	nav.main{
		float: left;
		position: relative;
		top: 0px;
	}

	footer{
		position: relative;
	}

	main{
		float: right;
		width: 800px;
		margin-left: 0px;
		padding: 0px;
	}
}







div.script_error_detail{
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 20px;
	margin-top: 20px;
	line-height: 1.5em;
	font-size: 14px;
	border-radius: 5px;
	font-family: var(--theme-font);
}

div.script_error_detail ul li{
	margin-top: 8px;
}

div.script_error_detail ul li:first-child{
	margin-top: 0px;
}

div.script_error_detail div.message{
	font-family: "Courier New";
	line-height: 1.2em;
	margin-top: 10px;
	background-color: #fff;
	padding: 10px;
}