
/*Language*/
.box-language {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-language img {
    float: left;
    max-width: 30px !important;
    margin-right: 5px;
}

.box-language select {
    float: left;
    width: 17px;
    height: 17px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 5px;
    cursor: pointer;
}


.lang-active {
    position: relative;
    color: #fff;
    cursor: pointer;
}

.lang-active img {
    width: 25px;
    height: 25px;
}

.lang-active.open i {
    transform: rotate(180deg);
}

ul.lang {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 3;
    vertical-align: middle;
}

li.front-setting {
    padding: 4px 6px;
}

li.front-setting {
    position: relative;
}

.lang-active:hover ul.lang {
    display: block;
}

ul.lang img {
    width: 25px;
    height: 25px;
}

ul.lang li {
    margin-left: 0 !important;
    padding-bottom: 3px;
    border-bottom: 1px solid #ffffff42;
    vertical-align: middle;
    padding: 5px;
    min-width: 130px;
    background-color: var(--primary-background);
}

ul.lang li:last-child {
    margin: 0 !important;
    border: none;
}

ul.lang li:hover {
    background-color: #ffffffad;
    cursor: pointer;
    transition: .3s;
    color: #000 !important;
}

li.js-lang span {
    display: flex;
    align-items: center;
    margin-top: 0 !important;
}

li.js-lang span img {
    margin-right: 5px;
}

ul.lang li a {
    color: #fff !important;
}

ul.lang li:hover a {
    color: #000 !important;
}

ul.lang li .text {
    vertical-align: middle;
    margin-top: 5px;
}

.lang-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language.js-active_lang {
    margin-right: 3px;
}

@media (max-width: 1024px) {
    ul.lang{
        right: 0;
    }
}