.language-switcher-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-switcher-wrapper span {
    position: absolute;
    top: 5px;
    z-index: 10;
    font-size: 12px;
    pointer-events: none;
    /*opacity: 0;*/
    transition: opacity 0.4s;
}

.language-switcher-wrapper span.active {
    opacity: 1;
}

.language-switcher-wrapper span:first-child {
    left: 9px;
}

.language-switcher-wrapper span:last-child {
    right: 9px;
}

.language_switcher {
    height: 0;
    width: 0;
    visibility: hidden;
}

.language_switcher_lab {
    cursor: pointer;
    text-indent: -9999px;
    width: 64px;
    height: 34px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.language_switcher_lab::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 30px;
    transition: 0.3s;
}


.language_switcher:checked + .language_switcher_lab::after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.language_switcher_lab:active::after {
    width: 130px;
}


.country-selector.weglot-dropdown .wgcurrent {
    display: none !important;
}