/* AYU header refresh: two familiar levels, one compact primary navigation. */
.ayu-header-refresh {
    --ayu-navy: #1f2430;
    --ayu-teal: #2a8da3;
    --ayu-teal-dark: #18758a;
    --ayu-red: #a20d20;
    position: relative;
    z-index: 50;
}

.ayu-header-refresh .ayu-legacy-brand-row {
    display: none !important;
}

.ayu-header-refresh > .header-top-bar {
    min-height: 42px;
    background: var(--ayu-teal);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 3px 14px rgba(22, 53, 65, .1);
}

.ayu-header-refresh > .header-top-bar .header-top {
    min-height: 42px;
    align-items: stretch;
}

.ayu-header-refresh > .header-top-bar .header-info {
    align-items: stretch;
    gap: 0;
}

.ayu-header-refresh > .header-top-bar .header-info > li {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 0 13px !important;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.ayu-header-refresh > .header-top-bar .header-top-left .header-info > li:first-child {
    border-left: 0;
}

.ayu-header-refresh > .header-top-bar .header-top-left .header-info > li:last-child {
    border-right: 0;
}

.ayu-header-refresh > .header-top-bar .header-top-left .header-info > li:last-child::after {
    display: none;
}

.ayu-header-refresh > .header-top-bar .header-top .header-info li,
.ayu-header-refresh > .header-top-bar .header-top .header-info li a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    transition: color .2s ease;
}

.ayu-header-refresh > .header-top-bar .header-top .header-info li a:hover,
.ayu-header-refresh > .header-top-bar .header-top .header-info li a:focus-visible {
    color: #e8fbff;
}

.ayu-header-refresh > .header-top-bar .header-top .header-info li::after {
    background: rgba(255, 255, 255, .15);
}

.ayu-header-refresh .ayu-primary-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #e3ecef;
    box-shadow: 0 8px 28px rgba(10, 52, 66, .1);
}

.ayu-header-refresh .ayu-primary-header .container {
    max-width: 1440px;
}

.ayu-header-refresh .ayu-primary-header .header-navbar {
    display: flex;
    align-items: stretch;
    min-height: 82px;
}

.ayu-header-refresh .ayu-primary-logo {
    display: flex;
    flex: 0 0 116px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-right: 12px;
    padding: 6px 14px;
    background: #fff;
    border-right: 1px solid #e5edef;
    border-radius: 0;
    box-shadow: none;
}

.ayu-header-refresh .ayu-primary-logo .logo,
.ayu-header-refresh .ayu-primary-logo .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ayu-header-refresh .ayu-primary-logo .logo {
    margin: 0 !important;
}

.ayu-header-refresh .ayu-primary-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 68px;
    object-fit: contain;
}

.ayu-header-refresh .ayu-primary-logo .logo-dark {
    display: none;
}

.ayu-header-refresh .ayu-mobile-actions {
    display: none;
}

.ayu-header-refresh .ayu-primary-header .header-mainnav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: stretch;
}

.ayu-header-refresh .ayu-primary-header .mainmenu-nav,
.ayu-header-refresh .ayu-primary-header .mainmenu {
    width: 100%;
    height: 100%;
}

