/* Estilos generales */
body {
    width: 90%;
    min-height: 600px;
    height: auto;
    background-repeat: no-repeat;
    background-position: right bottom;
    background: url(/assets/images/web/back.gif) repeat;
    margin: 0px auto;
    background-color: white;
    margin-top: 5px;
    overflow-x: scroll;
    font-family: 'titillium_webregular', Arial, Helvetica, sans-serif;
}

/* Header */
header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    /*  padding: 10px 20px; */
    background: url(/assets/images/web/headerid1.jpg);
    background-size: cover;
    border-radius: 5px;
    margin-top: 5px;
}

.logo-container {
    display: flex;
    align-items: normal;
    float: left;
}

.logo {
    height: 50px;
    margin-right: 10px;
    margin-left: 10px;
}

.company-info {
    display: flex;
    flex-direction: column;
}


.company-name {
    margin: 0px;
    font-size: 1.4rem;
    text-align: left;
    text-transform: uppercase;
    color: #DFA81B;
    font-family: "arial", "serif";
    text-shadow: black 0.1em 0.1em 0.2em;
}

.company-address {
    text-transform: uppercase;
    color: black;
    font-family: "arial", "serif";
    text-shadow: 0.1em 0.1em 0.2em black;

    font-size: 0.8rem;
    margin: 5px;
}

.info-bar {
    background-color: #DFA81B;
    opacity: 0.8;
    color: WHITE;
    padding: 4px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    border: 1px solid white;
    overflow-x: auto;
    /* Habilita el scroll horizontal */
    white-space: nowrap;
    /* Evita que los elementos se rompan en varias líneas */
    margin-top: 15px;
}

/* Sección de información y iconos */
.info-section {
    display: flex;
    gap: 16px;
    align-items: center;
    vertical-align: text-top;
}

.info-section span {
    vertical-align: text-top;
}



/* Íconos */
.info-section img {
    width: 16px;
    height: auto;
    cursor: pointer;
}

/* Select */
.info-section select {
    background-color: #2d3748;
    color: white;
    padding: 4px;
    border-radius: 4px;
    border: none;
}



.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

main {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: white;
    border-radius: 5px;
    min-height: 500PX;
    border: 1px solid #DFA81B;
}

main p {
    font-size: 1rem;
    line-height: 1.5em;
    color: black;
    text-align: justify;
    padding: 0 1em 1em 1em;
    font-family: 'titillium_webregular', Arial, Helvetica, sans-serif;
    overflow: hidden;
    vertical-align: top;
}

main p:first-letter {

    font-weight: normal;
    text-shadow: 0 0 5px #000;
    text-transform: capitalize;
    line-height: 1.2em;

}

main a {
    font-weight: normal;
    text-shadow: 0 0 5px black;
    padding: 0px 5px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

main a:hover {
    color: #DFA81B;
    text-shadow: 1px 1px 2px black;
}

main h1 {
    margin: 0px;
    font-size: 1.4rem;
    text-align: left;
    text-transform: uppercase;
    color: rgb(223, 168, 27);
    font-family: "arial", "serif";
    text-shadow: black 0.1em 0.1em 0.2em;

}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;

    border-radius: 8px;
    background-color: white;
}

.contenedor h1 {
    text-align: center;
    margin: 0px;
    font-size: 1.4rem;
    text-align: left;
    text-transform: uppercase;
    color: rgb(223, 168, 27);
    font-family: "arial", "serif";
    text-shadow: black 0.1em 0.1em 0.2em;
}

.contenedor p {
    font-size: 1.2rem;
    line-height: 1.5em;
    color: black;
    text-align: justify;
    padding: 0 1em 1em 1em;
    font-family: 'titillium_webregular', Arial, Helvetica, sans-serif;
    overflow: hidden;
    vertical-align: top;

}

.contenedor p:first-letter {

    font-weight: normal;
    text-shadow: 0 0 5px #000;
    text-transform: capitalize;
    line-height: 1.2em;

}

.contenedor li {
    color: black;
}

.contenedor-img {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;

}

