/**
/* === CLASES NUEVAS: MENÚ ===
*/
.cabecera-sede .bloque-menu-wrapper {
    align-items: center;
    display: flex;
    gap: 1em;
    height: 1.4em;
}
.cabecera-sede .seccion-menu-contenido {
    background: var(--colorFondoCabeceraOscuro);
    display: block;
    opacity: 0;
    visibility: hidden;
    justify-content: center;
    left: 0;
    margin-top: -1px;
    overflow: hidden;
    padding: 1.5em 1em;
    position: absolute;
    transition: opacity 0.2s ease-in-out 0.1s, visibility 0.2s ease-in-out 0.1s;
    width: stretch;
    z-index: 9;
}
.seccion-menu-contenido.cerrado {
    /* Clase utilizada en la gestión del depliegue del menú con javascript */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.seccion-menu-contenido.abierto {
    /* Clase utilizada en la gestión del depliegue del menú con javascript */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.desplegable {
    /* Clase utilizada en la gestión del depliegue del menú con javascript */
}
.bloque-buscador .seccion-menu-contenido-wrapper {
    padding-right: 1.875em;
}
.cabecera-sede .seccion-menu-contenido-wrapper {
    margin: 0 auto;
    max-width: 1170px;
    width: 100%;
}
.cabecera-sede .columnas-manual-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0em;
    margin-right: 0em;
    width: auto;
}
.info-sesion strong {
    display: block;
    font-style: italic;
    font-weight: normal;
}
.info-sesion .menu-principal-listado {
    color: var(--colorTextoSobreSecundario);
}
.barra-menu-secundario {
    background: var(--colorFondoCabeceraTerciaria);
    display: flex;
    gap: 2em !important;
    justify-content: center;
    padding: 0;
    & .seccion-menu-secundario-contenido {
        background: var(--colorTerciario) !important;
        left: 50% !important;
        margin-top: -2px;
        max-width: calc(1170px - 2em);
        transform: translateX(-50%);
        width: 100% !important;
    }
    & .barra-menu-secundario-wrapper {
        align-items: center;
        display: flex;
        justify-content: space-between;
        width: 100%;
        & .buscador .form-control {
            border: 1px solid var(--colorFondoCabeceraTerciaria);
            height: 2.4em;
        }
    }
    & .seccion-menu-secundario > .boton-seccion-menu {
        &:first-child { padding-left: 1em; }
    }
}
.seccion-menu-secundario-contenido {
    background: black !important;
    display: block;
    justify-content: left;
    left: auto !important;
    margin-top: -1px;
    opacity: 0;
    overflow: hidden;
    padding: 1.5em 1em;
    position: absolute;
    transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out !important;
    visibility: hidden;
    width: auto !important;
    z-index: 9;
}
.cabecera-sede .seccion-menu-contenido-wrapper > :is(.menu-principal-listado, .menu-secundario-listado) {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 1.875em 0 0;
    position: relative;
}
.cabecera-sede .columna.media {
    width: 20%;
}
.cabecera-sede .columna {
    padding: 0 1.875em;
    position: relative;
}
.cabecera-sede .titulo-columna {
    color: var(--colorTextoSobreSecundario);
    font-family: var(--fuenteSedeSinSerifAlt);
    font-size: var(--fuenteSizeBase);
    font-weight: normal;
    margin-bottom: 1.625em;
    text-transform: uppercase;
    width: 100%;
}
.cabecera-sede .enlace-seccion-menu {
    color: var(--colorTextoSobreSecundario);
    cursor: pointer;
    display: flex;
    font-family: var(--fuenteSedeConSerifAlt);
    font-size: var(--fuenteSizeBase);
    font-weight: normal;
    padding: 0.55em 0;
    position: relative;
    text-decoration: none;
}
.cabecera-sede .enlace-seccion-menu::after {
    background-color: var(--colorTextoSobreSecundario);
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transform-origin: center;
    transform: scale(0,1);
    transition: all 0.3s ease 0s;
    width: 100%;
}
.seccion-menu-secundario .enlace-seccion-menu::after {
    background-color: var(--colorTextoSobreSecundario);
    bottom: 0;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    transform-origin: center;
    transform: scale(0,1);
    transition: all 0.3s ease 0s;
    width: 100%;
}
.cabecera-sede .boton-seccion-menu.abierto .enlace-seccion-menu::after {
    background-color: var(--colorTextoSobreSecundario);
    opacity: 1;
    transform: none;
    width: 100%;
}
.cabecera-sede .seccion-menu .boton-seccion-menu .enlace-seccion-menu:hover::after {
    transform: scale(1,1);
}
.cabecera-sede .boton-seccion-menu.abierto .enlace-seccion-menu:hover::after {
    background-color: var(--colorTextoSobreSecundario);
}
.columna::before {
    background: var(--colorTextoSobreSecundario);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
}
.columna:last-child::before {
    content: none;
}
.bloque-menu i {
    display: inline;
}
.bloque-menu .menu-principal-li i {
    margin-right: 5px;
}
.bloque-menu .menu-principal-li i::before {
    min-width: 20px;
    display: inline-block;
}
@media (max-width: 991px) {
    .cabecera-sede .bloque-menu-wrapper {
        align-items: flex-start;
        box-sizing: border-box;
        flex-direction: column;
        gap: 0;
        height: auto;
        width: 100%;
    }
    .cabecera-sede .seccion-menu {
        width: 100%;
    }
    .cabecera-sede .enlace-seccion-menu {
        font-size: 1.25em;
        padding: 0.5em 1em;
    }
    .cabecera-sede .menu-secundario-li {
        padding-left: 1.5em;
    }
    .cabecera-sede  .seccion-menu-secundario .enlace-seccion-menu {
        font-size: 1em;
    }
    .cabecera-sede .boton-seccion-menu {
        position: relative;
    }
    .cabecera-sede .boton-seccion-menu:has(+ div.seccion-menu-contenido)::before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        color: var(--colorTextoSobreSecundario);
        content: "\f078";
        display: inline-block;
        font-family: var(--fa-style-family);
        font-style: normal;
        font-variant: normal;
        font-weight: 900;
        line-height: 1;
        position: absolute;
        right: 1em;
        text-rendering: auto;
        top: 1em;
        transition: all 0.3s ease 0s;
    }
    .cabecera-sede .seccion-menu-contenido {
        background: var(--colorEnlaces);
        padding: 1.25em 2.3em 1.25em 1.5em;
        position: relative;
        top: -3px;
    }
    .cabecera-sede .boton-seccion-menu.abierto::before {
        transform: rotate(180deg);
    }
    .cabecera-sede .columnas-manual-wrapper {
        margin-right: 0;
    }
    .cabecera-sede .columna.media {
        width: 100%;
    }
    .cabecera-sede .titulo-columna {
        color: var(--colorTextoSecundario);
        font-size: 1.125em;
        font-weight: bold;
    }
    .cabecera-sede .menu-principal-enlace {
        color: var(--colorTextoSecundario);
        font-size: 1.25em;
    }
    .cabecera-sede .menu-secundario-enlace {
        color: var(--colorBlanco);
        font-size: 1em;
    }
    .cabecera-sede :is(.menu-principal-enlace, .menu-secundario-enlace):hover{
        color: var(--colorBlanco);
    }
    .cabecera-sede .seccion-menu-secundario {
        width: calc(100% - 2em);
    }
    .cabecera-sede .seccion-menu-secundario .menu-principal-enlace{
        color: var(--colorTextoSobreTerciario);
        padding-left: 2em;
    }
    .cabecera-sede .bloque-buscador .columnas-manual-wrapper {
        flex-direction: column-reverse;
        place-content: start;
    }
    .cabecera-sede .accionador-menu-movil .enlace-seccion-menu {
        font-size: 1em;
        margin-right: 1.25em;
        padding: 0;
    }
    .accionador-menu-secundario-movil {
        align-items: center;
        display: flex;
        padding: 0 1em;
    }
    .barra-menu-secundario {
        position: relative;
    }
    .barra-menu-secundario .bloque-menu.abierto {
        opacity: 1;
        visibility: visible;
        background-color: var(--colorPiePrincipal);
    }
    .barra-menu-secundario .boton-seccion-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-right: 1em;
    }
    .barra-menu-secundario .boton-seccion-menu:has(+ div.seccion-menu-contenido)::after {
        position: static;
        margin-left: auto;
        flex-shrink: 0;
    }
    .columna::before {
        content: none;
    }
    .info-sesion :is(.menu-principal-listado,.menu-secundario-listado) {
        color: initial;
        font-size: 1.1em;
    }
    .usuario.boton-seccion-menu.abierto span.fa-user::before {
        content: "Datos de sesión";
        font-family: var(--fuenteSedeConSerif);
    }
}
/**
/* === DEPRECATED CLASSES ===
*/
#cabecera-sede .bloque-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 1.4em;
}
#cabecera-sede .seccion-menu-contenido {
    background: var(--colorFondoCabeceraOscuro);
    padding: 24px 15px;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out 0.1s, visibility 0.3s ease-in-out 0.1s;
    position: absolute;
    z-index: 9;
    width: 100%;
    left: 0;
    display: none;
    justify-content: center;
}
#cabecera-sede .seccion-menu-contenido-wrapper {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}
#cabecera-sede .columnas-manual-wrapper {
    margin-left: -30px;
    margin-right: -30px;
    width: auto;
    display: flex;
    flex-wrap: wrap;
}
#cabecera-sede .seccion-menu-contenido-wrapper > .menu-principal-listado {
    flex-wrap: wrap;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 30px 0 0;
}
#cabecera-sede .columna.media {
    width: 20%;
}
#cabecera-sede .columna {
    position: relative;
    padding: 0 30px;
}
#cabecera-sede .titulo-columna {
    font-weight: normal;
    font-size: var(--fuenteSizeBase);
    font-family: var(--fuenteSedeSinSerifAlt);
    color: var(--colorBlanco);
    margin-bottom: 26px;
    text-transform: uppercase;
    width: 100%;
}
#cabecera-sede .enlace-seccion-menu {
    font-weight: normal;
    font-size: var(--fuenteSizeBase);
    font-family: var(--fuenteSedeConSerifAlt);
    color: var(--colorBlanco);
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    display: flex;
    cursor: pointer;
}
#cabecera-sede .enlace-seccion-menu:after {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--colorTextoSobreSecundario);
    content: "";
    transform: scale(0,1);
    transform-origin: center;
    transition: all 0.3s ease 0s;
}
#cabecera-sede .boton-seccion-menu.abierto .enlace-seccion-menu:after {
    background-color: var(--colorBlanco);
    width: 100%;
    opacity: 1;
    transform: none;
}
#cabecera-sede .seccion-menu .boton-seccion-menu .enlace-seccion-menu:hover:after {
    transform: scale(1,1);
}
#cabecera-sede .boton-seccion-menu.abierto .enlace-seccion-menu:hover:after {
    background-color: var(--colorBlanco);
}
div.columna:last-child:before {
    content: none;
}
@media (max-width: 991px) {
    #cabecera-sede .bloque-menu-wrapper {
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        box-sizing: border-box;
        height: auto;
    }
    #cabecera-sede .enlace-seccion-menu {
        font-size: 20px;
        padding: 8px 15px;
    }
    #cabecera-sede .seccion-menu {
        width: 100%;
    }
    #cabecera-sede .boton-seccion-menu {
        position: relative;
    }
    #cabecera-sede .boton-seccion-menu:has(+ div.seccion-menu-contenido)::before {
        content: "\f078";
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        font-family: var(--fa-style-family);
        font-weight: 900;
        position: absolute;
        right: 15px;
        top: 14px;
        color: var(--colorBlanco);
        transition: all 0.3s ease 0s;
    }
    #cabecera-sede .seccion-menu-contenido {
        background: var(--colorEnlaces);
        padding: 20px 38px 20px 24px;
        position: relative;
        top: -3px;
    }
    #cabecera-sede .boton-seccion-menu.abierto:before {
        transform: rotate(180deg);
    }
    #cabecera-sede .columnas-manual-wrapper {
        margin-right: 0;
    }
    #cabecera-sede .columna.media {
        width: 100%;
    }
    #cabecera-sede .titulo-columna {
        font-size: 18px;
        font-weight: bold;
        color: var(--colorTextoSecundario);
    }
    #cabecera-sede .menu-principal-enlace {
        font-size: 20px;
        color: var(--colorTextoBase);
    }
    #cabecera-sede .menu-principal-enlace a:hover {
        color: var(--colorBlanco);
    }
    #cabecera-sede .bloque-buscador .columnas-manual-wrapper {
        place-content: start;
        flex-direction: column-reverse;
    }
    #cabecera-sede #accionador_menu_movil .enlace-seccion-menu {
        padding: 0;
        font-size: 1em;
        margin-right: 20px;
    }
    .columna:before {
        content: none;
    }
    .info-sesion .menu-principal-listado {
        color: initial;
        font-size: 1.1em;
    }
    .usuario.boton-seccion-menu.abierto span.fa-user:before {
        font-family: var(--fuenteSedeConSerif);
        content: "Datos de sesión";
    }
}
