/** all-media styles */


/* global style */
html {
	overflow: scroll;
	overflow-x: auto;
}

a, a:visited {
	text-decoration: none;
}
a:active, a:hover {
	text-decoration: underline;
}
.right {
	text-align: right;
}

.javascript .choosefiltersubmit,
.javascript .chooseordersubmit,
.javascript .choosepagesubmit {
	display: none;
}

/* stage style */

#stage {
	margin: 30px auto;
	position: relative;
	width: 978px;
}


/* top bar style */

#top {
	background-color: black;
}
#top h1 {
	color: white;
	font-size: 1.1em;
	position: absolute;
	margin: 0;
	padding: 0;
	top: 51px;
	left: 150px;
}
#top ul {
	list-style-type: none;
	position: absolute;
	right: 0px;
	top: 51px;
}
#top li {
	float: left;
}
#top a {
	padding-right: 20px;
}
#top a, #top a:visited {
	color: white;
}
#top .active a, #top a:active, #top a:hover {
	color: silver;
	text-decoration: none;
}

/* nav style */

#nav {
	background-image: url('/img/user/bg_nav.jpg');
	background-repeat: repeat-x;
	border: 1px solid silver;
	margin-top: 10px;
}
#nav .nav {
	list-style-type: none;
}
#nav .nav li {
	float: left;
}
#nav .nav a {
	float: left;
	padding: 4px 20px;
}
#nav .nav a, #nav.nav a:visited {
	color: black;
}
#nav .nav a.active, #nav .nav a:active, #nav .nav a:hover {
	color: gray;
	text-decoration: none;
}
#nav ul.db {
	padding-left: 15px;
}
#nav .db li {
	margin-right: 15px;
	width: 300px;
}
#nav .db a {
	display: block;
	padding-left: 1px;
	padding-right: 1px;
	text-align: center;
	width: 298px;
}
#nav .db a.active, #nav .db a:active, #nav .db a:hover {
	background-color: white;
	border-left: 1px solid silver;
	border-right: 1px solid silver;
	padding-left: 0;
	padding-right: 0;
}

#subnav {
	background-color: #d5d5d5;
	background-image: url('/img/user/bg_subnav.jpg');
	background-repeat: repeat-x;
	padding: 15px;
	width: 946px;
	min-height: 100px;
}

#subnav .history {
	line-height: 1.8em;
}
#subnav .history a, #subnav .history a:visited {
	color: black;
	text-decoration: underline;
}
#subnav .history a:active, #subnav .history a:hover {
	color: gray;
	text-decoration: none;
}
#subnav .history .current {
	color: gray;
}

#subnav .noflash {
	background-image: url('/img/user/flashnav.jpg');
	width: 570px;
	height: 120px;
}

/* custom sub nav */

.chronologic, .alphabetic, .search {
	position: relative;
}

.genericfilter {
	position: absolute;
	right: 10px;
	top: 0;
}
.genericfilter {
	margin-top: 20px;
}
.genericfilter .spacerright {
	border-left: 1px solid silver;
}
.genericfilter tr.links td {
	line-height: 195%;
}

.letters {
	line-height: 200%;
	margin-left: 80px;
	padding-top: 15px;
}
.letters a, .letters a:visited {
	color: black;
}
.letters a:hover, 
.letters a.active, .letters a.active:visited {
	color: gray;
}

.searchfield {
	margin-left: 80px;
	padding-top: 20px;
}
.extendedsearchlinks {
	margin-top: 22px;
}
.searchfields {
	margin-left: 40px;
	padding-top: 16px;
}
.searchfields label {
	display: block;
	line-height: 1.4em;
	margin-right: 10px;
	text-align: right;
}
.searchfields input, .searchfields select, .searchfields textarea {
	margin-bottom: 0.4em;
}
.genericfilter a, .genericfilter a:visited,
.searchfield a, .searchfield a:visited,
.searchfields a, .searchfields a:visited {
	color: black;
	text-decoration: none;
}
.genericfilter a:active, .genericfilter a:hover,
.searchfield a:active, .searchfield a:hover,
.searchfields a:active, .searchfields a:hover {
	color: gray;
	text-decoration: none;
}

.ordering {
	position: absolute;
	right: 290px;
	top: 0;
}
.ordering input,
.ordering select {
	margin-bottom: 0;
}

.paging {
	position: absolute;
	right: 0px;
	top: 0;
}
.paging a, .paging a:visited {
	color: black;
}
.paging a:hover, 
.paging a.active, .paging a.active:visited {
	color: gray;
}
.paging input,
.paging select {
	margin-bottom: 0;
}


/* content style */

#content {
	margin-bottom: 10px;
}
.textcontent, .details {
	border: 1px solid silver;
}
.textcontent {
	margin-top: 10px;
	padding: 15px;
}

.textcontent img {
	vertical-align: middle;
}

#content h1 {
	font-size: 1.3em;
	font-weight: normal;
}
#content h2 {
	font-size: 1.15em;
	font-weight: normal;
}
#content a, #content a:focus, #content a:visited {
	color: gray;
}
#content a:hover, #content a.active {
	text-decoration: underline;
}

#content .help td {
	padding: 5px 15px 5px 0;
}

#event, #person, #masterdata, .subdata, .subrecords {
	width: 100%;
}

#event td.first, #person td.first {
	border-right: 1px solid silver;
	padding-right: 15px;
}

#event .first, #person .first {
	padding: 10px 0 10px 15px;
}
#event td, #person td {
	padding: 10px 0 10px 25px;
}

#event td td, #person td td {
	padding: 0;
}

#event #masterdata td, #person #masterdata td,
#event #masterdata th, #person #masterdata th,
#event .subdata td, #person .subdata td,
#event .subdata th, #person .subdata th {
	padding: 3px 0 5px 0;
}


#event #masterdata th, #person #masterdata th,
#event .subdata th, #person .subdata th {
	color: gray;
	font-weight: normal;
}


.subrecords {
	border: 1px solid silver;
	margin-top: 10px;
	position: relative;
	width: 100%;
}
.subrecords thead td,
.subrecords tfoot td {
	background-color: #cbcbcb;
	background-image: url('/img/user/bg_nav.jpg');
	background-repeat: repeat-x;
	margin-bottom: 10px;
	padding: 5px 15px 5px 15px;
}
#content .subrecords thead h2 {
	font-size: 1em;
	font-weight: normal;
}
.subrecords thead h2 .pagedrecords {
	color: gray;
}
.subrecords tbody tr:hover {
	background-color: #f0f0f0;
}
.subrecords tbody td {
	border-top: 1px solid silver;
	padding: 5px 0 7px 0;
}
.subrecords tbody td.coltype {
	padding: 10px 0;
}
.subrecords tbody td.coltype img {
	margin-left: 15px;
}
.subrecords tbody td.collink {
	padding: 10px 15px 10px 0;
	text-align: right;
}
.subrecords tbody td span.label{
	color: gray;
}

/*
#content tr.odd {
	background-color: #e0e0e0;
}
#content tr.even {
	background-color: #e8e8e8;
}
*/


/** clear fixes */

#nav .nav:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#nav .nav {
	display: inline-block;
}
/* Hide from IE Mac \*/
#nav .nav {
	display: block;
}
/* End hide from IE Mac */

