/* --- ESTILOS DE CABECERA DE PÁGINA --- */
.cont-cabecera {
    width: 100%;
    background-color: #30455D;
}

.cabecera {
    width: 60%;
    margin: 0 auto;
    padding-bottom: 0.3em;
    background-color: #30455D;
}

/* Barra de Herramientas */

.barra-herr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 1em 0;
}

.barra-izq,
.barra-dcha {
    display: flex;
    align-items: center;
}

.txt-barra {
    margin-right: 1em;
    font-weight: 700;
    font-size: 14px;
    color: #FFF;
}

.link-barra {
    display: flex;
    align-items: center;
    color: #c0c0c0;
    text-decoration: none;
    font-weight: 200;
    font-size: 13px;
}

.txt-link {
    margin-left: 1em;
}

.link-barra:hover {
    color: #ffb300;
}

.ico-web-d {
    margin-right: 0.5em;
    vertical-align: middle;
}

.ico-web {
    display: none;
    margin-right: 0.5em;
    vertical-align: middle;
}

    /* Diseño Responsive Barra Herramientas */
    @media (max-width: 800px) {
        .cabecera {
            width: 90%;
        }

        .txt-barra,
        .txt-link-barra {
            display: none;
        }

        .ico-web-d {
            display: none;
        }
       
        .ico-web {
            display: block;
        }
    }
    
    @media (min-width: 800px) and (max-width: 1000px) {

        .cabecera {
            width: 80%;
        }

        .txt-barra,
        .txt-link-barra {
            display: none;
        }

        .ico-web-d {
            display: none;
        }
       
        .ico-web {
            display: block;
        }
    }

    @media (min-width: 1000px) and (max-width: 1300px) {
        .cabecera {
            width: 80%;
        }
    }

/* Separador Barra Herramientas */

.separador-herr {
    width: 100%;
    margin: 0.5em auto;
    border: none;
    border-bottom: 0.1px solid #c0c0c0;
}

/* Barra logo */

.barra-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1em 0;
}


.link-osluz {
    text-decoration: none;
    color: #FFF;
}

.logo {
    width: 45%;
}

/* Búsqueda */

    .busqueda {
        display: flex;
        width: 100%;
        background-color: #444;
        overflow: hidden;
    }

    .input-busqueda {
        width: 100%;
        padding: 1em;
        border: none;
        background-color: #436081;
        color: #FFF;
        font-size: 16px;
    }

    .input-busqueda::placeholder {
        color: #FFF;
    }

    #btn-buscar {
        background-color: #436081;
        border: none;
    }

    .ico-buscar {
        margin: 0.5em;
    }

    .ico-menu {
        display: none;
        border: 0;
        background-color: transparent;
        cursor: pointer;
    }

    /* Diseño Responsive Barra de Logo */

    @media (max-width: 1000px) {

        /* Búsqueda */

        .barra-buscar {
            display: none;
        }

        .ico-menu {
            display: block;
        }
    }

/* MENÚ HORIZONTAL */

.menu-horiz {
    position: relative;
    width: 100%;
    margin-top: -15px;
    padding: 0 2em;
    bottom: -30px;
    background-color: #ffb300;
    z-index: 998;
}

.genericos {
    display: flex;
    justify-content: space-between;
    list-style: none;
    text-align: left;
}

.gen {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    max-height: 60px;
}

.link-gen {
    color: #000;
    text-decoration: none;
    line-height: 50px;
    transition: color 0.1s ease-in-out;
    font-weight: normal;
    cursor: pointer;
}

.link-gen:hover,
.dropdown:hover .link-gen {
    color: #fff;
}
/* Enlace activo del menú */
.link-gen.active{
  font-weight: 700;
  color: #FFF;
}

/* Dropdown */

.dropdown {
    display: inline-block;
    position: relative;
}

.cont-dropdown {
    display: none;
    position: absolute;
    min-width: 150px;
    left: -3em;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    list-style: none;
    z-index: 999;
}

.sub-link-gen {
    display: block;
    padding: 1em 2em;
    color: #000;
    text-align: left;
    text-decoration: none;

}

