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;
}

html {
	overflow-y: scroll;
}

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;
}

/* defaults for regular html */

body {
	font-family: Tahoma, "Trebuchet MS", Arial, sans-serif;
	font-size: 10pt;
	color: #000;
	background: #CFE287;
}

small {
	font-size: 80%;
}

body#popup {
	background: #fff;
	text-align: left;
}

body#print {
	background: #fff;
	text-align: left;
}

h1 {
	color: #000;
	font-size: 16pt; 
	margin: 0 0 0.66em 0;
}

h2 {
	color: #2F6798;
	font-size: 13pt;	
	margin: 0.66em 0;
}

h2 a {
	color: #2F6798;
}

h3 {
	color: #2F6798;
	font-size: 10pt; 
	margin: 0.66em 0;
}

h3 a {
	color: #2F6798;
}

h4 {
	color: #2F6798;
	font-size: 10pt; 
	margin: 0.66em 0;
}

p {
	margin: 0.66em 0;
}

a:link {
	text-decoration: underline;
	color: #036;
}

a:visited {
	text-decoration: underline;
	color: #036;
}

a:active {
	text-decoration: underline;
	color: #c00;
}

a:hover {
	text-decoration: none;
}

ul {
	margin: 8px 0 8px 16px;
	padding: 0;
}

code {
	font-family: courier, monospace;
	background: #222;
	color: #0c0;
	line-height: 120%;
	padding: 4px;
	display: block;
	margin: 8px 0;
}

form {
	margin: 0;
	padding: 0;
}

/* moz prevent border around flash */
object { 
	outline: none;
}

/* for clearing floating divs */
.clear {
	clear: both;
}

/* custom inline styles */

.alert {
	color: #c00;
}

.hilite {
	background: #ff6;
}

/* template structure */

#background {
	background: #eee;
}

#structure {
	background: #fff;
	-moz-border-radius: 8px; 
	margin: 8px auto; 
	width: 1028px; 
	line-height: 140%;
}

#content {
	padding: 8px;
	min-height: 476px;
}

#content.content-home {
	padding: 4px 8px 8px 8px;
}

/* footer */

#footer-wrap {
	border-top: 1px solid #516307;
	background: #CFE287 url(/images/footer-bg.gif) top left repeat-x;
	height: 384px;
}

#footer {
	line-height: 140%;
	width: 1024px;
	margin: auto;
	padding: 8px 0;
	color: #000;
}


#footer h3 {
	margin: 8px 16px;
}

#footer p {
	margin: 8px 16px;
}

#footer ul {
	list-style: none;
	margin: 8px 16px;
}

#footer ul li {
	margin: 4px 0;
}

#footer a {
	color: #000;
}

#footer-products-old {
	width: 224px;
	float: left;
	margin: 0;
	background: #D9DFC1;
	-moz-border-radius: 8px;
	height: 268px;
	font-size: 9pt;
	display: inline;
}


#footer-products {
	width: 438px;
	float: left;
	margin: 0;
	font-size: 9pt;
	display: inline;
	margin: 0;
	-moz-border-radius: 8px;
}

#footer-products p {
	margin: 8px 0;
}

#footer-products ul {
	margin: 0;
	padding: 0;
	height: 148px;
}

#footer-products ul li {
	display: block;
	width: 138px;
	height: 148px;
	float: left;
	margin: 0 8px 0 0;
	padding: 0;
}

#footer-products ul li a {
	display: block;
	width: 138px;
	height: 148px;
	background-image: url(/images/home-products.gif);
}

#footer-products ul li a span {
	display: none;
}

#footer-products ul li#footer-products-history a {
	background-image: url(/images/home-products-history.gif);
}

#footer-products ul li#footer-products-contracts a {
	background-image: url(/images/home-products-contracts.gif);
}

#footer-products ul li#footer-products-training a {
	background-image: url(/images/home-products-training.gif);
}


