/**
 * just used for as4072 report but could be used for similar reports
 */

.report-printed {
  margin: auto;
  border: 2px solid;
  width: 210mm;
  height: calc(297mm -  48mm - 20mm - 4px); /* height - header - footer - border*/
}

.report-printed__table {
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-collapse: collapse;
  height: 229mm; /* height - header - footer*/
}

.report-printed__pad,
.report-printed__header,
.report-printed__footer {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.report-printed__header {
  display: none;
  height: 48mm;
}

.report-printed__footer {
  display: none;
  height: 20mm;
  padding-top: 0.45mm;
  padding-bottom: 0.45mm;
}

.report-printed__logo {
  display: inline-block;
  height: 15mm;
  width: auto;
}

.report-printed__row-header {
  height: 38mm;
}
.report-printed__row{
  height: 28mm;
}

.report-printed__cell{
  border-top: 1px solid rgba(0,0,0, 0.5);
  height: 28mm;
}


.dotted-line {
    display: inline-block;
    border-bottom: #000 2px dotted;
}

.dotted-line--size-x0-5 {
  width: 50%;
}


/* utils / trumps */

.report-printed__cell + .report-printed__cell {
  border-left: 1px solid rgba(0,0,0, 0.5);
}

.report-printed__cell-header + .report-printed__cell-header {
  border-left: 1px solid rgba(0,0,0, 0.5);
}

.report-printed:first-child {
  height: calc(297mm - 20mm); /* height - footer*/
}

.report-printed:first-child .report-printed__table {
  height: calc(100% - 48mm - 8px); /* height - header - borders*/
}

.report-printed:first-child .report-printed__header {
  display: block;
}



/* print-styles */
@media print {
  .report-printed__header,
  .report-printed__footer {
    display: block;
  }

  .report-printed__table,
  .report-printed:first-child .report-printed__table {
    height: 229mm; /* height - header - footer*/
  }

  .report-printed,
  .report-printed:first-child {
    height: 297mm;
  }

  .report-printed + p {
    display: none;
  }

}
