﻿/* ==========================================================================
   1) BASE ELEMENTS & TYPOGRAPHY
   ========================================================================== */
html, body {
    height: 100%;
    color: #333333;
    font-size: 16px;
    scroll-behavior: auto !important;
}

p {
    color: #333333;
}

strong, .strong, b, .fw-bold, th {
    font-weight: 500;
}

/* Headings */
h1, h2, h3, h4 {
    color: #3f6d93;
    font-weight: 400;
    font-size: 1.75em;
    display: block;
}

h5, .h5 {
    color: #666666;
    font-weight: 500;
}

h3.red {
    color: #a2635b;
    padding-top: 0;
    margin-top: 0;
}

/* h4 variations */
h4 {
    font-size: 1.5em;
    color: #3f6d93;
}

    h4.red {
        font-size: 1.5em;
        color: #a2635b;
    }

    h4.headerOrange {
        color: #eca344;
        background-color: #FFFFFF;
        padding-bottom: 10px;
    }

    h4.headerOrange2 {
        color: #fb0;
    }

/* h5 variations */

    h5.red {
        /*font-size: 1.2em;*/
        color: #a2635b;
        font-weight:500;
    }


/* ==========================================================================
   2) LINKS
   ========================================================================== */
a {
    text-decoration: underline;
    color: #337ab7;
}

    a:link,
    a:visited,
    a:active {
        -webkit-transition: color .5s linear, background-color .5s ease-in-out;
        -moz-transition: color .5s linear, background-color .5s ease-in-out;
        -o-transition: color .5s linear, background-color .5s ease-in-out;
        transition: color .5s linear, background-color .5s ease-in-out;
        text-decoration: underline;
    }

    a:hover {
        -webkit-transition: background-color .25s ease-in-out;
        -moz-transition: background-color .25s ease-in-out;
        -o-transition: background-color .25s ease-in-out;
        transition: background-color .25s ease-in-out;
        text-decoration: underline;
    }

    /* Inline-flex anchor fixes (wrapping in tight spaces) */
    a.d-inline-flex {
        flex-wrap: wrap !important;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

/* White-on-dark link helper */
.white-link {
    color: #fff !important;
}

    .white-link:hover,
    .white-link:focus {
        color: #CCCCCC !important;
        text-decoration: underline;
    }

.form-control:focus, .form-select:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #99999933; /* soft gray instead of bright blue */
}


/* ==========================================================================
   2a) GLOSSY BUTTONS --- Looks very cool, but messes with Local Gov folder icons in uc
   ========================================================================== */


/* Glassy look for all Bootstrap buttons */
/*.btn {
    position: relative;
    display: inline-block;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-clip: padding-box;
    color: #fff;*/ /* default text color */
    /*box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4),*/ /* inner glow */
    /*inset 0 -2px 4px rgba(0, 0, 0, 0.25),*/ /* inner depth */
    /*0 4px 8px rgba(0, 0, 0, 0.15);*/ /* outer shadow */
    /*backdrop-filter: blur(6px);*/ /* frosted feel */
    /*overflow: hidden;
    transition: all 0.25s ease;
}*/

    /* Glossy sheen layer */
    /*.btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient( to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.15) 100% );
        border-radius: inherit;
        pointer-events: none;
    }*/

    /* Hover effect – brighter and lifted */
    /*.btn:hover {
        box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), inset 0 -2px 5px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.35);
        filter: brightness(1.1);
    }*/

    /* Active/pressed effect */
    /*.btn:active {
        transform: translateY(1px);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    }*/

