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: Arial, sans-serif;
	font-size: 10pt;
	color: #000;
	background: #69c url(/images/footer-bg.png);
}

body#popup {
	background: #fff;
	text-align: left;
}

body#print {
	background: #fff;
	text-align: left;
}

h1 {
	color: #5a8ec7;
	font-size: 16pt;
	margin: 0 0 0.66em 0;
}

h2 {
	color: #5a8ec7;
	font-size: 13pt;
	margin: 0.66em 0;
}

h3 {
	color: #5a8ec7;
	font-size: 11pt;
	margin: 0.66em 0;
}

h4 {
	color: #5a8ec7;
	font-size: 10pt;
	margin: 0.66em 0;
}

p {
	margin: 0.66em 0;
}

a:link {
	text-decoration: underline;
	color: #5a8ec7;
}

a:visited {
	text-decoration: underline;
	color: #5a8ec7;
}

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;
}

select {
	padding: 4px;
}

input[type=text], input[type=password] {
	padding: 4px;
	border-top: 1px solid #abadb3;
	border-right: 1px solid #dbdfe6;
	border-bottom: 1px solid #e3e9ef;
	border-left: 1px solid #e3e9ef;
}

textarea {
	padding: 4px;
}

input[type=submit], input[type=button] {
	padding: 2px;
}

/* 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: #a1d5eb url(/images/background.jpg) top center no-repeat;
	padding: 0

}

#structure {
	margin: 8px auto;
	width: 960px;
	min-height: 400px;
	padding-bottom: 16px;
}

#structure-categories {
	position: relative;	
	width: 200px;
	min-height: 400px;
	float: left;
	display: inline;
}

#structure-content {
	width: 544px;
	min-height: 400px;
	float: left;
	display: inline;
	margin-left: 8px;
}

#structure-sidebar {
	width: 200px;
	min-height: 400px;
	float: right;
	display: inline;
}

#structure-sidebar h3#apply {
	display: block;
	width: 200px;
	height: 200px;
	margin: 8px 0;
}

#structure-sidebar h3#apply a {
	display: block;
	width: 200px;
	height: 200px;
	background: url(/images/apply-g.png);
}

#structure-sidebar h3#apply a span {
	display: none;
}

#content {
	padding: 0;
	margin: 0;
	min-height: 512px;
	height: auto !important;/* IE6 */
	height: 512px;/* IE6 */
}

/* footer */

#footer {
	padding: 16px 0;
	width: 960px;
	margin: 0 auto 24px auto;
	color: #fff;
}

#footer a  {
	color: #fff
}

#footer #footer-information {
	float: left;
	display: inline;
	width: 380px;
	margin-left: 4px;
}

#footer p {
	margin: 8px 4px;
}

#footer #footer-information ul {
	list-style: disc;
	line-height: 140%;
}

#footer #footer-links {
	float: right;
	display: inline;
	width: 450px;
	text-align: right;
	margin-right: 4px;
}

#footer p#footer-phone {
	float: right;
	display: inline;
	width: 450px;
	text-align: right;
	font-size: 14pt;
	font-weight: bold;
}

#footer p#footer-phone a {
	text-decoration: none;
}

/* web-app UI elements */

#controller {
	margin: 0 auto 4px auto;
	background: #5a8ec7;
	color: #fff;
	-moz-border-radius: 4px;
	padding: 4px;
}

#controller table {
	height: 32px;
	width: 100%;
}

#controller td {
	vertical-align: middle;
	padding: 2px;
}

#controller h1 {
	color: #fff;
	margin: 2px 0 0;
	font-size: 10pt;
}

#controller a {
	color: #fff;
}

#controller input {
	padding: 2px;
}

#controller button {
	padding: 2px;
}


#selector {
	background: #5a8ec7;
	color: #fff;
	margin: 4px 0;
	padding: 4px;
}

#selector h1 {
	font-size: 10pt;
}

#selector a {
	color: #fff;
}


#selector table {
	width: 100%;
}

#selector table td {
	padding: 2px;
}

#selector select {
	padding: 4px;
}

#selector td#selector-filter {
	text-align: right; 
	width: 168px;
}

#selector td#selector-filter input[type=text] {
	width: 96px;
}

#selector input {
	padding: 4px;
}

#selector input[type=submit] {
	padding: 2px;
}

#selector input[type=button] {
	padding: 2px;
}

#pager {
	background: #5a8ec7;
	color: #fff;
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 2px;
}

#pager a {
	color: #fff;
}

#pager table {
	width: 100%;
	height: 32px;
}

#pager table td {
	padding: 2px;
}

#pager select {
	padding: 4px;
}

#pager input {
	padding: 4px;
}

#pager input[type=submit] {
	padding: 2px;
}

#pager input[type=button] {
	padding: 2px;
}

/* dataset */


.dataset {
	margin: 8px 0 16px 0;
}

.dataset table {
	border-top: 1px solid #5a8ec7;
	border-bottom: 1px solid #5a8ec7;
	width: 100%;
}

.dataset table td {
	vertical-align: middle;
	padding: 8px;
	border-bottom: 1px solid #5a8ec7;
}

.dataset table td a {
}

.dataset td.check {
	width: 20px;
}

.dataset table td.dataset-numeric {
	text-align: right;
}

.dataset thead td {
	border-bottom: 2px solid #5a8ec7;
	font-weight: bold;
}

.dataset tfoot td {
	border-top: 1px solid #5a8ec7;
}

.dataset tfoot td select {
	padding: 4px;
}

.dataset tfoot td input[type=text] {
	padding: 4px;
}

.dataset tfoot td input[type=submit] {
	padding: 2px;
}

/* formbox */

/* formbox common */

.formbox {
}

.formbox h2 {
}

.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;
}

.formbox .form-invalid,
.formbox label.formbox-invalid {
	display: block;
	color: #c00;
}
