/* GTranslate под вид прежнего переключателя (см. yatranslate.css): свёрнутый флаг
   текущего языка, остальные раскрываются по наведению. */

.gt_switcher_wrapper {
    position: fixed !important;
    right: 20px !important;
    top: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10 !important;
    background: rgba(157, 157, 157, 0.3);
    border-radius: 2px;
    padding: 4px;
    text-align: center;
    box-sizing: border-box;
}

.gt_switcher_wrapper .glink {
    display: block;
    cursor: pointer;
    text-decoration: none;
    transition: .3s all;
}

.gt_switcher_wrapper .glink img {
    width: 30px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    transition: .3s all;
}

/* свёрнутое состояние — виден только текущий язык */
.gt_switcher_wrapper .glink:not(.gt-current-lang) {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
}

.gt_switcher_wrapper:hover .glink:not(.gt-current-lang) {
    max-height: 20px;
    opacity: 1;
    margin-top: 2px;
}

.gt_switcher_wrapper .glink:not(.gt-current-lang):hover img {
    filter: drop-shadow(0 0 3px rgb(136, 136, 136)) brightness(130%);
}

.gt_switcher_wrapper #google_translate_element2 {
    display: none;
}
