 body {
	font-family: Helvetica, sans-serif;
	font-size: 90%;
	background: #48382D;

	margin: 0;
	padding: 0;
}

img.left, img.right {
	border: 5px solid white;
}

img.inset {
	border: none;
}

img.right {
	float: right;
	margin: 0 0 15px 15px;
}

img.left {
	float: left;
	margin: 0 15px 15px 0;
}

.clear {
	clear: both !important;
	float: none !important;
}

#all {
	width: 800px;
	margin: 0 auto;
	padding: 0 5px;

	background: white;
	border-left: 5px solid #4E3E34;
	border-right: 5px solid #4E3E34;
}

#banner {
	height: 150px;
	background: url(/img/header-title.png);
}

	#banner img {
		float: left;
	}

		#banner img.right {
			padding-left: 20px;
			background: url(/img/header-picture-right-shadow.png) no-repeat left top;
			float: right;
		}

	#banner #titleAndTagline {
		float: left;
		width: 350px;
		padding: 32px 0 0 25px;
		height: 86px;
		color: white;

	}

		#banner h1 {
			margin: 0;
			font-size: 250%;
		}

		#banner span {

		}

		#banner small {
			display: block;
			color: #C3C697;
		}

		#banner h1 a, #banner h1 a:hover {
			color: white;
			text-decoration: none;
		}

	#banner ul.nav {
		margin: 0;
		padding: 0 0 0 10px;
		list-style: none;
		width: 480px;
		float: left;
		background: url(/img/header-nav.png) no-repeat left top;
		z-index: 5;
	}

		#banner div.sub_nav {
			display: none;
			background: #515430;
			font-size: 95%;
			width: 500px;
			border-bottom: 2px solid #7B7F48;
			float: left;
		}

		#banner ul.nav li {
			float: left;
		}

			#banner ul.nav li a, #banner #loginStatus {
				display: block;
				padding: 10px 0 3px 0;
				margin: 0 6px;
				color: #ABB06F;
				text-decoration: none;
				text-transform: uppercase;
				font-size: 85%;
				letter-spacing: .08em;
			}

				#banner a.current {
					border-bottom: 3px solid #515430;
					padding-bottom: 3px;
				}

				#banner a:first-letter {
					font-size: 110%;
				}

				#banner ul.nav li a:hover, #banner #loginStatus a:hover {
					color: #DBDDC1;
				}

			#banner ul#secondary.nav a {
				padding: 6px 0 2px 0;
			}

			#banner ul#secondary.nav a.current {
				border-bottom: 2px solid #94976A;
				margin-bottom: -2px;
			}

	#banner div.left {
		float: left;
	}

	#banner #loginStatus {
		float: right;
		padding: 11px 20px 9px 20px;
		margin: 0 0 0 0;
		font-size: 80%;
		color: #FFF;
		text-align: right;
	  overflow: hidden;
	  width: 200px;
	}

		#banner #loginStatus a {
			color: #FFF;
		}

		#banner #loginStatus.active {
			background: #616536;
		}

			#banner #loginStatus.active a {
				color: white;
			}

#nav {
	width: 500px;
}

#nav, #nav ul { /* all lists */
	padding: 0 0 0 20px;
	margin: 0;
	float: left;
	background: url(/img/header-nav.png) no-repeat left top;
	z-index: 5;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
	padding: 10px 0 3px 0;
	margin: 0 10px;
	color: #ABB06F;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 85%;
	letter-spacing: .08em;
}

#nav a:hover {
	color: #DBDDC1;
}

#nav a.current {
	border-bottom: 3px solid #515430;
	padding-bottom: 3px;
}

#nav a:first-letter {
	font-size: 110%;
}

#nav li { /* all list items */
	float: left;
	width: auto; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: #2F3210;
	width: auto;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	color: #DBDDC1;
	left: auto;
	float:right;
}

#page {
	clear: left;
	display: block;
	margin: 5px 20px 5px 25px;
	width: 755px;
	float: none;
}

#flashMessage {
	padding: 8px 25px 7px 50px;
	margin: 0 -20px 0 -25px;
}

#flashMessage.message {
	/*background-image: url(/css/images/dialog-information_i.gif);*/
	background-image: url(/img/icons/information.png);
	background-repeat: no-repeat;
	background-position: .6em 50%;
	border: 3px solid #C0C2A8;
	color: #454918;
	padding: 8px 25px 8px 30px;
}

#flashMessage.error {
	background-image: url(/css/images/dialog-warning.gif);
	background-repeat: no-repeat;
	background-position: .5em 50%;
	border: 3px solid #990000;
	color: #990000;
}

