.lang-nav-container{
    min-width: 200px;
    margin-left: 90%;
}

#lang_sel,
#lang_sel ul,
#lang_sel li{
    border: none transparent !important;
    outline: none transparent !important;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::before {
    content: "\2039";
    vertical-align: middle;
    display: inline-block;
    position: absolute;
    left: 10px;
    font-size: 24px;
    top: calc(50% + 2px);
    color: var(--wp--preset--color--azul-boton);
    transform: translateY(-50%) rotate(-90deg);
}

.js-wpml-ls-item-toggle.wpml-ls-item-toggle.lang_sel_sel::after{
    content: "Languages";
    color: var(--wp--preset--color--azul-boton);
    border: none;
    font-size: 1rem;
    font-weight: bold;
    vertical-align: middle;
    position: relative;
    margin-left: 30px;
}

.js-wpml-ls-item-toggle.wpml-ls-item-toggle.lang_sel_sel span{
    display:none;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover > a,
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a:focus {
    color: var(--wp--preset--color--negro-texto);
    background-color: transparent!important;
}

.wpml-ls-display.icl_lang_sel_translated{
    display:none;
}

.wpml-ls-statics-shortcode_actions,
.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu,
.wpml-ls-statics-shortcode_actions a{
    border: none!important;
}

@media screen and (max-width: 1170px){
    .lang-nav-container{
        min-width: 180px;
        margin-left: 80%;
    }
}

@media screen and (max-width: 968px){
    .js-wpml-ls-item-toggle.wpml-ls-item-toggle.lang_sel_sel{
        display: none;
    }

    .mobileLanguageMenu{
        position: fixed;
        min-width: 100vw;
        min-height: 100%;
        z-index: 102;
        background-color: var(--wp--preset--color--blanco);
    }

    .listStyle{
        width: 100%;
        padding: 25px 50px;
        border-bottom: 1px solid var(--wp--preset--color--negro-texto);
        cursor: pointer;
        font-size: 1rem;
    }

    .firstLanguageMenu{
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 1rem;
    }

    .backMenu{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        gap: 20px;
        font-size: 1rem;
    }

    .uiMenuIcon{
        width: 24px;
    }

    .wpml-ls-legacy-dropdown ul.wpml-ls-sub-menu{
        /*left: calc(50vw - 50%);*/
        width: 100vw;
    }

    a.wpml-ls-link{
        font-size: 1rem;
        text-transform: uppercase;
        padding: 25px 50px!important;
        border-bottom: 1px solid var(--wp--preset--color--negro-texto)!important;
    }

    .wpml-ls-sub-menu li:hover,
    .wpml-ls-link:hover{
        background-color: transparent!important;
    }

    .wpml-ls-link span{
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .wpml-ls-link span::after{
        content: '';
        display: inline-block!important;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
        position: relative;
        background-image: url("../svg/nextmenuicon.svg");
        background-size: 24px;
        background-position: center;
        background-repeat: no-repeat;
    }
}