html, body
{
	height: 100%;
	margin: 0;
	font: normal 11px Verdana,Helvetica,sans-serif;
	#background: black;
	background-color: #e8f0d4;
}

a img
{
	border: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/** Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

#page
{
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100%;
	color: #555;
	background: #e8f0d4;
}

#container
{
	flex: 1;
	display: flex;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-content: flex-start;
}

h1
{
	font-size: 22px;
	color: #000;
	margin: 0;
	padding-top: 8px;
	padding-bottom: 8px;
}

#header
{
	background: url("header.png") no-repeat right #fff;
	height: 75px;
	width: 100%;
	flex: none;
}

#header a
{
	outline: none;
}

#content
{
	min-height: 100%;
	height: auto !important;
	margin: 0 10px 0 10px;
	flex: 1;
	display: flex;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-content: flex-start;
}

#content > iframe
{
	flex: 1;
}

#footer
{
	clear: both;
	position: relative;
	z-index: 10;
	background: url("footer.png") top repeat-x #323232;
	color: #626262;
	text-align: right;
	padding: 25px 15px 12px 10px;
	flex: none;
}

#footer .text
{
	position: absolute;
	left: 15px;
	top: 60px;
}

#nav-bar
{
	display: flex;
	height: 41px;
	padding: 0 10px;
	background: url("nav-bar.png") repeat-x;
	margin: 0;
	font-size: 15px;
	flex: none;
}
/*
#top-bar
{
	position: absolute;
	top: 0;
	right: 200px;
	height: 30px;
	font-size: 12px;
	line-height: 1.95;
	z-index: 1;
	background-color: #323232;
	box-sizing: border-box;
	box-shadow: 3px 6px 10px 0px rgba(0,0,0,0.75);
	border-radius: 0 0 8px 8px;
	width: 600px;
	padding: 5px 10px 0 10px;
}

#top-bar ul,
#top-bar ul li
{
	display: block;
	min-height: 25px;
	height: auto;
	box-sizing: border-box;
}

#top-bar ul {
	margin: 0;
	padding: 0;
}

#top-bar ul li {
	float: left;
	margin: 0;
	padding:0 ;
	position: relative;
	transition-duration: 0.5s;
}

#top-bar ul li a
{
	display: block;
	min-height: 25px;
	height: auto;
	line-height: 25px;
	color: #999;
	padding-left: 10px;
	text-decoration: none;
	font-weight: bold;
	box-sizing: border-box;
}

#top-bar ul li a:hover
{
	color: #fff;
}

#top-bar ul li ul {
	display: none;
	visibility: hidden;
	opacity: 0;
	width: 250px;
	height: auto;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 25px;
	right: 0;
	background-color: #323232;
	transition: all 0.5s ease;
	box-shadow: 3px 6px 10px 0px rgba(0,0,0,0.75);
	border-radius: 0 0 8px 8px;
}
#top-bar ul li ul:hover,
#top-bar ul li:focus-within > ul,
#top-bar ul li:hover > ul {
	display: block;
	opacity: 1;
	visibility: visible;
}

#top-bar ul li ul li {
	display: block;
	clear: both;
	float: none;
	padding: 0;
	margin: 0;
	width: 100%;
	text-align: left;
}

#top-bar ul li ul li a,
#top-bar ul li ul li span {
	display: block;
	padding: 3px 5px;
	margin: 0;
	color: #999;
	font-weight: bold;
}
*/

#top-bar
{
	position: absolute;
	top: 0;
	right: 200px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	flex: fit-content;
	align-items: stretch;
	height: 30px;
	font-size: 12px;
	line-height: 1.95;
	z-index: 1;
	background-color: #323232;
	box-sizing: border-box;
	/*box-shadow: 3px 6px 10px 0px rgba(0,0,0,0.75);
	border-radius: 0 0 8px 8px;*/
	width: 600px;
	padding: 0 8px;
}

#top-bar > ul,
#top-bar > ul > li {
	height: 30px;
	box-sizing: border-box;
}

#top-bar > ul {
	margin: 0;
	padding: 0 0 0 5px;
	list-style: none;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	flex: none;
	flex-grow: 1;
}

#top-bar > ul > li {
	margin: 0;
	padding: 0 10px;
	position: relative;
	transition-duration: 0.5s;
	cursor: pointer;
}

#top-bar > ul > li > a,
#top-bar > ul > li > span
{
	display: block;
	line-height: 30px;
	color: #999999;
	text-decoration: none;
	font-weight: bold;
	box-sizing: border-box;
}

#top-bar > ul > li > ul {
	display: none;
	opacity: 0;
	position: absolute;
	margin: 0;
	padding: 5px;
	background-color: rgba(50, 50, 50, 1);
	list-style: none;
	min-width: 154px;
	width: auto;
	max-width: 590px;
	transition: opacity 0.5s ease;
	left: 0;
}

#top-bar > ul > li > ul.notificationsDropdown {
	width: 590px;
	left: -235px;
}

#top-bar > ul > li:hover > ul {
	display: block;
	opacity: 1;
}

#top-bar > ul > li > ul > li {
	padding: 0;
	margin: 0;
	max-height: 2em;
	overflow: hidden;
	width: 100%;
}

#top-bar > ul > li > ul > li > a,
#top-bar > ul > li > ul > li > span {
	display: block;
	margin: 0;
	padding: 0 5px;
	color: #999999;
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

/* Flash message styling. */
div.flash-error, div.flash-notice, div.flash-success
{
	padding: 10px 10px 10px 30px;
	margin: 5px 10px;
	border: 2px solid #ddd;
	font-weight: bold;
	text-align: center;
}

div.flash-error
{
	background-color: #fbe3e4;
	color: #8a1f11;
	border-color: #fbc2c4;
}

div.flash-notice
{
	background: #fff6bf;
	color: #514721;
	border-color: #ffd324;
}

div.flash-success
{
	background: #e6efc2;
	color: #264409;
	border-color: #c6d880;
}

div.flash-error a
{
	color: #8a1f11;
}

div.flash-notice a
{
	color: #514721;
}

div.flash-success a
{
	color: #264409;
}

.flash-message
{
	float: left;
	width: 90%;
}

.close_button
{
	float: right;
	background: url(/images/icons/close.png) bottom no-repeat;
	cursor: pointer;
	width: 12px;
	height: 12px;
}

div.form .rememberMe label
{
	display: inline;
}

div.form h1
{
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	color: #000;
	background: #99c027;
	padding: 6px;
	margin: 0;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 10px 0;
	flex: none;
}

div.breadcrumbs a
{
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

div.breadcrumbs a:hover
{
	text-decoration: underline;
}

div#login-form
{
	margin: auto;
	width: 500px;
	background: #f2f4f2;
	border: 1px solid #ccc;
	border-radius: 5px;
}

div#login-form form
{
	padding: 6px;
}

.clickable
{
	cursor: pointer;
}

div#wo-orderlines table td,
div#wo-orderlines table th,
div#dn-orderlines table td,
div#dn-orderlines table th
{
	padding: 2px 0;
}

div.report-grid-view
{
	width: auto;
	max-width: 100%;
}
