/* YesEuropa Academy Translator 5.0.3 */
#yeat5-translator.yeat5 {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 2147483000;
    font-family: inherit;
    line-height: 1.2;
}

.yeat5__toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 15px;
    border: 0;
    border-radius: 999px;
    background: #10285d;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(11, 32, 78, .22);
}

.yeat5__toggle:hover,
.yeat5__toggle:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid rgba(255,255,255,.9);
    outline-offset: 2px;
}

.yeat5__flag,
.yeat5__item-flag {
    font-size: 20px;
    line-height: 1;
}

.yeat5__chevron {
    font-size: 13px;
    opacity: .85;
}

.yeat5__menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(310px, calc(100vw - 30px));
    max-height: min(520px, 70vh);
    overflow: hidden;
    border: 1px solid rgba(15, 37, 83, .11);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(7, 25, 66, .2);
}

.yeat5__search-wrap {
    padding: 12px;
    border-bottom: 1px solid #edf0f6;
}

.yeat5__search {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #dce2ee;
    border-radius: 10px;
    background: #fff;
    color: #15264e;
    font: inherit;
}

.yeat5__list {
    max-height: min(440px, 60vh);
    overflow-y: auto;
    padding: 6px;
}

.yeat5__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #142651;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.yeat5__item:hover,
.yeat5__item:focus-visible {
    background: #f2f6ff;
    outline: none;
}

.yeat5__item.is-active {
    background: #eaf1ff;
    font-weight: 700;
}

.yeat5__google-host {
    position: fixed !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide Google UI/chrome but not translated page content. */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb {
    display: none !important;
    visibility: hidden !important;
}

html,
body {
    top: 0 !important;
    margin-top: 0 !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

.skiptranslate iframe {
    display: none !important;
}

@media (max-width: 640px) {
    #yeat5-translator.yeat5 {
        right: 14px;
        bottom: 14px;
    }
    .yeat5__toggle {
        min-height: 43px;
        padding: 9px 13px;
    }
    .yeat5__menu {
        width: min(300px, calc(100vw - 28px));
    }
}


/* 5.0.1 hardening */
html.yeat-is-translated body {
    top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .yeat5__toggle {
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 420px) {
    #yeat5-translator.yeat5 {
        right: 10px;
        bottom: 10px;
    }

    .yeat5__label {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .yeat5__menu {
        max-height: 68vh;
    }
}


/* 5.0.2 UX */
.yeat5__toggle:disabled {
    cursor: wait;
    opacity: .92;
}

.yeat5.is-busy .yeat5__chevron {
    width: 14px;
    height: 14px;
    font-size: 0;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: yeat5-spin .7s linear infinite;
}

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

@keyframes yeat5-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .yeat5.is-busy .yeat5__chevron {
        animation: none !important;
    }
}


/* 5.0.3 performance */
.yeat5__menu[hidden] {
    display: none !important;
}

.yeat5__list {
    contain: content;
}

