
.clearfix {
  display: block;
  clear: both;
}

.hidden {
  display: none;
}

b, strong, .bold {
  font-weight: bold;
}

#documento {
  font: normal 13px/1.4em open-sans, Sans-serif;
  margin: 0 auto;
  padding: 50px 40px;
  min-height: 1058px;
}
#docbasic {
  font: normal 13px/1.4em open-sans, Sans-serif;
  margin: 0 auto;
  padding: 50px 40px;
  min-height: 1058px;
}

#memo .company-name {
  background: #8BA09E url("../img/arrows.png") 560px center no-repeat;
  background-size: 100px auto;
  padding: 10px 20px;
  position: relative;
  margin-bottom: 15px;
}
#memobasic .company-name {
  padding: 10px 20px;
  position: relative;
  margin-bottom: 15px;
}

#memo .company-name span {
  color: white;
  display: inline-block;
  min-width: 20px;
  font-size: 36px;
  font-weight: bold;
  line-height: 1em;
}
#memobasic .company-name span {
  color: black;
  display: inline-block;
  min-width: 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1em;
}
#memo .company-name .right-arrow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px;
  background: url("") right center no-repeat;
  background-size: auto 60px;
}
#memo .logo {
  float: left;
  clear: left;
  margin-left: 20px;
}
#memo .logo img {
  width: 150px;
  height: 100px;
}
#memo .company-info {
  margin-left: 20px;
  float: left;
  font-size: 12px;
  color: #8b8b8b;
}
#memobasic .company-info {
  margin-left: 20px;
  float: left;
  font-size: 12px;
  color: black;
}
#memo .company-info div {
  margin-bottom: 3px;
  min-width: 20px;
}
#memobasic .company-info div {
  margin-bottom: 3px;
  min-width: 20px;
}
#memo .company-info span {
  display: inline-block;
  min-width: 20px;
}
#memobasic .company-info span {
  display: inline-block;
  min-width: 20px;
}
#memo:after {
  content: '';
  display: block;
  clear: both;
}
#memobasic:after {
  content: '';
  display: block;
  clear: both;
}

#invoice-info {
  float: right;
  /*margin: 25px 0 0 20px;*/
  margin: 5px 20px 0 0;
}
#invoice-info > div {
  float: right;
}
#invoice-info > div > span {
  display: block;
  min-width: 20px;
  min-height: 18px;
  margin-bottom: 3px;
}
#invoice-info > div:last-child {
  margin-right: 20px;
}
#invoice-info:after {
  content: '';
  display: block;
  clear: both;
}

#client-info {
  float: left;
  /*margin: 5px 20px 0 0;*/
  margin: 25px 0 0 20px;
  min-width: 220px;
  text-align: left;
}
#client-info > div {
  margin-bottom: 3px;
  min-width: 20px;
}
#client-info span {
  display: block;
  min-width: 20px;
}

#invoice-title-number {
  text-align: center;
  margin: 20px 0;
}
#invoice-title-number span {
  display: inline-block;
  min-width: 20px;
}
#invoice-title-number #title {
  margin-right: 15px;
  text-align: right;
  font-size: 20px;
  font-weight: bold;
}
#invoice-title-number #number {
  font-size: 15px;
  text-align: left;
}

table {
  table-layout: fixed;
}
table th, table td {
  vertical-align: top;
  word-break: keep-all;
  word-wrap: break-word;
}

#items {
  margin: 20px 0 35px 0;
}
#items .first-cell, #items table th:first-child, #items table td:first-child {
  width: 18px;
  text-align: right;
}
#items table {
  border-collapse: separate;
  width: 100%;
}
#items table th {
  padding: 12px 10px;
  text-align: right;
  background: #E6E7E7;
  border-bottom: 4px solid #487774;
}
#itemsbasic {
  margin: 20px 0 35px 0;
}
#itemsbasic table {
  border-collapse: separate;
  width: 100%;
}
#itemsbasic .first-cell, #items table th:first-child, #items table td:first-child {
  width: 18px;
  text-align: right;
}
#itemsbasic table th {
  padding: 12px 10px;
  text-align: right;
  border-bottom: 4px solid black;
}
#itemsbasic table th:nth-child(2) {
  width: 40%;
  text-align: left;
}
#items table th:nth-child(2) {
  width: 40%;
  text-align: left;
}
#items table th:last-child {
  text-align: right;
  padding-right: 20px !important;
}
#items table td {
  padding: 5px 10px;
  text-align: right;
  border-right: 1px solid #CCCCCF;
}
#items table td:first-child {
  text-align: left;
  border-right: 0 !important;
}
#items table td:nth-child(2) {
  text-align: left;
}
#items table td:last-child {
  border-right: 0 !important;
  padding-right: 20px !important;
}
#itemsbasic table th:nth-child(2) {
  width: 40%;
  text-align: left;
}
#itemsbasic table th:last-child {
  text-align: right;
  padding-right: 20px !important;
}
#itemsbasic table td {
  padding: 5px 10px;
  text-align: right;
  border-right: 1px solid #CCCCCF;
}
#itemsbasic table td:first-child {
  text-align: left;
  border-right: 0 !important;
}
#itemsbasic table td:nth-child(2) {
  text-align: left;
}
#itemsbasic table td:last-child {
  border-right: 0 !important;
  padding-right: 20px !important;
}

