@charset "UTF-8";

h1 {
  font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-style: normal;


}

h2 {
  font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-style: normal;


}

h3 {
  font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

h4 {
  font-family: "Noto Sans", sans-serif;
  font-size: 12x;
  font-style: normal;
  font-weight: normal;
}

tr.blanco {
  background-color: #FFFFFF;
}

tr.gris {
  background-color: #e6e5e5d5;
}

th {
    font-size: 12px; 
    text-align: left;
    color:#000000;  
    font-family: "Noto Sans", sans-serif;
    border-color: #999;
    white-space: nowrap;
}

th.center {
  font-size: 12px; 
  text-align: center;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
}

th.right {
  font-size: 12px; 
  text-align: right;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
}

th.compras {
  font-size: 12px; 
  text-align: center;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
  background-color: #f6fa91;
}

th.ventas {
  font-size: 12px; 
  text-align: center;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
  background-color: #caf085;
}

th.encabezado {
  font-size: 12px; 
  text-align: center;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
  background-color: #c5cabc;
}

td {
    font-size: small; 
    color:#000000;  
    font-family: "Noto Sans", sans-serif;
    border-color: #999;
    white-space: nowrap;
}

td.right {
  font-size: small; 
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
  text-align: right;
}

td.center {
  font-size: small; 
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  white-space: nowrap;
  text-align: center;
}

.bg-gris {
  background-color: #999;
}

.bg-grisclaro {
  background-color: #d4d2d2;
}

td.blanco {
  font-size: small; 
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.gris {
  font-size: small; 
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  background-color: #E0E0E0;
  white-space: nowrap;
  vertical-align: middle;
}

td.rojo {
  font-size: small; 
  color:#fd0303;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.azul {
  font-size: small; 
  color:#3201b6;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.verde {
  font-size: small; 
  color:#128d02;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.violeta {
  font-size: small; 
  color:#76028d;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.naranja {
  font-size: small; 
  color:#dd5a03;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.negro {
  font-size: small; 
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}

td.blinking {
  font-size: small; 
  color:#dd5a03;  
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
  animation: animate  
                1.5s linear infinite;
}

td.round {
  border: 3px solid black;
  border-radius: 20px;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-style: heavy;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.valores {
    font-size: small; 
    text-align: right;
    color:#000000;  
    font-family: "Noto Sans", sans-serif;
    border-color: #999;
    border-width: 1;

}

input[type=number]  {
  font-size: small; 
  text-align: right;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  border-width: 1;
  width: 120px;


}

input[type=number]  {
  font-size: small; 
  text-align: right;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  border-width: 1;
  width: 120px;


}



select, option {
  font-size: small; 
  text-align: left;
  color:#000000;  
  font-family: "Noto Sans", sans-serif;
  border-color: #999;
  border-width: 1;

}



p {
  font-family: "Noto Sans", sans-serif;
    font-size: medium;
    font-style: normal;

}

/* unvisited link */
a:link {
  color: blue;
}

/* visited link */
a:visited {
  color: green;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: red;
}


table.round {
  border: 3px solid black;
  border-radius: 20px;
}

table.border {
  text-align: center;
  width: 100%;
  border: 4px;
  border-radius: 20px;
}

thead tr:nth-child(1),
  thead tr:nth-child(2) {
    position: sticky;
    background: #c5cabc;
    z-index: 2;
    
  }

  thead tr:nth-child(1) {
    top: 40px; /* espacio para la barra fija */
  }
  
  thead tr:nth-child(2) {
    top: 60px; /* 40px de la barra + 20px de la fila anterior */
  }

  body,
  .multilevel-dropdown-menu {
      font-family: Tahoma, sans-serif;
      font-size: 12px;
  }
  
  /* Estilo padres */
  .parent {
      display: block;
      position: relative;
      float: left;
      line-height: 16px;
      background-color: #d3d3d3; /* gris claro */
      border-right: #bbb 1px solid;
  }
  
  .parent a {
      color: #222; /* texto oscuro */
      text-decoration: none;
      padding: 6px 12px; /* menos alto */
      display: block;
      white-space: nowrap;
  }
  
  .parent:hover {
      background-color: #4078c0; /* azul al hacer hover */
  }
  
  .parent:hover > a {
      color: #222; /* texto blanco en hover */
  }
  
  /* Submenú */
  .child {
      display: none;
      position: absolute;
      background-color: #d3d3d3; /* gris muy claro */
      min-width: 12em;
      padding: 0;
      margin: 0;
      z-index: 1000;
      border: 1px solid #bbb;
  }
  
  .parent:hover > ul.child {
      display: block;
      top: 100%;
      left: 0;
  }
  
  .child li {
      border-bottom: #ccc 1px solid;
      width: 100%;
  }
  
  .child li a {
      color: #222;
      padding: 5px 10px; /* menos alto */
      display: block;
      white-space: nowrap;
  }
  
  .child li:hover {
      background-color: #4078c0;
  }
  
  .child li:hover a {
      color: #222;
  }
  
  /* Sub-submenú */
  .child .parent {
      position: relative; /* importante para sub-submenús */
  }
  
  .child .parent > ul.child {
      top: 0;
      left: 100%;
      margin-left: 1px;
      z-index: 1100; /* asegurarse de que esté encima de otros */
  }
  
  /* Reset de listas */
  ul {
      list-style: none;
      margin: 0;
      padding: 0;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* para que quede por encima de otros elementos */
    background-color: #fff; /* o el color que quieras */
  }

  body {
    margin-top: 60px; /* ajustá según la altura del nav */
  }

  .modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
    box-shadow: 0px 0px 10px #000;
  }


  .popup-container {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  .popup-table {
    border-collapse: collapse;
    width: 100%;
    font-family: Tahoma, sans-serif;
    font-size: 12px; /* 👈 ahora más grande */
  }
  .popup-table td {
    border: 1px solid #ddd;
    padding: 6px; /* un poco más de espacio */
    text-align: center;
    cursor: pointer;
    min-width: 40px; /* ajustado para 12px */
  }
  .popup-table td:hover {
    background: #90caf9;
    color: #000;
  }
