  /* Fonts and font colours */

#footer, #footer a {
    color: #fff;
}

/* Backgrounds and borders, imagey display bits and cursors */

body, a:hover, #breadcrumbs ul a, #nav li a {
    color: #244857;
}

#topnav li {
    background: #2c6827 url("images/ap_topnav.png") no-repeat scroll top left;
}

#topnav li:hover {
    background-color: #397c30;
    background-image: url("/assets/css/images/ap_topnav_hover.png");
}

#topnav li.active {
    /*background-image: url("/assets/css/images/ap_topnav_active.png");*/
    background-image: none;
    border-bottom: 1px solid #33632c;
}

#footer, #subnav, #topnav li.active {
    background-color: #33632c;
}

#subnav li.active a, #subnav li a:hover {
    background-color: #89bd80;
    color: #000000;
}

#footer li {
    border-color: #fff;
}

/* Table style overrides (from elements.css) */

table.style1              { margin-bottom: 2em; }
table.style1 th           { background-color:#6CAD62; color:#3c3c3c; }
table.style1 tr           { background-color:#99CC99; }
table.style1 tr.odd       { background-color:#d6f5d6; }
table.style1 tr.even      { background-color:#e9f5e9; }
table.style1 tr.highlight { background-color:#eef286; }

body.application table.generic th { background-color: #33632c; }

/* Flash message feedback alert boxes */

.alert {
    background-color: #FCF8E3;
    border: 1px solid #FBEED5;
    border-radius: 4px 4px 4px 4px;
    color: #C09853;
    margin-bottom: 1em;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    font-size: 120%;
}
.alert.success {
    background-color: #DFF0D8;
    border-color: #D6E9C6;
    color: #468847;
}
.alert.error {
    background-color: #F2DEDE;
    border-color: #EED3D7;
    color: #B94A48;
}
.alert.info {
    background-color: #D9EDF7;
    border-color: #BCE8F1;
    color: #3A87AD;
}
.alert > p, .alert > ul {
    margin-bottom: 0;
}
.alert p + p {
    margin-top: 5px;
}
.alert .close {
    line-height: 20px;
    position: relative;
    right: -25px;
    top: -2px;
}
.alert .close {
    color: #000000;
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    opacity: 0.2;
    text-shadow: 0 1px 0 #FFFFFF;
}
.alert .close:hover {
    color: #000000;
    cursor: pointer;
    opacity: 0.4;
    text-decoration: none;
}
.alert button.close {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    cursor: pointer;
    padding: 0;
}

#topnav .nav-list-empty {
    display: none;
}