/* redline
#content, #sidebar, #page, #loginBox {
	border: 1px solid red;

}*/

#page:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/
* html #page {height: 1%;}
/* End hide from IE-mac */


#content {
	background: #F2F1F0;
	padding: 6px 25px 25px 25px;
	margin: 0 0 0 -25px;
	width: 436px;
	float: left;
	position: relative;
}

	p, ul {
		color: #453E32;
		line-height: 1.2em;
		margin: .2em 0 .8em 0;
	}

		#content p.firstline {
			font-family: Geneva, Helvetica, sans-serif;
			font-size: 110%;
			color: #3A3939;
			margin-top: .8em;
		}

	ul {
		list-style: square;
		padding-left: 2.5em;
		line-height: 1.1em;
		color: #322D24;
	}

	small {
		vertical-align: middle;
	}

	a {
		color: #717727;
	}

		a:hover {
			color: #949B31;
		}

	h2 a, h3 a {
		text-decoration: none;
	}

	h2, h3, h4 {
		margin: .8em 0 .2em 0;
	}

		h3, h4 {
			color: #453E32;
		}

		h2 {
			color: #4E3E34;
		}

		h4 {
			margin: 1em 0 .5em 0;
		}



#sidebar {
	width: 274px;
	padding: 15px 20px 15px 20px;
	margin: 0 -20px 0 0;
	float: right;
	font-size: 90%;
	position: relative;
}

	#sidebar blockquote {
		font-size: 120%;
		color: #4E3E34;
		margin: 0;

	}

	#sidebar blockquote cite {
		float: right;
		font-size: 80%;
		color: #4E3E34;
		font-style: normal;
		text-transform: uppercase;
		margin: .6em 0;
	}

	#sidebar hr {
		border: none;
		border-top: 5px solid #E8E7E6;
		clear: both;
	}

	#sidebar h2 {
		font-size: 110%;
	}


	#sidebar #loginBox {
		margin: -20px -20px 15px -15px;
		background: #878B58;
		padding: 10px 20px;
		display: none;
		width: 269px;
		overflow: hidden;
	}


		#sidebar #loginBox.active {
			display: block;
		}

		#sidebar #loginBox h2 {
			color: white;
		}

		#sidebar #loginBox label {
		color: #C3C5AC;
		}

		#sidebar .text input{
			width: 255px;
		}

#footer {
	clear: both;
	background: #4E3E34 url(/img/footer-shadow.png) repeat-x;
	margin: 0 -10px;
}

	#footer p {
		margin: 0 5px;
		color: #796D65;
		font-size: 90%;
		background: #4E3E34 url(/css/images/footer-background.png) repeat-x;
		padding: 12px 35px 8px 35px;

	}

	#footer a {
		color: #5D582A;
	}

		#footer a:hover {
			color: #6E6A2F;
		}

/* Forms */
label {
	display: block;
	color: #453E32;
	font-weight: bold;
	margin: .3em 0 .2em 0;
}

/* Radio */
.radio label {
  /*float: left;*/
}

.radio input {
  float: left;
  clear: left;
}

.inline label {
  display: inline;
}

  .inline input, .inline select {
    margin-left: 5px !important;
  }

label small {
	color: #938F88;
	vertical-align: bottom;
}

/*form div {
	width: 550px;
}*/

.inline .text {
  width: 40%;
}

.text input,
.password input,
textarea {
	color: #453E32;
	margin: 0 0 .5em 0;
	width: 100%;
}

select {
	color: #453E32;
	margin: 0 0 .5em 0;
}

input.text,
.text input, 
.password input,
textarea {
	background: white;
	border: 1px solid #DFDEDD;
	padding: 5px;
}

.tiny {
  width: 30px !important;
}

.small {
	width: 60px !important;
}

.medium-small {
	width: 127px !important;
}

.medium {
	width: 170px;
}

.medium-long {
	width: 280px;
}

.long {
	width: 365px;
}

.left {
	width: 100%;
	padding: 5px 0;

}

	.small.left input {
		width: 50px;
		margin-left: 25px;
	}

.left input {
	float: left;
}

.left label {
	vertical-align: bottom;
}

.details div, .details select {
	margin-left: 25px;
}

.compress .checkbox input {
	margin-top: 9px;
}

.compress .checkbox {
	margin-top: -2px;
}

.compress .checkbox .left {
	margin-top: -13px;
}

.compress .checkbox .left label {
	padding: 9px 0;
}


