@font-face {
    font-family: "Muli";
    src: url("../_fonts/Muli.ttf");
}
body {
    font-family: Muli;
    font-size: 16px;
    line-height: 24px;
    /* margin-top: 32px; */
    /* margin-bottom: 32px; */
    font-weight: normal;
    color: #555;
    background-color: #fff;
    /* margin-left: 30px; */
}
fieldset {
    margin-top: 5px;
    margin-bottom: 5px;
}
h2 {
    font-size: 30px;
    line-height: 50px;
    /* margin-top: 50px; */
    /* margin-bottom: 20px; */
    color: #333;
}
h3 {
    font-size: 20px;
    line-height: 40px;
    /* margin-top: 40px; */
    /* margin-bottom: 20px; */
}
input, select {
    background-color: #91C8FF;  /* azul 3970D5, claro 639AFF */
    border: none;
    border-radius: 5px;
    padding: 5px;
}
input[type="number"] {
    text-align: right;
    /* padding-right: 10px; */
    width: 6em;
}
table {
    border-collapse: collapse;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
}
/* table.viv { */
    /* display: table; */
    /* width: 100%; */
    /* min-width: 1600px; */
    /* table-layout: fixed; */
/* } */

/* table.viv tr { */
    /* display: grid; */
    /* grid-template-columns: 10fr 10fr 10fr 10fr 10fr 10fr 10fr 10fr 5fr 5fr 5fr 5fr 150px;  */
/* } */

/* table.viv th, table.viv td { */
    /* display: table-cell; */
/* } */
th, td {
    border: 1px solid #9c9c9c;
    padding: 10px;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
/*.cell-border {
    border: 1px solid #9c9c9c;
}*/
.no-border {
    border: none;
}
/* botones */
.btn-act {
    /* padding: 10px;  */
    background-color: LightGray;
    border: none;
    border-radius: 4px;
    /* width: auto; */
    /* aspect-ratio: 1 / 1; en algunos navegadores no funciona*/
    font-weight: bold;
    color: white;
    padding: 0px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.btnBlue {
  /* padding: 12px 16px; */
}
.btnBlue:hover {
  background-color: DodgerBlue;
}
.btnRed {
  /* padding: 12px 16px; */
}
.btnRed:hover {
  background-color: Red;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.no-pad-right {
    padding-right: 0;
}
.num-right {
  text-align: right;
  padding-right: 30px;
  box-sizing: border-box;
}
.italic {
    font-style: italic;
}
.version {
    margin-top: 10px;
    margin-right: 10px;
    text-align: right;
    color: green;
}
.indented-1 {
    padding-left: 50px;
}
.oculto {
    display: none !important;
}
.contenedor-fila {
    display: flex;
    align-items: center; /* Alinea verticalmente al centro */
    gap: 10px;           /* Añade espacio entre etiqueta e input */
    line-height: 40px;
}
.contenedor-grid {
  display: block;
}
.print-only {
    display: none !important;
}
.wrapping {
    white-space: normal; /* Permite el ajuste de línea */
    word-wrap: break-word; /* Rompe palabras si es necesario */
}

/*************** PRINT ***************/

@media print {
    table.viv tr th:last-child,
    table.viv tr td:last-child {
        display: none !important;
    }
    table.viv tr:nth-child(2) th {
    font-size: 9px;
    /* background: yellow; */
}
    body {
        font-size: 12px;
        line-height: 18px;
    }
    h2 {
        font-size: 20px;
        line-height: 30px;
    }
    h3 {
        font-size: 15px;
        line-height: 20px;
    }

    .no-print {
        display: none !important;
    }
    .print-only {
        display: inline !important;
        /*white-space: normal;*/ /* Permite el ajuste de línea */
        /*word-wrap: break-word;*/ /* Rompe palabras si es necesario */
    }
    .num-right {
        padding-right: 10px;
    }
    .salto-pagina {
        break-before: page; /* Estándar moderno */
        page-break-before: always; /* Compatibilidad con navegadores antiguos */
    }
    .contenedor-grid {
        display: grid;
        /* Crea 2 columnas de igual tamaño que ocupan todo el ancho disponible */
        grid-template-columns: repeat(2, 1fr); 
        /* Añade un espacio de separación de 20px entre los elementos (opcional) */
        gap: 20px; 
    }
  table {
    width: 100%;
    max-width: 100%;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
    /* Ajusta el texto largo dentro de la celda */
  /* td, th { */
    /* word-wrap: break-word;  */
  /* } */
}
