

.accessibility-toolbar-outer {
    font-size: 14px;
    position: fixed;
    z-index: 2000;
    top: 0px;
}

@media (max-width: 1330px) {
    .accessibility-toolbar-outer {
        font-size: 14px;
        position: fixed;
        z-index: 2000;
        bottom: 17px;
        top:inherit;
    }
}

#accessibility-toolbar {
    position: fixed;
    top: 45px;
    left: 5px;
    background: #fff;
    border: 1px solid #000;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: none;
    border-radius: 4px;
    
}

@media (max-width: 1330px) {
    #accessibility-toolbar {
        position: fixed;
        top: inherit;
        left: 5px;
        background: #fff;
        border: 1px solid #000;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: none;
        border-radius: 4px;
        bottom: 53px;
    }
}

#accessibility-toolbar button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #333;
    border-radius: 3px;
    background: #f5f5f5;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

#accessibility-toolbar button.active {
    background-color: #c7e9ec;
    color: #000;
}

#toggle-toolbar {
    background: yellow;
    border-radius: 3px;
    border: 2px solid #333;
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    top: 5px;
    position: relative;
    left: 5px;
    font-weight: 700;
}

#toggle-toolbar:hover {
    cursor: pointer;
    background-color: #c7e9ec;
}


.high-contrast, .high-contrast .row div, .high-contrast span {
    background-color: #333 !important;
    color: #F5F5DC !important;
}

/* Grey on cream */
.red-on-blue, .red-on-blue .row div, .red-on-blue span {
    background-color: #F6E5A3 !important;
    color: #333333 !important;
}

/* Navy Blue on Yellow */
.yellow-on-green, .yellow-on-green .row div, .yellow-on-green span {
    background-color: #F6E5A3 !important;
    color: #0033A0 !important;
}

/* Site Specific Contrast Bits */

.high-contrast .bg-purple {
    background-color: #333333;
    color: #F5F5DC;
}

    .red-on-blue .bg-purple {
        background-color: #F6E5A3 !important;
        color: #333333 !important;
    }

    .yellow-on-green .bg-purple {
        background-color: #F6E5A3 !important;
        color: #0033A0 !important;
    }

.high-contrast footer {
    background-color: #333333;
    color: #F5F5DC;
}

    .red-on-blue footer {
        background-color: #F6E5A3 !important;
        color: #333333 !important;
    }

    .yellow-on-green footer {
        background-color: #F6E5A3 !important;
        color: #0033A0 !important;
    }

.high-contrast .top-nav {
    background-color: #333333;
    color: #F5F5DC;
}

    .red-on-blue .top-nav {
        background-color: #F6E5A3 !important;
        color: #333333 !important;
    }

    .yellow-on-green .top-nav {
        background-color: #F6E5A3 !important;
        color: #0033A0 !important;
    }

.high-contrast .top-nav a.nav-link {
    color: #F5F5DC !important;
}

    .red-on-blue .top-nav a.nav-link {
        color: #333333 !important;
    }

    .yellow-on-green .top-nav a.nav-link {
        color: #0033A0 !important;
    }

.high-contrast .dropdown-item {
    color: #F5F5DC !important;
}

    .red-on-blue .dropdown-item {
        color: #333333 !important;
    }

    .yellow-on-green .dropdown-item {
        color: #0033A0 !important;
    }

.high-contrast .dropdown-item:hover {
    color: #333333 !important;
    background-color: #F5F5DC !important;
}

    .red-on-blue .dropdown-item:hover {
        background-color: #F6E5A3 !important;
        color: #333333 !important;
    }

    .yellow-on-green .dropdown-item:hover {
        background-color: #F6E5A3 !important;
        color: #0033A0 !important;
    }

    .high-contrast .nav-link:hover {
        color: lightyellow !important;
    }

.high-contrast a {
    color: #F5F5DC !important;
}

    .red-on-blue a {
        color: #333333 !important;
    }

    .yellow-on-green a {
        color: #0033A0 !important;
    }

.high-contrast h2, .high-contrast h1 {
    color: #F5F5DC !important;
}

    .red-on-blue h2, .red-on-blue h1 {
        color: #333333 !important;
    }

    .yellow-on-green h2, .yellow-on-green h1 {
        color: #0033A0 !important;
    }

.high-contrast .btn-area-links li {
    background-color: #F5F5DC !important;
    color: #333333 !important;
}

    .red-on-blue .btn-area-links li {
        background-color: #333333 !important;
        color: #F6E5A3 !important;
    }

    .red-on-blue .btn-area-links li a {
        color: #F6E5A3 !important;
    }

