/*   =etiqueta
    .=clase
    #=id
*/
main {
  margin-top: 5em;
}
footer {
  background-color: #333;
  color:white;
  font-size: 1em;
  font-weight: bold;
  text-align: right;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 2em;
}

input[type="number"]{
  text-align: right;
}

.sierror {
  color: #cc0000;
}

.tabla {
  border-collapse: collapse; /* Collapse borders */
  width: 100%; /* Full-width */
  border: 1px solid #ddd; /* Add a grey border */
  /* background-color: white; */
}
.tabla td{
  padding: 3px 2px;
}
.tabla th{
  padding: 3px 2px;
}
.tabf10 {
  font-size: 1em;
}
.tabf08 {
  font-size: .8em;
}
.cabVO {
  background-color: green;
  color: white;
}
.cabAO {
  background-color: darkblue;
  color: white;
}
.cabRO {
  background-color: darkred;
  color: white;
}
.tabla tr:hover {
  background-color: #f1f1f1;
  color: darkred;
  font-weight: bold;
}

.aliCN{
  text-align: center;
}
.aliIN{
  text-align: left;
}
.aliDN{
  text-align: right;
}
.aliCB{
  text-align: center;
  font-weight: bold;
}
.aliIB{
  text-align: left;
  font-weight: bold;
}
.aliDB{
  text-align: right;
  font-weight: bold;
}
.aliDBao{
  text-align: right;
  font-weight: bold;
  color: blue;
}
.aliDBro{
  text-align: right;
  font-weight: bold;
  color: darkred;
}
.logN{

}
.logS{
  background-color: pink;
}
.logP{
  background-color: greenyellow;
}

/*css para alertas*/
.alerta {
  padding: 20px;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);  /* Black w/ opacity */
  color: white;

  position: fixed;        /* Stay in place */
  z-index: 1;             /* Sit on top */
  padding-top: 30px;      /* Location of the box */
  padding-bottom: 30px;   /* Location of the box */
  left: 0;
  top: 200px;
  width: 75%;        /* ancho */
  height: 25%;       /* alto */
  overflow: auto;    /* Enable scroll if needed */
}
.alertaNook {
  background-color: red;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 70%;
}
.alertaSiad {
  background-color: blue;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 70%;
}
.alertaSiok {
  background-color: green;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 70%;
}
/*css para boton cerrar alertas y modales*/
.closeBtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  float: right;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closeBtn:hover,
.closeBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*css para menuPas si esta fixed*/
#menuPas {
  background-color: #ffff99;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  cursor: pointer;
}
/*css para botón subir*/
#btnSubir {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 5px;
  z-index: 99;
  cursor: pointer;
}

/*css para botón carro*/
#btnCarro {
  display: none;
  position: fixed;
  bottom: 55px;
  right: 5px;
  z-index: 99;
  cursor: pointer;
}

/*css para modal ver logs*/
.modalLog {
  display: none;      /* none = Hidden */
  position: fixed;    /* Stay in place */
  z-index: 1;         /* Sit on top */
  padding-top: 50px;  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;        /* Full width */
  height: 100%;       /* Full height */
  overflow: auto;     /* Enable scroll if needed */
  background-color: rgb(0,0,0);       /* Fallback color */
  background-color: rgba(0,0,0,0.4);  /* Black w/ opacity */
}

.modalLogCon {
  background-color: #ccffff;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 70%;
}
.modalLog-header {
  padding: 5px 5px;
  background-color: #ffcc00;
  color: white;
}
.modalLog-body {
  padding: 5px 5px;
}
.modalLog-footer {
  padding: 5px 5px;
  background-color: #ffcc00;
  color: white;
  /*font-size: 1em;*/
  /*font-weight: bold;*/
}