:root {
    --a11y-root-font-size: 100%;
}

html {
    font-size: var(--a11y-root-font-size);
}

.a11y-skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 10001;
    padding: .75rem 1rem;
    color: #fff;
    background: #124e96;
    border-radius: 0 0 .35rem .35rem;
    font-weight: 700;
    transform: translateY(-120%);
    transition: transform .2s ease;
}

.a11y-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.a11y-widget {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 10000;
    color: #17202a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.a11y-trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1rem;
    color: #fff;
    background: #124e96;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .3);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.a11y-trigger i {
    font-size: 1.35rem;
}

.a11y-panel {
    position: absolute;
    bottom: calc(100% + .75rem);
    left: 0;
    width: min(360px, calc(100vw - 2rem));
    max-height: calc(100vh - 6rem);
    padding: 1rem;
    background: #fff;
    border: 1px solid #ccd2d8;
    border-radius: .75rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
    overflow-y: auto;
}

.a11y-panel[hidden] {
    display: none !important;
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid #dce1e5;
}

.a11y-panel-header h2 {
    margin: 0;
    color: #17202a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.a11y-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #17202a;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .35rem;
    cursor: pointer;
}

.a11y-text-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
    padding: .55rem .65rem;
    color: #17202a;
    background: #f2f5f8;
    border-radius: .4rem;
    font-weight: 600;
}

.a11y-mode-group {
    margin-bottom: .75rem;
}

.a11y-group-label {
    display: block;
    margin-bottom: .45rem;
    color: #17202a;
    font-size: .9rem;
    font-weight: 700;
}

.a11y-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}

.a11y-mode {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 58px;
    padding: .5rem;
    color: #17202a;
    background: #f2f5f8;
    border: 1px solid #ccd2d8;
    border-radius: .4rem;
    text-align: left;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
}

.a11y-mode i {
    flex: 0 0 1.2rem;
    color: #124e96;
    font-size: 1rem;
    text-align: center;
}

.a11y-mode[aria-pressed="true"] {
    color: #fff;
    background: #124e96;
    border-color: #124e96;
}

.a11y-mode[aria-pressed="true"] i {
    color: #fff;
}

.a11y-text-controls div {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.a11y-text-controls button {
    min-width: 38px;
    min-height: 38px;
    color: #124e96;
    background: #fff;
    border: 1px solid #124e96;
    border-radius: .3rem;
    font-weight: 700;
    cursor: pointer;
}

.a11y-text-controls output {
    min-width: 48px;
    text-align: center;
    font-size: .85rem;
}

.a11y-option,
.a11y-reset {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    min-height: 44px;
    margin-top: .4rem;
    padding: .6rem .75rem;
    color: #17202a;
    background: #fff;
    border: 1px solid #ccd2d8;
    border-radius: .4rem;
    text-align: left;
    cursor: pointer;
}

.a11y-option i,
.a11y-reset i {
    width: 1.25rem;
    color: #124e96;
    text-align: center;
}

.a11y-option[aria-pressed="true"] {
    color: #fff;
    background: #124e96;
    border-color: #124e96;
}

.a11y-option[aria-pressed="true"] i {
    color: #fff;
}

.a11y-reset {
    justify-content: center;
    margin-top: .75rem;
    color: #8a1c1c;
    border-color: #b94a48;
    font-weight: 700;
}

.a11y-reset i {
    color: inherit;
}

.a11y-trigger:hover,
.a11y-trigger:focus,
.a11y-mode:hover,
.a11y-option:hover,
.a11y-reset:hover,
.a11y-close:hover,
.a11y-text-controls button:hover {
    filter: brightness(.9);
}

.a11y-widget button:focus-visible,
.a11y-skip-link:focus-visible,
#wrapper a:focus-visible,
#wrapper button:focus-visible,
#wrapper input:focus-visible,
#wrapper select:focus-visible,
#wrapper textarea:focus-visible {
    outline: 3px solid #ffbf47 !important;
    outline-offset: 3px !important;
}

.a11y-reading-guide {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
}

.a11y-reading-guide-top,
.a11y-reading-guide-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    background: rgba(28, 33, 38, .48);
}

.a11y-reading-guide-top {
    top: 0;
    height: max(0px, calc(var(--a11y-guide-y, 50vh) - 60px));
}

.a11y-reading-guide-bottom {
    top: calc(var(--a11y-guide-y, 50vh) + 60px);
    bottom: 0;
}

