.l10n-hidden   {
    display: none !important;
}   

div.locale-picker {
    text-align: right;
    position: relative;
    display: flex;
    justify-content: flex-end;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    margin: 0 2rem;
}

div.locale-picker > span {
    margin: 0.125rem 0.5rem;
    font-weight: bold;
    font-size: 0.75rem;
    display: none;
}

button.locale-toggle {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    border-radius: 3px;
}
button.locale-toggle > span {
    text-transform: lowercase;
    font-weight: bold;
    margin-right: 0.25rem;
}

button[disabled].locale-toggle {
    background-color: #656565;
    display: block;
    text-decoration: none;
}

button.locale-toggle:hover {
    background-color: var(--w-color-primary);
    color: var(--w-color-text-button);
}

button.showing-locale {
    display: block;
    background-color: var(--w-color-surface-menu-item-active);
    color: var(--w-color-text-button);
    text-align: left;
}
button.showing-locale::after {
    content: "✓";
    margin-left: 0.5rem;
    float: right;
}

.active-langs {
    /* display: inline-flex; */
    display: none;
    padding-right: 0.5rem;
    vertical-align: middle;
}

.active-langs>.locale {
    margin: 0.125rem 0.5rem;
    cursor: pointer;
}

.language-field-wrapper {
    top: 4px;
    right: 8px;
}

.checkbox-dropdown {
    width: 3rem;
    display: flex;
    border: 1px solid #aaa;
    user-select: none;
    padding-left: 0.25rem;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
    background: var(--w-color-surface-page);
    z-index: 900;
}
.checkbox-dropdown label {
    pointer-events: none;
    text-transform: lowercase;
    font-weight: bold;
}

/* Display CSS arrow to the right of the dropdown text */
.checkbox-dropdown:after {
    content:'';
    height: 0;
    position: absolute;
    width: 0;
    border: 6px solid transparent;
    border-top-color: var(--w-color-text-context);
    top: 50%;
    right: 10px;
    margin-top: -3px;
}

/* Reverse the CSS arrow when the dropdown is active */
.checkbox-dropdown.is-active:after {
    border-bottom-color: var(--w-color-text-context);
    border-top-color: #ffffff00;
    margin-top: -9px;
}

.checkbox-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%; /* align the dropdown right below the dropdown text */
    border: inherit;
    border-top: none;
    width: 10rem;
    opacity: 0; /* hide the dropdown */
   
    transition: opacity 0.4s ease-in-out;
    pointer-events: none; /* avoid mouse click events inside the dropdown */

    box-shadow: 1px 5px 5px #0000004f;

    padding: 0.25rem;
    border-radius: 3px;
    background: #fff;
}

.is-active .checkbox-dropdown-list {
    opacity: 1; /* display the dropdown */
    pointer-events: auto; /* make sure that the user still can select checkboxes */
}


li.locale {
    display: flex;
    list-style-type: none  !important; 
}