/*

Dark AG green == #004026
Lighter AG green == #056C3C

*/

#top_border{
    background: #f4f4f4;
}
#content {

    /* main form bg */
    background: white; 
}
#footer {
    background: #f4f4f4;
    color: #004026;
}

body {

    /* field labels */
    color: black;
    
    /* header bg and will flash behind content so should match that */
    background: white;
}

nav {
    background: white;
}

/* links in top menu */
nav a { 
    color: #004026; /* #056C3C; */
}

/* highlighted links in top menu */
nav a:hover, nav a:focus { 
    background: #004026; 
    color: #fedc00;  
}


ul li:hover > ul { display:block }

nav > ul > li > a.rediatm {
    font-family: "Sari",arial,helvetica,sans-serif;
}

nav > ul > li:hover > a.rediatm,
nav > ul > li > a.rediatm:focus {
    color: #fff;
    background-color: #c8102e;
    font-family: "Sari",arial,helvetica,sans-serif;
}

/* bg to dropdown menu */
.sub-menu {
    background: #A5DAC2;
}

.sub-menu-rediatm {
    background: #3a3537;
}

.sub-menu-rediatm > li{
    border: solid 1px #999;
    border-width: 0 0 1px 0;
}

.sub-menu-rediatm > li > a{
    color: #fff;
}

.sub-menu-rediatm > li > a:hover, .sub-menu-rediatm > li > a:focus {
    color: #fff;
    background-color: #c8102e;
}

/* currently-selected link in top menu */
.current_menu {
    background: #056C3C;
    color: white !important;
}

li.sub-menu-parent-rediatm > a.current_menu {
    background: #c8102e;
    color: white !important;
}

/* menu detail line */
.menu_detail {
    background: #ececec;
    border-bottom: 1px solid #c5c5c5;
}

.menu_detail_rediatm {
    background: #3a3537;
    border-bottom: 1px solid #c5c5c5;
}

#blank_detail {
    background: white;
}

/* links in menu detail line */
div.menu_detail > a {
    color: #056C3C;
}

div.menu_detail_rediatm > a {
    color: white;
}

/* currently-selected link in menu detail line */
div.menu_detail > a.current_menu_detail_item {
    background: #056C3C;
    color: white;
}

div.menu_detail_rediatm > a.current_menu_detail_item {
    background: #c8102e;
    color: white;
}

/* various screen headings */
h2 {
    color: #004026;
}
h3 {
    color: #004026;
}

.error_message {
    color: red;
}

.message {
    color: #390;
}
.error {
    color: #f00;
}
.highlight {
    background-color: #ffff80;
}
.highlight_good {
    background-color: #d0ffd0;
}
.highlight_total {
    background-color: #e0e0ff !important;
}
.highlight_error {
    background-color: #ffd0d0;
}

/* non-sorted tables eg report notifications */
.table th {
    color: #444;
    background: #eee;
}

/* text in sorted table headers */
.table th a {
    color: #444 !important;
}

/* sort column text in sorted table headers */
table.sortable thead tr .headerSortDown a, table.sortable thead tr .headerSortUp a {
    color: #000;
}

/* header gradient */
table.table thead tr .header {
    background: linear-gradient(#eee, #aaa);
}

/* sort column gradient */
table.sortable thead tr .header {
    background-image: url(bg.gif), linear-gradient(#eee, #aaa);
}

/* non-sortable columns in sorted tables */
table.sortable td.nosort {
    background-image: linear-gradient(#eee, #aaa);
}

/* current sort column gradients */
table.sortable thead tr .headerSortUp {
    background-image: url(asc.gif), linear-gradient(#ccc, #888);
}
table.sortable thead tr .headerSortDown {
    background-image: url(desc.gif), linear-gradient(#ccc, #888);
}

/* selector button for file chooser (not working on IE) */
input[type="file" i] {
    background: linear-gradient(#eee, #aaa);
}

/* text fields */
input[type=text], input[type=password], input[type=email], input[type=number], select, option, textarea {
    border: 1px solid;
    background: #f0f0f0;
    border-left-color: #777;
    border-top-color: #777;
    border-right-color: #aaa;
    border-bottom-color: #aaa;
}
option {
    border: 0px;
    background: #f0f0f0;
}
option:hover {
    border: 0px;
    background: #aaa;
}

/* buttons */
input[type=submit], input[type=button], button {
    background: linear-gradient(#eee, #aaa);
    color: #444;
    border-left-color: #ccc;
    border-top-color: #ccc;
    border-right-color: #888;
    border-bottom-color: #888;
}

/* focus glow */
body.not_ie input:focus,textarea:focus,select:focus,button:focus {
    border: 1px solid #aaa;
    -webkit-box-shadow:0 0 10px #888;
    -moz-box-shadow:0 0 10px #888;
    box-shadow:0 0 10px #888;
}
body.not_ie a:focus {
    -webkit-box-shadow:0 0 10px #888 !important;
    -moz-box-shadow:0 0 10px #888;
    box-shadow:0 0 10px #888;
}