/* Compressed Forms (fit items next to eachother) */
.compress div {
	float: left;
	margin: 0 25px 0 0;
	padding: 0; 
}

.compress div div {
  float: none;
  margin: 0;
  padding: 0;
}

.compress {

}

/*.odd {
	border-bottom: 2px solid #EAE9E8;
	margin: 0 -30px;
	padding: 5px 30px;
}*/

.even {
	padding: 5px 0;
}

.text.small {
	width: auto;
}
div.error-message {
width: auto !important;
	background: #A4211C;
	width: 100%;
	margin: -6px 0 1em 0 !important;
	color: #EBCECD;
	padding: 6px !important;

}

input.submit {
	margin: .5em 0 .2em;
}

div.submit {
  display: inline;
}

.checkbox {
	margin: .3em 0 .5em 0;
}

	.checkbox label {
		padding: 3px;
	}

	.checkbox input {
		float: left;
		margin-right: 7px;
	}

.checkbox-child {
  color: #666;
  margin: 0  0 0 22px;  
}

fieldset {
	border: none;
	border-top: 2px solid #C7C5C1;
	margin: .5em 0 0 0;
	padding: .1em 0 0 0;
}

legend {
	margin: 0;
	padding: 0 5px 0 0;
	color: #453E32;
	font-size: 130%;

}

.group h3 {
border-bottom: 2px solid #C7C5C1;
}

.group h4 {
  font-size: 110%;
  margin-bottom: .3em;
}

fieldset label {
	font-weight: normal;
}

/* Filter */
.filters {
  background: #BBC083;
  padding: 3px 6px;
  margin: 5px 1px 0 1px;
}

.filter, .bulk {
	padding-right: 20px;
	display: inline;
	float: left;
}

.bulk#GotoOrder {
  width: 192px;
}

.bulk form {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

.bulk .text input {
  width: auto;
  padding: 3px;
}

.filter select {
	width: 200px;
}

.filter select#YearId,
.filter select#OrderType {
	width: 60px;
}
.filter select#StatusId {
	width: 100px;
}

#orderType.filter select { width: 120px; }

.filterinput {
	width: 125px;
	display: inline;
  float: left;
}
.filterinput input{
  vertical-align: top;
}




/* tables */

table .text {

	margin: 0;
}

table {
	width: 100%;
	border: 1px solid #ccc;
	color:#333;
	clear:both;
	padding: 0;
	margin: 0 0 1.2em 0;
	white-space: normal;
	border-collapse: collapse;

}

th, thead td {
	background-color: #5C6120;
	border: 1px solid #ccc;

	padding: 5px 4px;
	color: white;

}

th a, thead a {
  color: white;
  text-decoration: none;
}

table tr td {
	border-right: 1px solid #ddd;
	padding:4px 4px;
	vertical-align:center;
	text-align: center;
	font-size: 12px;
}

table tr td.lft, .lft {
	text-align: left;
	padding: 4px 8px;
}

table tr.altRow td, table tr.odd td {
background: #f4f4f4;
}
table td.actions {
	white-space: nowrap;
}
table td.actions a img {
	border: none;
}

table td.field img {
	vertical-align: bottom;
}

table.left tr td,
table.left tr th { text-align: left !important; padding-left: 10px; }

table td.gms, table td.aim {
  border-left: none !important;
  border-right: none !important;
  color: white;
}

table td.gms {
  background: #8d9431 /*#D1D4AD*/;
} 

table td.aim {
  background: #c05c1c /*#E6BEA4*/;

}

table tr td.tab { padding-left: 25px; }
/* Rates Table */

#rates {
  width: 100%;
  float: left;
}

  #rates div.product {
    width: 33%;
    float: left;
  }


  #rates tr td {
    text-align: right;
    font-size: 100%;
    padding: 6px;
    height: 25px;
  }
  
  table.large tr td {
    font-size: 100%;
  }
  
  #rates input {
    margin: 0;
    display: inline;
  }
  
table tr.secondary th, table tr .secondary {
  background: #808451 !important;
}

table tr.secondary th, table tr .secondary {
  background: #808451 !important;
}

table tr.highlight td, table tr .highlight {
  background: #E6E6DC !important;
}


#cakeSqlLog table, td {
text-align: left;
padding: 4px 8px;
background: #fff;
border-bottom: 2px solid #ccc;
}

ul.transparent {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.transparent li strong {
display: block
}

ul.transparent li {
	margin: 3px 0 7px 0;
}

/*
 * Order view
 */
#content.wide {
	width: 100%;
	background: white;
}