.contenedor-img a {
    display: block;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenedor-img a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contenedor-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.contenedor-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contenedor ul {
    font-size: 1rem;
    line-height: 1.5em;
    color: white;
    text-align: justify;
    padding: 0 1em 1em 1em;
    font-family: 'titillium_webregular', Arial, Helvetica, sans-serif;
    margin-left: 25px;
}

/* Menú */
nav {
    background: -webkit-linear-gradient(top, #443409 0%, #ECE0C3 100%);
    opacity: 0.95;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: left;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

.menu a:hover {
    background: #555;
}

/* Submenús */
.submenu-items {
    display: none;
    position: absolute;
    background: #796A44;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
    min-width: 200px;
    border-radius: 5px;
    border: 1px solid white;
}

.submenu-items li {
    width: 100%;
}

.submenu:hover .submenu-items {
    display: block;
}

.submenu-items a {
    padding: 10px;
    display: block;
}

.submenu-items a:hover {
    background: #666;
}

/* Mostrar submenú al pasar el mouse */
.submenu:hover>.submenu-items {
    display: block;
    /* Muestra el submenú directamente hijo */
}

/* Submenús anidados */
.submenu-items .submenu-items {
    top: 0;
    /* Alinea el submenú anidado con el borde izquierdo del elemento padre */
    left: 100%;
    /* Coloca el submenú anidado a la derecha del elemento padre */
}


/* Menú responsive */
.menu-toggle {
    display: none;
    background: #DFA81B;
    color: white;
    padding: 10px;
    border: none;
    font-size: 1em;
    width: 100%;
    text-align: left;
}

/* Botones Sociales */
.social-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn img {
    width: 25px;
    height: 25px;
}

.social-btn:hover {
    transform: scale(1.1);
    border-color: #aaa;
}

/* Colores específicos */
#like:hover {
    background: #DFA81B;
}

#dislike:hover {
    background: #DFA81B;
}

#facebook:hover {
    background: #DFA81B;
}

#twitter:hover {
    background: #DFA81B;
}


.table-controls {

    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    list-style: none;
    padding: 0;
    margin: 0px;

}

.buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    padding-bottom: 4px;
    min-width: max-content;
    width: 100%;
}


.buttons-container li {
    padding: 5px 10px;
    margin-right: 5px;
    background-color: white;
    background-color: navy;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;

}