.ayu-header-refresh .ayu-primary-header .mainmenu {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li {
    display: flex;
    align-items: stretch;
    border: 0 !important;
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 0 18px;
    border-right: 0 !important;
    color: var(--ayu-teal-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li > a::after {
    content: none;
    display: none;
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--ayu-red);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li:hover > a,
.ayu-header-refresh .ayu-primary-header .mainmenu > li > a:focus-visible {
    background: var(--ayu-teal);
    color: #fff !important;
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li:hover > a::after,
.ayu-header-refresh .ayu-primary-header .mainmenu > li > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.ayu-header-refresh .ayu-primary-header .mainmenu > li:hover > a::after,
.ayu-header-refresh .ayu-primary-header .mainmenu > li > a:focus-visible::after {
    background: var(--ayu-red);
}

.ayu-header-refresh .ayu-primary-header .submenu,
.ayu-header-refresh .ayu-primary-header .mega-menu {
    border-top: 0 !important;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 45px rgba(17, 39, 50, .18);
}

.ayu-header-refresh .ayu-primary-header .submenu a,
.ayu-header-refresh .ayu-primary-header .mega-menu a {
    color: #263746;
}

.ayu-header-refresh .ayu-primary-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: 10px;
    visibility: visible;
}

.ayu-header-refresh .ayu-primary-actions .header-action {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.ayu-header-refresh .ayu-primary-actions .header-action > li {
    margin: 0;
}

.ayu-header-refresh .ayu-primary-actions .header-action > li.search-icon {
    flex: 0 0 44px;
    width: 44px;
}

.ayu-header-refresh .ayu-primary-actions .header-action > li.header-btn {
    display: flex;
    flex: 0 0 auto;
}

.ayu-header-refresh .ayu-primary-actions .search-trigger,
.ayu-header-refresh .ayu-primary-actions .hamberger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    line-height: 1 !important;
    padding: 0;
    gap: 0;
    color: var(--ayu-teal-dark);
    background: #fff;
    border: 1px solid #d5e6e9;
    border-radius: 10px;
    box-shadow: none;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ayu-header-refresh .ayu-primary-actions .search-trigger:hover,
.ayu-header-refresh .ayu-primary-actions .hamberger-button:hover {
    color: #fff;
    background: var(--ayu-teal);
    border-color: var(--ayu-teal);
    box-shadow: 0 7px 16px rgba(30, 120, 140, .2);
    transform: translateY(-1px);
}

.ayu-header-refresh .ayu-primary-actions .search-trigger i {
    font-size: 18px;
}

.ayu-header-refresh .ayu-platonus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px 0 15px;
    gap: 11px;
    color: #fff;
    background: var(--ayu-red);
    border: 1px solid var(--ayu-red);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 7px 17px rgba(140, 5, 28, .24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ayu-header-refresh .ayu-primary-actions .header-action .header-btn .ayu-platonus-btn {
    display: inline-flex;
    padding: 0 8px 0 15px;
}

.ayu-header-refresh .ayu-platonus-btn:hover,
.ayu-header-refresh .ayu-platonus-btn:focus-visible {
    color: #fff;
    background: #870a1b;
    border-color: #870a1b;
    box-shadow: 0 10px 22px rgba(140, 5, 28, .3);
    transform: translateY(-1px);
}

.ayu-header-refresh .ayu-platonus-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-radius: 8px;
    font-size: 11px;
}

.ayu-header-refresh .edu-sticky {
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 50, 62, .2);
}

@media (max-width: 1399px) {
    .ayu-header-refresh .ayu-primary-header .container {
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .ayu-header-refresh .ayu-primary-logo {
        flex-basis: 100px;
        margin-right: 5px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .ayu-header-refresh .ayu-primary-header .mainmenu > li > a {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 13.5px;
    }

    .ayu-header-refresh .ayu-platonus-btn {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 1199px) {
    .ayu-header-refresh .ayu-primary-header .header-navbar {
        min-height: 74px;
    }

    .ayu-header-refresh .ayu-primary-logo {
        position: relative;
        z-index: 2;
        flex-basis: 102px;
        margin-right: auto;
    }

    .ayu-header-refresh .ayu-primary-logo img {
        height: 61px;
    }

    .ayu-header-refresh .ayu-primary-header .header-mainnav {
        display: none;
    }

    .ayu-header-refresh .ayu-primary-actions {
        display: none !important;
    }

    .ayu-header-refresh .ayu-mobile-actions {
        position: absolute;
        top: 50%;
        right: 14px;
        z-index: 5;
        display: flex !important;
        width: 94px;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        transform: translateY(-50%);
    }

    .ayu-header-refresh .ayu-mobile-actions .search-trigger,
    .ayu-header-refresh .ayu-mobile-actions .ayu-mobile-platonus,
    .ayu-header-refresh .ayu-mobile-actions .hamberger-button {
        display: inline-flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        color: var(--ayu-teal-dark);
        background: #fff;
        border: 1px solid #cfe1e5;
        border-radius: 9px;
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 5px 14px rgba(20, 80, 94, .1);
    }

    .ayu-header-refresh .ayu-mobile-actions .ayu-mobile-platonus {
        display: none !important;
    }

    .ayu-header-refresh .ayu-mobile-actions .hamberger-button {
        color: var(--ayu-teal-dark);
        background: #fff;
        border-color: #cfe1e5;
    }
}

@media (max-width: 991px) {
    .ayu-header-refresh > .header-top-bar {
        display: none;
    }

    .ayu-header-refresh .ayu-primary-header .container {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 575px) {
    .ayu-header-refresh .ayu-primary-header .header-navbar {
        min-height: 66px;
    }

    .ayu-header-refresh .ayu-primary-logo {
        flex-basis: 88px;
        padding: 5px 8px;
        border-radius: 0;
    }

    .ayu-header-refresh .ayu-primary-logo img {
        height: 55px;
    }

    .ayu-header-refresh .ayu-mobile-actions {
        width: 80px;
        gap: 4px;
    }

    .ayu-header-refresh .ayu-mobile-actions .search-trigger,
    .ayu-header-refresh .ayu-mobile-actions .ayu-mobile-platonus,
    .ayu-header-refresh .ayu-mobile-actions .hamberger-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 16px;
    }

    .ayu-header-refresh .ayu-primary-actions .header-action {
        display: flex !important;
        gap: 7px;
    }

    .ayu-header-refresh .ayu-primary-actions .header-action > li,
    .ayu-header-refresh .ayu-primary-actions .ayu-platonus-item {
        display: block;
        margin: 0;
    }

    .ayu-header-refresh .ayu-primary-actions .ayu-platonus-item {
        display: none !important;
    }

    .ayu-header-refresh .ayu-primary-actions .search-trigger,
    .ayu-header-refresh .ayu-primary-actions .hamberger-button {
        width: 40px;
        height: 40px;
    }

    .ayu-header-refresh .ayu-platonus-btn {
        min-height: 40px;
        padding: 0 11px;
        font-size: 10px;
    }

    .ayu-header-refresh .ayu-platonus-btn i {
        display: none;
    }
}

@media (max-width: 390px) {
    .ayu-header-refresh .ayu-platonus-item {
        display: none;
    }
}
