/* COLORS 

	background: #151515 (dark grey)
	text: #eeeeee (very light grey)
	table-background: #0C0152 (blue)
	titles: #FFFFFF (white)
	highlights: #C00000 (red)	
	shading: #222222 (med grey)

*/

/*-------------------------------------------------
PAGE BODY
-------------------------------------------------*/



body {
	background-color: #151515;
	color: #0C0152;
	margin: 1em 2em;
	font-family: "Times New Roman", "Times", verdana, arial, helvetica, sans-serif;
	font-size: larger;
}
body.exp {background-color: #000000;}

table.maintable {background-color: #efe9ce; border: 1; frame: box; rules: none; border-color: #ffffff; cellpadding: 0; cellspacing: 0;}
.table_links{cellpadding: 0; cellspacing: 0; border: 0; background-color: #0C0152; color: #ffffff;}

tr.footer{color: #ffffff;  background-color: #0C0152;}
/*-------------------------------------------------
GENERAL CASES
-------------------------------------------------*/

/* HEADERS AND TEXT		*/

h1, h2, h3, h4, h5, h6 { 
	font-size: medium; 
	color: #0C0152; 
	text-align: center; 
	padding: .5em 0;
}

h1 { font-size: x-large; }
h3, h4, h5, h6 { font-size: smaller; }

p {
	
	margin: 1em;
	line-height: 1.3;
	
}

p.copyright {text-align: center}
p.disclaimer {text-align: center; font-size: x-small;}
strong { color: #0C0152; font-size: larger; font-style: normal; font-weight: bold; }


/* LINKS */


/*a {
	text-decoration: none; 
	border-bottom: 1px dotted #C00;
}*/

a img {border: none; border-bottom: none;}
a img:visited {border: none; border-bottom: none;}

a:link { color: #C00000;}

a:visited {  color: #C00000;  }

a:hover {color; #CE090E;}
.submenu li a:visited,
.jnd_buttons a:visited,
.exp_menu ul a:visited,
#breadcrumb a:visited { color: #FFFFFF; }
a.toplinks { color: #FFFFFF;
}
a:visited.toplinks { color: #FFFFFF; 
}
a.footerlinks { color: #FFFFFF; }


a:active,
.submenu li a:active,
#breadcrumb li a:active,
.exp_menu ul li a:active { 
	color: #999999;	
}

#legend {font-size: small;}
#table_header {font-size: medium;  font-weight: bold; }
#table_body {font-size: medium; color: #0C0152;}
#username {font-size: small;  font-style: italic;}
/*-------------------------------------------------
FORMS
-------------------------------------------------*/

form { margin: 1em auto; }

.shade { background-color: #222222; }

.smallform label:after { content: ": "; }

.note { font-size: smaller; }

.smallform, .displayResult, .questForm {
	border-top: 2px solid #C00000;
	border-bottom: 2px solid #C00000;
	padding: .5em;
}

form.search {
	display: block; 
	width: 35em; 
	margin: 1em auto;
}

.formline {
	display: block; 
	margin-bottom: .5em;
}

.topform { text-align: center; }

.smallform td + td, .questForm td + td { text-align: right; }

.smallform img.question { width: 20px; height: 20px; }

.radiopage td + td { text-align: center; }

.radioanchor {
	width: 100%;
	margin: 0;
	padding: 0;
}

.radioanchor td, .radioanchor td+td { text-align: center; }

td.anchor { width: 10em !important; }

.questForm {
	width: 100%;
}

.imgTable { 
	border-bottom: 2px solid #C00000; 
}

.imgLabels td {
	font-size: smaller;
	text-align: center;
}

table.datemenu { margin: 0 0 0 auto; padding: 0; }

.q_instruction { 
	font-size: smaller;
	width: auto; 
	max-width: 100%;
	line-height: 1.2;
}

/* .displayResult tbody { overflow: auto; max-height: 400px; } */
.displayResult td + td, .displayResult th + th { border-left: 1px dotted #666; }

input, textarea, select { 
	color: #000;
	background-color: #FFFFFF;
	font-size: smaller;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Georigia, Verdana, "Trebuchet MS", sans-serif; 
	border: 1px inset #222222;
}
input, textarea { padding: 0 .2em; }

input:focus {
	background-color:#CCC;
	color: #000;
	border: 1px inset #C00000;
}

input.submit { 
	margin: 1em auto; 
	display: block; 
}

tr.submit td { text-align: center; }
tr.submit { border-top: 2px solid #C00000; }

.upload { 
	text-align: left !important;
	background-color: #FFFFFF; 
	color: #151515; 
}

div.fileinputs {
	position: relative;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}

input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
}

.fileinputs input[type=button] { margin-left: 1em; }

.button, .buttongroup {
	text-align: center;
	margin: 1em auto;
	padding: 1em .5em;
	clear: both;
}

.buttongroup div.button {
	display: inline;
}

ul.taskbutton { padding-top: .5em; }
.taskbutton li {
	margin-bottom: 1em;
	font-size: smaller;
}

.button a, input.submit, .taskbutton a, .exp_buttons a {
	padding: .25em .5em; 
	border: 3px outset #CCC; 
}

.fileinputs input[type=button],
.button a:link, 
.button a:visited, 
input.submit, 
input.inline, 
.taskbutton a:link, 
.taskbutton a:visited { 
	color:#DDD; 
	background-color: #C00000; 
}

.button a:hover, input.submit:hover, input.inline:hover, .taskbutton a:hover {
	 color: #FFFFFF; 
	 background-color: #C00000; 
	 text-shadow: 0 0 0.6em #FFFFFF;
	 border-color: #FFFFFF;
}

.button a:active, input.submit:active, input.inline:active, .taskbutton a:active, .exp_buttons a:active { 
	 color: #CCC; 
	 border-style: inset; 
	 background-color: #B30000; 
}

.exp_buttons a {
	margin: 0 .5em;
}

input.inline, input.inline:hover { 
	margin: 0; 
	display: inline; 
	padding: 0;
	border-width: 1px;
	font-size: small;
}

.right { float: right; margin: 1em 0 1em 1em; display: block; }

.left { float: left; margin: 1em 1em 1em 0; display: block; }

}
/*-------------------------------------------------
SPECIAL STYLES
-------------------------------------------------*/




/* Sortable tables */
table.sortable a.sortheader {
    border: 2px outset #C00000; 
	padding-left: 1em;
	color: white;
}

table.sortable a:hover.sortheader {
	color: #151515;
	background-color: white;
}

table.sortable a:active.sortheader {
	border: 2px inset #C00000;
	color: white;
	background-color: #151515;
}

table.sortable th { padding: .5em .25em; }
table.sortable span.sortarrow {
    color: white;
    text-decoration: none;
}

