@font-face {
  font-family: SourceSansPro;
  src: url("../fonts/SourceSansPro-Regular.ttf");
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

#cuerpo {
  position: relative;
  width: 21cm;  
  height: 27.5cm; 
  margin: 0 auto; 
  color: #555555;
  background: #FFFFFF; 
  font-family: Arial, sans-serif;  
  font-size: 12px; 
  font-family: SourceSansPro;
}

header {
  padding: 25px 0;
  border-bottom: 1px solid #AAAAAA;
}

#logo {
  float: left;
  margin-top: 4px;
}

#logo img {
  width: 100px;
}

#empresa {
  float: left;
  text-align: center;
  width: 400px;
}
#invoice {
  float: right;
  border-color: #0087C3;
}

#details {
  margin-bottom: 50px;
}



#cliente1 {
  padding-left: 8px;
  float: left;
  width: 500px;

}
#cliente2 {
  padding-left: 8px;
  float: right;
  width: 200px;
}

#correo{
  padding-top: 20px;
  color: rgb(0, 115, 255);
  padding-left: 6px;
  float: left;
  width: 300px;
  text-align: center;
  font-size: 14px;
}

#firma {
  padding-top: 20px;
  float: right;
  width: 300px;
  text-align: center;
  font-size: 20px;

}


.concepto {
  padding-left: 6px;
  float: left;
  text-align: right;
  font-size: 12px;
}
.descripcion {
  padding-left: 6px;
  float: left;
  text-align: left;
  font-weight: bolder;
  font-size: 12px;
}

.folio1 {
  color: #ffffff;
  font-size: 12px;
  background: #0087C3;
  width: 180px;
  text-align: center;
}

.folio2 {
  color: #bd2525;
  font-size: 18px;
  width: 180px;
  text-align: center;
}
.folio3 {
font-size: 12px;
width: 180px;
text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 0px;
}

table th,
table td {
  text-align: center;
  border-bottom: 1px solid #FFFFFF;
}

table th {
  white-space: nowrap;        
  font-weight: normal;
}



table td h3{
  color: #57B223;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 0.2em 0;
}

table .no {
  color: #FFFFFF;
  font-size: 1.6em;
  background: #57B223;
}

table .desc {
  text-align: left;
}

table .unit {
  background: #DDDDDD;
}

table .qty {
}

table .total {
  background: #57B223;
  color: #FFFFFF;
}

table td.unit,
table td.qty,
table td.total {
  font-size: 1.2em;
}

table tbody tr:last-child td {
  border: none;
}

table tfoot td {
  padding: 1px 2px;
  background: #FFFFFF;
  border-bottom: none;
  font-size: 1.2em;
  white-space: nowrap; 
  border-top: 1px solid #AAAAAA; 
}

table tfoot tr:first-child td {
  border-top: none; 
}

table tfoot tr:last-child td {
  color: #57B223;
  font-size: 1.4em;
  border-top: 1px solid #57B223; 

}

table tfoot tr td:first-child {
  border: none;
}

#noticias{
  padding-left: 20px;
  border-left: 5px solid #0087C3; 
  text-align: left;
  float:left;
  padding-top: 20px; 
}

#noticias .noticia {
  font-size: 1em;
}

footer {
  color: #777777;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
  padding: 8px 0;
  text-align: center;
}
h1,h2,h3,h4,h5,h6{
 margin: .3px;
}
p {
  margin: 1px;
}
