/* Override Greens from  Template ----------------------------------------------------------------------------------- */

.ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a:hover { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
	color: #F9EC1D;
}
.ddsmoothmenu ul li a:hover {
	border-bottom: none;
}

a, a:link, a:visited {
	color: #000;
	font-weight: bold;
	text-decoration: none;
	border-bottom: solid 1px #000;
}
a:hover {
	border-bottom: solid 2px #F9EC1D;
}

.comment_text .comment_author {
	font-size: 14px;
	font-weight: bold;
	color: #666;
	margin-bottom: 10px;
}

.pagging ul li a:hover {
	background: inherit;
	color: inherit;
}

.more {
	background: #666; /*url(../images/templatemo_btn.png) no-repeat;*/
	box-shadow: inset 0 0 5px #333;
}
.more.smaller {
	min-width: 50px;
}

/* Override Template Styles for Milab ------------------------------------------------------------------------------- */

html { height: 100%; }
#home {
	background: #000;
	padding: 10px;
	height: 94%;
	min-width: 800px;
}
#templatemo_wrapper { width: 100%; background: #fff; min-height: 100%; padding: 0; }

#templatemo_header {
	padding-top: 60px;
	width: 100%;
	height: auto;
}
	#templatemo_header img {
		width: 180px;
		float: left;
		border: none;
	}
	#templatemo_header p.tagline {
		float: left;
		font-weight: bold;
		font-style: italic;
		margin: 25px 0 0 10px;
		color: #000;
	}
		#templatemo_menu {
			margin: 30px 40px auto auto;
		}
		#templatemo_menu a {
			border: none;
			border-bottom: solid 2px #F9EC1D;
			color: #000;
			margin: 5px;
			font-weight: bold;
		}
		#templatemo_menu li li a {
			color: #fff;
			border-bottom: none;
			margin: auto;
			font-weight: normal;
		}
#templatemo_main { margin: auto; padding: 0 0 20px; }
#banner {
	clear: both;
	margin: 60px -10px 0 -10px;
	padding: 15px 25px 15px 25px;
	background: url('../images/milab/yellow-transparent-65.png') repeat;
	border-top: solid 2px #F9EC1D;
	border-bottom: solid 2px #F9EC1D;
	color: #000;
	font-size: 1.1em;
}
	#banner #banner_img {
		width: 100%;
	}
	#banner #contact {
		margin: 0;
		float: left;
		max-width: 50%;
		margin-top: 20px;
	}
	#banner #contact h5 {
		margin: 1.5em 0 .5em 0;
		color: #000;
		font-weight: bold;
	}
	#banner #contact a {
		font-weight: normal;
	}
	#banner div.section {
		clear: right;
		float: right;
		max-width: 40%;
		margin: 0 10px 30px 0;
	}
		#banner #welcome {
			text-align: left;
		}
		#banner #welcome label {
			font-weight: bold;
		}
		#banner #welcome h1 {
			padding: 16px 15px 14px 20px;
			margin: 0 -34px 0 -15px;
			background-color: #F9EC1D;
			border-top-left-radius: 30px;
			border-bottom-left-radius: 30px;
			font-size: 1.17em;
			font-weight: bold;
		}
		#banner #welcome h1 img {
			height: 1.3em;
			margin: 0 3px 0 3px;
		}
		#banner #welcome p {
			padding-left: 10px;
		}
#main_title {
	clear: both;
	margin: 40px -10px 40px -10px;
	padding: 15px 25px 15px 25px;
	background: url('../images/milab/yellow-transparent-65.png') repeat;
	border-top: solid 2px #F9EC1D;
	border-bottom: solid 2px #F9EC1D;
	color: #000;
}
#main_title .container {
	width: 960px;
	/*padding: 40px 0 20px;*/
	margin: auto;
}

/* General Styles --------------------------------------------------------------------------------------------------- */

.errors {
	color: #c00;
}
.notice {
	color: #c00;
	font-weight: bold;
}
.confirm {
	color: #666;
	font-weight: bold;
	margin: 1em auto;
}

h4, h5 {
	color: #666;
}

