/*
    dark BIT blue:   #00234B
    light BIT blue:  #6CADDF
    gray background: #DDDDDF
    border           #EEEEEE
*/

html, body {
    font-family: Tahoma, Sans, Arial, Helvetica, sans-serif;
    padding: 0;
    margin:  0;
    font-size: 12px;
    background-color: #DDDDDF;
    height: 100%;
}

p {
    padding: 0.5em 0 0.5em 0;
}

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; text-decoration: underline; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color: inherit; }
a:hover { text-decoration: underline; }

::-moz-selection{ background: #00234B; color:#fff; text-shadow: none; }
::selection { background: #00234B; color:#fff; text-shadow: none; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #405274; } 

#header {
    background:     #085C8A url('../img/header-bit.jpg') left center no-repeat;
    height:         125px;
    border-style:   solid;
    border-color:   #777777;
    border-width:   1px 1px 0 1px;
}

#header-content {
    background-color: #FFFFFF;
    min-height: 100%;
    overflow: auto;
}

#header-content, #footer {
    -webkit-box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.60);
    -moz-box-shadow:    0 0 5px 1px rgba(100, 100, 100, 0.60);
    box-shadow:         0 0 5px 1px rgba(100, 100, 100, 0.60);
}

#header-title {
    text-align: center;
    vertical-align: middle;
    height:         100%;
    line-height:    125px;
    font-weight:    bold;
    font-size:      2.6em;
    color:          #FFFFFF;
    text-shadow:    1px 1px 4px rgba(20, 20, 20, 0.6);
}

#pagewrapper {
    margin: 0 auto;
    max-width: 1280px;
    height: 100%;
}

#content {
    min-height: 100%;
    padding: 5px;
}

#footer {
    color: #FFFFFF;
    background-color: #002649;
    border: 1px solid #103659;
    margin-bottom: 20px;
    margin-top: 10px;
    clear: both;
    text-align: center;
}

#footer .text {
    font-size:    1.2em;
    font-weight:  bold;
    color:        #FFFFFF;
    margin: 10px 0;
}

h1 {
    text-shadow: 1px 1px 2px rgba(160, 160, 160, 0.5);
    font-size: 1.6em;
    font-weight: bold;
    text-align: left !important;
    margin-bottom: 6px;
    margin-top: 2px;
}

h2 {
    -moz-border-radius-topright:        6px;
    -moz-border-radius-bottomright:     6px;
    -webkit-border-top-right-radius:    6px;
    -webkit-border-bottom-right-radius: 6px;
    border-top-right-radius:            6px;
    border-bottom-right-radius:         6px;
    font-weight: bold;
    font-size: 1.3em !important;
    margin: 4px 0;
    padding: 3px 4px;
    background-color: #00234B;
    color: #FFFFFF;
    display: inline-block;
    min-width: 120px;
    text-shadow: 2px 2px 1px rgba(150, 150, 150, 0.4);
    border-bottom: 1px solid #EEEEEE;
}

h4 {
    font-size:     1.1em;
    font-weight:   bold;
    margin:        2px 0 4px 0;
    border-bottom: 1px solid #AAAAAA;
}

h5 {
    padding:               2px 2px;
    background-color:      #00234B;
    border:                1px solid #00153A;
    color:                 #EEEEEE;
    -moz-border-radius:    4px;
    border-radius:         4px;
    -webkit-border-radius: 4px;
    margin-bottom:         2px;
}

h6 {
    display:               inline-block;
    clear:                 both;
    padding:               2px 4px;
    background-color:      #666666;
    border:                1px solid #777777;
    border-left:           4px solid #80B84F;
    color:                 #EEEEEE;
    -moz-border-radius-topright:        4px;
    -moz-border-radius-bottomright:     4px;
    -webkit-border-top-right-radius:    4px;
    -webkit-border-bottom-right-radius: 4px;
    border-top-right-radius:            4px;
    border-bottom-right-radius:         4px;
    margin-bottom:         2px;
}

select,
textarea,
input[type=text],
input[type=password] {
    border:           1px solid #a2aeba;
    background-color: #e3e5f2;
    vertical-align:   middle;
}

select[disabled],
textarea[disabled],
input[disabled] {
    background-color: #EEEEEE;
    border-color:     #DDDDDD;
    color:            #AAAAAA;
}

textarea:focus,
input:focus {
    border:           1px solid #78899a;
    background-color: #F4F4F4;
}

* {
    font-family: Verdana, sans-serif;
    font-size:   1em;
}

a:focus {
    outline: none;
}

img {
    border-width: 0;
}

label {
    display:          inline-block;
    width:            140px;
    vertical-align:   top;
    font-weight:      bold;
    margin:           0 2px;
    padding:          2px;
}

label.no_style {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    vertical-align: bottom !important;
}

label {
    border-bottom: 1px solid #F4F4F4;
}

label + div {
    display: inline-block;
}

hr {
    height:           1px;
    background-color: #EEEEEE;
    margin:           2px auto;
    clear:            both;
}

a[href].underline {
    text-decoration: underline;
}

a[href].underline:hover {
    text-decoration: none;
}

fieldset {
    -moz-border-radius:    5px;
    -webkit-border-radius: 5px;
    border-radius:         5px;
    border:                1px solid #C0C0C0;
    clear:                 both;
    padding:               2px 4px 6px 4px;
}
