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

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

a {
  color: #0087C3;
  text-decoration: none;
}

body {
  position: relative;
  width: 21cm;  
  height: 29.7cm; 
  margin: 0 auto; 
  color: #000; /*#555555*/
  /*background: #FFFFFF;
  background-image: url(img/imprimir.png) no-repeat;
  font-family: Arial, sans-serif; 
  font-size: 14px; 
  font-family: SourceSansPro;
}

header {
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #AAAAAA;
}

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

#logo img {
  height: 138px;
}

#company {
  float: right;
  text-align: right;
}


#details {
  margin-bottom: 50px;
}

#client {
  padding-left: 6px;
  border-left: 6px solid #0087C3;
  float: left;
}

#client .to {
  color: #777777;
}

h2.name {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
}

#invoice {
  float: right;
  text-align: justify;

}

#invoice h3 {
  color: #000;
  position: absolute;
  margin-top: -200px;
  margin-left: -0px;
}

#invoice .date {
  font-size: 1.1em;
  color: #777777;
}

#invoice img {
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    /*opacity: 0.9;
}

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

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

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

table td {
  text-align: right;
}

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: 10px 20px;
  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;
}

#thanks{
  font-size: 2em;
  margin-bottom: 50px;
}

#notices{
  padding-left: 6px;
  border-left: 6px solid #0087C3;
}

#notices .notice {
  font-size: 1.2em;
}


footer {
  color: #000;
  width: 678px;
  height: 130px;
  position: absolute;
  bottom: 0;
  padding: 8px 0;
  /*text-align: center;*/

}
#textoSobre {
    position: absolute;
    margin-top: -1px;
    margin-left: 25px;

}

#rodape {
    float: left;
    margin-top: 8px;
}
#rodape img {
    height: 108px;

}

#textoSobre2 {
    position: absolute;
    margin-top: 20px;
    margin-left: 25px;

}

#textoSobre3 {
    position: absolute;
    margin-top: 40px;
    margin-left: 25px;

}