#content.view-order .label {
	margin: 0 0 2px 0;
}
#content.view-order .title {
	font-size: 24px;

}
#content.view-order .title h1 {
	width: 70%;
	float: left;
	margin-top: 0;
}
#content.view-order .workOrderNumber {
	width: 30%;
	text-align: right;
	float: left;
}

#content.view-order table,
#content.view-order table tr,
#content.view-order table tr td {
	border: none;
}
#content.view-order h3 {
	font-size: 18px;
	margin: 10px 0 5px;
	padding: 1px 0;
	color: #000;
	border-bottom: #555 dashed 1px;
	border-top: #555 dashed 1px;
	clear: both;
	text-align: left;
}
#content.view-order h3 small {
	font-size: 12px;
}
#content.view-order .details {
	font-size: 14px;
	margin: 5px 0;
}
#content.view-order .instructions td {
	border: #000 solid 1px;
	text-align: left;
}
#content.view-order .notes td {
	border: #000 solid 1px;
	height: 75px;
}
#billingInformation table.billTo tr td {
	border: #000 solid 1px;
}
#billingInformation table.billTo {
	width: 100%;
}
#content.view-order table.preFilled {
	margin: 2px 0;
}
#content.view-order table.preFilled tr td.label {
	font-weight: bold;
	text-align: left;
}
#content.view-order table.preFilled td.field {
	font-weight: normal;
	text-align: left;
	border-bottom: #000 solid 1px;
	overflow: hidden;
}
#fieldInformation .message {
	clear: both;
}
#checkTestGroup .instructions {
	font-size: 14px;
	margin: 4px;
}

ul#nav li ul li {
	float: none;
	margin-left: -20px;
}

/* Collapsing */
fieldset.collapsed .collapse {
  display: none;
}

fieldset.collapsible legend {
  text-decoration: underline;
  color: #717727;
  cursor: pointer;
}

fieldset.collapsed legend {
  font-size: 105%;
}

table label {
  text-align: left !important;

  font-size: 115%;
}

#OrderLooseSamplesNumber.hide {
  display: none;
}

.help {

  font-size: 80%;
  color: #999;
}

.cake-debug,
.cake-stack-trace {
  background: white;
  padding: 10px;
  margin: 0;
}

.previous-and-next {
  margin: 1em 0;
}

.previous-and-next input {
  margin-right: 2 px;
}

ul.progress {
  list-style: none;
  clear: both;
  margin: 0;
  padding: .5em 0 1.5em 0;
}

.progress li {
  float: left;
  background: #C6C6BA url(/img/progress.gif) no-repeat center right;
}

  .progress li.before-current {
    background: #C6C6BA;
  }
  
  .progress li.last {
    background-image: url(/img/progress-last.gif);
  }
  
    .progress li.before-current a,
    .progress li.before-current span {
      padding: 4px 2px 5px 7px;
    }
  
  .progress li a,
  .progress li span {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 4px 16px 5px 7px;
  }

.progress li.current {
   background: #8D9431 url(/img/progress-current-r.gif) no-repeat center right;
   font-weight: bold;
}

  .progress li.current.last {
    background-image: url(/img/progress-current-last.gif);
  }

  .progress li.current a,
  .progress li.current span {
    background: #8D9431 url(/img/progress-current-l.gif) no-repeat center left; 
    margin-right: 14px;
    padding: 4px 5px 5px 22px;
    color: #E6E8D2;
  }
  
  .progress li.first a,
  .progress li.first span { background-image: none; padding-left: 7px;}
 
.progress.edit li {
  background-image: none !important;
  border-right: 1px solid #F2F1F0;
  padding: 0 !important;
}

.progress.edit li a {
  background-image: none;
  padding: 4px 10px 5px 10px !important;
  margin: 0;
}
  
/* View Pages */
dl dt {
  font-weight: bold;
}

dl dd {
  margin: 0 0 .5em 0;
}

dl {
  margin: 0.1em 0 .5em 0;
}
 
/* Table Parent/Sub */
tr.sub td.product {
  padding-left: 20px;
}

tr.parent td {
    border-bottom: 1px solid #ccc !important; 
}

tr.sub-1 td {
  border-bottom: 1px dotted #ccc !important; 
}

table.grid td, table.grid thead th {
  border: 1px solid black !important;
}

table.grid { margin-bottom: 4px;}

table#legend td {
  border-left: 1px solid white !important;
}

#sidebar .nav { font-size: 110%; }

#demo {
  background: #B11B0F;
  padding: 6px 10px;
  color: #EFD1CF;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  float: right;
}

#products label {
 width: 250px;  
}