@page {
  margin: 0.5cm 0.5cm;
}
#header,
#footer {
  display: none;
}

#cabecera-print {
  display: block;
  height: 2cm;
  margin-bottom: 0.25cm;
}
#cabecera-print img {
  height: 2cm;
  width: auto;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #414141;
  margin: 0;
  padding: 0;
  font-size: 10pt;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: inherit;
  margin: 0;
  color: #1B1B1B;
}

table {
  width: 100%;
  border: 1px solid #535150;
  margin: 0 0 0.5cm;
}

table td,
table th {
  padding: 0.125cm 0.25cm;
  vertical-align: top;
}

table th {
  text-align: left;
}

tr.define td {
  border-bottom: 1px solid #535150;
  white-space: nowrap;
  font-weight: bold;
}

td.total {
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
  border-top: 1px solid #c2c1c1;
}

td.nowrap {
  width: 30%;
}

td.der,
td.precio {
  text-align: right;
}

strong {
  display: block;
}

span {
  color: #717171;
}

.resumen_fechas .define {
  display: none;
}

.resumen_condiciones {
  border: 1px solid;
  margin: 0 0 0.5cm;
  padding: 0.25cm;
}

.resumen .unidad {
  margin-bottom: 1em;
}

.resumen .unidad .numero i {
  float: left;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2em;
  border: 1px solid;
  padding: 0 0.2em;
  margin-right: 0.5em;
}

.unidad strong span {
  font-weight: normal;
  margin-left: 1rem;
}

.unidad span.numero {
  color: #1B1B1B;
}

.precio,
.precios .total {
  font-weight: bold;
  color: #1B1B1B;
}

.iva {
  display: block;
  width: 100%;
  font-size: 0.9em;
  color: #717171;
  margin-bottom: 2em;
}

.resumen_fechas .fechas {
  margin-bottom: 1rem;
}