﻿
.btn_language {
    float: left;
    color: white;
    margin-right: 60px;
    position: relative;
}

    .btn_language > a {
        color: #393939;
        font-size: 18px;
    }
        .btn_language > a:hover {
            color: #23499e;
        }

    .btn_language > .language_sub {
        position: absolute;
        left: 0;
        top: 100%;
        padding-top: 13px;
        transform: translateY(10px);
        width: 100%;
        min-width: 90px;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .btn_language:hover > .language_sub {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.language_sub .box {
    background: rgba(255, 255, 255, 1);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.09);
}

.language_sub .box {
    background: rgba(255, 255, 255, 1);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.09);
}

    .language_sub .box:before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        position: absolute;
        z-index: -2;
        bottom: calc(100% - 5px);
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        background: #fff;
        border: 1px solid rgba(0, 0, 0, .1);
    }

    .language_sub .box:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        z-index: -1;
        border-radius: 10px;
        background: #fff;
    }

.language_sub a {
    display: block;
    text-align: left;
    justify-content: flex-start !important;
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    padding-left: 23%;
    font-size: .8125rem;
    color: #666;
    position: relative;
    z-index: 1;
    transition: .5s;
}
.language_sub a:hover {
    color: #23499e;
}