.language-switcher {
    display: flex;
}

.language-switcher__wrap {
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
}

.language-switcher__item {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 16px;
    color: #252e3d;
    transition: color .24s;
}

.language-switcher__item:hover {
    text-decoration: none;
}

.language-switcher__item_active {
    padding-right: 14px;
}

.language-switcher__item_active:after {
    position: absolute;
    top: 9px;
    right: 0;
    width: 7px;
    height: 4px;
    content: '';
    background-image: url('/blog/wp-content/themes/se_theme/images/svg/arr-down-black.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px 4px;
    transition: transform .24s;
    transform-origin: 50% 50%;
}

.language-switcher__wrap.active .language-switcher__item_active:after {
    transform: rotate(-180deg);
    transform-origin: 50% 50%;
}

.language-switcher__item-flag {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 4px 3px;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: #fff;
    text-transform: uppercase;
    background-color: var(--se-text-color-placeholder);
    border-radius: 3px;
    transition: .24s;
}

.language-switcher__item_active .language-switcher__item-flag {
    color: var(--se-text-color);
    background-color: #fff;
    border: 1px solid #dce4f1;
}

.language-switcher__item-lang {
    margin-left: 8px;
}

.language-switcher__dropdown {
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 99;
    width: 160px;
    visibility: hidden;
    background-color: #fff;
    border: 2px solid #dce4f1;
    border-radius: 5px;
    opacity: 0;
    transition-duration: .24s;
    transition-property: visibility, opacity;
    overflow: hidden;
}

.language-switcher__wrap.active .language-switcher__dropdown {
    visibility: visible;
    opacity: 1;
}

.language-switcher__item-link {
    padding: 6px 6px 6px 16px;
}

button.language-switcher__item-link {
    width: 100%;
    border: none;
    cursor: pointer;
    background-color: #fff;
}

.language-switcher__dropdown-item:hover {
    background-color: var(--se-main-color-grey);
}

.language-switcher__dropdown-item:hover .language-switcher__item-flag {
    background-color: var(--se-heading-color);
}

.language-switcher__dropdown-item_active {
    cursor: auto;
    background-color: var(--se-shape-color-blue);
}

.language-switcher__dropdown-item_active .language-switcher__item-flag,
.language-switcher__dropdown-item_active:hover .language-switcher__item-flag {
    background-color: #123af8;
}