/* Respect Bootstrap’s variant colors, but polish them */
.btn-primary {
    background: linear-gradient(to bottom, #4dafff, #0077cc);
}

.btn-secondary {
    background: linear-gradient(to bottom, #d6d6d6, #999999);
}

.btn-success {
    background: linear-gradient(to bottom, #4fd98b, #2c9a5d);
}

.btn-danger {
    background: linear-gradient(to bottom, #ff6a6a, #d62828);
}

.btn-warning {
    background: linear-gradient(to bottom, #ffd84d, #e6a800);
    color: #000;
}

.btn-info {
    background: linear-gradient(to bottom, #aaf3ff 0%, #016399 100%);
}

.btn-light {
    background: linear-gradient(to bottom, #ffffff, #cccccc);
    color: #000;
}

.btn-dark {
    background: linear-gradient(to bottom, #444444, #1a1a1a);
}




/* ==========================================================================
   3) COLOR & BACKGROUND UTILITIES
   ========================================================================== */
.bg-dark-blue {
    background-color: #2b4a63;
    background-image: linear-gradient(10deg, #1f486b, #2d71aa);
}

.bg-light-brown-subtle {
    background: #D9D4C3;
    background: linear-gradient(359deg, rgba(217, 212, 195, 0.05) 0%, rgba(217, 212, 195, 0.32) 100%);
}

.bg-cloudy-knoxville {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

.bg-new-york {
    /*background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);*/
    background-color: aliceblue;
}

.bg-snow-again {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}

.bg-light-blue-darker-blue {
    background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(202,248,255,1) 0%, rgba(186,204,227,1) 51.2%, rgba(117,144,179,1) 100.1% );
}

.orange {
    background-color: #ff981d;
    background-image: linear-gradient(10deg, #eb7400, #ff981d);
    color: #FFFFFF;
}

.footer-grey {
    background-color: #808080;
    color: #F5F5F5;
}

.gold {
    color: #ffcc00;
}

.red {
    color: #e03d3e;
}

.bg-gradient {
    background: linear-gradient(90deg, #29577a 0%, #286494 100%);
}

/* Full-width red alert bar variants */
.firered {
    background-color: #ff3e3e;
    background-image: linear-gradient(10deg, #a90e0e, #ff3e3e);
    width: 100vw;
    color: #ffffff;
}

.firered-notice {
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #b90000;
    background-image: linear-gradient(10deg, #a90e0e, #ff3e3e);
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

/* ==========================================================================
   4) ICONS (Font Awesome overrides)
   ========================================================================== */
/* Replace twitter-square icon glyph with an 'X' mark (for X/Twitter) */
.fa-twitter-square {
    font-family: sans-serif;
}

    .fa-twitter-square::before {
        content: "𝕏";
        font-size: 1.2em;
    }

/* ==========================================================================
   5) LAYOUT HELPERS
   ========================================================================== */
/* Keep sticky header at normal zoom levels */
.sticky-top-container {
    position: sticky;
    top: 0;
    z-index: 1040;
    background-color: #002b49; /* match your header's background color */
    transform: translateZ(0); /* fixes Chrome's white border bug */
    border-top: 0 solid transparent;
}

/* Disable stickiness and reduce size at high zoom (small viewport widths) */
@media (max-width: 800px) {
    .sticky-top-container {
        position: static;
        background-color: #002b49; /* keep consistent color */
    }

    header, .sticky-top-container {
        height: auto;
    }

    .anchor-section {
        scroll-margin-top: 100px;
    }
}

/*.sticky-top-container {
    position: sticky;
    top: 0;
    z-index: 1040;
}*/

/* Bump anchor targets below fixed/sticky headers */
/*.anchor-section {
    scroll-margin-top: 170px;
}*/

/* ==========================================================================
   6) BACK-TO-TOP BUTTON
   ========================================================================== */
#backToTop a.btn {
    background: rgba(41, 87, 122, 0.65);
    border: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s, box-shadow 0.2s;
}

    #backToTop a.btn:hover,
    #backToTop a.btn:focus {
        background: rgba(41, 87, 122, 0.93);
        box-shadow: 0 4px 16px rgba(0,0,0,0.25);
        color: #fff;
        outline: none;
    }

/* ==========================================================================
   7) FILE ROWS (lists of files with dates/buttons)
   ========================================================================== */
.file-link-btn {
    text-align: left;
    width: 100%;
}

.file-row {
    display: flex;
    align-items: center;
}

.file-date {
    white-space: nowrap;
    font-size: 0.9em;
    color: black;
}

/* ==========================================================================
   8) HEADER SEARCHBAR (banner area)
   ========================================================================== */
.header-searchbar {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 0;
    transition: width 0.3s;
}

/* Large screens: align to right/end */
@media (min-width: 992px) {
    .header-searchbar {
        width: 100%;
        max-width: 100%;
    }

    .banner-searchbar-col {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
}

/* Below LG: align left and add a bit of top spacing */
@media (max-width: 991.98px) {
    .banner-searchbar-col {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* Panel + input sizing */
.searchbar-panel,
.header-searchbar .searchbar-panel {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

    .searchbar-panel .input-group {
        width: 100%;
    }


/* ==========================================================================
   10) APPLICATIONS & MISC DASHBOARD TILES
   ========================================================================== */
.misc-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-bottom: 1rem;
}

.misc-tile-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.misc-tile {
    color: #fff;
    min-height: 110px;
    aspect-ratio: 2/1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,.07);
    font-size: 1.13rem;
    margin-bottom: 0;
    width: 100%;
    transition: box-shadow 0.16s, transform 0.16s;
    position: relative;
    overflow: hidden;
}

    .misc-tile:hover {
        box-shadow: 0 6px 18px 0 rgba(0,0,0,.14);
        transform: translateY(-2px) scale(1.04);
        color: #fff;
        text-decoration: none;
    }

    .misc-tile .fa-duotone,
    .misc-tile .fad {
        font-size: 2rem;
        margin-bottom: 10px;
        --fa-primary-color: #fff;
        --fa-secondary-color: #e6e9f1;
        --fa-secondary-opacity: 0.40;
    }

    .misc-tile .tile-label {
        text-align: center;
        font-size: 1.08rem;
        font-weight: 400;
        line-height: 1.16;
    }

    /* Gradient color variants */
    .misc-tile.bg-mauve {
        background: linear-gradient(10deg, #827191 0%, #9b8db5 100%);
    }

    .misc-tile.bg-orange {
        background: linear-gradient(10deg, #f7a342 0%, #ffb765 100%);
    }

    .misc-tile.bg-blue {
        background: linear-gradient(10deg, #325e89 0%, #5a95c7 100%);
    }

    .misc-tile.bg-green {
        background: linear-gradient(10deg, #1db884 0%, #56df8d 100%);
    }

    .misc-tile.bg-yellow {
        background: linear-gradient(10deg, #ffb23c 0%, #ffd16c 100%);
    }

    .misc-tile.bg-purple {
        background: linear-gradient(10deg, #a35fd6 0%, #ce86f5 100%);
    }

    .misc-tile.bg-red {
        background: linear-gradient(10deg, #c63e44 0%, #f8706a 100%);
    }

    .misc-tile.bg-teal {
        background: linear-gradient(10deg, #16b9ae 0%, #66d6c9 100%);
    }

    .misc-tile.bg-darkorange {
        background: linear-gradient(10deg, #fd8301 0%, #ffb76d 100%);
    }
    .misc-tile.bg-blue-grey {
        background: linear-gradient(10deg, #6b849c 0%, #86a3bf 100%);
    }

/* Responsive tweaks for misc tiles */
@media (max-width: 900px) {
    .misc-tile {
        min-height: 90px;
        font-size: 1.0rem;
    }
}

@media (max-width: 650px) {
    .misc-tile-grid {
        gap: 10px;
    }

    .misc-tile {
        min-height: 70px;
        font-size: 0.96rem;
    }
}

/* ==========================================================================
   11) DASHBOARD ICON TILES
   ========================================================================== */
.icon-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.icon-tile-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.icon-tile {
    background: linear-gradient(10deg, #035ea8 0%, #74b6f8 100%);
    color: #fff;
    min-height: 170px;
    padding-left:10px;
    padding-right:10px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,.07);
    font-size: 1.08rem;
    margin-bottom: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .icon-tile:hover {
        box-shadow: 0 6px 18px 0 rgba(0,0,0,.14);
        transform: translateY(-2px) scale(1.04);
        color: #fff;
        text-decoration: none;
    }

    .icon-tile .fa-duotone,
    .icon-tile .fad {
        font-size: 2.6rem;
        margin-bottom: 18px;
        --fa-primary-color: #fff;
        --fa-secondary-color: #e3eef9;
        --fa-secondary-opacity: 0.45;
    }

    .icon-tile .tile-label {
        text-align: center;
        font-size: 1.09rem;
        font-weight: 400;
        word-break: break-word;
        line-height: 1.16;
    }

/* Responsive tweaks for icon tiles */
@media (max-width: 1000px) {
    .icon-tile {
        min-height: 120px;
        font-size: 0.98rem;
    }
}

@media (max-width: 700px) {
    .icon-tile-grid {
        gap: 12px;
    }

    .icon-tile {
        min-height: 90px;
        font-size: 0.93rem;
    }
}

/* ==========================================================================
   12) PUBLIC SEARCH BOX & RESULTS
   ========================================================================== */
.public-searchbox {
    background: #f9fafb;
    padding: 2rem 1rem 1.5rem 1rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,.07);
    width: 100%;
}

    .public-searchbox h1 {
        font-size: 2.15rem;
        font-weight: 700;
        color: #1f486b;
        margin-bottom: 0.4em;
        display: flex;
        align-items: center;
        gap: 0.3em;
    }

    .public-searchbox p {
        font-size: 1.09rem;
        margin-bottom: 1.2em;
        color: #444;
    }

.public-search-inputgroup {
    margin: 15px 0 0 0;
    width: 100%;
    max-width: 650px;
}

    .public-search-inputgroup .form-control {
        font-size: 1.15rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        border-right: 0;
    }

    .public-search-inputgroup .btn {
        font-size: 1.13rem;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        padding: 0.85rem 1.6rem;
        margin-left: 0;
    }

/* Searchbox responsiveness */
@media (max-width: 600px) {
    .public-searchbox h1 {
        font-size: 1.32rem;
    }

    .public-search-inputgroup {
        max-width: 100%;
    }

        .public-search-inputgroup .form-control {
            font-size: 1rem;
            padding-top: 0.7rem;
            padding-bottom: 0.7rem;
        }

        .public-search-inputgroup .btn {
            font-size: 1rem;
            padding: 0.7rem 1.1rem;
        }
}

/* Results list in columns (auto-wrap by width) */
.columns3 {
    columns: 3 340px;
    column-gap: 2rem;
    padding-left: 0;
    margin-bottom: 1.7rem;
    margin-top: 1.2rem;
    list-style: none;
}

@media (max-width: 1200px) {
    .columns3 {
        columns: 2 290px;
    }
}

@media (max-width: 700px) {
    .columns3 {
        columns: 1 100%;
    }
}

/* Search results well look & a CTA panel variant */
.well, .well-darker {
    background: #e9f2fb;
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.07);
    padding: 1.1rem 1.3rem;
    margin-bottom: 2rem;
}

.bg-default.well-darker.spacer {
    background: #f2f2f2 !important;
    border-radius: 8px;
    padding: 1.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 1.7rem;
}

.text-deepsearch {
    font-size: 1.19rem;
    color: #1f486b;
    font-weight: 500;
}

.btn-deepsearch {
    font-size: 1.15rem;
    min-width: 170px;
    margin-left: 1rem;
}

/* Mobile tweaks for deep search CTA */
@media (max-width: 600px) {
    .btn-deepsearch {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }

    .text-deepsearch {
        font-size: 1.1rem;
        display: block;
    }
}

/* Small utility spacers */
.toppad15 {
    margin-top: 15px;
}

.toppad5 {
    margin-top: 5px;
}

.topspace15 {
    margin-top: 15px;
}

.topspace25 {
    margin-top: 25px;
}

/* ==========================================================================
   13) STICKY SECTION NAV (floating left menu)
   ========================================================================== */
.sticky-section-nav {
    position: fixed;
    top: 534px; /* Adjust for your header stack */
    left: 24px; /* Set 0 for flush to left edge */
    width: 250px;
    margin: 0 !important;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.07);
    z-index: 1030;
    max-height: 80vh;
    overflow-y: auto;
    transition: top 0.2s;
}

    .sticky-section-nav ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .sticky-section-nav a {
        display: block;
        color: #1f486b;
        padding: 0.5rem 1rem;
        text-decoration: none;
        transition: background 0.2s;
    }

        .sticky-section-nav a:hover {
            background: #f3f6fa;
            color: #1567a3;
            text-decoration: underline;
        }

/* ==========================================================================
   14) PAGE BANNERS (full-bleed hero strips)
   ========================================================================== */

/* Override Bootstrap carousel controls */
/* 1) Stop Bootstrap from ghosting the controls */
.carousel-control-prev,
.carousel-control-next {
    opacity: .85 !important; /* <-- the real fix */
}

/* 2) Kill Bootstrap's baked-in chevron bg and draw our own */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important; /* nuke default SVG */
    background-color: #1F2937 !important; /* solid circle bg */
    border-radius: 50% !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    /* 3) White arrow with masks (AA contrast on any light bg) */
    .carousel-control-prev-icon::after,
    .carousel-control-next-icon::after {
        content: '';
        width: 0.75rem;
        height: 0.75rem;
        background-color: #FFFFFF;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
    }

    .carousel-control-prev-icon::after {
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M5.25 0L6 0.75 2.75 4 6 7.25 5.25 8 1 4l4.25-4z'/%3E%3C/svg%3E");
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M5.25 0L6 0.75 2.75 4 6 7.25 5.25 8 1 4l4.25-4z'/%3E%3C/svg%3E");
    }

    .carousel-control-next-icon::after {
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M2.75 0L2 0.75 5.25 4 2 7.25 2.75 8 7 4 2.75 0z'/%3E%3C/svg%3E");
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M2.75 0L2 0.75 5.25 4 2 7.25 2.75 8 7 4 2.75 0z'/%3E%3C/svg%3E");
    }

/* 4) Hover/focus: darker bg + visible focus ring for a11y */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:focus .carousel-control-prev-icon,
.carousel-control-next:focus .carousel-control-next-icon {
    background-color: #0B1220 !important; /* darker hover */
    outline: 2px solid #FFFFFF; /* keyboard focus */
    outline-offset: 2px;
}





/* Accounting */
.accounting-banner {
    background-image: url('/Content/img/banners/Banner-Accounting.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    width: 100vw;
    min-width: 100vw;
    height: 200px;
    margin: 0 calc(50% - 50vw);
    display: block;
    overflow: hidden;
    position: relative;
}

/* Auditing */
.auditing-banner {
    background-image: url('/Content/img/banners/Banner-Auditing2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100vw;
    min-width: 100vw;
    height: 200px; /* The David Banner Height! */
    margin: 0 calc(50% - 50vw);
    display: block;
    overflow: hidden;
    position: relative;
}

/* P-Card (blur) – page section */
.P-Card {
    background-image: url('/Content/img/banners/P-Card_blur.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    height: 350px; /* kept last declared height */
    width: 100%;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
}

/* Local Government P-Card (full-bleed) */
.LG_P-Card {
    background-image: url('/Content/img/banners/Banner_LG_P-Card.jpg');
    background-repeat: no-repeat;
    background-position: top left;
    background-color: #000000;
    height: 250px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
    z-index: 1;
}

/* Special Investigation (full-bleed) */
.SpecialInvestigation {
    background-image: url('/Content/img/banners/Banner-Special.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    height: 200px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
    padding-top: 20px;
    z-index: 1;
}

/* Grant Oversight (full-bleed) */
.GrantOversight {
    background-image: url('/Content/img/banners/Banner_Grant-Oversight_001.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    height: 250px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
    z-index: 1;
}

/* Local Gov (relative path note preserved) */
.LocalGov {
    background-image: url('../Content/img/banners/LocalGov.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    height: 230px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
    z-index: 1;
}

/* Budget Analysis (full-bleed) */
.Budget-Analysis {
    background-image: url('/Content/img/banners/Banner_Budget.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    display: block;
    visibility: visible;
    overflow: hidden;
    z-index: 1;
}

/* ==========================================================================
   15) MAIN PIC / HERO TEXT (over banner images)
   ========================================================================== */
.main-pic {
    display: block;
    visibility: visible;
}

/* Container that holds the hero text */
.main-pic-container {
    padding-top: 2rem;
    font-size: 1.1em;
    line-height: 1.6;
    width: 100%;
    text-shadow: 2px 2px 8px #000;
}

/* Main headline style on hero */
h1.main-pic {
    font-size: 3.5em;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4em;
    text-shadow: 2px 2px 8px #000;
}

/* Subhead under hero */
.sub-header {
    font-size: 1.3em;
    color: #fff;
    text-shadow: 1px 1px 4px #000;
    margin-bottom: 1em;
}

/* Smaller lead */
.lead-smaller {
    font-size: 1em;
    opacity: 0.85;
}

/* Responsive tuning for hero text */
@media (min-width: 1400px) {
    .main-pic-container {
        padding-top: 1rem;
        font-size: 1.15em;
        line-height: 1.2;
        width: 80%;
    }

    h1.main-pic {
        font-size: 4em;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-pic-container {
        padding-top: 1.5rem;
        font-size: 1.13em;
        line-height: 1.2;
        width: 85%;
    }

    h1.main-pic {
        font-size: 3.8em;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-pic-container {
        padding-top: 2rem;
        font-size: 1.1em;
        line-height: 1.4;
        width: 90%;
    }

    h1.main-pic {
        font-size: 3.5em;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-pic-container {
        padding-top: 1.25rem;
        font-size: 1em;
        line-height: 1.3;
        width: 100%;
    }

    h1.main-pic {
        font-size: 3em;
    }

    .lead-smaller {
        font-size: 0.92em;
    }
}

/* Small screens: scale down hero + show RulesOfAuditing */
@media (max-width: 767.98px) {
    .main-pic-container {
        padding-top: 1rem;
        font-size: 0.98em;
        line-height: 1.2;
        width: 100%;
    }

    h1.main-pic {
        font-size: 2em;
    }

    .RulesOfAuditing {
        display: block;
        visibility: visible;
    }
}

/* Extra-small devices: keep RulesOfAuditing visible */
@media (max-width: 480px) {
    .RulesOfAuditing {
        display: block;
        visibility: visible;
    }
}

/* Default: RulesOfAuditing hidden on larger screens */
.RulesOfAuditing {
    display: none;
}

/* ==========================================================================
   16) FORM CONTROLS & SELECT ALIGNMENT
   ========================================================================== */
/* Force left-aligned content for all dropdown/select controls */
select,
.dropdown-menu,
.dropdown-item,
.form-select {
    text-align: left !important;
}

    /* Options also left-aligned */
    select option {
        text-align: left !important;
    }

/* ==========================================================================
   17) PUBLIC UTILITY CARD (CTA tiles used in public pages)
   ========================================================================== */
.public-utility-card {
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 18px 15px;
    background: linear-gradient(to bottom, #65a6f8 0%, #226dbe 100%);
    color: #fff;
    font-size: 1.2rem;
    font-family: inherit;
    border-radius: 4px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(34, 109, 190, 0.07);
    transition: box-shadow 0.1s;
}

    .public-utility-card:hover {
        box-shadow: 0 4px 10px rgba(34, 109, 190, 0.19);
    }

    .public-utility-card span {
        text-align: left;
        line-height: 1.2;
        font-size: 1.11rem;
        font-weight: 400;
        width: 100%;
    }

/* ==========================================================================
   18) RADIO BUTTON ALIGNMENT
   ========================================================================== */
input[type="radio"] {
    margin-right: 10px;
    margin-top: 8px;
    vertical-align: top;
}

    input[type="radio"] + label,
    input[type="radio"] ~ label {
        vertical-align: text-top;
    }

/* ==========================================================================
   19) COLUMN WIDTH HELPERS (tables/grids)
   ========================================================================== */
.column-width-75 {
    width: 75px;
}

.column-width-100 {
    width: 100px;
}

.column-width-450 {
    width: 450px;
}

/* ==========================================================================
   20) OFFCANVAS OVERRIDES (Bootstrap z-index fixes)
   ========================================================================== */
/* Ensure offcanvas overlays the backdrop and page correctly */
#sectionNavOffcanvas {
    --bs-offcanvas-zindex: 2000;
    z-index: 2000 !important;
}

.offcanvas-backdrop {
    z-index: 1999 !important;
}

.offcanvas-toggle {
    z-index: 2001 !important;
}
/* Force override for GridView table-striped backgrounds */
table.table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #BDBDBD !important; /* WCAG-compliant gray */
    --bs-table-accent-bg: #BDBDBD !important;
    background-image: none !important; /* For older Bootstrap weirdness */
}
