.floating-language-switcher{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:99999;
    box-shadow:0 8px 24px rgba(0,0,0,.15);
    transition:.25s ease;
    color: #f5f5f5;
    font-family: Oswald, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    background: #ce242c;
    display: flex;
    align-items: center;
}

.floating-language-switcher:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 32px rgba(0,0,0,.2);
    color: #f5f5f5;
}

.floating-language-switcher img{
    width: 20px;
    height: 20px;
}

.floating-language-switcher .current-lang {
    display: none;
}

.floating-language-switcher .wp-block-polylang-language-switcher{
    margin: 0;
    text-align: center;
}

.floating-language-switcher .lang-item{
    margin-right: 0;
}

.floating-language-switcher .lang-item a{
    padding: 8px 12px 8px 40px;
    display: inline-block;
    z-index: 1;
}

.floating-language-switcher .lang-item a:hover{
    color: #f5f5f5;
}

.floating-language-switcher .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
    left: 12px;
    top: 10px;
    position: absolute;
    z-index: 0;
}

.floating-language-switcher nav{
    z-index: 1;
}

.top-language-switcher{
    color: #f5f5f5;
    font-family: Oswald, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    background: #ce242c;
    margin: 0;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.top-language-switcher a::before {
    content: "\f326"; /* dashicons-translation */
    font-family: dashicons;
    font-size: 26px;
    line-height: 1;

    position: absolute;
    top: 50%;
    left: 24px;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.top-language-switcher .current-lang{
    display: none;
}

.top-language-switcher .lang-item{
    margin-right: 0;
}

.top-language-switcher .lang-item a{
    padding: 4px 12px 4px 42px;
    display: inline-block;
}

.top-language-switcher .lang-item a:hover{
    color: #f5f5f5;
}

@media (max-width:768px){
    .floating-language-switcher{
        left: 16px;
        bottom: 16px;
    }
}