/* .main-container{
  width: 90%;
  max-height: 80%;
  margin: 0 auto;
  overflow: auto;
} */
.tabla-encabezado {
  width: 1000px;
  height: 40px;
  margin: 4em auto 0;
  padding: .5em 0;
  background: #616161;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  line-height: 2em;
}

.container-tabla {
  width: 1000px;
  overflow: auto;
  margin: 0 auto 2em;
  overflow: auto;
}

/* Para tabla de informes biv */
.tabla-ventas {
  width: 1000px;
  margin: 0 auto 1em;
  font-size: 14px;
  line-height: 20px;
  table-layout: fixed;
  text-align: center;
  border-bottom: none;
  border-collapse: collapse;
}

.tabla-ventas th {
  background-color: #81E194;
  color: white;
  padding: 5px 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.tabla-ventas th:last-child {
  border-right: none;
}

.tabla-ventas td {
  border-bottom: 1px solid #ccc;
  padding: 0 5px;
}

/* Para tabla de estados de cuenta cliente */
.tabla-ec_cliente {
  width: 1000px;
  margin: 0 auto 1em;
  font-size: 1.1em;
  line-height: 1.1em;
  table-layout: fixed;
  text-align: center;
  border-bottom: none;
  border-collapse: collapse;
}

.tabla-ec_cliente th {
  background-color: #81E194;
  color: white;
  padding: 5px 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.tabla-ec_cliente th:last-child {
  border-right: none;
}

.tabla-ec_cliente td {
  border-bottom: 1px solid #ccc;
  padding: 5px 5px;
  overflow: hidden;
}

.periodo {
  width: 40%;
}

.ec, .adeudos, .pagos {
  width: 20%;
}

.th-pdf {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* RWD */
@media only screen and (max-width: 800px) {
  .tabla-encabezado {
    width: 90%;
    margin: 1.5em auto 0;
  }
  .container-tabla {
    width: 90%;
    margin: 0 auto 1em;
  }
  .tabla-ventas {
    width: 450px;
  }
  .tabla-ec_cliente {
    width: 800px;
  }
}

@media screen and (orientation: landscape) and (max-width: 800px) {
  .tabla-ec_cliente {
    width: 100%;
  }
}