#footer-links {
	width: 324px;
	height: 146px;
	float: left;
	margin: 0;
	background: #77930b;
	color: #fff;
	border: 1px solid #516407;
	-moz-border-radius: 8px;
	display: inline;
}

#footer-links p {
	margin: 7px 0 0 8px;
}

#footer-links a {
	color: #fff;
}

#footer-links ul {
	display: block;
	width: 120px;
	float: left;
	margin: 2px 8px;
}

#footer-links ul li {
	margin: 4px 0 0 0;
}

#footer-about {
	width: 224px;
	float: right;
	text-align: right;
	font-weight: bold;
	color: #000;
	display: inline;
}

#footer-about a {
	color: #000;
}

/* web-app UI elements */

#controller {
	margin: 0 auto 4px auto;
	background: #fff url(/images/controller-bg.png) top left repeat-x;
	color: #fff;
	-moz-border-radius: 4px;
	height: 36px;
}

#controller table {
	margin: 2px auto;
	width: 996px;
}

#controller td {
	vertical-align: middle;
	padding: 2px;
	color: #fff;
	height: 30px;
}

#controller td#controller-help {
	width: 64px;
	text-align: center;
}

#controller td#controller-help a {
	display: block;
	width: 56px;
	margin: 0 0 0 8px;
	text-align: center;

}

#controller h1 {
	color: #fff;
	margin: 0 0 0 0;
	font-size: 10pt;
}

#controller a {
	color: #fff;
}

#controller input {
	padding: 2px;
}

#controller button {
	padding: 2px;
}

#controller select {
	padding: 3px;
}

#selector {
	background: #CFE287;
	margin: 4px 0;
	padding: 4px;
}

#selector h1 {
	font-size: 10pt;
}

#selector a {
}

#selector a.selector-page-button {
	display: block;
	width: 20px;
	height: 20px;
	background: #333;
	text-align: center;
	border: 1px solid #555;
	text-decoration: none;
}

#selector a.selector-page-button:hover {
	background: #444;
}

#selector a.selector-page-button span {
	display: block;
	padding-top: 1px;
}

#selector table {
	width: 100%;
	height: 32px;
}

#selector table td {
	padding: 2px;
}

#selector select {
	padding: 4px;
}

#selector input {
	padding: 4px;
}

#selector input[type=submit] {
	padding: 2px;
}

#selector input[type=button] {
	padding: 2px;
}

/* dataset */

.dataset {
}

.dataset table {
	width: 100%;
}

.dataset table td {
	vertical-align: top;
	padding: 4px;
	border-top: 1px solid #EEF5D3;
}

.dataset table td a {
	color: #369;
}

.dataset table td.dataset-numeric {
	text-align: right;
}

.dataset thead td {
	border-top: 1px solid #7c990b;
	border-bottom: 1px solid #7c990b;
	font-weight: bold;
}

.dataset tfoot td {
	border-top: 1px solid #7c990b;
	border-bottom: 1px solid #7c990b;
	font-weight: bold;
}


/* formbox */

/* formbox common */

.formbox {
	background: #eee;
	-moz-border-radius: 4px;
	padding: 4px;
}

.formbox h2 {
	background: url(/images/home-h3-bg.png);
	color: #fff;
	padding: 4px 4px;
	font-size: 10pt;
	-moz-border-radius: 4px;
	margin: 0;
}

.formbox h3 {
	margin: 8px 4px;
	color: #000;
}

.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 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;
}



.formbox .dataset {
}

.formbox .dataset table {
	width: 100%;
}

.formbox .dataset table td {
	vertical-align: middle;
	padding: 4px;
	border-top: 1px solid #ccc;
}

.formbox .dataset table td a {
	color: #369;
}

.formbox .dataset table td.formbox .dataset-numeric {
	text-align: right;
}

.formbox .dataset thead td {
	border-top: 1px solid #369;
	border-bottom: 1px solid #369;
}

.formbox .dataset tfoot td {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