.a11y-reading-ruler {
    position: fixed;
    top: calc(var(--a11y-guide-y, 50vh) - 60px);
    left: 0;
    width: 100%;
    height: 120px;
    border-top: 3px solid rgba(18, 78, 150, .75);
    border-bottom: 3px solid rgba(18, 78, 150, .75);
    background: rgba(255, 248, 220, .12);
}

.a11y-reading-progress {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10002;
    width: 100%;
    height: 6px;
    background: #d8d1c3;
}

.a11y-reading-progress span {
    display: block;
    width: var(--a11y-reading-progress, 0%);
    height: 100%;
    background: #124e96;
    transition: width .1s linear;
}

.a11y-reading-time {
    display: none;
    position: fixed;
    top: 14px;
    right: 1rem;
    z-index: 9999;
    padding: .4rem .7rem;
    color: #17202a;
    background: #fff8dc;
    border: 2px solid #124e96;
    border-radius: .35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

html.a11y-readable-font #wrapper,
html.a11y-readable-font #wrapper * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: .015em;
}

html.a11y-underline-links #wrapper a:not(.btn) {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px;
}

html.a11y-grayscale #wrapper,
html.a11y-grayscale .container-dropdown,
html.a11y-grayscale .modal {
    filter: grayscale(100%);
}

html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) body,
html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper,
html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #content-wrapper,
html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #content,
html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #main-content,
html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper :where(nav, section, article, header, footer, .card, .modal-content, .dropdown-menu) {
    color: #fff !important;
    background-color: #000 !important;
    background-image: none !important;
}

html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper :where(p, span, label, h1, h2, h3, h4, h5, h6, li) {
    color: #fff !important;
}

html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper a {
    color: #ffeb3b !important;
}

html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper :where(input, select, textarea) {
    color: #000 !important;
    background: #fff !important;
    border: 2px solid #ffeb3b !important;
}

html:is(.a11y-high-contrast, .a11y-mode-visually-impaired) #wrapper :where(.btn, button) {
    border: 2px solid #ffeb3b !important;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

html.a11y-reduce-motion [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

html.a11y-mode-epilepsy-safe *,
html.a11y-mode-epilepsy-safe *::before,
html.a11y-mode-epilepsy-safe *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

html.a11y-mode-epilepsy-safe #wrapper :where(img, video, iframe) {
    filter: saturate(55%);
}

html.a11y-mode-cognitive-disability #wrapper,
html.a11y-mode-cognitive-disability #wrapper * {
    font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-mode-cognitive-disability #main-content :where(p, li, label) {
    line-height: 1.8 !important;
    letter-spacing: .025em !important;
    word-spacing: .08em !important;
}

html.a11y-mode-cognitive-disability #wrapper a:not(.btn) {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px;
}

html.a11y-mode-adhd-friendly .a11y-reading-guide {
    display: block;
}

html.a11y-mode-adhd-friendly .a11y-reading-progress,
html.a11y-mode-adhd-friendly .a11y-reading-time {
    display: block;
}

html.a11y-mode-adhd-friendly :where(.a11y-distraction, .footer-social-links, #main-content aside:not(.a11y-widget), .swiper-pagination, .carousel-indicators) {
    display: none !important;
}

html.a11y-mode-adhd-friendly #main-content {
    color: #20252b !important;
    background: #f7f1e3 !important;
}

html.a11y-mode-adhd-friendly #main-content :where(section, article, .card, .card-body) {
    color: #20252b !important;
    background-color: #fffaf0 !important;
    background-image: none !important;
}

html.a11y-mode-adhd-friendly #main-content :where(p, li, label, input, textarea, select, button) {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: .015em;
}

html.a11y-mode-adhd-friendly #main-content img[src$=".gif" i] {
    visibility: hidden !important;
}

.a11y-bionic-prefix {
    font-weight: 800 !important;
}

html.a11y-mode-adhd-friendly *,
html.a11y-mode-adhd-friendly *::before,
html.a11y-mode-adhd-friendly *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

html.a11y-mode-adhd-friendly #main-content :where(p, li, a, button):focus-visible {
    outline: 4px solid #ffbf47 !important;
    outline-offset: 4px !important;
}

html.a11y-mode-adhd-friendly #main-content :where(input, textarea, select):focus {
    border: 3px solid #124e96 !important;
    box-shadow: 0 0 0 4px rgba(255, 191, 71, .75) !important;
    outline: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 575.98px) {
    .a11y-widget {
        left: .65rem;
        bottom: .65rem;
    }

    .a11y-trigger {
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
    }

    .a11y-trigger-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
