
* {margin: 0px;
padding: 0px; outline: 0;
}

html, body {width: 100%;
}


body {
    margin: 0px;
    padding: 0px;
    font-family: 'titillium_webregular',Arial,Helvetica,sans-serif;
    letter-spacing: 0;
    text-align: left;
    word-spacing: normal;
    text-decoration: none;
    color: #333333;
    background: #7DA5E0 url("/assets/images/back.gif") repeat;
      font-size:1em; 
}

.logo-container {
  display: flex;
  align-items: normal;
}

.logo {
  height: 50px;
  width: auto;
  margin-right: 10px;
  margin-left: 10px;
}

.company-info {
  display: flex;
  flex-direction: column;
}


.company-name {
  margin: 0px;
  font-size: 1.4rem;
  text-align: left;
  text-transform: uppercase;
  color: #7DA5E0;
  font-family: "arial", "serif";
  text-shadow: black 0.1em 0.1em 0.2em;
}

.company-address {
  text-transform: uppercase;
  color: black;
  font-family: "arial", "serif";
  text-shadow: 0.1em 0.1em 0.2em #000;
  filter: dropshadow(color=gray, offx=0.1em, offy=0.1em);
  font-size: 0.8rem;
  margin: 5px;
}

/************* HEADER STUFF ************/


.info-bar, nav, iframe, .table-controls { 
  display: none;
}

.table-container {
  overflow-x: auto;
  /* Permite el scroll horizontal */
  margin-top: 20px;
}

table {
  width: 100%;
  font-size: 0.9em;
}

table caption {
  font-size: 1.2em;
  text-align: center;
  padding: 5px;
  background-color: #002B49;
  color: white;
  margin: 0;
  text-transform: uppercase;
  border: 1px solid #000;
  text-shadow: 1px 1px 1px #000;
  border-radius: 5px;
  box-shadow: 0px 0px 5px;
}

table th {
  background: #87b7e3;
  text-align: center;
  padding: 6px 2px 6px 2px;
  white-space: nowrap;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0px 0px 5px;
}

table td {
  padding: 6px 2px 6px 2px;
  text-align: left;
  font-weight: normal;
  /* background-color: aliceblue; */
  border: 1px solid #87b7e3;
  border-radius: 10px;
  padding-left: 10px;
}



table td#numero {

  text-align: right;
  font-weight: normal;
  padding-right: 10px;
}

table td#total {

  text-align: right;
  background-color:#87b7e3;
  color: white;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1.1em;
  padding-right: 10px;
}

table th#medio,
td#medio {

  text-align: center;
  font-weight: normal;
}



/* Footer */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
}

footer p {
  font-size: 0.8rem;
  line-height: normal;
  padding: 0;
  margin: 0;
}

footer span {
  text-align: center;
  vertical-align: middle;
}

footer img {
  height: 16px;
  width: auto;
}

.factura {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Encabezado de la factura */
.facturaheader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Alinea los elementos en la parte superior */
  margin-bottom: 20px;
}

.facturalogo {
  float: left;
  /* Espacio entre el logo y los datos de la empresa */
}

.facturalogo img {
  width: 100px;
  height: auto;

}

.factura p {
  font-size: 1rem;
  line-height: 1.0;
  padding: 5px;
  margin: 0;
}

.facturaempresa,
.facturacliente {
  width: 45%;
  border: 1px solid black;
  margin: 5px;
  border-radius: 5px;
  font-size: 0.8em;
  padding: 5px;
  box-shadow: 1px 1px 1px 1px black;
}

.facturaempresa h2,
.facturacliente h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #333;
}

