

section.ENR15 h3 {
  margin-top: 60px;
  font-size: 16px;
}
section.ENR15 table td p {
  border-collapse: collapse;
  /* quita o comenta width: 100%; */
  table-layout: auto;
  margin: 0px;
  font-size: 10px;
  background-color: none;
}

td.bg-gray {
  background-color: #d1d2d3;
}

section.ENR15 p {
  margin-top: 20px;

  line-height: 1;
  font-family: 'Roboto Condensed', Arial Narrow, Arial, sans-serif;
  font-size: 12px;
}

section.ENR15 ol li {
  line-height: 1;
  font-family: 'Roboto Condensed', Arial Narrow, Arial, sans-serif;
  font-size: 12px;
}

/* fuerza que las tablas no se ajusten automáticamente al 100% */
.ENR15 table {
  width: auto !important; /* anula posibles reglas previas */
  table-layout: auto;
  border-collapse: collapse;
}

/* contenedor que puede hacer scroll sólo cuando haga falta */
.table-container {
  width: 100%;
  overflow-x: auto;
  padding: 10px; /* espacio interno */
  border: 1px solid #ccc; /* filete muy fino y suave */
  border-radius: 4px; /* esquinas ligeramente redondeadas */
  background-color: #fff; /* opcional: fondo blanco para resaltar */
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch; /* scroll suave en móviles */
}



/* regla que activa el scroll si la tabla supera 800px */
.table-container table {
  
  width: auto !important; /* importante: que no se ajuste al 100% */
  max-width: none;
  display: inline-table; /* permite que la tabla conserve su ancho intrínseco */
  border-collapse: collapse;
}

/* opcional: evita que el contenido se rompa en varias líneas y empuje la tabla */
.table-container td,
.table-container th {
  white-space: nowrap; /* comentar si quieres que el texto pueda envolverse */
}

.table-container::-webkit-scrollbar-track {
  background: #f2f2f2; /* fondo del carril */
  border-radius: 7px; /* bordes suaves */
}

.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #aaa, #888); /* degradado sutil */
  border-radius: 7px;
  border: 2px solid #f2f2f2; /* pequeño borde para dar efecto de “píldora” */
}

/* ----- Scrollbar para Firefox ----- */
.table-container {
  scrollbar-width: auto; /* thin | auto */

  scrollbar-color: #888 #f2f2f2; /* thumb track */
}



/*
table tr:hover{
  background-color: #fff37924;
}



table:has(tr > *:nth-child(1):hover) tr > *:nth-child(1) {
  background-color: #fff37924;
}
table:has(tr > *:nth-child(2):hover) tr > *:nth-child(2) {
  background-color: #fff37924;
}
table:has(tr > *:nth-child(3):hover) tr > *:nth-child(3) {
  background-color: #fff37924;
}
table:has(tr > *:nth-child(4):hover) tr > *:nth-child(4) {
  background-color: #fff37924;
}
table:has(tr > *:nth-child(5):hover) tr > *:nth-child(5) {
  background-color: #fff37924;
}
table:has(tr > *:nth-child(6):hover) tr > *:nth-child(6) {
  background-color: #fff37924;
}

table td:hover{
  background-color: #fff379 !important;
}
  */


  
@media print {

  .verysmallPDF table {
    transform: scale(0.315);
    transform-origin: top left;
    width: fit-content; 
  }


  div.table-container {
    overflow: visible !important;
    height: fit-content;
    border: 0;
    padding: 0;
  }

  .s83 {
    transform: scale(0.83) !important;
  }
  .s48 {
    transform: scale(0.48) !important;
  }
  .s39 {
    transform: scale(0.39) !important;
  }
  .s32 {
    transform: scale(0.32) !important;
  }
  .s31 {
    transform: scale(0.31) !important;
  }  
  .s30 {
    transform: scale(0.30) !important;
  }
  .s29 {
    transform: scale(0.29) !important;
  }
  .s27 {
    transform: scale(0.27) !important;
  }
  .s24 {
    transform: scale(0.24) !important;
  }
  .s16 {
    transform: scale(0.16) !important;
  }
  .s15 {
    transform: scale(0.15) !important;
  }

  .h500 {
    height: 500px !important;
  }
  .h300 {
    height: 300px !important;
  }
  .h290 {
    height: 290px !important;
  }
  .h280 {
    height: 280px !important;
  }
  .h260 {
    height: 260px !important;
  }
  .h240 {
    height: 240px !important;
  }
  .h190 {
    height: 190px !important;
  }
  .h180 {
    height: 180px !important;
  }

}
