.wcag-popover:focus-within {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#main-menu ul li:focus-within > ul {
    display: block;
}

.top-inner {
    min-height: 93px;
    transition: all 0.3s;
}

#main-menu li a {
    padding-top: 10px;
    padding-bottom: 10px;
}

header.sticky .top-inner {
    min-height: 72px;
}

.wcag-bar-sides {
    transition: all ease-in-out 0.3s;
    height: 76px;
    padding: 0;
    min-height: unset;
    margin: 0 -10px;
}

header.sticky:not(:has(.wcag-bar *:focus, .wcag-bar *:focus-within)) .wcag-bar-sides {
    height: 0;
    overflow: hidden;
}
header {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.top {
    background: #fff;
}

.link-inner::after {
    display: none
}

.link-inner:has(.new-window-info) .link-name::after {
    content: '↗';
    margin-left: 3px;
}


ul.listMenu.sitemap {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

ul.listMenu.sitemap > li {
    display: flex;
    flex-direction: column;
    position: relative;
}

.listMenu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.listMenu-inner a {
    display: flex;
}

ul.listMenu.sitemap > li ul {
    display: block;
    padding-top: 5px;
    padding-left: 15px;
}

.listMenu-inner a {
    color: var(--color-default);
    font-weight: 400;
}

.listMenu-inner button.btn-square {
    width: 36px;
    height: 36px;
}

.marg-md {
    margin-bottom: var(--space-60);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

#main-menu li > ul {
    top: calc(100% + 25px);
}

#main-menu li > ul::after {
    content: '';
    background: transparent;
    height: 42px;
    top: -41px;
    left: 0;
    position: absolute;
    width: 100%;
}

header.sticky #main-menu li > ul::after {
    content: '';
    background: transparent;
    left: 0;
    position: absolute;
    width: 100%;
    height: 30px;
    top: -29px;
}

header.sticky #main-menu li > ul {
    top: calc(100% + 14px);
}

@media screen and (max-width: 900px) {
    div#content {
        padding-top: 70px !important;
    }
}

.wcag-mode-contrast .top {
    background: #000;
}

.wcag-mode-contrast #main-menu li:after {
    background: var(--wcag-contrast);
}

@media screen and (max-width: 1440px) {
    .wcag-mode-textonly .wcag-bar-sides {
        height: 106px;
        padding: 10px 0;
    }
}

#content {
    padding-top: 171px !important;
}

.wcag-mode-contrast .percent-link {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    text-transform: uppercase;
}


@media screen and (max-width: 1140px) {
    .top-inner {
        min-height: 70px;
    }

    .wcag-mode-textonly .rwdPanel-action-toggle span:not(.sr-only) {
        display: none;
    }
}

.wcag-mode-textonly header .top-right .main-menu-button .sr-only {
    padding: 0 5px !important;
    min-height: 40px;
    border: 1px solid var(--wcag-contrast);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: unset !important;
    background: transparent !important;
    width: unset !important;
    min-width: 57px !important;
}

.wcag-mode-textonly .main-menu-button {
    padding: 0 !important;
    margin: 0 !important;
    width: unset !important;
    max-width: unset !important;
}

.wcag-mode-textonly .main-menu-button::before {
    display: none;
}

.wcag-mode-textonly .top-right {
    display: flex;
    align-items: center;
    gap: 10px !important;
}

@media screen and (max-width: 1140px) {
    .wcag-mode-textonly .top-right .main-menu-button .sr-only.active {
        display: none !important;
        background: transparent !important;
    }

    #content {
        padding-top: 148px !important;
    }

    .wcag-mode-textonly .top-right .main-menu-button.active .sr-only.active {
        display: flex !important;
        background: var(--wcag-contrast) !important;
        color: #000 !important;
    }

    .wcag-mode-textonly .top-right .main-menu-button.active .sr-only:not(.active) {
        display: none !important;
    }

    .wcag-mode-textonly .cloneMenu-toggle .sr-only.active {
        display: none !important;
        background: transparent !important;
    }

    .wcag-mode-textonly .cloneMenu-toggle.active .sr-only.active {
        display: flex !important;
        background: #000 !important;
        color: var(--wcag-contrast) !important;

    }

    .wcag-mode-textonly .cloneMenu-toggle.active .sr-only:not(.active) {
        display: none !important;
    }

}

.wcag-mode-contrast .rwdMenu > ul > li > ul > li {
    background: var(--wcag-contrast);
    color: #000000;
    border-color: #000;
}

.wcag-mode-contrast .rwdMenu > ul > li > ul > li > a {
    color: #000000 !important;
}

.wcag-mode-textonly .cloneMenu-toggle::before {
    display: none;
}

.wcag-mode-contrast .cloneMenu-toggle {
    width: unset;
    font-size: 0.875rem;
    min-width: 61px;
}

.wcag-mode-contrast .cloneMenu-toggle .sr-only {
    width: unset;
    padding: 0 5px;
    font-size: 0.875rem;
    background: var(--wcag-contrast) !important;
    color: #000 !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rwdButton {
    margin: 0 !important;
}

.top-right {
    gap: 10px !important;
}

.main-menu-button {
    margin: 0 !important;
}

.wcag-menu .link-name {
    color: #000;
}

.wcag-mode-contrast .wcag-menu .link-name {
    color: var(--wcag-contrast);
}

.wcag-mode-textonly .rwdButton .sr-only.active {
    display: none;
}

.wcag-mode-textonly .rwdButton {
    width: unset;
    font-size: 16px !important;
    padding: 0 5px;
    min-width: 64px;
}

.wcag-mode-textonly .rwdButton .sr-only {
    font-size: 16px;
}

.wcag-mode-textonly .rwdButton.active .sr-only {
    display: none;
}

.wcag-mode-textonly .rwdButton i {
    display: none;
}

.wcag-mode-textonly .rwdButton.active .sr-only.active {
    display: unset;
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
}

.wcag-mode-textonly .rwdButton.active .animIcon {
    display: none;
}

.wcag-mode-textonly .wcag-shortcuts-annotation .sr-only {
    display: none;
}

.wcag-mode-textonly .top-right .percent-link {
    width: max-content;
}

@media screen and (max-width: 1440px) {
    .wcag-mode-textonly .wcag-bar .wcag-actions {
        width: 100%;
        margin-top: 0 !important;
    }

    .wcag-mode-textonly #content {
        padding-top: 201px !important;
    }
}

@media screen and (max-width: 900px) {
    .wcag-mode-textonly.wcag-mode-textonly div#content {
        padding-top: 70px !important;
    }
}

@media screen and (max-width: 480px) {
    .wcag-mode-textonly .top-right {
        gap: 5px !important;
    }

    .wcag-mode-textonly .rwdButton {
        font-size: 0.75rem !important;
    }

    .wcag-mode-textonly .main-menu-button {
        font-size: 0.75rem !important;
    }

    .wcag-mode-contrast .percent-link {
        font-size: 0.75rem;
        width: max-content;
    }

    .wcag-mode-textonly .rwdButton .sr-only {
        font-size: 0.75rem !important;
    }

    .wcag-mode-textonly header .top-right .main-menu-button .sr-only {
        min-width: 45px !important;
    }

    .top-right .percent-link {
        width: 45px;
    }

    .wcag-mode-textonly .rwdButton {
        min-width: 51px;
    }
}