body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    flex-direction: column;
    display: flex;
    min-height: 100vh;  /* Viewport Height completo */
    /*src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm459WxRxC7m0dR9pBOi.woff2) format('woff2'); */
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* -navigation- */
header{
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centra verticalmente los elementos */
    background-color: #051e4d;
    padding: 10px;
    text-align: center;
}
nav a {
    text-decoration: none;
    color: #fff;
    margin: 10px;
}
nav a:hover {
    background-color: #333; /* Fondo de los enlaces al pasar el mouse */
    border-radius: 5px; /* Bordes redondeados */
}
  /*logo*/
/*logo*/
.logoholder{
    width: 20%;
  }
  
.logoholder img{
    margin-top: 5px;
    height: 50px;
    width: auto;
  }

  
main {
    margin-top: 70px; /* Add margin to avoid overlap with fixed header */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.table-container {
    /* max-height: 400px;  Ajusta la altura máxima según tus necesidades */
    overflow-y: auto;
    flex: 1;
    margin: 0 20px;
    max-height: unset; /* Eliminamos la altura fija */
    /* border: 1px solid #ddd;  Opcional: agrega un borde alrededor del contenedor */
}

table {
    width: 95%;
    margin: 20px auto 40px;
    border-collapse: collapse;
    font-size: 16px;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #051e4d; /* Color de fondo de los encabezados */
    z-index: 2;
}

th {
    background-color: #051e4d;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
tr:hover {
    background-color: #ddd;
}
th[colspan="4"] {
    background-color: gray;
    color: white;
    font-size: 20px;
}
.blue-text {
    color: blue;
}
th:nth-child(1), td:nth-child(1) {
    width: 15%;
}

th:nth-child(2), td:nth-child(2) {
    width: 10%;
    text-align: center;
}

th:nth-child(3), td:nth-child(3) {
    width: 20%;
}

th:nth-child(4), td:nth-child(4) {
    max-width: 350px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
th:nth-child(7), td:nth-child(7) {
    width: 20%;
}

#download-btn {
    display: block;
    width: 300px;
    margin: 40px auto 40px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
#download-btn:hover {
    background-color: #45a049;
}

/* Estilos para el footer */
footer {
    width: 100%;
    background-color: #051e4d; /* Coincide con el color de fondo del nav */
    color: white;
    padding: 10px 0;
    box-sizing: border-box; /* Incluye padding y border en el ancho total */
}

footer p {
    margin-top: 10px;
    font-family: var(--normal-font);
    font-size: 1.3em;
}

footer .address {
    margin-top: 10px;
    font-size: 1em;
    font-weight: 300;
}

/* Flexbox layout */
footer .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .row {
    display: flex;
    justify-content: space-between; /* Distribuye los elementos a los extremos */
    align-items: center; /* Centra verticalmente los elementos */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
}

footer .col_tercio {
    flex: 0 0 32%; /* Asegura que cada columna ocupe un tercio del espacio */
    box-sizing: border-box;
    padding: 10px;
}

footer .footlogos,
footer .ibt_logo {
    text-align: center;
}

footer .footnote {
    text-align: center;
    margin: 40px 60px 10px 60px;
    font-size: 0.8em;
    color: #eaeaea;
}

/* Ensure images fit well */
footer .footlogos img {
    max-width: 100%;
    height: 70px;
}

footer .ibt_logo img {
    max-width: 100%;
    height: 80px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    footer .row {
    flex-direction: column;
    }
    
    footer .col_tercio {
    flex: 1 1 100%;
    text-align: center;
    }
    
    footer .footnote {
    margin: 20px 10px;
    }
}
