body {
	background-color: #fff;
	margin-left: 170px;
}

h2 {
	margin-top: 2em;
}

body.login, body.logout, body.reset, body.register {
	margin-left: 0;
}

body.arrival table {
	border: 1px solid #98bf21;
}
body.arrival td,
body.arrival th,
body.arrival table.noborder td table td {
	border-top: 1px solid #98bf21!important;
	border-right: 1px solid #98bf21!important;
}
body.arrival th {
	color: #ffffff!important;
	background-color: #A7C942!important;
}

body.hamilton table {
	border: 1px solid #98bf21;
}
body.hamilton td,
body.hamilton th,
body.hamilton table.noborder td table td {
	border-top: 1px solid #98bf21!important;
	border-right: 1px solid #98bf21!important;
}
body.hamilton th {
	color: #ffffff!important;
	background-color: #A7C942!important;
}

body.prep table {
	border: 1px solid #4d78ff;
}
body.prep td,
body.prep th,
body.prep table.noborder td table td {
	border-top: 1px solid #4d78ff!important;
	border-right: 1px solid #4d78ff!important;
}
body.prep th {
	color: #ffffff!important;
	background-color: #809fff!important;
}

body.qpcr table {
	border: 1px solid #98bf21;
}
body.qpcr td,
body.qpcr th,
body.qpcr table.noborder td table td {
	border-top: 1px solid #98bf21!important;
	border-right: 1px solid #98bf21!important;
}
body.qpcr th {
	color: #ffffff!important;
	background-color: #A7C942!important;
}

body.ser_blood table {
	border: 1px solid #d90000;
}
body.ser_blood td,
body.ser_blood th,
body.ser_blood table.noborder td table td {
	border-top: 1px solid #d90000!important;
	border-right: 1px solid #d90000!important;
}
body.ser_blood th {
	color: #ffffff!important;
	background-color: #ff2626!important;
}
body.ser_blood_plate table, table.ser_blood_plate {
	border: 1px solid #00698c!important;
}
body.ser_blood_plate td, table.ser_blood_plate td, 
body.ser_blood_plate th, table.ser_blood_plate th, 
body.ser_blood_plate table.noborder td table td, table.ser_blood_plate table.noborder td table td {
	border-top: 1px solid #00698c!important;
	border-right: 1px solid #00698c!important;
}
body.ser_blood_plate th, table.ser_blood_plate th {
	color: #ffffff!important;
	background-color: #0086b3!important;
}
.orange_warning {
	color: #ffffff!important;
	background-color: #ff9326!important;
}
.red_warning {
	color: #ffffff!important;
	background-color: #ff2626!important;
}

body.ser_samples table {
	border: 1px solid #1B721F;
}
body.ser_samples td,
body.ser_samples th,
body.ser_samples table.noborder td table td {
	border-top: 1px solid #1B721F!important;
	border-right: 1px solid #1B721F!important;
}
body.ser_samples th {
	color: #ffffff!important;
	background-color: #26a32d!important;
}

body.ser_assay table {
	border: 1px solid #9C2542;
}
body.ser_assay td,
body.ser_assay th,
body.ser_assay table.noborder td table td {
	border-top: 1px solid #9C2542!important;
	border-right: 1px solid #9C2542!important;
}
body.ser_assay th {
	color: #ffffff!important;
	background-color: #CB4154!important;
}

body.ser_evaluation table {
	border: 1px solid #3C003C;
}
body.ser_evaluation td,
body.ser_evaluation th,
body.ser_evaluation table.noborder td table td {
	border-top: 1px solid #3C003C!important;
	border-right: 1px solid #3C003C!important;
}
body.ser_evaluation th {
	color: #ffffff!important;
	background-color: #7D007D!important;
}


