/*
 * 85JET Header Language Switcher
 * Built by Mike Quint van Reclame-online.nl.
 */

.jet85-header-language-switcher-enabled .main-header--widgets .ms_tm--inner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: auto !important;
    min-width: max-content;
    overflow: visible !important;
}

.jet85-header-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 75px !important;
    min-width: 75px !important;
    flex: 0 0 75px !important;
}

.jet85-header-language-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 34px !important;
    min-width: 34px !important;
    height: 24px !important;
    flex: 0 0 34px !important;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    line-height: 1;
    opacity: .82;
    transition: opacity .18s ease, transform .18s ease;
}

.jet85-header-language-switcher__link:hover,
.jet85-header-language-switcher__link:focus-visible,
.jet85-header-language-switcher__link.is-active {
    opacity: 1;
    background: transparent;
    outline: 0;
}

.jet85-header-language-switcher__link:hover,
.jet85-header-language-switcher__link:focus-visible {
    transform: translateY(-1px);
}

.jet85-header-language-switcher__flag-img {
    display: block;
    width: 32px !important;
    max-width: none !important;
    height: 20px !important;
    border-radius: 1px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.jet85-header-language-switcher__flag-emoji {
    display: block;
    font-size: 15px;
    line-height: 1;
}

.jet85-header-language-switcher__code {
    display: none;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

body[data-theme="light"] .jet85-header-language-switcher__link {
    color: #111111;
    background: transparent;
}

body[data-theme="light"] .jet85-header-language-switcher__link:hover,
body[data-theme="light"] .jet85-header-language-switcher__link:focus-visible,
body[data-theme="light"] .jet85-header-language-switcher__link.is-active {
    background: transparent;
}

body[data-theme="light"] .jet85-header-language-switcher__flag-img {
    box-shadow: 0 0 0 1px rgba(17, 17, 17, .18);
}

@media (max-width: 1023px) {
    .jet85-header-language-switcher {
        display: none !important;
    }
}