/* ESTADO DE CUENTA SOCIOS /////////////////////////////////*/
#bpSaldo {
  margin: 20px 0 35px 0;
  text-align: center;
  background: #E6E7E7;
}
#bpSaldo h5 {
  text-align: center;
  background: #E6E7E7; 
}
#bpSaldo h6 {
  text-align: center;
  background: #E6E7E7;
  margin-top: 5px; 
}

#bpSaldo-info {
  float: right;
  /*margin: 25px 0 0 20px;*/
  margin: 5px 20px 0 0;
}
#bpSaldo-info > div {
  float: right;
}
#bpSaldo-info > div > span {
  display: block;
  min-width: 20px;
  min-height: 18px;
  margin-bottom: 3px;
}
#bpSaldo-info > div:last-child {
  margin-right: 20px;
}
#bpSaldo-info:after {
  content: '';
  display: block;
  clear: both;
}

#bpSaldo table {
  border-collapse: separate;
  width: 100%;
}
#bpSaldo table th {
  padding: 12px 10px;
  text-align: center;
  background: #E6E7E7;
  border-bottom: 4px solid #487774;
}
#bpSaldo table th:nth-child(3) {
  width: 40%;
}
#bpSaldo table td {
  padding: 5px 10px;
  text-align: right;
  background: white;
  border-right: 1px solid #CCCCCF;
}
#bpSaldo table th:first-child {
  width: 40px;
  text-align: left;
  border-right: 0 !important;
}
#bpSaldo table td:first-child {
  text-align: left;
  border-right: 0 !important;
}
#bpSaldo table td:nth-child(3) {
  text-align: left;
}
#bpSaldo table td:last-child {
  border-right: 0 !important;
  padding-right: 20px !important;
}
#bpSaldoTotal {
  float: right;
  background: #8BA09E url("../img/left-arrow.png") -17px bottom no-repeat;
  background-size: auto 100px;
  color: white;
}
#bpSaldoTotal table tr th, #bpSaldoTotal table tr td {
  min-width: 100px;
  padding: 8px 20px 8px 35px;
  text-align: right;
  font-weight: 600;
}
#bpSaldoTotal table tr th {
  text-align: left;
  padding-right: 25px;
}
#bpSaldoTotal table tr.amount-total th {
  text-transform: uppercase;
}
#bpSaldoTotal table tr.amount-total th, #bpSaldoTotal table tr.amount-total td {
  font-size: 16px;
  font-weight: bold;
}
#bpSaldoTotal table tr:last-child th {
  text-transform: uppercase;
}
#bpSaldoTotal table tr:last-child th, #bpSaldoTotal table tr:last-child td {
  font-size: 16px;
  font-weight: bold;
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}

/* TABLA PAGOS DOCUMENTOS //////////////////////////////////*/
#itemsPagoDocs {
  margin: 20px 0 35px 0;
}
#itemsPagoDocs h5 {
  text-align: center;
  background: #E6E7E7;
  margin-bottom: 0px; 
}
#itemsPagoDocs h6 {
  text-align: center;
  background: #E6E7E7;
  margin-top: 5px; 
}

#itemsPagoDocs .first-cell, #itemsPagoDocs table th:first-child, #itemsPagoDocs table td:first-child {
  width: 10px;
  text-align: left;
}
#itemsPagoDocs table {
  border-collapse: separate;
  width: 100%;
}
#itemsPagoDocs table th {
  padding: 12px 10px;
  text-align: left;
  background: #E6E7E7;
  border-bottom: 4px solid #487774;
}

#itemsPagoDocs table td {
  padding: 5px 10px;
  text-align: right;
  border-right: 1px solid #CCCCCF;
}
#itemsPagoDocs table td:nth-child(2), #itemsPagoDocs table td:nth-child(3), #itemsPagoDocs table td:nth-child(4)
, #itemsPagoDocs table td:nth-child(5) {
  text-align: left;
}

/* TABLA PAGOS CUENTAS //////////////////////////////////*/
#itemsPagoAcct {
  margin: 20px 0 35px 0;
}
#itemsPagoAcct h5 {
  text-align: center;
  background: #E6E7E7;
  margin-bottom: 0px; 
}
#itemsPagoAcct .first-cell, #itemsPagoAcct table th:first-child, #itemsPagoAcct table td:first-child {
  width: 10px;
  text-align: left;
}
#itemsPagoAcct table {
  border-collapse: separate;
  width: 100%;
}
#itemsPagoAcct table th {
  padding: 12px 10px;
  text-align: left;
  background: #E6E7E7;
  border-bottom: 4px solid #487774;
}

#itemsPagoAcct table td {
  padding: 5px 10px;
  text-align: right;
  border-right: 1px solid #CCCCCF;
}
#itemsPagoAcct table td:nth-child(2), #itemsPagoAcct table td:nth-child(3), #itemsPagoAcct table td:nth-child(4) {
  text-align: left;
}