.buttons-container li a {
    font-weight: normal;
    text-shadow: 0 0 5px #000;
    padding: 0px 5px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.buttons-container li:hover {
    background-color: #DFA81B;
    color: white;
    /* Cambio de color al pasar el cursor */
    box-shadow: 3px 4px 4px 1px rgba(0, 0, 0, 0.5);
}

.table-container {
    overflow-x: auto;
    /* Permite el scroll horizontal */
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table caption {
    text-align: center;
    padding: 5px;
    border: 1px solid white;
    font-weight: bold;
    background-color: #231F4F;
    border-radius: 5px;
    color: white;
}

table th,
table td {
    padding: 5px;
    text-align: left;
    border: 1px solid #ddd;
    color: black;
}

table th {
    background-color: #DFA81B;
    font-weight: bold;
    text-align: center;
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: nowrap;
    font-weight: bold;
    border-radius: 5px;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

table th#medio,
td#medio {
    padding: 2px;
    text-align: center;
    font-weight: normal;
    color: black;
}

table td#numero {
    padding: 2px;
    text-align: right;
    font-weight: normal;
    font-style: italic;
    color: white;
}

table a {
    color: black;
    BORDER: 1PX SOLID GRAY;
}

/* Formulario de login */
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.login-form {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    border: 1px dotted black;
}

.login-form h2 {
    font-size: 1rem;
    margin: 0px auto;
    margin-bottom: 10px;
    color: white;
    text-align: center;
    padding: 5px;
    background-color: #05234F;
    border-radius: 5px;
}

.login-form label {
    display: block;
    font-weight: bold;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 95%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;

}

.login-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #05234F;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

.login-form input[type="submit"]:hover {
    background-color: #DFA81B;
    box-shadow: 3px 4px 4px 1px rgba(0, 0, 0, 0.5);
}

.login-form a {

    padding: 10px;
    color:white;
    text-shadow: none;
    background-color: #05234F;
    border: 1px solid black;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.login-form a:hover {
    color:white;
    background-color: #DFA81B;
    box-shadow: 3px 4px 4px 1px rgba(0, 0, 0, 0.5);
}

.login-form span {
    width: 90%;
    clear: both;
    display: block;
    margin: 0px auto;
    padding: 5px;
    text-align: right;
    font-weight: bold;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #05234F;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #DFA81B;
    box-shadow: 3px 4px 4px 1px rgba(0, 0, 0, 0.5);
}

.recover-password {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.recover-password label {
    margin: 0;
    font-weight: normal;
}

.recover-password button {
    width: 100%;
    padding: 10px;
    background-color: white;
    border: 1px solid black;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.recover-password a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
}

.recover-password a:hover {
    text-decoration: underline;
}

.publicidad {
    margin-top: 20px;
    text-align: center;
    position: relative;
    /* Necesario para posicionar el texto */
}

.logotipos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Espacio entre las imágenes */

}

.logotipos img {
    max-height: 30px;
    height: auto;
    border: 1px solid rgb(223, 168, 27);
    background: white;
    border-radius: 5px;
    padding: 10px;
}

.logotipos-texto {
    position: absolute;
    /* Posiciona el texto encima de las imágenes */
    top: -30px;
    /* Ajusta la posición vertical */
    left: 50%;
    /* Centra horizontalmente */
    transform: translateX(-50%);
    /* Ajusta el centrado */
    font-size: 12px;
    /* Tamaño del texto */
    color: #fff;
    /* Color del texto */
    white-space: nowrap;
    /* Evita que el texto se divida en varias líneas */
    background-color: rgb(223, 168, 27);
    /* Fondo semitransparente */
    padding: 2px 5px;
    /* Espaciado interno */
    border-radius: 3px;
    /* Bordes redondeados */
}

/* Estilos para los logotipos de W3C */
.w3c-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Espacio entre los logotipos */
    padding: 20px;
}

.w3c-logos img {
    max-width: 80px;
    /* Ajusta el tamaño de los logotipos */
    height: auto;
}

/* Footer */
footer {
    background: -webkit-linear-gradient(top, #ECE0C3 0%,#443409 100%);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

footer p {
    font-size: 0.8rem;
    line-height: normal;
    padding: 0;
    margin: 0;
}

footer span {
    text-align: center;
    vertical-align: middle;
}

footer img {
    height: 16px;
    width: auto;
}

/* Frame Oculto y botones ocultos */
iframe {
    width: 100%;
    height: 100vh;
    border: 0;
}

.foculto {
    display: none;
    clear: both;
    width: 95%;
    height: 80%;
    margin: 0 auto 0 auto;
}

.boculto {
    visibility: hidden;
}

/* Cookie Stuff */

#cookie {
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0 auto 0 auto;
    width: 100%;
    z-index: 999999;
    display: block;
    border: 1px solid #B7B7B7;
    background-color: #000000;
}

#cookie:hover {
    background: #7E7474;
}

#cookie p.cookie_law_txt {
    color: #C4C4C4;
    float: left;
    font-size: 1rem;
    line-height: 1.5em;
    height: auto;
    margin: 0px;
    padding: 0px;
    display: block;
    padding: 15px 40px 12px 20px;
}

#cookie p.cookie_law_txt a {
    color: #C7B3C7;
}

#cookie p.cookie_law_txt a:hover {
    color: #FFFFFF;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#cookie p.cookie_law_ok {
    float: right;
    width: 90px;
    display: block;
    text-align: right;
    margin: 15px 20px 10px 0;
    padding: 0px;
}

#cookie p.cookie_law_ok a {
    font: 1.0em/0.8em "Alegreya Sans SC", Arial, Helvetica, sans-serif;
    text-transform: lowercase;
    background: #A181A2;
    padding: 1px 6px;
    color: #FAFAFA;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 3px 0 #16181B;
    box-shadow: 0 0 3px 0 #16181B;
}