.yellow-on-green .btn-area-links li {
    background-color: #0033A0 !important;
    color: #F6E5A3 !important;
}

    .yellow-on-green .btn-area-links li a {
        color: #F6E5A3 !important;
    }

.high-contrast .btn-area-links li a {
    color: #333333 !important;
}

.high-contrast .read-more-btn {
    border: 1px solid #F5F5DC;
}

    .red-on-blue .read-more-btn {
        border: 1px solid #333333;
    }

    .yellow-on-green .read-more-btn {
        border: 1px solid #0033A0;
    }

.high-contrast span.top-line {
    border-top: 3px solid #F5F5DC;
}

    .red-on-blue span.top-line {
        border-top: 3px solid #333333;
    }

    .yellow-on-green span.top-line {
        border-top: 3px solid #0033A0;
    }

.high-contrast .simple-highlight, .high-contrast .simple-highlight1 {
    border-bottom: 3px solid #F5F5DC;
}

    .red-on-blue .simple-highlight, .red-on-blue .simple-highlight1 {
        border-bottom: 3px solid #333333;
    }

    .yellow-on-green .simple-highlight, .yellow-on-green .simple-highlight1 {
        border-bottom: 3px solid #0033A0;
    }

.high-contrast .dropdown-menu {
    background-color: #333333;
}

    .red-on-blue .dropdown-menu {
        background-color: #F6E5A3;
    }

    .yellow-on-green .dropdown-menu {
        background-color: #F6E5A3;
    }

.high-contrast .navbar-collapse {
    background-color: #333333;
}

.red-on-blue .navbar-collapse {
    background-color: #F6E5A3;
}

.yellow-on-green .navbar-collapse {
    background-color: #F6E5A3;
}

.red-on-blue .dropdown-menu.show {
    border: 1px solid #333333;
}

.yellow-on-green .dropdown-menu.show {
    border: 1px solid #0033A0;
}

.high-contrast #navbar-close img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(25%) saturate(4554%) hue-rotate(309deg) brightness(137%) contrast(90%);
}
.high-contrast #navbar-hamburger img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(25%) saturate(4554%) hue-rotate(309deg) brightness(137%) contrast(90%);
}

.red-on-blue #navbar-close img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(21%) saturate(2%) hue-rotate(8deg) brightness(104%) contrast(89%);
}
.red-on-blue #navbar-hamburger img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(21%) saturate(2%) hue-rotate(8deg) brightness(104%) contrast(89%);
}

.yellow-on-green #navbar-close img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(91%) saturate(3669%) hue-rotate(220deg) brightness(90%) contrast(103%);
}

.yellow-on-green #navbar-hamburger img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(91%) saturate(3669%) hue-rotate(220deg) brightness(90%) contrast(103%);
}

.high-contrast hr.nav-line {
    border-top: 1px solid #F5F5DC;
}

.red-on-blue hr.nav-line {
    border-top: 1px solid #333333;
}

.yellow-on-green hr.nav-line {
    border-top: 1px solid #0033A0;
}

.high-contrast .social-icons {
    filter: brightness(0) saturate(100%) invert(100%) sepia(25%) saturate(4554%) hue-rotate(309deg) brightness(137%) contrast(90%);
}
.red-on-blue .social-icons {
    filter: brightness(0) saturate(100%) invert(15%) sepia(21%) saturate(2%) hue-rotate(8deg) brightness(104%) contrast(89%);
}
.yellow-on-green .social-icons {
    filter: brightness(0) saturate(100%) invert(12%) sepia(91%) saturate(3669%) hue-rotate(220deg) brightness(90%) contrast(103%);
}

/* Site Specific Contrast Bits */
#ruler {
    position: fixed;
    left: 0;
    right: 0;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    pointer-events: none;
}

.high-contrast #ruler {
    position: fixed;
    left: 0;
    right: 0;
    height: 500px;
    background-color: rgba(255, 255, 0, 0.8);
    z-index: 999;
    pointer-events: none;
}

.magnify-glass {
    display: none;
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1001;
    background-repeat: no-repeat;
    background-size: 200%; /* Ensure 200% zoom */
    background-color: #fff;
}
    .magnify-glass.loading {
        background: red; /* Replace with your loader image */
        background-size: contain; /* Adjust as needed */
        opacity: 1; /* Optional: semi-transparent while loading */
    }

@media (max-width: 768px) {
    #toggle-ruler, #magnify {
        display: none !important;
    }
}