.sub-link-gen:hover {
    color: #ffb300;
}

.dropdown:hover .cont-dropdown {
    display: block;
}

/* Diseño Responsive menú */

@media (max-width: 1000px) {

    /* Búsqueda */

    .menu-horiz {
        display: none;
    }
}

/* MENÚ ASIDE (sólo activable en resoluciones de menos de 1000px de ancho) */

.sobrepantalla {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.btn-cerrar {
    cursor: pointer;
    border: 0.b ;
    background-color: transparent;
}

.menu-lateral {
    display: none;
    position: fixed;
    width: 40%;
    height: 100%;
    padding: 1em;
    top: 0;
    left: 0;
    background-color: #444;
    z-index: 20;
    overflow-y: auto;
}

.cabecera-l {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
}

.genericos-l {
    padding: 3em 0 0 1em;
    list-style: none;
    overflow-y: auto;
}

.gen-l {
    padding: 1em;
    text-align: left;
}

.link-gen-l {
    color: #6a6a6a;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
    font-weight: normal;
    cursor: pointer;
}

.link-gen-l:hover {
    color: #FFF;
}
/* Enlace activo del menú */
.link-gen-l.active {
  color: #FFF;
}

/* Dropdown Lateral */

.dropdown-menu {
    display: none;
    list-style: none;
    padding: 1em 0 0 0;
}

.sub-link-gen-l {
    text-decoration: none;
    font-size: 16px;
    color: #6a6a6a;
    margin-left: 0.5em;
    transition: color 0.3s ease-in-out;
}

.sub-link-gen-l:hover {
    color: #FFF;
}

.link-gen-l:focus,
.dropdown-l:focus .link-gen-l {
    color: #fff;
}

/* Diseño Responsive menú aside */

@media (max-width: 800px) {
    .menu-lateral {
        width: 100%;
    }

    .gen-l {
        text-align: center;
    }
}

@media (min-width: 800px) and (max-width: 1000px) {
    .menu-horiz {
        display: none;
    }
}


/* --- FOOTER --- */

.cont-pie {
    width: 100%;
    background-color: #383838;
}

.pie {
    width: 60%;
    margin: 0 auto;
    padding-top: 0.3em;
    background-color: #383838;
}

/* Barra superior footer */

.barra-sup-pie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 1em 0;
}

.social {
    display: flex;
    gap: 0.5eem;
    list-style: none;
}

.icono-social {
    margin-left: 1em;
}

.barra-sup-izq,
.barra-sup-dcha {
    display: flex;
    align-items: center;
}

    /* Diseño Responsive Barra Superior Footer */

    @media (max-width: 800px) {
        .pie {
            width: 90%;
        }
    }

    @media (min-width: 800px) and (max-width: 1300px) {

        .pie {
            width: 80%;
        }
    }

/* Barra inferior footer */
.barra-inf-pie {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 0.1px solid #c0c0c0;
    width: 100%;
    margin: 1.5em auto;
}

.click-arriba {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffb300;
    cursor: pointer;
    margin-top: -30px;
    bottom: -45px;
}

.ico-arriba {
    width: 100%;
}

@media (max-width: 800px) {

    .barra-inf-pie {
        margin: 3em auto;
    }

    .click-arriba {
        width: 50px;
        height: 50px;
        margin-top: -25px;
        bottom: -40px;
    }
}

/* Creative Commons */

.creative-commons {
    display: flex;
    justify-content: center;
    padding: 1em;
    color: #fff;
    font-weight: 700;
    text-align: center;
    
}

.creative-commons a {
    text-decoration: none;
    color: #ffb300;
}

.creative-commons a:hover {
    color: #ffd97f;
}

.b {
    color: #FFF;
}
.activa{
    color: #FFF;
    font-weight: 700;
}
.info-text {
    margin: 10px 0;
    text-align: left;
    font-size: 120%;
    color: white;
}

.info-text a {
    color: #ffb300; /* Color del enlace */
    text-decoration: none; /* Sin subrayado */
}

.info-text a:hover {
    color: #ffd97f; /* Subrayado al pasar el ratón */
}
