/* zero out for cross-browser consistency */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { 
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset, img { 
	border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
}

ol, ul {
	list-style: none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: bold;
}

q:before, q:after {
	content: '';
}

abbr, acronym { 
	border: 0;
}

/* set defaults for regular html */

body {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000;
	text-align: center; /*centre for ie5 */
	background: #fff;
}

body#popup {
    background: #fff;
    text-align: left;
} 

body#print {
    background: #fff;
    text-align: left;
} 

h1 {
	color: #00529b;
	font-size: 16pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0 0 0.66em 0;
}
	
h2 {
	color: #00529b;
	font-size: 13pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

h3 {
	color: #4E7033;
	font-size: 10pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

h4 {
	color: #00529b;
	font-size: 10pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

p {
	margin: 0.66em 0;
}

a:link {
	text-decoration: underline; 
	color: #00c;
}

a:visited { 
	text-decoration: underline; 
	color: #00c;
}

a:active { 
	text-decoration: underline; 
	color: #c00;
}

a:hover { 
	text-decoration: none; 
}

ul {
	margin: 0;
	padding: 0;
}	

code {
  font-family: courier, monospace;
  background: #ccc;
}

form {
	margin: 0;
	padding: 0;
}

/* for clearing floating divs */

.clear {
	clear: both;
}

/* custom inline styles */

.alert {
	color: #c00; 
}

.hilite {
	background: #ff6;
}

/* template and widget styles in top-down order */

#background {
	background: #fff;
	text-align: left; /* centre for compliant browsers*/
}

#container {
	margin: auto; 
	width: 940px;
 
}

/* usuable content width is 924px */
#content {
	padding: 0;
	margin: 0;
	min-height: 400px; 
	height: auto !important; /* IE6 */
	height: 400px; /* IE6 */
}

#index {
	margin: 16px 0;
}

/* footer */

#footer-wrap {
	background: #fff;
	margin-bottom: 8px;
	padding: 0;
}

#footer {
	border-top: solid 1px #000;
	width: 940px;
	margin: auto;
	padding: 5px 0;
	text-align: right;
	font-size: 12px;
}

#footer p {
	margin: 0;
}

#footer a {
	color: #000;
}

/* common elements */
 
#controller {
	margin: 0 auto 4px auto;
	background: #f6f6f6;
	color: #000;
	padding: 6px;
	-moz-border-radius: 4px;
}

#controller table {
	width: 100%;
}

#controller td {
	vertical-align: top;
}

#controller h1 {
	color: #000;
	margin: 0;
	font-size: 10pt;
}

#controller a {
	color: #000;
}

a.buttonitem {
	float: right;
	display: block;
	text-align: center;
	padding: 0;
	width: 110px;
	height: 22px; 
	background: url(/images/nav/button0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.buttonitem {
	background: url(/images/nav/button1.gif) right no-repeat;
}

a.additem {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 8px 0 0;
	width: 102px;
	height: 21px; 
	background: url(/images/nav/additem0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.additem {
	background: url(/images/nav/additem1.gif) right no-repeat;
}

a.additemsm {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 0 0 0;
	width: 20px;
	height: 21px; 
	background: url(/images/nav/additemsm0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.additemsm {
	background: url(/images/nav/additemsm1.gif) right no-repeat;
}

a.printitem {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 8px 0 0;
	width: 102px;
	height: 21px; 
	background: url(/images/nav/print0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.printitem {
	background: url(/images/nav/print1.gif) right no-repeat;
}

#controller #print span {
	display: none;
}

#controller select {
}

#selector {
	border: 1px solid #ddd;
	background: #f6f6f6;
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 4px;
}

#selector h1 {
	font-size: 10pt;
}

#selector a {
}

#selector table {
	width: 100%;
}

#selector table td {
	padding: 0;
}


#selector td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

#selector td.action input.close {
	font-size: 8pt;
	width: 60px;      
	font-weight: bold;
}


/* title */

table#title {
	width: 100%;
	background: #eee;
	-moz-border-radius: 4px;
	margin: 0 auto 4px 0;
}

table#title td {
	vertical-align: middle;
}

#title td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

#title td.action input.close {
	font-size: 8pt;
	width: 60px;
	font-weight: bold;
}

table#title td form {
	margin-top: 3px;
}

table#title td h1 {
	font-size: 10pt;
	background: none;
	color: #000;
	margin: 8px;
}

table#title td h1 a {
	color: #000;
}

