.alert-banner {
    color: #fff;
    background-color: #333333;
}

    .alert-banner a:not(.btn), .alert-banner .close {
        color: #fff;
    }

    .alert-banner img {
        max-width: 28px;
        max-height: 28px;
        margin-right: .5rem;
        margin-top: -3px;
    }

.branding {
    margin-bottom: 50px;
}

    .branding .header-organization-banner img {
        max-height: 120px;
    }

.breadcrumb .active {
    background-color: #fff;
}

.breadcrumb li + li::before {
    content: ">";
    margin: 0 0.5em;
}

.color-s5 {
    color: #78B0C9 !important;
}

.content-focus {
    background-color: #323a45;
    color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    margin-top: 25px;
    border: 4px solid #fdc64b;
}

.content-focus-b2i {
    background-color: #0359a3;
    color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    margin-top: 25px;
    border: 4px solid #8eaac5;
}

.emergency-font {
    font-size: .9rem;
}

.header-image {
    width: 100%;
    height: auto;
    overflow: auto !important;
    background-image: url(/images/darkteal_smoke.jpg);
    background-position: center;
    background-size: cover;
    display: block;
    min-width: 100%;
    min-height: 100%;
    position: relative;
    color: #fff;
    padding: 1rem 0 1.5rem
}

.infoblock {
    position: relative;
    border: solid 1px #046b99;
    background: #eef8fb !important;
    padding: 15px !important;
    margin: 0 0 30px !important;
    border-left: 8px solid !important;
}

.yellow_link a {
    color: #fdc64b;
    font-weight: bold;
    text-decoration: underline;
}

/* Removes right carat at the end of link buttons if carat is being read as 5 */
.link-grid::after {
    display: none;
}

.midcol {
    text-align: center;
}

.profile-banner {
    background: rgba(0,0,0,.35);
}

/* Resizing for Media */
/*#img1 {
    display: block;
}

#img2 {
    display: none;
}

@media all and (max-width: 720px) {
    #img1 {
        display: none;
    }

    #img2 {
        display: block;
        width: 75px;
    }

    .branding {
        margin-bottom: 0;
    }
}*/

/* CAROUSEL BEGIN */
* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }


/* Table Formatting LAP and LAR */
table {
    text-align: center;
    border-collapse: collapse;
    border: 1px solid black;
}

    table th {
        color: #fff;
        background-color: #323A45;
        border: 1px solid #FF0000;
        table-layout: auto;
    }

    table td {
        border: 1px solid #FF0000;
        table-layout: auto;
    }

.tablelabel {
    text-align: left;
    table-layout: auto;
}

td.form {
    padding: 10px;
    text-align: left;
}

td.lang {
    padding: 10px;
    text-align: right;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #717171;
    }

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
/* CAROUSEL END */


/* Layout Logo Sizing */
.header-organization-banner img {
    width: 60%;
}
/* Layout Logo Sizing End */


/* Homepage Image Overflow Fix */
.bg-primary img {
    overflow-clip-margin: 0px;
    max-width: 100%;
    height: auto;
}

/* End Homepage Image Overflow Fix */

/* Executive Profile Styling */
.executive-profile {
    background-color: rgba(50,58,69,0.75);
    border-radius: 15px;
    margin-top: 25px;
    margin-bottom: 40px;
    border: 1px solid #999999;
}

/* End Executive Profile Styling */

/* Main Nav and top banner Update 6.5.1 */
.global-header .section-default:after {
    border-bottom: 2px solid #eaeaea !important;
}

.row {
    --bs-gutter-x: 0;
}

/* End Main Nav Update 6.5 */



/* Right-Column Link Hover Action */
.list-group-item:hover {
    color: #237ea6;
    border-left: 4px solid;
}

/* End Right-Column Link Hover Action */


/* Stat Counter on Homepage */
/* Minimal, self-contained styles for the info block */
.info-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.info-card {
    flex: 1 1 260px;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,0.33);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
}

/* Colored top band that uses the site's palette classes (section-primary, section-impact, section-inverted, etc.)
                           These classes come from the state template CSS loaded in _Layout.cshtml, so the band will match the site palette. */
.card-band {
    height: 8px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.info-card .content {
    margin-top: 6px; /* leave space for the band */
}

.info-card h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
    color: #222;
    font-weight: 600;
    line-height: 1.1;
}

.info-card .meta {
    font-size: .875rem;
    color: #666;
    margin-bottom: .5rem;
}

.stat {
    font-size: 2rem;
    font-weight: 700;
    color: inherit; /* keep high contrast text color from card */
    margin: .25rem 0;
}

.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;
}
/* END Stat Counter on Homepage */


/* Carousel (W3C-style) visual styles */
.carousel {
    margin: 1rem 0 2rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide {
    flex: 0 0 340px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    padding: .5rem;
    box-shadow: 0 6px 18px rgba(3,10,18,0.06);
    box-sizing: border-box;
}

    .carousel-slide[aria-hidden="true"] {
        opacity: .8;
    }

.vc-thumb-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 6px;
}

.vc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vc-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.62);
    color: #fff;
    border: none;
    padding: .5rem .8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.vc-meta {
    padding: 0 .25rem;
}

.vc-title {
    font-size: 1.05rem;
    color: #222;
}

.vc-desc {
    font-size: .925rem;
    color: #444;
}