/***********/
/*## Menu  */
div#menu {
	position: fixed;
	top: 0;
	left: 0;
	height: 95%;
	overflow-y: auto;
	overflow-x: hidden;
	width: 150px;
	border-right: 2px solid #ccc;
	padding-top: 40px;
	padding-left: 10px;
	background-color: inherit;
	z-index: 9;
	direction: rtl;
}
div#menu > * {
	direction: ltr;
}
div#menu h4 {
	display: block;
	margin: 17px 0px 7px 0px;
}
div#menu a {
	display: block;
	margin: 0px;
	padding: 2px;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	text-indent: 5px;
}
div#menu a.selected {
	font-weight: bold;
	border: 2px solid #ccc;
	background-color: #ccc;
	border-radius: 5px 0 0 5px;
}
div#menu hr {
	width: 90%;
	border-color: #e6e6e6;
}

a.dev_data {
	display: none;
}

table {
	-webkit-box-shadow: 1px 1px 3px #888888;
	-moz-box-shadow: 1px 1px 3px #888888;
	box-shadow: 1px 1px 3px #888888;
}
input[type="submit"], input[type="button"] {
	margin: 4px;
	background: #f0f0f0;
	background-image: -webkit-linear-gradient(top, #f0f0f0, #adadad);
	background-image: -moz-linear-gradient(top, #f0f0f0, #adadad);
	background-image: -ms-linear-gradient(top, #f0f0f0, #adadad);
	background-image: -o-linear-gradient(top, #f0f0f0, #adadad);
	background-image: linear-gradient(to bottom, #f0f0f0, #adadad);
	-webkit-box-shadow: 1px 1px 3px #666666;
	-moz-box-shadow: 1px 1px 3px #666666;
	box-shadow: 1px 1px 3px #666666;
	color: #000000;
	padding: 5px 10px 5px 10px;
	border: solid #888888 1px;
	text-decoration: none;
	line-height: normal;
}

input[type="submit"]:hover, input[type="button"]:hover {
	background: #c7c7c7;
	background-image: -webkit-linear-gradient(top, #c7c7c7, #7a7a7a);
	background-image: -moz-linear-gradient(top, #c7c7c7, #7a7a7a);
	background-image: -ms-linear-gradient(top, #c7c7c7, #7a7a7a);
	background-image: -o-linear-gradient(top, #c7c7c7, #7a7a7a);
	background-image: linear-gradient(to bottom, #c7c7c7, #7a7a7a);
	text-decoration: none;
}

div.count_matched {
	height: 15px;
	text-align: center;
	font-style: italic;
}

.hidden {
	display: none;
}
.red, a.red {
	color: red;
}
.green {
	background-color: #00b300!important;
}
.blue {
	background-color: #006cd9!important;
}
.lightblue {
	background-color: #4ca6ff!important;
}
.gray {
	background-color: #cccccc!important;
}
tr.gray_row td {
	background-color: #cccccc!important;
}
.bold {
	font-weight: bold;
}
.nobr {
	white-space: nowrap;
}
div.scrollBox {
	max-height: 150px;
	overflow: auto;
	overflow-x: hidden;
	position: relative;
	padding-right: 22px;
}
/*div.scrollBox::-webkit-scrollbar { width: 0 !important }*/

dl {
	width: 800px;
}
dt {
	float: left;
	clear: left;
	width: 200px;
	margin-bottom: 10px;
}
dd {
	float: left;
	margin-bottom: 10px;
	max-width: 450px;
}

.index h4 {
	margin-top: 5px;
}
.index ul, .index ol {
	/*text-indent: 20px;*/
	margin-left: 20px;
	list-style-type: circle;
}
.index ul ul, .index ol ul {
	list-style-type: disc;
}
.index ol {
	list-style-type: decimal;
}
.index, .index li {
	line-height: 16px;
}

input, select, textarea {
	box-sizing: border-box;
}

input.valid, select.valid, input.error, select.error {
	background-image: none;
}
.hide {
    display:none;
}

table.monospace_small {
	display: inline-block;
	margin-right: 3px;
}
table.monospace_small th, table.monospace_small td {
	font-size: 8px;
	width: 8px;
	padding: 2px 2px 1px 2px;
}
table.monospace_small.small_table th, table.monospace_small.small_table td {
	font-size: 6px;
	width: 1px;
	padding: 0px 0px 0px 0px;
}