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;
  background: #fff;
}

body {

}

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: 'Albert Sans', Arial, sans-serif;
    font-size: 10pt;
    color: #16171a;
}

small {
    font-size: 80%;
}

body#popup {
    background: #fff;
    text-align: left;
}

body#print {
    background: #fff;
    text-align: left;
}

h1 {
    color: #16171a;
    font-size: 16pt; 
    margin: 0 0 0.66em 0;
}

h2 {
    color: #2F6798;
    font-size: 13pt;	
    margin: 1.2em 0 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: #001e6e;
}

a:visited {
    text-decoration: underline;
    color: #001e6e;
}

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;
    overflow: auto;
}

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;
}

.success {
    color: #090;
}

.hilite {
    background: #ff6;
}

/* template structure */

#background {
  background: #fff;
}

#structure {
    background: #fff;
    margin: 8px auto 8px auto;
    width: 1028px; 
    line-height: 140%;
}

#structure.structure-narrow {
    min-width: 1028px;
    width: auto;
    max-width: 1280px; 
}

#content {
    min-height: 640px;
    padding: 8px;
}

#footer-wrap {
    height: 256px;
}

#footer {
    line-height: 140%;
    width: 1024px;
    margin: auto;
    padding: 8px 0;
    color: #16171a;
}


#footer h3 {
    margin: 8px 16px;
}

#footer p {
    margin: 8px 0;
}

#footer p a {
    color: #369;
}

#footer ul {
    list-style: none;
    margin: 8px 16px;
}

#footer ul li {
    background: #001E6E;
    color: #fff;
    margin: 2px 0;
}

#footer a {
    color: #fff;
}

#footer-products {
    width: 456px;
    height: 150px;
    float: left;
    margin: 0;
    margin: 0;
}

#footer-products ul {
    margin: 0 0 0 10px;
    padding: 0 0 0 0;
    height: 150px;
}

#footer-products ul li {
    display: block;
    width: 140px;
    height: 150px;
    float: left;
    margin: 0 8px 0 0;
    padding: 0;
}

#footer-products ul li a {
    display: block;
    width: 138px;
    height: 148px;
    color: #fff;
    text-decoration: none;
}

#footer-products ul li a strong {
    margin: 12px 4px 8px 4px;
    height: 36px;
    text-align: center;
    color: #16171a;
    font-size: 13pt;
    text-shadow: 0 0 4px #444;
}

#footer-products ul li a:hover {
    text-decoration: underline;
}

#footer-products ul li a span {
    display: block;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

#footer-links {
    width: 324px;
    height: 150px;
    float: left;
    margin: 0;
    background: #001E6E;
    color: #fff;
}

#footer-links p {
    margin: 7px 0 0 8px;
}

#footer-links a, #footer-links p a {
    color: #fff;
}


#footer-links ul {
    display: block;
    width: 128px;
    float: left;
    margin: 2px 8px;
}

#footer-links ul li {
    margin: 4px 0 0 0;
}

#footer-about {
    width: 224px;
    height: 150px;
    float: right;
    text-align: right;
    background: #001E6E;
    /* background: #77930b; */
    color: #fff;
}

#footer-about p {
    margin: 8px 16px;
}

#footer-about a, #footer-about p a {
    color: #fff;
}

/* web-app UI elements */

#controller {
    padding: 0 4px;
    margin: 0 auto 4px auto;
    background: #001E6E;
    color: #fff;
    height: 40px;
}

#controller table {
    width: 100%;
}

#controller td {
    vertical-align: middle;
    padding: 4px;
    color: #fff;
    height: 32px;
}

#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: 4px;
}

#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 thead td {
    color: #666;
}

.dataset thead td a:link,
.dataset thead td a:visited {
    color: #666;
}

.dataset table td {
    vertical-align: top;
    padding: 4px;
    border-top: 1px solid #eee;
}

.dataset.dataset-fat table td {
    padding: 8px;
}

.dataset table td a {
    color: #369;
}

.dataset table td.numeric {
    text-align: right;
}

.dataset table td.center {
    text-align: center;
}

.dataset table td.dataset-numeric {
    text-align: right;
}

.dataset thead td {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    font-weight: bold;
    background: #eee;
    text-align: left;
}

.dataset tfoot td {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

/* messages */

p.success,
.formbox p.success {
    padding: 16px;
    margin: 8px 0 12px 0;
    border-left: 2px solid #090;
    background: #efe;
    color: #16171a;
}

p.tip,
.formbox p.tip {
    padding: 16px;
    margin: 8px 0 12px 0;
    border-left: 2px solid #69c;
    background: #f6f9ff;
    color: #16171a;
}

p.alert,
.formbox p.alert {
    padding: 16px;
    margin: 8px 0 12px 0;
    border-left: 2px solid #c00;
    background: #fcc;
    color: #16171a;
}


/* formbox */

/* formbox common */

.formbox {
    background: #eee;
    padding: 4px;
}

.formbox h2 {
    background: #001E6E;
    color: #fff;
    padding: 16px;
    font-size: 18pt;
    margin: 0;
    font-weight: normal;
    text-align: center;
}

.formbox h3 {
    margin: 8px 4px;
    color: #16171a;
}

.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: 6px;
    width: 200px;
    border-top: 1px solid #abadb3;
    border-right: 1px solid #dbdfe6;
    border-bottom: 1px solid #e3e9ef;
    border-left: 1px solid #e3e9ef;
}

.formbox select {
    padding: 6px;
}

.formbox textarea {
    padding: 4px;
    width: 200px;
    border-top: 1px solid #abadb3;
    border-right: 1px solid #dbdfe6;
    border-bottom: 1px solid #e3e9ef;
    border-left: 1px solid #e3e9ef;
}

.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 #ddc;
}

.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 #ddc;
    border-bottom: 1px solid #ddc;
    font-weight: bold;
}

.empty {
    text-align: center;
    font-size: 120%;
    color: #888;
}
