﻿/*==================================================
                LANGUAGE CONVERTER
==================================================*/

/* Old Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 110px;
    padding: 6px 10px;
    background: #0c1020;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-toggle .lang-flag,
.lang-dropdown .lang-flag {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
}

.lang-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.lang-arrow {
    font-size: 11px;
    color: #fff;
    transition: transform .3s ease;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 180px;
    max-height: 480px;
    overflow-y: auto;
    background: #fff;
    border: 2px solid #2d2a64;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    display: none;
    padding: 6px 0;
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .2s ease;
}

    .lang-option:hover,
    .lang-option.active {
        background: #f5f5f5;
    }

.lang-name {
    font-size: 14px;
    color: #222;
    line-height: 1.2;
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 10px;
}


/*=========================================
        Google Language Converter
=========================================*/

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 7px;
}

    .social-icons > a {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(3px);
    }

        .social-icons > a span {
            font-size: 16px;
            line-height: 1;
        }

.option-lang-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons .option-lang-item {
    display: flex;
    align-items: center;
    gap: 0;
    transform: translateY(10px);
    margin-right: 15px;
}

.option-lang-item > .languagechev {
    margin-left: 4px;
    transform: translate(20px,-5px);
    position: relative;
    left: 0;
    top: 0;
    font-weight: 900;
}

.languagechev {
    color: #fff;
    font-size: 12px;
    margin-left: 2px;
    transform: translateY(1px);
}

.headerLanguages {
    position: relative;
    display: inline-block;
}

    .headerLanguages > #mWvICcQYPj {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .headerLanguages > .stm_hb_mbc #headerflag {
        width: 20px;
        height: 20px;
        object-fit: cover;
        margin: 0 !important;
        float: none;
    }

    .headerLanguages > .stm_hb_mbc #langtext {
        color: #fff;
        font-size: 16px;
        line-height: 1;
        font-weight: 700;
    }

.headerflag {
    width: 20px;
    height: 20px;
}

.stm_hb_mbc.dropdown-menu-s1 > li > a {
    width: auto !important;
}

.dropdown-menu-s1 {
    display: none;
    position: absolute;
    top: 78%;
    right: -76px;
    left: auto;
    background: #222;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 4px 0;
    margin-top: 4px;
    min-width: 170px;
    width: max-content;
    z-index: 999999;
    box-shadow: 0 8px 18px rgba(0,0,0,.45);
}

    .dropdown-menu-s1.show {
        display: block !important;
    }

    .dropdown-menu-s1 li {
        margin: -6px 2px !important;
        padding: 0;
        list-style: none;
    }

    .dropdown-menu-s1 .dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 2px 12px;
        font-family: Roboto, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #f1f1f1 !important;
        text-decoration: none;
        background: none;
        line-height: 20px;
    }

        .dropdown-menu-s1 .dropdown-item:hover {
            background: #fff;
            color: #000 !important;
        }

    .dropdown-menu-s1 .lang-title {
        margin: 0;
        padding: 0;
        line-height: 20px;
        white-space: nowrap;
    }


/*=========================================
                Responsive
=========================================*/

@media (max-width:991px) {

    .option-lang-item {
        margin-left: auto;
        margin-right: 8px;
        margin-top: 12px;
        display: flex;
        align-items: center;
    }

        .option-lang-item > .languagechev {
            transform: translate(-2px,-3px);
        }

    .dropdown-menu-s1 .dropdown-item {
        padding: 6px 16px !important;
    }
}
@media (max-width:576px) {
    .social-icons {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 7px;
    }

    .option-lang-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .option-lang-item > .languagechev {
            margin-left: 4px;
            transform: translate(20px, -5px);
            position: relative;
            left: 0;
            top: 0;
            font-weight: 900;
        }

    .social-icons .option-lang-item {
        display: flex;
        align-items: center;
        gap: 0px;
        transform: translateY(10px);
        margin-right: 15px;
    }


    .headerLanguages > #mWvICcQYPj {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .headerLanguages > .stm_hb_mbc #headerflag {
        width: 20px;
        height: 20px;
        object-fit: cover;
        margin: 0 !important;
        float: none;
    }

    .headerLanguages > .stm_hb_mbc #langtext {
        color: #fff;
        font-size: 16px;
        line-height: 1;
        font-weight: 700;
    }

    .languagechev {
        color: #fff;
        font-size: 12px;
        margin-left: 2px;
        transform: translateY(1px);
    }

    .social-icons > a {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(3px);
    }

        .social-icons > a span {
            font-size: 16px;
            line-height: 1;
        }

    .stm_hb_mbc.dropdown-menu-s1 > li > a {
        width: auto !important;
    }

    .headerLanguages {
        position: relative;
        display: inline-block;
    }

    .dropdown-menu-s1 {
        display: none;
        position: absolute;
        top: 78%;
        right: -76px;
        left: auto;
        background: #222;
        border: 1px solid #333;
        border-radius: 3px;
        padding: 4px 0;
        margin-top: 4px;
        min-width: 170px;
        width: max-content;
        z-index: 999999;
        box-shadow: 0 8px 18px rgba(0,0,0,.45);
    }

        .dropdown-menu-s1.show {
            display: block !important;
        }

        .dropdown-menu-s1 li {
            margin: -6px 2px !important;
            padding: 0;
            list-style: none;
        }

        .dropdown-menu-s1 .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: -1px 12px;
            font-family: Roboto,sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: #f1f1f1 !important;
            text-decoration: none;
            background: none;
            line-height: 20px;
        }

            .dropdown-menu-s1 .dropdown-item:hover {
                background: #fff;
                color: #000 !important;
            }

        .dropdown-menu-s1 .lang-title {
            margin: 0;
            padding: 0;
            line-height: 20px;
            white-space: nowrap;
        }

    .headerflag {
        width: 20px;
        height: 20px;
    }

    @media (max-width:991px) {

        .basic-container {
            display: flex;
            align-items: center;
        }

        .option-lang-item {
            margin-left: auto;
            margin-right: 8px;
            margin-top: 12px;
            display: flex;
            align-items: center;
        }

        .mobile-header-items.pull-left {
            margin: 0;
        }

            .mobile-header-items.pull-left .zmm-toggle {
                display: flex;
                align-items: center;
                padding: 0;
                height: 100%;
            }

        .option-lang-item > .languagechev {
            transform: translate(-2px, -3px);
        }

        .dropdown-menu-s1 .dropdown-item {
            padding: 6px 16px !important;
        }

        .mobile-header-items.pull-center {
            margin-left: 210px !important;
            margin-top: 3px;
        }
    }
}