#cookie p.cookie_law_ok a:hover {
    color: #FFFFFF;
    background: #AD93AE;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#cookie p.cookie_law_ok a:active {
    color: #C4C4C4;
    background: #624E62;
    -webkit-box-shadow: 0 0 1px 0 #16181B;
    box-shadow: 0 0 1px 0 #16181B;
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
}


.error {
    visibility: hidden;
    font-size: 1.4rem;
    font-weight: bold;
    border: 2px dotted red;
    clear: both;
    width: 80%;
    display: block;
    text-align: center;
    /*padding: 2px; */
    margin: 0px auto;
    text-decoration: blink;
}

.aviso {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    font-size: 1.4rem;
    font-weight: bold;
    border: 2px solid red;
    clear: both;
    display: block;
    text-align: center;
    padding: 2px;
    background: whitesmoke;
    visibility: hidden;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    width: auto;
    height: 50px;
}

.grid-container table {
    width: 100%;
    border-collapse: collapse;
}

.grid-container table caption {
    text-align: center;
    padding: 5px;
    background-color: #05234F;
    border-radius: 5px;
    color: white;
}



.grid-container th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.grid-container th {
    background-color: #f4f4f4;
}

/* Estilos generales del contenedor */
.contenedortexto {
    position: relative;
    max-width: 600px;
    width: 50%;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Estilos del título */
.contenedortexto h2 {
    position: absolute;
    top: -30px;
    left: 1px;
    padding: 0 5px;
    font-size: 1rem;
    font-weight: bold;
    background-color: white;

}

/* Estilos del párrafo de contenido */
.contenedortexto p {
    font-size: 1rem;
    /* Tamaño de la fuente */

    line-height: 1.5;
    /* Espaciado entre líneas */
    margin: 0;
    /* Eliminar margen por defecto */
}

/* Estilos de los enlaces */
.contenedortexto a {
    display: block;
    font-weight: normal;
    text-shadow: 0 0 5px #000;
    padding: 0px 5px;
    color: black;
    border-radius: 5px;
    text-decoration: none;

}

.contenedortexto a:hover {
    text-shadow: 1px 1px 2px black;
}

#visit-count {
    font-weight: bold;
    color: #ffcc00;
    /* Color destacado para el contador */
}

.social-container {
    display: block;
    margin: 5px auto;
    /* Centrar el contenedor en la pÃ¡gina */
}

/*// Estilos po Xornal */

#xornal {
    display: flex;

}

#izquierda {
    flex: 2;
    float: left;
    width: 45%;
    height: auto;
    background-color: #FFFFFF;
    border: 1px solid black;
    padding: 10px;
    margin-right: 10px;
}



#derecha {
    flex: 2;
    float: right;
    width: 45%;
    height: auto;
    background-color: #FFFFff;
    border: 1px solid black;
    padding: 10px;
}


.noticia {
    margin: 10px auto;
    height: auto;
    border: black 1px dotted;
    padding: 10px;
    border-radius: 5px;
    text-align: justify;
}


.noticia img {
    width: 90%;
    height: auto;
    border-radius: 5px;
    margin: auto;
    display: block;
    filter: drop-shadow(2px 2px 2px gray);
    border:1px solid black;
}


.noticia h1 {
    /* Tema */
    text-align: Left;
    font-size: 1rem;
    text-transform: uppercase;
    color: red;
    display: block;
    clear: both;

}



.noticia h2 {
    /* Titular */
    padding: 5px;
    text-align: left;
    text-transform: uppercase;
    color: #DFA81B;
    text-shadow: black 0.1em 0.1em 0.2em;
    clear: both;
    text-decoration: none;
    font-size: 1.4rem;
}

.noticia h2  a {
    font-weight: normal;
    padding: 0px 5px;
    color: #DFA81B;
    border-radius: 5px;
    text-decoration: none;
}

.noticia h2 a:hover {
    text-shadow: 1px 1px 2px black;
    color: black;
}