h3 {
	margin-top: 20px;
	margin-bottom: 20px;
}
a.more, a.more:hover {
	color: #fff;
	border-bottom: none;
}
a.less, a.less:hover {
	background: #FFFFFF;
	color: #666;
	border-bottom: none;
}
a.download {
	background: #333;
}
input.error {
	border: solid 1px #c00;
}

div.left {
	float: left;
}
div.clear, hr.clear {
	clear: both;
}

input.rightButton, a.rightButton, a.rightLink {
	float: right;
}

input.search-box {
	min-width: 250px;
	padding: 6px;
	border-radius: 5px;
	border-style: solid;
}

table {
	width: 100%;
}
table tr th {
	text-align: left;
}
table tr td {
	vertical-align: top;
}
table tr td, table tr th {
	margin: 0px;
	padding: 3px;	
}
table tr td.center, table tr th.center {
	text-align: center;
	padding-left: inherit !important;
}
table.borders tr td, table tr th.borders, table#order_form tr td {
	border-bottom: dotted 1px #ccc;
}
table tr th.sub_heading {
	background: #F9EC1D;
	color: #333;
	padding: 3px;
	padding-left: 20px;
}
table tr th.sub_heading2 {
	border-top: solid 2px #F9EC1D;
	border-bottom: solid 2px #F9EC1D;
	padding: 3px;
	padding-left: 20px;
}
.rightText {
	text-align: right;
	padding-right: 3px;
}
p.instruction {
	font-size: larger;
	color: #666;
	font-weight: bold;
}

table#order_form {
	width: 100%;
}
table#order_form tr th {
	width: 15%;
}
table#order_form tr th.col2 {
	width: 40%;
}
table#order_form tr td input{
	width: 98%;
	text-align: right;
}

table#order_contact td.addressInstructions {
	width: 55%;
	padding-left: 30px;
	padding-right: 30px;
}
table#order_contact td textarea, table#order_contact td pre {
	width: 97%;
	padding: 5px;
	line-height: 1.5em;
	color: #666;
}
table#user_form tr th {
	vertical-align: top;
}

table.qa_input_form tr th, table.qa_input_form tr td {
	vertical-align: middle;
}

table.qa_input_form {
	width: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}

table.qa_input_form .sub_heading {
	min-width: 180px;
}

.qa_input_box, #qa_input #notice p.errors {
	padding-top: 30px;
}

.qa_input_status div label {
	display: inline-block;
	width: 100px;
}

table tr td.highlightCell {
    margin: 5px;
}
table#resultsStatus tr td.na {
    background: #ccc;
}
table#resultsStatus tr td.never {
    background: #CC0000;
}
table#resultsStatus tr td.late {
    background: #FF9900;
}
table#resultsStatus tr td.waiting {
    background: #FFFF99;
}
table#resultsStatus tr td.repeatWaiting {
    background: #99CCFF;
}
table#resultsStatus tr td.saved {
    background: #CCFF99;
}

.dev-env {
	position: relative;
	z-index: 31;
	color: #F9EC1D;
	background: #666;
	display: block;
	padding: 10px;
	font-weight: bold;
	font-size: 15px;
	text-align: center;
}

/** qa/main **/
#enter-data, #review-options {
	float: left;
}
#enter-data {
	width: 39%;
}
#review-options {
	width: 59%;
}
.qa_main_options {
	margin-top: 30px;
}


/** qa/view **/

.out_of_range {
	color: #c00;
}
.graph-box {
	margin: 10px;
	padding: 30px;
	border-bottom: #666 dotted 1px;
	text-align: center;
}
.graph-table {
	width: 600px;
	margin: auto;
	text-align: left;
	margin-top: 30px;
}
.download-box {
	text-align: center;
}
#view_tabs {
	display: none; /*enabled in js*/
	margin-bottom: 30px;
}
#view_tabs a {
	width: 150px;
}

.view_box table td, .view_box table th {
	border-bottom: solid 1px #eee;
}

.view_box .results_table{
	margin-bottom: 40px;
}

/** manage/export **/
#qa_current_export_options, #qa_current_export_stats, #qa_current_export_details {
	padding: 20px;
}

#qa_current_export h3, #qa_prev_exports h3 {
	margin-top:30px;
}

/** manage historic **/
