﻿.navbar-nav > li > a {
    color: #1a1a1a !important;
}

.navbar {
    background-color: #ffffff;
}

.DecAnchor1,
.DecAnchor2 {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    min-width: 24px;
    padding: 6px 12px; /* makes it safely > 24px tall */
    line-height: 24px; /* avoids “text is shorter” issues */
}


/* Header slogan link */
#site-slogan > a.DecAnchor1 {
    display: inline-block;
    padding: 6px 10px;
    min-height: 24px;
    line-height: 1.2;
}

/* Page title link next to slogan */
a.DecAnchor2 {
    display: inline-block;
    padding: 6px 10px;
    min-height: 24px;
    line-height: 1.2;
    margin-left: 24px !important; /* overrides inline 6px */
}

/* Main navigation links only */
.navbar-nav > li > a {
    display: inline-block;
    padding: 8px 10px;
    min-height: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

a,
a:visited,
a:hover,
a:focus {
    text-decoration: underline;
}

#lbEligibleProjects:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* High-contrast link color (AAA on white/light backgrounds) */
#lbEligibleProjects,
#lbEligibleProjects:visited {
    color: #0b0b0b; /* near-black */
}

#lbEligibleProjects:hover,
#lbEligibleProjects:focus {
    color: #0b0b0b;
}

a.eligibleProjectsLink,
a.eligibleProjectsLink:visited,
a.eligibleProjectsLink:hover,
a.eligibleProjectsLink:focus {
    color: #0b0b0b; /* AAA on white */
    text-decoration: underline;
}

a[id$="lbEligibleProjects"],
a[id$="lbEligibleProjects"]:visited,
a[id$="lbEligibleProjects"]:hover,
a[id$="lbEligibleProjects"]:focus {
    color: #0b0b0b;
    text-decoration: underline;
}

/* --- AAA buttons (Bootstrap 3-style) --- */

/* PRIMARY: white text on darker blue (>= 7:1) */
.btn.btn-primary,
input.btn.btn-primary,
a.btn.btn-primary {
    background-color: #275c8b;
    border-color: #1f4b70;
    color: #fff;
}

/* DANGER: white text on darker red (>= 7:1) */
.btn.btn-danger,
input.btn.btn-danger,
a.btn.btn-danger {
    background-color: #983a37;
    border-color: #7c2f2c;
    color: #fff;
}

/* Hover / Focus should NOT reduce contrast */
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary.active {
    background-color: #1f4b70;
    border-color: #183b57;
    color: #fff;
}

.btn.btn-danger:hover,
.btn.btn-danger:focus,
.btn.btn-danger:active,
.btn.btn-danger.active {
    background-color: #7c2f2c;
    border-color: #642624;
    color: #fff;
}

.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:active,
.btn.btn-success.active {
    background-color: #4cae4c;
    border-color: #3f8f3f;
    color: #000;
}

.btn.btn-info:hover,
.btn.btn-info:focus,
.btn.btn-info:active,
.btn.btn-info.active {
    background-color: #46b8da;
    border-color: #369dbb;
    color: #000;
}

.btn.btn-warning:hover,
.btn.btn-warning:focus,
.btn.btn-warning:active,
.btn.btn-warning.active {
    background-color: #eea236;
    border-color: #d58512;
    color: #000;
}

/* Strong focus indicator (keyboard users) */
.btn:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* FORCE override for WebForms <input> buttons */
input.btn.btn-primary.btn-round {
    background-color: #275c8b !important;
    border-color: #1f4b70 !important;
    color: #fff !important;
}

/*    input.btn.btn-primary.btn-round:hover,
    input.btn.btn-primary.btn-round:focus,
    input.btn.btn-primary.btn-round:active {
        background-color: #1f4b70 !important;
        border-color: #183b57 !important;
        color: #fff !important;
    }*/
