/*
// Виджет назначает height: 100% , что может привести к непредксказуемому результату, если вы этого не планировали
html {
    height: auto !important;
}

// Фиксируем позицию body, которую меняет панель гугла
body {
    position: static !important;
    top: 0 !important;
}
*/

/* google: скрываем переводчик */
.skiptranslate {
    display: none !important;
}

/* google: Убираем подсветку текста и ссылок при наведении */
.goog-text-highlight,
font > font {
    background-color: transparent !important;
    box-shadow: none !important;
    box-sizing: inherit;
}

.translatorjs_langs {
    background: #ddd;
    border-radius: 0 5px 5px 0;
    display: flex;
    flex-direction: column;
    left: -12px;
    max-width: 32px;
    padding: 5px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    z-index: 999999;
}

.translatorjs_langs:hover {
    left: 0;
}

.translatorjs_lang_item {
    cursor: pointer;
    margin-bottom: 5px;
    max-width: 30px;
    opacity: .5;
}

.translatorjs_lang_item:last-of-type {
    margin-bottom: 0;
}

.translatorjs_lang_item:hover,
.translatorjs_lang_active {
    opacity: 1;
}

.translatorjs_info {
    background: #ddd;
    border-radius: 5px 5px 0 0;
    bottom: 0;
    font-family: sans-serif;
    font-size: 16px;
    padding: 8px 0;
    position: fixed;
    text-align: center;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    width: 100%;
    z-index: 999999;
}