.noticia h3 {
    text-align: Left;
    padding-left: 10px;
    font-size: 0.8rem;
    font-family: 'Gotham-Book', Arial;
    display: block;
    clear: both;
}

/* Estilos para los botones inferiores (manteniendo tus estilos originales) */
.noticia > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.noticia > ul > li {
    display: inline-block;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid black;
    margin-top: 5px;
    margin-bottom: 5px;
}

.noticia > ul > li:hover {
    background-color: #DFA81B;
}




/* Contenedor principal del contenido */
.noticia-content {
    overflow: hidden; /* Contiene elementos flotantes */
    position: relative; /* Necesario para el método avanzado */
    text-align: justify;
}

/* Estilos para imágenes dentro de la noticia */
.noticia-content img {
    max-width: 40%;
    height: auto;
    border-radius: 5px;
    margin: 5px 15px 5px 5px;
    filter: drop-shadow(2px 2px 2px gray);
    float: left;
    border: 1px solid black;
}

/* Estilos para párrafos */
.noticia-content p {
    display: block;
    text-align: justify;
    font-size: 1rem;
    margin: 5px 0;
    line-height: 1.4em;
    font-weight: normal;
    font-family: 'titillium_webregular', Arial, Helvetica, sans-serif;
}

.noticia-content a {
    font-weight: normal;
    padding: 0px 5px;
    color: black;
    border-radius: 5px;
    text-decoration: none;
}

.noticia-content a:hover {
    text-shadow: 1px 1px 2px black;
    color:#DFA81B;
}


/* Estilos para listas dentro del contenido */
.noticia-content ul,
.noticia-content ol {
    margin: 10px 0;
    padding-left: 40px;
    display: block;
    clear: both; /* Asegura que las listas no floten alrededor de la imagen */
}

.noticia-content ul {
    list-style-type: disc;
}

.noticia-content ol {
    list-style-type: decimal;
}

.noticia-content li {
    display: list-item;
    margin: 5px 0;
}




.noticia form {
    text-align: justify;
    font-size: 1rem;
}



.noticia fieldset {
    width: 80%;
    padding: 1em;
    margin: auto;
    margin-top: 10px;
    border: 1px solid #DFA81B;
    font-size: 1rem;
    box-shadow: 5px 5px 5px #999;
    background: white;
    display: block;
    clear: both;
}




.noticia legend {

    color: black;

    text-align: justify;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.noticia input[type="radio"] {
    float: left;
    clear: left;
    width: 50px;
    margin: 5px;
}

.noticia label {
    float: left;
    vertical-align: middle;
    color: rgb(50, 95, 160);

    margin: 5px;
    font-weight: normal;
}

.noticia input[type="submit"] {
    clear: both;
    text-align: right;
    float: right;
}



.noticia img#bandera {
    width: 30px;
    height: auto;
    float: left;
    padding-right: 5px;
    border:none;
}




#sbox-content {
    clear: both;
    overflow: auto;
    background-color: white;
    height: 100%;
    width: 100%;
}


#sbox-content a.btnclose {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: 0px;
    background: url("/assets/images/web/closebox.png") no-repeat scroll center center transparent;
    border: none;
}

#sbox-content h1 {
    text-align: center;
    border: 1px solid black;
    padding: 5px;
    background-color: #7DA5E0;
    border-radius: 10px;
    margin: 10px;
}


#sbox-content h2 {

    border: 1px dotted black;
    padding: 5px;
    border-radius: 10px;
    margin: 10px;
    background-color: #7DA5E0;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 20px auto 20px;
}

/* Estilos para las pestañas */
.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    GAP: 5PX;
}

.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #f1f1f1 !important;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    border-radius: 4px 4px 0 0;
    transition: background-color 0.3s;
}


.tab-button.active {
    background-color: #05234F !important;
    color: #fff;
}