.summary {
	margin-top: 4px;
	border: 1px solid #ddc; 
	background: #ffe;
	padding: 4px;
}	

.summary table {
	width: 100%;
}

.summary table td {
	vertical-align: top;
}

#heirachy {
	margin-top: 4px;
	margin-bottom: 4px;
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc; 
	background: #ffe;
	padding: 2px;
	font-size: 9pt;
}	


#trail {
	text-align: center;	
	margin: 8px;
}

/* for text_parse_structured table of contents */

#page-toc {
}	

#page-toc ul {
}	

/* for text_parse_structured tables */

table.markup {
}

table.markup caption {
	background: #000;
	border: 1px solid #000;
	color: #fff;
	padding: 2px;
}

table.markup thead {
	background: #ffe;
	border: 1px solid #000;
	padding: 2px;
}

table.markup td {
	border: 1px solid #333;
	padding: 2px;
	vertical-align: top;
}

/* dataset - for tabulated data */

.dataset {
	margin-top: 4px;
}

.dataset table {
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc;
	width: 100%;
}

.dataset table td {
	vertical-align: top;
	padding: 2px;
}

.dataset thead {
	background: #ffe;
	border-bottom: 1px solid #ddc; 
}

.dataset td.thead {
	background: #ffe;
	border-bottom: 1px solid #ddc; 
}

.dataset td.odd {
	background: #fff;
}

.dataset td.even {
	background: #f6f6f6;
}

.dataset tfoot td {
	border-top: 1px solid #ddc; 
	background: #ffe;
}

.dataset tfoot td {
	padding: 2px;
}

/* formbox */

/* formbox common */

.formbox {
	background: #fbf3d5;
	-moz-border-radius: 4px; 
	padding: 4px;
	margin-bottom: 4px;
	border: 1px solid #00529b;
}

.formbox h2 {
	background: #fff;
	color: #00569f;
	font-size: 13pt;
	font-weight: bold;
	padding: 4px 8px;
	margin-top: 0;
	-moz-border-radius: 4px; 
}

.formbox label.formbox-mandatory:before {
	content: "*";
	color: #c00;
}

.formbox label.formbox-invalid {
	display: block;
	color: #c00;
}

.formbox label.formbox-invalid:before {
	content: "";
}

.formbox input[type="button"], 
.formbox input[type="submit"] {
	padding: 4px;
}

.formbox input[type="text"], 
.formbox input[type="password"] {
	padding: 4px;
	width: 200px;
}

.formbox select {
	padding: 4px;
}

.formbox textarea {
	padding: 4px;
	width: 200px;
}

.formbox input[type="checkbox"] {
	margin: 8px 8px 0 0;
}

.formbox input[type="radio"] {
	margin: 8px 8px 0 0;
}

.formbox fieldset {
	border: 1px solid #ddd;
	margin: 8px;
	padding: 8px;
}

.formbox fieldset legend {
}

/* formbox semantic */

.formbox p {
	padding: 8px 0;
	margin: 8px 0;
	line-height: 140%;
}

.formbox>p:after {
	/* clearfix */
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.formbox p>label {
	width: 40%;
	max-width: 200px;
	display: block;
	float: left;
	font-weight: bold;
	padding: 4px 0 0 0;
	margin: 0 8px 0 0;
}

.formbox label a {
	font-weight: normal;
}

/* for ul of multiple options */

.formbox ul.formbox-multiple {
	width: 200px;
	display: block;
	margin: 0;
	padding: 0;
	float: left;
}

.formbox ul.formbox-multiple li {
	margin: 6px 0;
}

.formbox ul.formbox-multiple li input[type=radio] {
	 display: inline;
	 margin: 0 4px 0 0;
}

.formbox ul.formbox-multiple li input[type=checkbox] {
	 display: inline;
	 margin: 0 4px 0 0;
}

.formbox ul.formbox-multiple li label {
	display: inline;
	margin: auto;
	float: none;
	font-weight: normal;
}

/* formbox table */

.formbox table {
	width: 100%;
}

.formbox table tr td {
	vertical-align: top;
	padding: 4px;
}

.formbox table td:first-child {
	width: 200px;
}

.formbox table td p {
	padding: 4px 0;
}

/* multiple option ul */

.formbox table tr td ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.formbox table tr td ul li {
	margin: 4px 0;
	padding: 0;
}

.formbox table tr td ul li input {
	float: left;
	margin-top: 6px;
}

.formbox table tr td ul li label {
	display: inline;
	font-weight: normal;
}