.vc-links {
    margin-top: .5rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.vc-link {
    background: transparent;
    border: 1px solid #237ea6;
    color: #237ea6;
    padding: .35rem .6rem;
    border-radius: 6px;
    text-decoration: none;
}

.carousel-controls {
    position: relative; /* container for absolutely positioned buttons */
    display: block;
    padding: 0.5rem 2.5rem; /* room for left/right buttons */
    margin-top: 0.75rem;
    box-sizing: border-box;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: #fff;
    border: 1px solid #ddd;
    padding: .4rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}

/* left / right offset so buttons sit outside the indicator group */
.carousel-prev {
    left: 0.5rem;
}

.carousel-next {
    right: 0.5rem;
}

.carousel-indicators {
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    z-index: 2;
    flex: none;
    padding: 0;
    min-width: 0;
}

/* reduce indicator size slightly so buttons never overlap */
.ind-btn {
    min-width: 34px;
    height: 30px;
    padding: 0 .45rem;
    box-sizing: border-box;
}

/* Responsive: on small screens stack controls vertically below track */
@media (max-width: 520px) {
    .carousel-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        padding: .5rem;
    }

    .carousel-prev,
    .carousel-next {
        position: static;
        transform: none;
    }

    .carousel-indicators {
        margin: 0;
    }
}

/* Ensure video modal is fully hidden until opened and rendered as a fixed overlay */
.vc-modal {
    display: none !important; /* hide by default */
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    padding: 1.25rem;
    box-sizing: border-box;
}

    /* When JS sets aria-hidden="false" show modal as a centered flex overlay */
    .vc-modal[aria-hidden="false"] {
        display: flex !important;
    }

/* Modal content: centered panel with close button positioned absolutely */
.vc-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 18px 42px rgba(3,10,18,0.12);
}

/* Visible, accessible close button positioned in the top-right of the panel */
.vc-modal-close {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 3;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

/* Carousel control layout: keep Prev/Next separate from indicators to avoid overlap */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
}

/* Prev/Next stay on the outside, above indicators visually and in z-order */
.carousel-prev,
.carousel-next {
    z-index: 4;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #ddd;
    padding: .4rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Centered indicators: fixed size and do not expand to overlap controls */
.carousel-indicators {
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex: 0 0 auto; /* avoid stretching */
    min-width: 160px;
    padding: 0 .25rem;
}

/* Indicator button sizing so they don't grow into neighboring buttons */
.ind-btn {
    min-width: 38px;
    height: 34px;
    padding: 0 .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
}

    /* Active indicator style */
    .ind-btn[aria-current="true"] {
        background: #237ea6;
        color: #fff;
        border-color: #237ea6;
    }

/* On small viewports stack controls to avoid overlap */
@media (max-width: 520px) {
    .carousel-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    .carousel-indicators {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
}

/* Force visible focus outline on carousel indicator tabs (override any global button rules) */
.carousel-indicators [role="tablist"] button:focus,
.carousel-indicators [role="tablist"] button:focus-visible,
button.ind-btn:focus,
button.ind-btn:focus-visible {
    outline: 3px solid #4A90E2 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25) !important;
}

/* Ensure active/selected indicator has both visual and focus feedback */
button.ind-btn[aria-selected="true"] {
    background: #237ea6;
    color: #fff;
    border-color: #237ea6;
}

    button.ind-btn[aria-selected="true"]:focus,
    button.ind-btn[aria-selected="true"]:focus-visible {
        outline: 3px solid #fff !important;
        outline-offset: 2px !important;
        box-shadow: 0 0 0 3px rgba(35, 126, 166, 0.35) !important;
    }

button.ind-btn[aria-selected="false"] {
    background: transparent;
    border: 1px solid #ddd;
    color: inherit;
}
/* Video carousel End */


/* Accessible table styling */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table.table-accessible {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    /* Header row styling */
    .table.table-accessible thead {
        background-color: #323a45 !important;
        color: #fff;
    }

        .table.table-accessible thead th {
            padding: 1rem;
            text-align: center !important;
            font-weight: 700;
            border: 3px solid #323a45;
            vertical-align: middle;
        }

    /* Body cell styling */
    .table.table-accessible tbody td {
        padding: 0.75rem 1rem;
        padding-left: 10px;
        padding-right: 10px;
        text-align: left !important;
        border: 3px solid #323a45;
        vertical-align: middle;
    }

    /* Alternating row colors for readability */
    .table.table-accessible tbody tr:nth-child(odd) {
        background-color: #f9f9f9;
    }

    .table.table-accessible tbody tr:nth-child(even) {
        background-color: #ffffff;
    }

    /* Hover state for better interaction */
    .table.table-accessible tbody tr:hover {
        background-color: #f0f5f9;
    }

    /* Currency column alignment and formatting */
    .table.table-accessible td[data-currency="true"] {
        text-align: right !important;
        font-family: 'Courier New', monospace;
        white-space: nowrap;
    }

    /* Focus styles for keyboard navigation */
    .table.table-accessible tbody tr:focus-within {
        outline: 3px solid #4A90E2;
        outline-offset: -3px;
    }

/* Responsive tables on small screens */
@media (max-width: 768px) {
    .table.table-accessible {
        font-size: 0.9rem;
    }

        .table.table-accessible thead th,
        .table.table-accessible tbody td {
            padding: 0.5rem;
        }

        .table.table-accessible thead th {
            font-size: 0.85rem;
        }
}

/* Print styles */
@media print {
    .table.table-accessible {
        box-shadow: none;
    }

        .table.table-accessible tbody tr:hover {
            background-color: transparent;
        }
}
/* End Accessible table styling */