.flag-icon {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
    margin-right: 8px;
}
.nav > li.languagemenu a {
    display: flex;
    align-items: center;
}
.languagemenu {
    width: 125px;
}
.languageitems {
    display: none;
    position: absolute;
    background-color: #e0e0e0;
    z-index: 99999;
    list-style-type: none;
    margin-top: -10px;
}
.languageitems li {
    padding: 5px 5px;
    width: 155px;
}
.languageitems li a {
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .languagemenu {
        width: 100%;
    }
    .languageitems {
        position: initial;
        margin: 0;
    }
    .languageitems li {
        width: 100%;
    }
}