#itemsPagoAcct table th:nth-child(2) {
  width: 15%;
  text-align: left;
}
#itemsPagoAcct table th:nth-child(3) {
  width: 30%;
  text-align: left;
}
#itemsPagoAcct table th:nth-child(4) {
  width: 30%;
  text-align: left;
}

/* TABLA PAGOS CHEQUES //////////////////////////////////*/
#itemsPagoChk {
  margin: 20px 0 35px 0;
}
#itemsPagoChk h5 {
  text-align: center;
  background: #E6E7E7;
  margin-bottom: 0px; 
}
#itemsPagoChk .first-cell, #itemsPagoChk table th:first-child, #itemsPagoChk table td:first-child {
  width: 10px;
  text-align: left;
}
#itemsPagoChk table {
  border-collapse: separate;
  width: 100%;
}
#itemsPagoChk table th {
  padding: 12px 10px;
  text-align: left;
  background: #E6E7E7;
  border-bottom: 4px solid #487774;
}

#itemsPagoChk table td {
  padding: 5px 10px;
  text-align: right;
  border-right: 1px solid #CCCCCF;
}
#itemsPagoChk table td:nth-child(2), #itemsPagoChk table td:nth-child(3), #itemsPagoChk table td:nth-child(4),
#itemsPagoChk table td:nth-child(5) {
  text-align: left;
}


.currency {
  border-bottom: 4px solid #487774;
  padding: 0 20px;
}
.currency span {
  font-size: 11px;
  font-style: italic;
  color: #8b8b8b;
  display: inline-block;
  min-width: 20px;
}
.currencybasic {
  border-bottom: 4px solid black;
  padding: 0 20px;
}
.currencybasic span {
  font-size: 11px;
  font-style: italic;
  color: black;
  display: inline-block;
  min-width: 20px;
}

#sums {
  float: right;
  background: #8BA09E url("../img/left-arrow.png") -17px bottom no-repeat;
  background-size: auto 100px;
  color: white;
}
#sums table tr th, #sums table tr td {
  min-width: 100px;
  padding: 8px 20px 8px 35px;
  text-align: right;
  font-weight: 600;
}
#sums table tr th {
  text-align: left;
  padding-right: 25px;
}
#sums table tr.amount-total th {
  text-transform: uppercase;
}
#sums table tr.amount-total th, #sums table tr.amount-total td {
  font-size: 16px;
  font-weight: bold;
}
#sums table tr:last-child th {
  text-transform: uppercase;
}
#sums table tr:last-child th, #sums table tr:last-child td {
  font-size: 16px;
  font-weight: bold;
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}
/* SUMS BASIC ////////////////////////*/
#sumsbasic {
  float: right;
  color: black;
}
#sumsbasic table tr th, #sumsbasic table tr td {
  min-width: 100px;
  padding: 8px 20px 8px 35px;
  text-align: right;
  font-weight: 600;
}
#sumsbasic table tr th {
  text-align: left;
  padding-right: 25px;
}
#sumsbasic table tr.amount-total th {
  text-transform: uppercase;
}
#sumsbasic table tr.amount-total th, #sumsbasic table tr.amount-total td {
  font-size: 16px;
  font-weight: bold;
}
#sumsbasic table tr:last-child th {
  text-transform: uppercase;
}
#sumsbasic table tr:last-child th, #sumsbasic table tr:last-child td {
  font-size: 16px;
  font-weight: bold;
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}
/* MEDIOS DE PAGO Y TOTALES PAGOS ////////////////////////*/
#sumsPago {
  float: right;
  background: #8BA09E url("../img/left-arrow.png") -17px bottom no-repeat;
  background-size: auto 100px;
  color: white;
}

#sumsPago table tr th, #sumsPago table tr td {
  min-width: 100px;
  padding: 8px 20px 8px 35px;
  text-align: right;
  font-weight: 600;
}

#sumsPago table tr th {
  text-align: left;
  padding-right: 25px;
}
#sumsPago table tr.amount-total th {
  text-transform: uppercase;
}
#sumsPago table tr.amount-total th, #sumsPago table tr.amount-total td {
  font-size: 16px;
  font-weight: bold;
}
#sumsPago table tr:last-child th {
  text-transform: uppercase;
}
#sumsPago table tr:last-child th, #sumsPago table tr:last-child td {
  font-size: 16px;
  font-weight: bold;
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}

#terms {
  margin: 50px 20px 10px 20px;
}
#terms > span {
  display: inline-block;
  min-width: 20px;
  font-weight: bold;
}
#terms > div {
  margin-top: 10px;
  min-height: 50px;
  min-width: 50px;
}

.payment-info {
  margin: 0 20px;
}
.payment-info div {
  font-size: 12px;
  color: #8b8b8b;
  display: inline-block;
  min-width: 20px;
}

.ib_bottom_row_commands {
  margin: 10px 0 0 20px !important;
}

.ibcl_tax_value:before {
  color: white !important;
}

/**
 * If the printed invoice is not looking as expected you may tune up
 * the print styles (you can use !important to override styles)
 */
@media print {
  /* Here goes your print styles */
}