.tab-button:hover {
    background-color: #4b545f;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}



.form-container h2 {
    margin-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
    padding: 5px;
    background-color: #002B49;
    color: white;
    margin: 0;
    text-transform: uppercase;
    border: 1px solid #000;
    text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    box-shadow: 0px 0px 5px;
}


/* Estilos para los campos del formulario */
.form-group {
    margin-bottom: 15px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.input-group input[type="text"] {
    flex: 3;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container input[type="text"],
input[type="date"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}



.form-container textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    /* Permite redimensionar verticalmente */
    min-height: 100px;
    /* Altura mínima */
}

.form-container button {
    padding: 10px;
    background-color: #05234F;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.form-container button:hover {
    background-color: #4b545f;
}

.filtro-periodo {
	background: #DFA81B;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 15px;
    margin: 0 auto 20px auto;
    display: inline-block;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.filtro-periodo .label-buscador {
position: absolute;
    top: -12px;
    left: 10px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
}

.filtro-periodo form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.filtro-periodo span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.filtro-periodo select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
	width: auto;
}

.filtro-periodo button {
    padding: 6px 14px;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.filtro-periodo button:hover {
    background-color: navy;
	color: white;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

/* Estilos para el formulario en línea */

.buscador-inline {
    display: flex;
    gap: 10px;

    flex-direction: row;
    justify-content: center;
    align-items: center;
}


.buscador-inline select,
.buscador-inline input,
.buscador-inline button {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.buscador-inline select {
    flex: 1;
    max-width: 100px;
}

.buscador-inline input {
    flex: 2;
    max-width: 250px;
}

.buscador-inline button {
    flex: 1;
    cursor: pointer;
    max-width: 100px;
}

.buscador-inline button:hover {
    background-color: #7DA5E0;
}

.weather-widget {
	position:absolute;
	top:10px;right:10%;
	display:flex;
	align-items:center;
	gap:8px;color:white;
	background:black;
	padding:5px 12px;
	border-radius:30px;
	z-index:1000;
}
.weather-icon img {
    width: 40px;
    height: 40px;
}
.weather-temp {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}
.weather-details {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: white;
}
.weather-details i {
    margin-right: 3px;
}


@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: flex;
    }

    .submenu-items {
        position: static;
        background: none;
    }


}

/* Estilos responsivos */
@media (max-width: 768px) {
    .contenedor-img {
        flex-direction: column;
        align-items: center;
    }

    .contenedor-img a {
        margin: 10px 0;
    }

    .logotipos {
        flex-direction: column;
        /* Apila las imágenes en pantallas pequeñas */
        gap: 10px;
    }

    .logotipos img {
        max-height: 30px;
        /* Reduce el tamaño en móviles */
    }

    .logotipos-texto {
        top: -15px;
        /* Ajusta la posición vertical en móviles */
        font-size: 1rem;
        /* Reduce el tamaño del texto en móviles */
    }

    .w3c-logos {
        flex-direction: column;
        /* Apila los logotipos de W3C en móviles */
        gap: 10px;
    }

    .w3c-logos img {
        max-width: 60px;
        /* Reduce el tamaño en móviles */
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contenedortexto {
        width: 80%;
        /* En pantallas pequeñas, ocupa el 80% del ancho */
        margin: 20px auto;
        /* Sigue centrado */
    }

    .contenedortexto h2 {
        font-size: 12px;
        /* Reduce el tamaño del título en móviles */
    }

    .contenedortexto p {
        font-size: 12px;
        /* Reduce el tamaño del texto en móviles */
    }

    .info-section span.optional {
        display: none;
    }

    #izquierda,
    #derecha {
        width: 100%;
        /* Las columnas ocupan todo el ancho en pantallas pequeñas */
        margin-bottom: 20px;
        /* Espacio entre las columnas cuando se apilan */
    }


}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .contenedortexto {
        width: 90%;
        /* En pantallas muy pequeñas, ocupa el 90% del ancho */
        padding: 15px;
        /* Reduce el padding */
    }

    .contenedortexto h2 {
        font-size: 11px;
        /* Tamaño de fuente más pequeño para móviles */
        top: -8px;
        /* Ajuste fino de la posición */
    }

    .contenedortexto p {
        font-size: 11px;
        /* Tamaño de fuente más pequeño para móviles */
    }

    .info-section span.optional {
        display: none;
    }


}