html { 
	height: 100%;
	min-width: 600px; 
}

body {
	font-family: verdana,sans-serif;
	font-size: 13px;
	color: #333;
	height: 100%;
	background: #FFF;/* #EDEBE3  */
	padding: 1em 0 3em;
	margin: 0;
}

.clearfix:after {
	content: '';
	display: table;
	clear: both;
}

* {
	box-sizing: border-box;
}

a { color: #06C; }
a:hover { color: #333; }
a:active { color: #000; }

p { line-height: 140%; }

h1,h2 {
	font-family: trebuchet ms;
	font-weight: bold;
	color: #333;
}

h1 {
	font-size: 180%;
	margin: 0;
}

h1 a { text-decoration: none; color: #333; }
h1 a:hover { border-bottom: 1px dotted #666; color: #000; }

h2 {
	font-size: 140%;
	padding-bottom: 2px;
	border-bottom: 1px solid #CCC;
	margin: 0;
}

p.note {
	background: #EEE;
	padding: 4px;
	font-family: tahoma;
	font-size: 85%;
	line-height: 130%;
	margin-top: 0;
}

img {
	border: none;
}

.t-left {
	text-align: left !important;
}
.t-right {
	text-align: right !important;
}
.t-center {
	text-align: center !important;
}

.t-small {
	font-size: 10px;
}

.f-left {
	float: left;
}

.f-right {
	float: right;
}


/* Tables */
.search-table {
	margin: 1em 0px;
}

.search-table caption {
/*	border-bottom: 1px #333 dashed;*/
	text-align: left;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 0.5em;
	padding: 3px;
}

.result-table>thead, .dtls-table>thead {
	border-bottom: 1px solid #333;
}

.search-table th {
	text-align: left;
	font-weight: bold;
	font-size: 12px;
	padding: 3px;
}

.search-table td {
	padding: 3px;
	position: relative;
	vertical-align: top;
}

.result-table {
	width: 100%;
}
.result-table>tbody>tr:nth-child(2n+1) {
	background: #E6DA9A;
}
.result-table>colgroup:nth-child(n+2) {
	border-left: 1px solid #333;
}
.result-table th[colspan] {
	border-bottom: 1px solid #333;
}

.result-table>tbody>tr.selected {
	background: #B3A767 !important;
}
.result-table th {
	vertical-align: top;
}


.form-table input[type=text], .form-table select, .form-table textarea, .form-table label.input {
	width: 100%;
}

.dtls-table input, .dtls-table select {
	width: 100%;
}

.dtls-sub-table {
	width: 100%;
	table-layout: fixed;
	display: inline-table;
}
.dtls-sub-table th {
	text-align: right;
}

.pagination {
	margin: 1em 5px;
}

.pagination a, .pagination strong {
	display: inline-block;
	padding: 3px 5px 5px 5px;
	text-align: center;
	line-height: 1em;
	border: 1px solid #aaa;
	text-decoration: none;
	white-space: nowrap;
	background: #fff7cd;
	color: #333;
}

.pagination a:hover {
	border-color: #666; 
}

.pagination strong {
	border: 0 none;
	background: none;
}

/* FORMS */
#login_form {
	display: table; 
	margin: 0 auto; 
	height: 100%;
}

#login_form > div {
	display: table-cell; 
	vertical-align: middle; 
	position: relative; 
	top: -54px;
}

#login_form fieldset, #login_form legend  {
	background: #FFF7CD;
	border: 1px solid #A9A9A9 !important;
}

#login_form legend {
	text-transform: uppercase;
}

#search_form {
	padding: 0 6px;
	margin-bottom: 1em;
}

.blk-info {
	position: fixed;
	border: 2px solid red;
	padding: 4px;
	border-radius: 4px;
	text-align: center;
	width: 400px;
	background: #fffffe;
	z-index: 10;
	color: red;
	padding: 10px 18px;
	top: 120px;
	left: 0;
	right: 0;
	margin: 0 auto;
	-webkit-box-shadow: 0 0 4px rgba(0,0,0,0.4);
	-moz-box-shadow: 0 0 4px rgba(0,0,0,0.4);
	box-shadow: 0 0 4px rgba(0,0,0,0.4);
	cursor: default;
}

.blk-info:after {
	content: "\d7";
	color: #F00;
	font-weight: bold;
	display: block;
	width: 18px;
	height: 18px;
	text-align: center;
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}

.tooltip {
	border-bottom: 1px dotted grey;
	cursor: pointer;
}

#upload_lbl {
	display: block;
	background: #fff;
	font-family: Tahoma,Arial,sans-serif;
	
	padding: 2px 4px;
	border: 1px solid #A9A9A9;
	overflow: hidden;
}

#upload_lbl span {
	color: #ccc;
}

#upload_lbl.selected span {
	color: #222;
}

#upload_lbl * {
	cursor: default;
}

#upload_lbl input {
	position: absolute;
	top: -1000px;
}

#upload_lbl i {
	margin-top: 2px;
	cursor: pointer;
}
#upload_lbl i:hover {
	color: #06C;
}

.error-log {
	overflow: auto; 
	width: 50%; 
	height: 150px; 
	float: left; 
	padding: 0 4px;
	border-left: 1px solid red;
}

form legend,
form label,
form button, 
form input[type=submit], 
form input[type=reset], 
form input[type=button],
.result-table th,
.dtls-table th {
/*	text-transform: uppercase;*/
}