#menu {
	display: block;
	background: #abb5b8;
	overflow: hidden;
}

#menu > ul {
	display: block;
	margin: 0;
	padding: 0 10px;
	list-style: none;
	overflow: hidden;
	float: left;
}
#menu > ul.login {
	float: right;
}
#menu > ul > li {
	display: block;
	float: left;
	margin: 0;
	padding: 0 10px;
	line-height: 32px;
}

#footer {
	font-size: 12px;
}
#footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}

table tr.order td {
	background: #888;
}
table tr.order td input[type="submit"] {
	float: right;
}

div.input.select div.checkbox {
	display: block;
	margin: 10px 0;
}
div.input.select div.checkbox label {
	display: block;
}
div.input.select div.checkbox input {
	margin-top: 2px;
}

table.orderLines {
	width: auto;
}
table.orderLines tr.prototype {
	display: none;
}
table.orderLines th {
	padding: 5px 15px;
}
table.orderLines td {
	line-height: 33px;
	white-space: nowrap !important;
	padding: 5px 15px 2px;
}
table.orderLines select {
	display: block;
	float: left;
	clear: none;
	margin: 5px 0 0 5px;
}
table.orderLines select:first-child {
	margin-left: 0;
}
table.orderLines td.quantity input {
	width: 70px;
}
table.orderLines td.description input {
	width: 200px;
}
table.orderLines td.weight input {
	width: 80px;
}
table.orderLines td.height input {
	width: 80px;
}
table.orderLines td.unCode * {
	white-space: nowrap;
}
table.orderLines td.unCode select.unCode {
	width: 75px;
}
table.orderLines td.unCode select.unCodeVariation {
	width: 100px;
}
table.orderLines td.chemicalName input {
	width: 125px;
}
table.orderLines td.containingQuanitity input {
	width: 70px;
}

table.orderLines td.containingUnit div.dimensions {
	float: left;
	margin: 0 0 0 10px;
}
table.orderLines.consolidate td.containingUnit div.dimensions {
	float: left;
	margin: 5px 0;
}
table.orderLines td.containingUnit div.dimensions input {
	width: 100px;
}

input.form-error, select.form-error {
	border: 1px solid red;
}

div#warning {
	display: block;
	background: #f00;
	color: #fff;
	padding: 20px;
	border-bottom: 5px solid #fff;
}

th.required:after {
	color: #e32;
	content: '*';
	display:inline;
}

/** Notices and Errors **/
.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 5px;
}

div#container div#content > div.success,
div#container div#content > div.message,
div#container div#content > div.cake-error,
div#container div#content > div.cake-debug,
div#container div#content > div.notice,
div#container div#content > div p.error,
div#container div#content > div.error-message {
	background: #ffcc00;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00 0%, #e6b800 100%);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	margin-bottom: 18px;
	padding: 15px 20px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
div#container div#content > div.success,
div#container div#content > div.message,
div#container div#content > div.cake-error,
div#container div#content > div p.error,
div#container div#content > div.error-message {
	clear: both;
	color: #fff;
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76bf6b 0%, #3b8230 100%);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
div#container div#content > div.error {
	clear: both;
	color: #fff;
	background: #c43c35;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(top, #ee5f5b, #c43c35);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
div#container div#content > div p.error {
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
div#container div#content > div p.error em {
	font-weight: normal;
	line-height: 140%;
}

div#container div#content > div.success a,
div#container div#content > div.message a,
div#container div#content > div.cake-error a,
div#container div#content > div.cake-debug a,
div#container div#content > div.notice a,
div#container div#content > div p.error a,
div#container div#content > div.error-message a {
    color: #fff;
    text-decoration: underline;
}

div#container div#content > div.success a:hover,
div#container div#content > div.message a:hover,
div#container div#content > div.cake-error a:hover,
div#container div#content > div.cake-debug a:hover,
div#container div#content > div.notice a:hover,
div#container div#content > div p.error a:hover,
div#container div#content > div.error-message a:hover {
    color: #999;
}

table tbody tr td.order-ratio.red:before,
table tbody tr td.order-ratio.orange:before,
table tbody tr td.order-ratio.green:before
{
    content: '';
    width: 12px;
    height: 12px;
    display: block;
    float: right;
    margin: 2px 0 0;
    background: #efefef;
    border-radius: 50%;
}
table tbody tr td.order-ratio.red:before {
    background: #FF0000;
}
table tbody tr td.order-ratio.orange:before {
    background: #FFA500;
}
table tbody tr td.order-ratio.green:before {
    background: #00FF00;
}


div.fullForm form {
	width: 100%;
	padding: 0;
	margin: 0;
}

table tr.existing-transport {
	color: #999 !important;
}

table.process-warehouse-order-lines tbody tr td.status {
	font-weight: bold;
}
table.process-warehouse-order-lines tbody tr td.status.ok {
	color: green;
}
table.process-warehouse-order-lines tbody tr td.status.error {
	color: red;
}

div.process-warehouse-errors {
	display: none;
}
div.process-warehouse-errors table tr.prototype {
	display: none;
}
div.process-warehouse-errors table tr td.error {
	font-weight: bold;
	color: red;
}
