/* CSS stylesheet for search pages of Papers of the War Department */

/* ==Search Page Styles== */

#simplesearch {
    float:right;
	margin-top: 10px;
	right: 0;
	}
#search, #advsearch {
	clear: both;
	width: 780px;
	float: left;
	padding: .5em 24px 0;
	overflow: hidden;
	}
#searchresults {
	clear: both;
	position: relative;
	width: 780px;
	margin: 0 auto;
	float: left;
	}
#searchresults table {
	font-size: 1em;
	}
#searchresults span.notavail {
	margin-left: 0;
	}
div#fieldsearch, div#basicsearch {
	padding: 1em 0;
	overflow: hidden;
	}
#search input#submit, #advsearch input#submit, #search form#reset, #advsearch form#reset {
	float: left;
	margin: 0;
	}
#search input#submit, #advsearch input#submit {
	margin: 1em 3em 1em 0;
	}
#search ol li em {
	text-transform: uppercase;
	font-weight: bold;
	font-style: normal;
	}
#search ol li ul {
	text-indent: 2em;
	margin: 1em 0;
	}
#search ol li, #search ol li ul li {
	padding: .5em;
	}

/* ==Search Page Form Styles== */

form {
	clear: both;
	float: left;
	overflow: hidden;
	padding: 0;
	}
fieldset {
	border: 1px solid #c2bba2;
	background-color: #ffebab;
	padding: 1em;
	margin: 1em 0;
	clear: both;
	width: auto;
	height: auto;
	}
legend {
	font-family: georgia, times, serif;
	font-weight: bold;
	color: #063465;
	font-size: 120%;
	letter-spacing: 0.1em;
	}
fieldset fieldset {
	border: none;
	padding: 0;
	}	
fieldset fieldset legend {
	color: #333;
	}
fieldset#dateset div.clearfix {
	margin: 0 0 0 2em;
	}
#advsearch form fieldset span.dateformat, #search form fieldset span.dateformat {
	display: block;
	float: none;
	font-size: .9em;
	line-height: 1.6em;
	margin: .5em 0 .25em;
	}
input.textinput, textarea {
	display: inline;
	}
input.textinput {
	width: 20em;
	}
input.dateinput {
	width: 10em;
	color: #999;
	}
input.textinput:focus, input.dateinput:focus {
	background: #fff;
	color: #333;
	}
#simplesearch form input.textinput {
	width: 15em;
	padding: 2px;
	border:1px solid #663300;
	}
#simplesearch form input.searchbutton {
	border:1px solid #663300;
	padding: 1px;
	color: #663300;
	}
#advsearch form span, #advsearch form select.selectoption, #advsearch form input#fieldsearch {
	float: left;
	overflow: hidden;
	}
select, #fieldsearch input#fieldtext {
	width: 5em;
	}
select.selectoption {
	width: 12em;
	}
#fieldsearch input#fieldtext {
	width: 15em;
	}
div.clearfix {
	clear: both;
	padding: .5em 0;
	overflow: hidden;
	margin: 1.5em 0 1em;
	}
form div.clearfix label {
	float: left;
	width: 20em;
	font-weight: bold;
	}
#advsearch table {
	margin: 1em 0 0;
	}
form fieldset fieldset div.clearfix label {
	float: none;
	}
#advsearch table th, #advsearch table td {
	padding: .5em;
	}

/* here follows the brillant "no-extra-markup" clearing method devised by Tony Aslett - www.csscreator.com */
/* simply add the clearfix class to any containter that must enclose floated elements */
/* read the details of how and why this works at http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
    content: ".";              /* the period is placed on the page as the last thing before the div closes */
	display: block;          /* inline elements don't respond to the clear property */ 
    height: 0;                  /* ensure the period is not visible */
    clear: both;               /* make the container clear the period */
    visibility: hidden;	     /* further ensures the period is not visible */
}
.clearfix {display: inline-block;}   /* a fix for IE Mac */
/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* end of "no-extra-markup" clearing method */


/* == Search Results Table Layout== */

table#items {
	margin-top: 1em;
	clear: both;
	border-collapse: collapse;
	width: 100%;
	}
table#items thead th {
	font-family: georgia, times, serif;
	text-align:left;
	color: #063465; 
	font-weight: bold;
	}
table#items thead tr {
	background-color: transparent;
	border: none;
	}
table#items tr {
	background-color: #d2dae4;
	}
table#items tr.odd {
	background-color: #e8edf1;
	}
table#items td {
	border: 1px solid #bbc8d6; 
	border-width: 1px 0;
	vertical-align: top;
	}
table#multipleSearchTable {
	height: auto;
	overflow: hidden;
	}
#searchresults table a {
	border: none;
	text-decoration: underline;
	}
#searchresults table tr td span {
	vertical-align: top;
	margin: 0;
	padding: 0;
	}