/* 翻译按钮在右侧悬浮栏中的布局。 */
.gotop .gotop-item.gotop-translate {
    position: relative;
}

.gotop .gotop-translate .gotop-language-dropdown {
    position: static;
    float: none !important;
    width: 100%;
    margin: 0 !important;
}

.gotop .gotop-translate .gotop-language-dropdown > a.toggle-radius {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
    color: #171718 !important;
    background: transparent;
}

.gotop .gotop-translate .gotop-language-dropdown > a.toggle-radius .icon {
    width: 24px;
    height: 24px;
}

.gotop .gotop-translate .dropdown-menu {
    top: 50%;
    right: calc(100% + 10px);
    left: auto;
    width: 180px;
    max-height: 360px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateY(-50%);
}

.gotop .gotop-translate .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    text-align: left;
    white-space: nowrap;
}

.gotop .gotop-translate .dropdown-menu::before {
    top: 50%;
    right: -5px;
    left: auto;
    transform: translateY(-50%) rotate(45deg);
}

.gotop .gotop-translate p.text {
    margin: 5px 0 0;
}

@media (max-width: 767px) {
    .gotop .gotop-translate .dropdown-menu {
        top: auto;
        right: 64px;
        bottom: -70px;
        transform: none;
    }
}
