/* =================================================================================================================== */
/* Main*/
/* =================================================================================================================== */

/* table { */
/* border: 1px solid #ffffff !important; /* Wichtig für Weasyprint */
/* } */

/* tr, td {
  border: 1px solid #ffffff !important;
} */

.pagedjs_page {
  flex-direction: column;
  width: auto;
  margin: 0 auto;

  /* Abstände der A4 Seiten */
  margin-top: 4mm;
  margin-bottom: 4mm;

  zoom: 80%;
}

/* .pagedjs_pagebox {
  box-shadow: 0 0 0 1px var(--pagedjs-crop-color);
  --pagedjs-crop-color: red;
} */

/* iframe {
  width: 210mm;  Breite von DIN A4
  height: 297mm;  Höhe von DIN A4
  transform: scale(0.25);
  transform-origin: 0 0;
  border: none;
} */

.iframe-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Iframe Gutachten*/
.preview-report {
  height: 120vh;
  width: 100%;
  border: none;
  background: #ffffff;
}

/* Iframe Rechnung*/
.preview-bill {
  height: 80vh;
  width: 100%;
  border: none;
  background: #ffffff;
}

/* =================================================================================================================== */
/* Header / Footer */
/* =================================================================================================================== */

.header-appl {
  position: running(header-appl);
  top: 0;
  left: 0;
  right: 0;
  height: 23mm;
  width: 170mm;
  border-bottom: 1px solid #BCBCBC;
  /* padding: 0 10mm; */
  /* box-sizing: border-box; */

  margin-bottom: 3mm;

  /* border: none; */
  /* border: 1px solid #ccc !important;
  border-color: blue !important; */
}

.footer-appl {
  position: running(footer-appl);
  bottom: 0;
  left: 0;
  right: 0;
  height: 23mm;
  width: 170mm;
  border-top: 1px solid #BCBCBC;
  /* padding: 0 10mm; */
  /* box-sizing: border-box; */

  margin-top: 3mm;

  /* border: none; */
  /* border: 1px solid blue !important; */
}

/* =================================================================================================================== */
/* @page */
/* =================================================================================================================== */

@page {

  /*A4 (210 x 297 mm)*/
  size: A4;

  /* DIN 5008 (25mm 20mm 25mm 25mm )*/
  margin: 25mm 20mm 25mm 20mm;

  /* marks: crop; Eckmarker none | [ crop || cross ] */

  /* DIN 5008 / 1.0-1.5 */
  line-height: 1;

  /* Innenrahmen */
  /* border: 1px solid #BCBCBC;  */

  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

  font-family: Arial, sans-serif;
  letter-spacing: normal;
  font-size: 10pt;

  /* START Paged Media Boxes */

  @top-left-corner {
    /* content: ""; */
    /* border: 1px solid grey; */
    /* font-size: 7pt; */
    /* text-align: center; */
    /* vertical-align: middle; */
  }

  @top-left {
    /* border: 1px solid rgb(187, 90, 90); */
    /* font-size: 7pt; */
    /* text-align: center; */
    /* vertical-align: bottom; */

    /* Running Header */
    content: element(header-appl);
  }

  @top-center {
    content: "";
    /* border: 1px solid grey; */
    /* font-size: 7pt; */
    /* text-align: center;
		vertical-align: middle; */
  }

  @top-right {
    content: "";
    /* padding: 3ch; */
    /* border: 1px solid grey; */
    font-size: 7pt;
    /* text-align: center;
		vertical-align: middle; */
  }

  @top-right-corner {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @right-top {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @right-middle {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @right-bottom {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @bottom-left-corner {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    /* color: grey; */
    text-align: center;
    vertical-align: middle;
  }

  @bottom-left {
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;

    /* Running Footer */
    content: element(footer-appl);
  }

  @bottom-center {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @bottom-right {
    content: "Seite " counter(page) " von " counter(pages);
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: right;
    vertical-align: top;
    padding-top: 4mm;

    /* Weasyprint */
    margin-right: 2mm;

    /* Html */
    position: absolute;
    right: 20mm;
    /* bottom: 19mm; */
    /* white-space: nowrap; */
  }

  @bottom-right-corner {
    /* content: "Seite " counter(page) " von " counter(pages); */
    /* border: 1px solid grey; */
    /* font-size: 7pt; */
    /* font-weight: normal; */
    /* font-style: normal; */
    /* position: absolute; */
    /* bottom: 18mm; */
    /* right: 17mm; */
    /* bottom: 18mm; */
    /* right: 25mm; */
    /* white-space: nowrap; */
  }

  @left-top {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @left-middle {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  @left-bottom {
    content: "";
    /* border: 1px solid grey; */
    font-size: 7pt;
    text-align: center;
    vertical-align: middle;
  }

  /* =================================================================================================================== */
  /* Page-breaks paged.js*/
  /* =================================================================================================================== */

  table,
  p,
  img {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .table-pre-damage-tbl,
  .table-opinion {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  section {
    break-after: page;
    break-inside: avoid !important;
    page-break-inside: avoid !important;

    /* border-top: 5px solid red !important;
    border-bottom: 5px solid green !important; */
  }
}

/* Cover */
@page :first {
  margin: 20mm 10mm 20mm 10mm;

  @top-left {
    display: none;
    /* Kein header für html */
    content: " ";
    /* Kein header für weasyprint */
  }

  @bottom-left {
    display: none;
    /* Kein footer für html */
    content: " ";
    /* Kein footer für weasyprint */
  }

  @bottom-right {
    content: " ";
    /* Keine Seitenzahlen */
  }

  /* Innenrahmen*/
  border: 1px solid #BCBCBC;

}

/* =================================================================================================================== */
/* Page-breaks weasyprint*/
/* =================================================================================================================== */

table,
p,
img {
  break-inside: avoid !important;
  page-break-inside: avoid !important;
}

.table-pre-damage-tbl,
.table-opinion {
  break-inside: auto !important;
  page-break-inside: auto !important;
}

section {
  break-after: page;
  break-inside: avoid !important;
  page-break-inside: avoid !important;

  /* border-top: 5px solid red !important;
  border-bottom: 5px solid green !important; */
}


/* =================================================================================================================== */
/* APPRAISAL */
/* =================================================================================================================== */

.body-appl {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-color: #ffffff;
}

.body-appl table {
  border-collapse: collapse;
}

/* ========================================================================================= */
.div-appraisal-report {
  letter-spacing: normal;
  padding-top: 0mm;
  /* margin-top: 15mm;
  margin-bottom: 15mm; */
}

/* =================================================================================================================== */
/* Header-Appraisal */
/* =================================================================================================================== */

.table-header-appl {
  width: 100%;
  color: #3d3d3d;
}

.table-header-appl tbody td:nth-child(1) {
  width: 60%;
  height: 22mm;

  vertical-align: bottom;
  padding-left: 1mm;
  padding-bottom: 1mm;
}

.table-header-appl tbody td:nth-child(2) {
  width: 40%;
  height: 22mm;

  text-align: right;
  vertical-align: bottom;
  padding-right: 1mm;
  padding-bottom: 1mm;
}

.table-header-appl tbody td:nth-child(2) p:nth-child(1) {
  font-size: 11pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  margin: 0;
}

.table-header-appl tbody td:nth-child(2) p:nth-child(2) {
  font-size: 8pt;
  font-weight: normal;
  line-height: normal;
  margin: 0;
}

/* .header-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: 12mm;
  min-width: auto;
  max-width: 60mm;
  margin-left: 1mm;
} */

.table-header-appl tbody img {
  display: block;
  /* width: 100%;
  height: 100%;
  max-height: 30mm;
  min-width: auto;
  max-width: 100mm;
  margin-left: auto;
  margin-right: auto; */

  width: auto;
  height: auto;
  max-height: 15mm;
  min-height: auto;
  max-width: 70mm;
  min-width: auto;
  margin-left: 0;
  /* margin-right: auto; */
}

/* =================================================================================================================== */
/* Footer-Appraisal */
/* =================================================================================================================== */

.table-footer-appl {
  width: 100%;
  font-size: 8pt;
  color: #3d3d3d;
  min-height: 25mm;
  max-height: 25mm;
  /* border: 1px solid #f90404 !important; */
}

.table-footer-appl tr td {
  text-align: left;
  padding: 1mm;
  /* border: 1px solid #09f04f !important; */
}

.table-footer-appl tbody tr:nth-child(1) td {
  vertical-align: middle;
  text-align: right;
  font-size: 7pt;
}

.table-footer-appl tbody tr:nth-child(2) td {
  /* padding-top: 4mm; */
  vertical-align: bottom;
}

.table-footer-appl tbody tr:nth-child(3) td {
  /* padding-bottom: 4mm; */
  vertical-align: top;
}

/* set specific colums width */
.table-footer-appl tbody tr:nth-child(1) {
  height: 10%;
}

.table-footer-appl tbody tr:nth-child(2) {
  height: 25%;
}

.table-footer-appl tbody tr:nth-child(3) {
  height: 65%;
}

.table-footer-appl tbody td:nth-child(1) {
  width: 35%;
}

.table-footer-appl tbody td:nth-child(2) {
  width: 35%;
}

.table-footer-appl tbody td:nth-child(3) {
  width: 30%;
}

/* =================================================================================================================== */
/* Footer-Invoice */
/* =================================================================================================================== */

.table-footer {
  position: sticky;
  bottom: 0;
  height: 40px;
  margin-top: 40px;
}

.table-footer tr td {
  color: #3d3d3d;
  font-size: 7pt;
  text-align: left;
  padding-top: 0.5mm;
  padding-left: 2mm;
}

/* set specific colums width */
.table-footer tbody td:nth-child(1) {
  width: 8%;
}

.table-footer tbody td:nth-child(2) {
  width: 25%;
}

.table-footer tbody td:nth-child(3) {
  width: 8%;
}

.table-footer tbody td:nth-child(4) {
  width: 25%;
}

.table-footer tbody td:nth-child(5) {
  width: 8%;
}

.table-footer tbody td:nth-child(6) {
  width: 25%;
}

/* set table top border */
/* .table-footer tbody tr:nth-child(1) {
  border-top: 3px solid #edecec;
} */

/* =================================================================================================================== */
/* COVER */
/* =================================================================================================================== */

.div-appraisal-report-cover {
  letter-spacing: normal;
}

.div-appraisal-report-cover table {
  width: 100%;
  height: 100%;
  color: #232323;
}

.table-cover-top {
  margin-top: 0mm;
}

.table-cover {
  margin-top: 0mm;
}

.table-cover-top tr td,
.table-cover tr td {
  margin-top: 0mm;
  /* border: 1px solid #02fb23; */
}

.table-cover-top tbody,
.table-cover tbody {
  color: #3d3d3d;
}

/* Firmen-Logo */
.table-cover-top tbody tr:nth-child(1) td:nth-child(2) {
  text-align: center;
  padding-top: 7mm;
  padding-bottom: 7mm;
}

.table-cover-top tbody tr:nth-child(1) img {
  display: block;
  width: auto;
  height: auto;
  max-height: 30mm;
  min-height: auto;
  max-width: 100mm;
  max-width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten-Typ */
.table-cover-top tbody tr:nth-child(2) td:nth-child(1) {
  text-align: center;
  color: #3d3d3d;
  font-size: 20pt;
  font-weight: normal;
  padding-top: 0mm;
  padding-bottom: 0mm;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten vom */
.table-cover-top tbody tr:nth-child(3) td {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  text-align: center;
  padding-top: 1mm;
  padding-bottom: 5mm;
}

/* Cover-Foto */
.table-cover-top tbody tr:nth-child(4) td {
  text-align: center;
  padding: 1mm;
}

.table-cover-top tbody tr:nth-child(4) img {
  border: 1px solid #BCBCBC;
  /* box-shadow: 0 0 0 1px #BCBCBC; */
  display: block;
  padding: 1mm;
  width: auto;
  height: auto;
  max-height: 8cm;
  max-width: 16cm;
  margin-left: auto;
  margin-right: auto;
}

/* Leer */
.table-cover-top tbody tr:nth-child(5) td {
  padding: 1mm;
  padding-top: 1mm;
}

/* Erste Zeile */
.table-cover tbody tr:first-child td {
  color: #3d3d3d;
  font-size: 10pt;
  font-weight: normal;
  padding-top: 2mm;
  padding-bottom: 2mm;
  text-align: center;
  letter-spacing: 1px;
}

/* Zweite Zeile */
.table-cover tbody tr:nth-child(2) td {
  font-size: 9pt;
  line-height: normal;
  text-align: left;
  padding-top: 5mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Alle Zeilen */
.table-cover tbody tr td {
  font-size: 9pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
  border: none;
}

/* Vorletzte Zeile  */
.table-cover tbody tr:nth-last-child(2) td {
  font-size: 9pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 5mm;
  padding-left: 2mm;
}

/* Letzte Zeile */
.table-cover tbody tr:last-child td {
  color: #3d3d3d;
  font-size: 10pt;
  letter-spacing: 1px;
  text-align: center;
  padding-top: 2mm;
  padding-bottom: 2mm;
  /* text-decoration: underline; */
}

/* Spaltenbreiten */
.table-cover tbody td:nth-child(1) {
  width: 15%;
}

.table-cover tbody td:nth-child(2) {
  width: 30%;
}

.table-cover tbody td:nth-child(3) {
  width: auto;
}

.table-cover tbody td:nth-child(4) {
  width: auto;
}

.table-cover tbody td:nth-child(5) {
  width: auto;
}

.table-cover tbody td:nth-child(6) {
  width: 15%;
}

/* Schadenereignis */
.table-cover tbody tr:first-child td:nth-child(2) {
  border-top: 1px solid #BCBCBC;
  border-bottom: 1px solid #BCBCBC;
}

/* Gutachter */
.table-cover tbody tr:last-child td:nth-child(2) {
  border-top: 1px solid #BCBCBC;
  border-bottom: 1px solid #BCBCBC;
}

/* =================================================================================================================== */
/* COVER - Reparaturbestätigung*/
/* =================================================================================================================== */

.table-cover-repair-confirmation {
  margin-top: 0mm;
  /* border: 1px solid #fb0202; */
}

.table-cover-repair-confirmation tbody {
  color: #3d3d3d;
}

/* Firmen-Logo */
.table-cover-repair-confirmation tbody tr:nth-child(1) td:nth-child(2) {
  text-align: center;
  padding-top: 7mm;
  padding-bottom: 7mm;
}

.table-cover-repair-confirmation tbody tr:nth-child(1) img {
  display: block;
  /* width: 100%;
  height: 100%;
  max-height: 30mm;
  min-width: auto;
  max-width: 100mm;
  margin-left: auto;
  margin-right: auto; */

  width: auto;
  height: auto;
  max-height: 30mm;
  min-height: auto;
  max-width: 100mm;
  max-width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten-Typ */
.table-cover-repair-confirmation tbody tr:nth-child(2) td:nth-child(1) {
  text-align: center;
  color: #3d3d3d;
  font-size: 20pt;
  font-weight: normal;
  padding-top: 0mm;
  padding-bottom: 0mm;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten vom */
.table-cover-repair-confirmation tbody tr:nth-child(3) td {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  text-align: center;
  padding-top: 1mm;
  padding-bottom: 7mm;
}

/* Cover-Foto */
.table-cover-repair-confirmation tbody tr:nth-child(4) td {
  text-align: center;
  padding: 1mm;
}

.table-cover-repair-confirmation tbody tr:nth-child(4) img {
  border: 1px solid #BCBCBC;
  /* box-shadow: 0 0 0 1px #BCBCBC; */
  display: block;
  padding: 1mm;
  width: auto;
  height: auto;
  max-height: 8cm;
  max-width: 16cm;
  margin-left: auto;
  margin-right: auto;
}

/* Leer */
.table-cover-repair-confirmation tbody tr:nth-child(5) td {
  padding: 1mm;
  padding-top: 5mm;
}

/* Schadenereignis */
.table-cover-repair-confirmation tbody tr:nth-child(6) td {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  padding-top: 3mm;
  padding-bottom: 3mm;
  text-align: center;
  letter-spacing: 1px;
}

/* Anspruchsteller */
.table-cover-repair-confirmation tbody tr:nth-child(7) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Versicherungsnehmer */
.table-cover-repair-confirmation tbody tr:nth-child(8) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Versicherung */
.table-cover-repair-confirmation tbody tr:nth-child(9) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 3mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Versicherungs-Nr */
.table-cover-repair-confirmation tbody tr:nth-child(10) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Schaden-Nr */
.table-cover-repair-confirmation tbody tr:nth-child(11) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 2mm;
  padding-left: 2mm;
}

/* Gutachten */
.table-cover-repair-confirmation tbody tr:nth-child(12) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 3mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Reparatur */
.table-cover-repair-confirmation tbody tr:nth-child(13) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Reparaturdauer */
.table-cover-repair-confirmation tbody tr:nth-child(14) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 2mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Weiterführung */
.table-cover-repair-confirmation tbody tr:nth-child(15) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 3mm;
  padding-left: 2mm;
}

/* Sachverständiger */
.table-cover-repair-confirmation tbody tr:nth-child(16) td {
  color: #3d3d3d;
  font-size: 12pt;
  letter-spacing: 1px;
  text-align: center;
  padding-top: 3mm;
  padding-bottom: 3mm;
  /* text-decoration: underline; */
}

/* Spaltenbreiten */
.table-cover-repair-confirmation tbody td:nth-child(1) {
  width: 12.5%;
}

.table-cover-repair-confirmation tbody td:nth-child(2) {
  width: 37.5%;
}

.table-cover-repair-confirmation tbody td:nth-child(3) {
  width: 37.5%;
}

.table-cover-repair-confirmation tbody td:nth-child(4) {
  width: 12.5%;
}

/* All rows */
.table-cover-repair-confirmation tbody tr:nth-child(7) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(8) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(9) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(10) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(11) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(12) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(13) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(14) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(15) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(16) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(17) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(18) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(19) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(20) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(21) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(22) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(23) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(24) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(25) td:nth-child(2) {
  font-weight: normal;
}

.table-cover-repair-confirmation tbody tr:nth-child(7) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(8) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(9) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(10) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(11) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(12) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(13) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(14) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(15) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(16) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(17) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(18) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(19) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(20) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(21) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(22) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(23) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(24) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(25) td:nth-child(3) {
  color: #3d3d3d;
  font-weight: lighter;
}

/* Rahmen */
.table-cover-repair-confirmation tbody tr:nth-child(6) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(16) td:nth-child(2) {
  border-top: 1px solid #BCBCBC;
  border-bottom: 1px solid #BCBCBC;
}

.table-cover-repair-confirmation tbody tr:nth-child(8) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(8) td:nth-child(3),
.table-cover-repair-confirmation tbody tr:nth-child(11) td:nth-child(2),
.table-cover-repair-confirmation tbody tr:nth-child(11) td:nth-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

/* Cover Foto - Rahmen */
/* .table-cover-repair-confirmation tbody tr:nth-child(4) td:nth-child(2) {
  border: 1px solid #BCBCBC;
} */

/* .cover-photo {
  border: 1px solid #BCBCBC;
  box-shadow: 0 0 0 1px #BCBCBC;
  display: block;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2mm;
  margin-bottom: 2mm;
} */

/* =================================================================================================================== */
/* COVER - Stellungnahme*/
/* =================================================================================================================== */

.table-cover-opinion {
  margin-top: 0mm;
}

.table-cover-opinion tbody {
  color: #3d3d3d;
}

/* Firmen-Logo */
.table-cover-opinion tbody tr:nth-child(1) td:nth-child(2) {
  text-align: center;
  padding-top: 7mm;
  padding-bottom: 7mm;
}

.table-cover-opinion tbody tr:nth-child(1) img {
  display: block;
  /* width: 100%;
  height: 100%;
  max-height: 30mm;
  min-width: auto;
  max-width: 100mm;
  margin-left: auto;
  margin-right: auto; */

  width: auto;
  height: auto;
  max-height: 30mm;
  min-height: auto;
  max-width: 100mm;
  max-width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten-Typ */
.table-cover-opinion tbody tr:nth-child(2) td:nth-child(1) {
  text-align: center;
  color: #3d3d3d;
  font-size: 20pt;
  font-weight: normal;
  padding-top: 0mm;
  padding-bottom: 0mm;
  margin-left: auto;
  margin-right: auto;
}

/* Gutachten vom */
.table-cover-opinion tbody tr:nth-child(3) td {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  text-align: center;
  padding-top: 1mm;
  padding-bottom: 7mm;
}

/* Cover-Foto */
.table-cover-opinion tbody tr:nth-child(4) td {
  text-align: center;
  padding: 1mm;
}

.table-cover-opinion tbody tr:nth-child(4) img {
  border: 1px solid #BCBCBC;
  /* box-shadow: 0 0 0 1px #BCBCBC; */
  display: block;
  padding: 1mm;
  width: auto;
  height: auto;
  max-height: 8cm;
  max-width: 16cm;
  margin-left: auto;
  margin-right: auto;
}

/* Leer */
.table-cover-opinion tbody tr:nth-child(5) td {
  padding: 1mm;
  padding-top: 5mm;
}

/* Schadenereignis */
.table-cover-opinion tbody tr:nth-child(6) td {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  padding-top: 3mm;
  padding-bottom: 3mm;
  text-align: center;
  letter-spacing: 1px;
}

/* Anspruchsteller */
.table-cover-opinion tbody tr:nth-child(7) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 2mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Versicherungsnehmer */
.table-cover-opinion tbody tr:nth-child(8) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 2mm;
  padding-left: 2mm;
}

/* Versicherung */
.table-cover-opinion tbody tr:nth-child(9) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 3mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Versicherungs-Nr */
.table-cover-opinion tbody tr:nth-child(10) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 1mm;
  padding-left: 2mm;
}

/* Schaden-Nr */
.table-cover-opinion tbody tr:nth-child(11) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 1mm;
  padding-bottom: 2mm;
  padding-left: 2mm;
}

/* Gutachten */
.table-cover-opinion tbody tr:nth-child(12) td {
  font-size: 10pt;
  line-height: normal;
  text-align: left;
  padding-top: 3mm;
  padding-bottom: 3mm;
  padding-left: 2mm;
}

/* Sachverständiger */
.table-cover-opinion tbody tr:nth-child(13) td {
  color: #3d3d3d;
  font-size: 12pt;
  letter-spacing: 1px;
  text-align: center;
  padding-top: 3mm;
  padding-bottom: 3mm;
  /* text-decoration: underline; */
}

/* Spaltenbreiten */
.table-cover-opinion tbody td:nth-child(1) {
  width: 12.5%;
}

.table-cover-opinion tbody td:nth-child(2) {
  width: 37.5%;
}

.table-cover-opinion tbody td:nth-child(3) {
  width: 37.5%;
}

.table-cover-opinion tbody td:nth-child(4) {
  width: 12.5%;
}

/* All rows */
.table-cover-opinion tbody tr:nth-child(7) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(8) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(9) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(10) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(11) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(12) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(13) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(14) td:nth-child(2) {
  font-weight: normal;
}

.table-cover-opinion tbody tr:nth-child(7) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(8) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(9) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(10) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(11) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(12) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(13) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(14) td:nth-child(3) {
  color: #3d3d3d;
  font-weight: lighter;
}

/* Rahmen */
.table-cover-opinion tbody tr:nth-child(6) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(13) td:nth-child(2) {
  border-top: 1px solid #BCBCBC;
  border-bottom: 1px solid #BCBCBC;
}

.table-cover-opinion tbody tr:nth-child(8) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(8) td:nth-child(3),
.table-cover-opinion tbody tr:nth-child(11) td:nth-child(2),
.table-cover-opinion tbody tr:nth-child(11) td:nth-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

/* Cover Foto - Rahmen */
/* .table-cover-opinion tbody tr:nth-child(4) td:nth-child(2) {
  border: 1px solid #BCBCBC;
} */

/* .cover-photo {
  border: 1px solid #BCBCBC;
  box-shadow: 0 0 0 1px #BCBCBC;
  display: block;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2mm;
  margin-bottom: 2mm;
} */

/* =================================================================================================================== */
/* Rechnung */
/* =================================================================================================================== */

.body-bill {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-color: #ffffff;
}

.body-bill table {
  border-collapse: collapse;
}

/* =================================================================================================================== */
/* Rechnung - Kopf */
/* =================================================================================================================== */

.table-invoice-header {
  color: #3d3d3d;
  /* border-collapse: collapse; */
  margin-top: 2mm;
  margin-right: 10mm;
  margin-left: 10mm;
}

.table-invoice-header thead tr td {
  font-size: 8pt;
  padding: 1mm;
}

.table-invoice-header tbody tr td {
  color: #3d3d3d;
  font-size: 9pt;
  padding: 1mm;
  line-height: 1;
}

.table-invoice-header tfoot tr td {
  color: #3d3d3d;
  font-size: 8pt;
  padding: 1mm;
}

.table-invoice-header tfoot tr {
  border-top: 1px solid #BCBCBC
}

.table-invoice-header tbody tr:nth-child(1) td:nth-child(1) {
  font-size: 6pt;
}

.table-invoice-header tbody tr:nth-child(10) td:nth-child(1) {
  font-size: 18pt;
  font-weight: bold;
  padding-top: 1mm;
}

.table-invoice-header tbody tr:nth-child(9) td:nth-child(1),
.table-invoice-header tbody tr:nth-child(9) td:nth-child(2) {
  font-size: 10pt;
}

/* set colums width */
.table-invoice-header tbody td:nth-child(1) {
  width: 75%;
}

.table-invoice-header tbody td:nth-child(2) {
  width: 25%;
}

/* =================================================================================================================== */
/* Rechnung - Unfallbeteiligte */
/* =================================================================================================================== */

.table-invoice-involved {
  margin-top: 8mm;
  margin-right: 10mm;
  margin-left: 10mm;
  line-height: normal;
}

.table-invoice-involved thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-involved tfoot tr {
  border-top: 1px solid #BCBCBC
}

/* set cell text-alighment */
.table-invoice-involved thead tr td:nth-child(1),
.table-invoice-involved thead tr td:nth-child(2),
.table-invoice-involved thead tr td:nth-child(3),
.table-invoice-involved thead tr td:nth-child(4),
.table-invoice-involved thead tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-involved tbody tr td:nth-child(1),
.table-invoice-involved tbody tr td:nth-child(2),
.table-invoice-involved tbody tr td:nth-child(3),
.table-invoice-involved tbody tr td:nth-child(4),
.table-invoice-involved tbody tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
}

/* set specific colums width */
.table-invoice-involved tbody td:nth-child(1) {
  width: 25%;
}

.table-invoice-involved tbody td:nth-child(2) {
  width: 35%;
}

.table-invoice-involved tbody td:nth-child(3) {
  width: 20%;
}

.table-invoice-involved tbody td:nth-child(4) {
  width: 20%;
}

/* =================================================================================================================== */
/* Rechnung - Positionen */
/* =================================================================================================================== */

.table-invoice-positions {
  /* border-collapse: collapse; */
  margin-top: 8mm;
  margin-right: 10mm;
  margin-left: 10mm;
}

.table-invoice-positions thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-positions tfoot tr {
  border-top: 1px solid #BCBCBC
}

/* set cell text-alighment */
.table-invoice-positions thead tr td:nth-last-child(1),
.table-invoice-positions tbody tr td:nth-last-child(1),
.table-invoice-positions tfoot tr td:nth-last-child(1) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-positions thead tr td:nth-child(4),
.table-invoice-positions tbody tr td:nth-child(4) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-positions thead tr td:nth-child(2),
.table-invoice-positions thead tr td:nth-child(3),
.table-invoice-positions tbody tr td:nth-child(2),
.table-invoice-positions tbody tr td:nth-child(3) {
  text-align: center;
}

/* set table nth cell border */
.table-invoice-positions tbody tr:nth-last-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

/* set cell text-alighment */
.table-invoice-positions thead tr td:nth-child(1),
.table-invoice-positions thead tr td:nth-child(2),
.table-invoice-positions thead tr td:nth-child(3),
.table-invoice-positions thead tr td:nth-child(4),
.table-invoice-positions thead tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-positions tbody tr td:nth-child(1),
.table-invoice-positions tbody tr td:nth-child(2),
.table-invoice-positions tbody tr td:nth-child(3),
.table-invoice-positions tbody tr td:nth-child(4),
.table-invoice-positions tbody tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
}

.table-invoice-positions tfoot tr td:nth-child(1),
.table-invoice-positions tfoot tr td:nth-child(2),
.table-invoice-positions tfoot tr td:nth-child(3),
.table-invoice-positions tfoot tr td:nth-child(4),
.table-invoice-positions tfoot tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
  border-top: 1px solid #BCBCBC
}

/* set specific colums width */
.table-invoice-positions tbody td:nth-child(1) {
  width: 40%;
}

.table-invoice-positions tbody td:nth-child(2) {
  width: 10%;
}

.table-invoice-positions tbody td:nth-child(3) {
  width: 10%;
}

.table-invoice-positions tbody td:nth-child(4) {
  width: 15%;
}

.table-invoice-positions tbody td:nth-child(5) {
  width: 25%;
}

/* =================================================================================================================== */
/* Rechnung - Zahlungseingänge */
/* =================================================================================================================== */

.table-invoice-made-payment {
  /* border-collapse: collapse; */
  margin-top: 8mm;
  margin-right: 10mm;
  margin-left: 10mm;
}

.table-invoice-made-payment thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-made-payment tfoot tr {
  border-top: 1px solid #BCBCBC
}

/* set cell text-alighment */
.table-invoice-made-payment thead tr td:nth-last-child(1),
.table-invoice-made-payment tbody tr td:nth-last-child(1),
.table-invoice-made-payment tfoot tr td:nth-last-child(1) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-made-payment thead tr td:nth-child(4),
.table-invoice-made-payment tbody tr td:nth-child(4) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-made-payment thead tr td:nth-child(2),
.table-invoice-made-payment thead tr td:nth-child(3),
.table-invoice-made-payment tbody tr td:nth-child(2),
.table-invoice-made-payment tbody tr td:nth-child(3),
.table-invoice-made-payment tfoot tr td:nth-child(2),
.table-invoice-made-payment tfoot tr td:nth-child(3) {
  text-align: center;
}

/* set table nth cell border */
.table-invoice-made-payment tbody tr:nth-last-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

/* set cell text-alighment */
.table-invoice-made-payment thead tr td:nth-child(1),
.table-invoice-made-payment thead tr td:nth-child(2),
.table-invoice-made-payment thead tr td:nth-child(3),
.table-invoice-made-payment thead tr td:nth-child(4),
.table-invoice-made-payment thead tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-made-payment tbody tr td:nth-child(1),
.table-invoice-made-payment tbody tr td:nth-child(2),
.table-invoice-made-payment tbody tr td:nth-child(3),
.table-invoice-made-payment tbody tr td:nth-child(4),
.table-invoice-made-payment tbody tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
}

.table-invoice-made-payment tfoot tr td:nth-child(1),
.table-invoice-made-payment tfoot tr td:nth-child(2),
.table-invoice-made-payment tfoot tr td:nth-child(3),
.table-invoice-made-payment tfoot tr td:nth-child(4),
.table-invoice-made-payment tfoot tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
  border-top: 1px solid #BCBCBC
}

/* set specific colums width */
.table-invoice-made-payment tbody td:nth-child(1) {
  width: 40%;
}

.table-invoice-made-payment tbody td:nth-child(2) {
  width: 10%;
}

.table-invoice-made-payment tbody td:nth-child(3) {
  width: 10%;
}

.table-invoice-made-payment tbody td:nth-child(4) {
  width: 15%;
}

.table-invoice-made-payment tbody td:nth-child(5) {
  width: 25%;
}

/* =================================================================================================================== */
/* Rechnung - Zusatzinfo */
/* =================================================================================================================== */

/* Invoice Info*/
.table-invoice-info {
  /* border-collapse: collapse; */
  margin-top: 10mm;
  margin-right: 10mm;
  margin-left: 10mm;
}

.table-invoice-info tr td {
  color: #3d3d3d;
  font-size: 9pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
}

/* =================================================================================================================== */
/* ALL TABLE */
/* =================================================================================================================== */

/* set thead left */
.table-involved thead tr td:nth-child(1),
.table-costs thead tr td:nth-child(1),
.table-extra-info thead tr td:nth-child(1),
.table-workshop thead tr td:nth-child(1),
.table-vehicle-data thead tr td:nth-child(1),
.table-wheel-tires thead tr td:nth-child(1),
.table-standard-equipment thead tr td:nth-child(1),
.table-special-equipment thead tr td:nth-child(1),
.table-additional-equipment thead tr td:nth-child(1),
.table-auto-text thead tr td:nth-child(1),
.table-repair-calculation thead tr td:nth-child(1),
.table-photos thead tr td:nth-child(1) {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
  /* width: 50%; */

  /* border: 1px solid red !important; */
}

/* set thead right*/
.table-involved thead tr td:nth-child(2),
.table-extra-info thead tr td:nth-child(2),
.table-workshop thead tr td:nth-child(2),
.table-vehicle-data thead tr td:nth-child(2),
.table-standard-equipment thead tr td:nth-child(2),
.table-special-equipment thead tr td:nth-child(2),
.table-additional-equipment thead tr td:nth-child(2),
.table-auto-text thead tr td:nth-child(2),
.table-repair-calculation thead tr td:nth-child(2),
.table-photos thead tr td:nth-child(2) {
  color: #3d3d3d;
  font-size: 9pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: right;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
  /* width: 50%; */

  /* border: 1px solid red !important; */
}

/* set tbody */
.table-involved tbody tr td,
.table-extra-info tbody tr td,
.table-costs tbody tr td,
.table-workshop tbody tr td,
.table-vehicle-data tbody tr td,
.table-wheel-tires tbody tr td,
.table-standard-equipment tbody tr td,
.table-special-equipment tbody tr td,
.table-additional-equipment tbody tr td,
.table-auto-text tbody tr td,
.table-photos tbody tr td {
  /* color: #7b7b7b; */
  color: #3d3d3d;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: middle;
  padding: 1mm;

  /* border: 1px solid red !important; */
}

/* set tfoot */
.table-involved tfoot tr td,
.table-extra-info tfoot tr td,
.table-costs tfoot tr td,
.table-extra-info tfoot tr td,
.table-workshop tfoot tr td,
.table-vehicle-data tfoot tr td,
.table-wheel-tires tfoot tr td,
.table-standard-equipment tfoot tr td,
.table-special-equipment tfoot tr td,
.table-additional-equipment tfoot tr td,
.table-auto-text tfoot tr td,
.table-photos tfoot tr td {
  color: #3d3d3d;
  font-size: 9pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: middle;
  padding: 1mm;

  border-top: 1px solid #BCBCBC
    /* border: 1px solid red !important; */
}

/* =================================================================================================================== */
/* Beteiligte */
/* =================================================================================================================== */

.table-involved {
  width: 100%;
  margin-top: 3mm;
  margin-right: 1mm;
  margin-bottom: 1mm;
}

/* set table - nth cell border */
.table-involved tbody tr:nth-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

.table-involved tbody tr td {
  line-height: normal;
  font-size: 9pt;
  padding: 1mm;
}

.table-involved tbody p {
  line-height: 1.2;
  padding: 0mm;
  margin: 0mm;
}

.table-involved tbody td:nth-child(1),
.table-involved tbody td:nth-child(3) {
  font-weight: normal;
  color: #3d3d3d;
}

.table-involved tbody tr:nth-child(1) td,
.table-involved tbody tr:nth-child(2) td,
.table-involved tbody tr:nth-child(4) td {
  padding-top: 0mm;
}

.table-involved tbody tr:nth-child(3) td,
.table-involved tbody tr:nth-child(9) td {
  padding-bottom: 0mm;
}

.table-involved tbody tr:nth-child(1) td,
.table-involved tbody tr:nth-child(4) td {
  padding-top: 1mm;
  vertical-align: top;
}

.table-involved tbody tr:nth-child(3) td,
.table-involved tbody tr:nth-child(9) td {
  padding-bottom: 1mm;
  vertical-align: top;
}

/* set specific colums width */
.table-involved tbody td:nth-child(1) {
  width: 20%;
}

.table-involved tbody td:nth-child(2) {
  width: 30%;
}

.table-involved tbody td:nth-child(3) {
  width: 20%;
}

.table-involved tbody td:nth-child(4) {
  width: 30%;
}

/* =================================================================================================================== */
/* Wertübersicht */
/* =================================================================================================================== */

.table-costs {
  width: 100%;
  /* border-collapse: collapse; */
  font-size: 9pt;
  margin-top: 3mm;
  /* line-height: normal; */
  color: #3d3d3d;
}

.table-costs tbody tr td {
  font-size: 9pt;
  line-height: 0.8;
}

.table-costs thead tr td:nth-child(2),
.table-costs thead tr td:nth-child(3),
.table-costs thead tr td:nth-child(4),
.table-costs thead tr td:nth-child(5),
.table-costs thead tr td:nth-child(6) {
  font-size: 8pt;
  border-bottom: 1px solid #BCBCBC;
  vertical-align: middle;
  font-weight: lighter;
  color: #3d3d3d;
}

/* set specific colums width */
.table-costs tbody td:nth-child(1) {
  width: 32%;
}

.table-costs tbody td:nth-child(2) {
  width: 8%;
}

.table-costs tbody td:nth-child(3) {
  width: 10%;
}

.table-costs tbody td:nth-child(4) {
  width: 12%;
}

.table-costs tbody td:nth-child(5) {
  width: 12%;
}

.table-costs tbody td:nth-child(6) {
  width: 26%;
}

/* set TABLE - font-weight */
.table-costs tbody td:nth-child(1),
.table-costs tbody td:nth-last-child(1),
.table-costs tbody tr:nth-child(5),
.table-costs tbody tr:nth-child(8) {
  font-weight: normal;
}

/* set TABLE - cell text-alighment */
.table-costs thead tr td:nth-last-child(1),
.table-costs tbody tr td:nth-last-child(1),
.table-costs tfoot tr td:nth-last-child(1),
.table-costs thead tr td:nth-child(5),
.table-costs tbody tr td:nth-child(5),
.table-costs tfoot tr td:nth-child(5),
.table-costs thead tr td:nth-child(4),
.table-costs tbody tr td:nth-child(4),
.table-costs tfoot tr td:nth-child(4) {
  text-align: right;
}

.table-costs thead tr td:nth-child(3),
.table-costs tbody tr td:nth-child(3),
.table-costs tfoot tr td:nth-child(3) {
  text-align: center;
}

.table-costs tbody tr:nth-child(5) {
  border-bottom: 1px solid #BCBCBC;
}

.table-costs tbody tr:nth-child(5) td,
.table-costs tbody tr:nth-child(8) td {
  color: #3d3d3d;
}

.table-costs tbody tr:nth-child(1) td,
.table-costs tbody tr:nth-child(6) td {
  padding-top: 2mm;
}

.table-costs tbody tr:nth-child(5) td,
.table-costs tbody tr:nth-child(8) td {
  padding-bottom: 2mm;
}

/* =================================================================================================================== */
/* Wertübersicht Kalkulation */
/* =================================================================================================================== */

.table-costs_calc {
  width: 100%;
  /* border-collapse: collapse; */
  font-size: 10pt;
  margin-top: 3mm;
  margin-right: 1mm;
  margin-left: 1mm;
  /* line-height: 0.8; */
  color: #3d3d3d;
  /* width: 100%;
  height: 100%; */
}

.table-costs_calc tbody tr td {
  font-size: 10pt;
  padding: 1mm;
  line-height: 1;
}

.table-costs_calc thead tr td:nth-child(1),
.table-costs_calc thead tr td:nth-child(2),
.table-costs_calc thead tr td:nth-child(3),
.table-costs_calc thead tr td:nth-child(4),
.table-costs_calc thead tr td:nth-child(5),
.table-costs_calc thead tr td:nth-child(6) {
  font-size: 10pt;
  border-bottom: 1px solid #BCBCBC;
  vertical-align: middle;
  font-weight: normal;
  color: #3d3d3d;
}

/* set specific colums width */
.table-costs_calc tbody td:nth-child(1) {
  width: 32%;
}

.table-costs_calc tbody td:nth-child(2) {
  width: 8%;
}

.table-costs_calc tbody td:nth-child(3) {
  width: 10%;
}

.table-costs_calc tbody td:nth-child(4) {
  width: 12%;
}

.table-costs_calc tbody td:nth-child(5) {
  width: 12%;
}

.table-costs_calc tbody td:nth-child(6) {
  width: 26%;
}

/* set TABLE - font-weight */
.table-costs_calc tbody td:nth-child(1),
.table-costs_calc tbody td:nth-last-child(1),
.table-costs_calc tbody tr:nth-child(5),
.table-costs_calc tbody tr:nth-child(8) {
  font-weight: normal;
}

/* set TABLE - cell text-alighment */
.table-costs_calc thead tr td:nth-last-child(1),
.table-costs_calc tbody tr td:nth-last-child(1),
.table-costs_calc tfoot tr td:nth-last-child(1),
.table-costs_calc thead tr td:nth-child(5),
.table-costs_calc tbody tr td:nth-child(5),
.table-costs_calc tfoot tr td:nth-child(5),
.table-costs_calc thead tr td:nth-child(4),
.table-costs_calc tbody tr td:nth-child(4),
.table-costs_calc tfoot tr td:nth-child(4) {
  text-align: right;
}

.table-costs_calc thead tr td:nth-child(3),
.table-costs_calc tbody tr td:nth-child(3),
.table-costs_calc tfoot tr td:nth-child(3) {
  text-align: center;
}

.table-costs_calc tbody tr:nth-child(5) {
  border-bottom: 1px solid #BCBCBC;
}

.table-costs_calc tbody tr:nth-child(5) td,
.table-costs_calc tbody tr:nth-child(8) td {
  color: #3d3d3d;
}

.table-costs_calc tbody tr:nth-child(1) td,
.table-costs_calc tbody tr:nth-child(6) td {
  padding-top: 2mm;
}

.table-costs_calc tbody tr:nth-child(5) td,
.table-costs_calc tbody tr:nth-child(8) td {
  padding-bottom: 2mm;
}

/* =================================================================================================================== */
/* Wertübersicht Schadensregulierung */
/* =================================================================================================================== */

.table-invoice-balance {
  width: 100%;
  margin-top: 5mm;
  /* margin-right: 0mm; */
  /* margin-left: 0mm; */
}

.table-invoice-balance thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-balance tfoot tr {
  border-top: 1px solid #BCBCBC
}

/* set cell text-alighment */
.table-invoice-balance thead tr td:nth-last-child(1),
.table-invoice-balance tbody tr td:nth-last-child(1),
.table-invoice-balance tfoot tr td:nth-last-child(1) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-balance thead tr td:nth-child(4),
.table-invoice-balance tbody tr td:nth-child(4) {
  text-align: right;
}

/* set cell text-alighment */
.table-invoice-balance thead tr td:nth-child(2),
.table-invoice-balance thead tr td:nth-child(3),
.table-invoice-balance tbody tr td:nth-child(2),
.table-invoice-balance tbody tr td:nth-child(3),
.table-invoice-balance tfoot tr td:nth-child(2),
.table-invoice-balance tfoot tr td:nth-child(3) {
  text-align: right;
}

/* set table nth cell border */
.table-invoice-balance tbody tr:nth-last-child(3) {
  border-bottom: 1px solid #BCBCBC;
}

/* set cell text-alighment */
.table-invoice-balance thead tr td:nth-child(1),
.table-invoice-balance thead tr td:nth-child(2),
.table-invoice-balance thead tr td:nth-child(3),
.table-invoice-balance thead tr td:nth-child(4),
.table-invoice-balance thead tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-invoice-balance tbody tr td:nth-child(1),
.table-invoice-balance tbody tr td:nth-child(2),
.table-invoice-balance tbody tr td:nth-child(3),
.table-invoice-balance tbody tr td:nth-child(4),
.table-invoice-balance tbody tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
}

.table-invoice-balance tfoot tr td:nth-child(1),
.table-invoice-balance tfoot tr td:nth-child(2),
.table-invoice-balance tfoot tr td:nth-child(3),
.table-invoice-balance tfoot tr td:nth-child(4),
.table-invoice-balance tfoot tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  vertical-align: top;
  padding: 1mm;
  border-top: 1px solid #BCBCBC
}

/* set specific colums width */
.table-invoice-balance tbody td:nth-child(1) {
  width: 40%;
}

.table-invoice-balance tbody td:nth-child(2) {
  width: 10%;
}

.table-invoice-balance tbody td:nth-child(3) {
  width: 10%;
}

.table-invoice-balance tbody td:nth-child(4) {
  width: 15%;
}

.table-invoice-balance tbody td:nth-child(5) {
  width: 25%;
}

/* =================================================================================================================== */
/* Zusatzinformation */
/* =================================================================================================================== */

.table-extra-info {
  width: 100%;
  /* border-collapse: collapse; */
  margin-top: 3mm;
  /* line-height: normal; */
}

.table-extra-info tbody tr td {
  font-size: 9pt;
  padding-top: 0.2mm;
  padding-bottom: 0.2mm;
  padding-left: 1mm;
  padding-right: 1mm;
  line-height: 1;
}

.table-extra-info tbody td:nth-child(1),
.table-extra-info tbody td:nth-child(3) {
  font-weight: normal;
}

/* set table - cell text-alighment */
.table-extra-info tbody tr td:nth-last-child(1),
.table-extra-info tfoot tr td:nth-last-child(1) {
  text-align: right;
}

.table-extra-info tbody tr:nth-child(1) td {
  padding-top: 2mm;
}

.table-extra-info tbody tr:nth-child(13) td {
  padding-bottom: 2mm;
}

/* set colums width */
.table-extra-info tbody td:nth-child(1) {
  width: 25%;
}

.table-extra-info tbody td:nth-child(2) {
  width: auto;
}

.table-extra-info tbody td:nth-child(3) {
  width: auto;
}

/* =================================================================================================================== */
/* Referenz-Werkstatt */
/* =================================================================================================================== */

.table-workshop {
  width: 100%;
  /* border-collapse: collapse; */
  margin-top: 3mm;
  line-height: normal;
  letter-spacing: normal;
}

.table-workshop tbody tr td {
  font-size: 9pt;
  padding-left: 1mm;
  padding-top: 0mm;
  padding-bottom: 0mm;
}

.table-workshop tbody td:nth-child(1) {
  font-size: 9pt;
  font-weight: normal;
  letter-spacing: normal;
  text-align: left;
  vertical-align: middle;
}

.table-workshop tbody p {
  line-height: normal;
  padding: 0mm;
  margin: 0mm;
}

.table-workshop tbody tr:nth-child(1) td {
  padding-top: 1mm;
}

.table-workshop tbody tr:nth-child(4) td {
  padding-bottom: 1mm;
}

/* set specific colums width */
.table-workshop tbody td:nth-child(1) {
  width: auto;
}

.table-workshop tbody td:nth-child(2) {
  width: auto;
}

.table-workshop tbody td:nth-child(3) {
  width: auto;
}

.table-workshop tbody td:nth-child(4) {
  width: auto;
}

.table-workshop tbody td:nth-child(5) {
  width: auto;
}

.table-workshop tbody td:nth-child(6) {
  width: auto;
}

.table-workshop tbody td:nth-child(7) {
  width: 8%;
}

/* =================================================================================================================== */
/* Fahrzeugdaten */
/* =================================================================================================================== */

.table-vehicle-data {
  width: 100%;
  margin-top: 3mm;
  /* line-height: normal; */
  width: 100%;
}

.table-vehicle-data tbody tr td {
  font-size: 9pt;
  padding: 1mm;
  line-height: 0.8;
}

.table-vehicle-data tbody tr:nth-child(3) td:nth-child(1),
.table-vehicle-data tbody tr:nth-child(3) td:nth-child(2) {
  padding-top: 1mm;
}

.table-vehicle-data tbody td:nth-child(1),
.table-vehicle-data tbody td:nth-child(3) {
  font-weight: normal;
}

.table-vehicle-data tbody tr:nth-child(1) td {
  padding-top: 2mm;
}

.table-vehicle-data tbody tr:nth-child(9) td {
  padding-bottom: 2mm;
}

.table-vehicle-data tbody td:nth-child(1) {
  width: 25%;
}

.table-vehicle-data tbody td:nth-child(2) {
  width: 25%;
}

.table-vehicle-data tbody td:nth-child(3) {
  width: 25%;
}

.table-vehicle-data tbody td:nth-child(4) {
  width: 25%;
}

/* =================================================================================================================== */
/* Räder und Reifen */
/* =================================================================================================================== */

.table-wheel-tires {
  width: 100%;
  margin-top: 3mm;
}

.table-wheel-tires tbody tr td {
  font-size: 9pt;
  padding: 1mm 1mm 1mm 1mm;
}

.table-wheel-tires tbody td:nth-child(1) {
  font-weight: normal;
}

.table-wheel-tires thead tr td:nth-child(2),
.table-wheel-tires thead tr td:nth-child(3),
.table-wheel-tires thead tr td:nth-child(4),
.table-wheel-tires thead tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 9pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 0.9;
  text-align: center;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-wheel-tires tbody tr td:nth-child(2),
.table-wheel-tires tbody tr td:nth-child(3),
.table-wheel-tires tbody tr td:nth-child(4),
.table-wheel-tires tbody tr td:nth-child(5) {
  color: #3d3d3d;
  font-size: 9pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 0.8;
  text-align: center;
  vertical-align: bottom;
  padding: 1mm 1mm 1mm 1mm;
}

.table-wheel-tires tbody td:nth-child(1) {
  width: 20%;
}

.table-wheel-tires tbody td:nth-child(2) {
  width: 20%;
}

.table-wheel-tires tbody td:nth-child(3) {
  width: 20%;
}

.table-wheel-tires tbody td:nth-child(4) {
  width: 20%;
}

.table-wheel-tires tbody td:nth-child(5) {
  width: 20%;
}

/* =================================================================================================================== */
/* Serienausstattung - Sonderausstattung - Zusatzausstattung */
/* =================================================================================================================== */

.table-equipment {
  width: 100%;
  margin-top: 3mm;
}

/* set thead left */
.table-equipment thead tr td:nth-child(1) {
  color: #3d3d3d;
  font-size: 12pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-equipment tbody tr td {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: normal;
  line-height: normal;
  padding: 1mm 1mm 1mm 1mm;
}

.table-equipment tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

/* =================================================================================================================== */
/* Autotexte */
/* =================================================================================================================== */

.table-auto-text {
  width: 100%;
  /* border-collapse: collapse; */
  margin-top: 5mm;

  /* border: 2px solid green !important; */
}

.table-auto-text tbody tr td {
  font-size: 10pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  padding: 1mm 1mm 1mm 1mm;
}

.table-auto-text tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
}

/* =================================================================================================================== */
/* Vorschäden */
/* =================================================================================================================== */

.table-pre-damage-tbl {
  width: 100%;
  /* border-collapse: collapse; */
  font-size: 9pt;
  margin-top: 3mm;
  /* margin-right: 1mm; */
  /* margin-left: 1mm; */
  line-height: normal;
}

.table-pre-damage-tbl thead tr {
  border-bottom: 1px solid #BCBCBC;
}

/* set cell text-alighment */
.table-pre-damage-tbl thead tr td:nth-child(1),
.table-pre-damage-tbl thead tr td:nth-child(2),
.table-pre-damage-tbl thead tr td:nth-child(3),
.table-pre-damage-tbl thead tr td:nth-child(4),
.table-pre-damage-tbl thead tr td:nth-child(5),
.table-pre-damage-tbl thead tr td:nth-child(6),
.table-pre-damage-tbl thead tr td:nth-child(7),
.table-pre-damage-tbl thead tr td:nth-child(8) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-pre-damage-tbl tbody tr td:nth-child(1),
.table-pre-damage-tbl tbody tr td:nth-child(2),
.table-pre-damage-tbl tbody tr td:nth-child(3),
.table-pre-damage-tbl tbody tr td:nth-child(4),
.table-pre-damage-tbl tbody tr td:nth-child(5),
.table-pre-damage-tbl tbody tr td:nth-child(6),
.table-pre-damage-tbl tbody tr td:nth-child(7),
.table-pre-damage-tbl tbody tr td:nth-child(8) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 2mm;
  padding-bottom: 2mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-pre-damage-tbl tfoot tr td:nth-child(1),
.table-pre-damage-tbl tfoot tr td:nth-child(2) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: top;
  padding: 1mm;
  border-top: 1px solid #BCBCBC
}

/* set specific colums width */
.table-pre-damage-tbl tbody td:nth-child(1) {
  width: 3%;
}

.table-pre-damage-tbl tbody td:nth-child(2) {
  width: auto;
}

.table-pre-damage-tbl tbody td:nth-child(3) {
  width: auto;
}

.table-pre-damage-tbl tbody td:nth-child(4) {
  width: 10%;
}

.table-pre-damage-tbl tbody td:nth-child(5) {
  width: auto;
}

.table-pre-damage-tbl tbody td:nth-child(6) {
  width: auto;
}

.table-pre-damage-tbl tbody td:nth-child(7) {
  width: auto;
}

.table-pre-damage-tbl tbody td:nth-child(8) {
  width: auto;
}

.table-pre-damage-tbl tfoot tr td {
  font-size: 8pt;
  font-weight: normal;
}

.table-pre-damage-tbl tbody tr td {
  font-size: 9pt;
}

/* .table-pre-damage-tbl tbody td:nth-child(1) {
  width: 20%;
}

.table-pre-damage-tbl tbody td:nth-child(2) {
  width: 20%;
}

.table-pre-damage-tbl tbody td:nth-child(3) {
  width: 5%;
}

.table-pre-damage-tbl tbody td:nth-child(4) {
  width: 15%;
}

.table-pre-damage-tbl tbody td:nth-child(5) {
  width: 5%;
}

.table-pre-damage-tbl tbody td:nth-child(6) {
  width: 15%;
}

.table-pre-damage-tbl tbody td:nth-child(7) {
  width: 20%;
}

.table-pre-damage-tbl tfoot tr td {
  font-size: 8pt;
  font-weight: normal;
}

.table-pre-damage-tbl tbody tr td {
  font-size: 9pt;
} */

/* .table-pre-damage-tbl thead tr td:nth-child(5),
.table-pre-damage-tbl tbody tr td:nth-child(5) {
  text-align: center;
} */

/* =================================================================================================================== */
/* Repartaturkalkulation */
/* =================================================================================================================== */

.table-repair-calculation {
  width: 100%;
  margin-top: 3mm;
  line-height: normal;
}

/* set cell text-alighment */
.table-repair-calculation tr td:nth-child(2) {
  text-align: right;
}

.table-repair-calculation tbody tr td {
  color: #3d3d3d;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
  padding: 0mm;
}

.table-repair-calculation tbody tr img {
  /* border: 1px solid #BCBCBC; */
  display: block;
  padding: 2mm;
  width: auto;
  height: auto;
  max-height: 22cm;
  max-width: 16cm;
  margin-top: 0mm;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================================================================================== */
/* Schadensart */
/* =================================================================================================================== */

.table-damage-type {
  font-size: 9pt;
  margin-top: 3mm;
  margin-right: 1mm;
  margin-left: 10mm;
}

.table-damage-type tbody tr td {
  padding: 1mm;
}

.table-damage-type tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

/* Schlusswort */
.table-final-word {
  font-size: 11pt;
  margin-top: 3mm;
  margin-right: 1mm;
  margin-left: 10mm;
}

.table-final-word tbody tr td {
  padding: 1mm;
}

.table-final-word tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

/* =================================================================================================================== */
/* Fotos */
/* =================================================================================================================== */

.table-photos {
  width: 100%;
  margin-top: 3mm;
  line-height: normal;
}

/* .table-photos tbody tr {
  border-top: 1px solid #BCBCBC
} */

.table-photos tbody tr img {
  border: 1px solid #BCBCBC;
  display: block;
  padding: 1mm;
  width: auto;
  height: auto;
  min-height: 8cm;
  min-width: auto;
  max-height: 8cm;
  max-width: 16cm;
  margin-top: 2mm;
  margin-left: auto;
  margin-right: auto;
}

.table-photos thead td:nth-child(1) {
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  text-align: left;
}

.table-photos thead td:nth-child(2) {
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  text-align: right;
}

/* =================================================================================================================== */
/* Zusatz - Anhang */
/* =================================================================================================================== */

.table-additional-images {
  /* border-collapse: collapse; */
  margin-top: 3mm;
  line-height: normal;
}

.table-additional-images tbody tr {
  border-top: 1px solid #BCBCBC
}

.table-additional-images tbody tr td {
  padding: 1mm;
}

.table-additional-images thead td:nth-child(2) {
  font-size: 8pt;
  font-weight: normal;
  letter-spacing: normal;
  text-align: right;
}

/* =================================================================================================================== */
/* Foto - Beschreibung */
/* =================================================================================================================== */

.table-photo-description {
  width: 100%;
  margin-top: 0mm;
  margin-right: 1mm;
  margin-left: 1mm;
  line-height: normal;
  text-align: left;
}

.table-photo-description thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-photo-description thead tr td {
  color: #3d3d3d;
  font-size: 7pt;
  font-weight: normal;
  padding: 0, 2mm;
  margin-bottom: 1mm;
  letter-spacing: normal;
}

.table-photo-description tbody tr td {
  color: #3d3d3d;
  font-size: 7pt;
  padding-top: 1mm;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 1mm;
  letter-spacing: normal;
  line-height: 1;
}

.table-photo-description tfoot tr td {
  font-size: 7pt;
  font-weight: normal;
}

/* set specific colums width */
.table-photo-description tbody td:nth-child(1) {
  width: 23%;
}

.table-photo-description tbody td:nth-child(2) {
  width: 7%;
}

.table-photo-description tbody td:nth-child(3) {
  width: 20%;
}

.table-photo-description tbody td:nth-child(4) {
  width: 10%;
}

.table-photo-description tbody td:nth-child(5) {
  width: 35%;
}

.table-photo-description-empty tbody tr {
  height: 20mm;
}

/* =================================================================================================================== */
/* Anschreiben */
/* =================================================================================================================== */

.table-cover-letter-header {
  width: 100%;
  color: #3d3d3d;
  margin-top: 2mm;
  margin-right: 0mm;
  margin-left: 0mm;
}

.table-cover-letter-header thead tr td {
  font-size: 8pt;
  padding: 1mm;
}

.table-cover-letter-header tbody tr td {
  color: #3d3d3d;
  font-size: 9pt;
  padding: 1mm;
  line-height: 1;
}

.table-cover-letter-header tfoot tr td {
  color: #3d3d3d;
  font-size: 8pt;
  padding: 1mm;
}

.table-cover-letter-header tfoot tr {
  border-top: 1px solid #BCBCBC
}

.table-cover-letter-header tbody tr:nth-child(1) td:nth-child(1) {
  font-size: 6pt;
}

.table-cover-letter-header tbody tr:nth-child(6) td:nth-child(1) {
  font-size: 11pt;
  font-weight: bold;
}

.table-cover-letter-header tbody tr:nth-child(6) td:nth-child(2) {
  font-size: 9pt;
  font-weight: normal;
  text-align: right;
  margin-right: 1mm;
}

/* set colums width */
.table-cover-letter-header tbody td:nth-child(1) {
  width: 75%;
}

.table-cover-letter-header tbody td:nth-child(2) {
  width: 25%;
}

/* =================================================================================================================== */
/* Beteiligte */
/* =================================================================================================================== */

.table-cover-letter-involved {
  width: 100%;
  margin-top: 5mm;
  margin-right: 0mm;
  margin-left: 0mm;
  line-height: normal;
}

.table-cover-letter-involved thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-cover-letter-involved tfoot tr {
  border-top: 1px solid #BCBCBC
}

/* set cell text-alighment */
.table-cover-letter-involved thead tr td:nth-child(1),
.table-cover-letter-involved thead tr td:nth-child(2),
.table-cover-letter-involved thead tr td:nth-child(3),
.table-cover-letter-involved thead tr td:nth-child(4) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 0.9;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-cover-letter-involved tbody tr td:nth-child(1),
.table-cover-letter-involved tbody tr td:nth-child(2),
.table-cover-letter-involved tbody tr td:nth-child(3),
.table-cover-letter-involved tbody tr td:nth-child(4) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
}

/* set specific colums width */
.table-cover-letter-involved tbody td:nth-child(1) {
  width: 25%;
}

.table-cover-letter-involved tbody td:nth-child(2) {
  width: 35%;
}

.table-cover-letter-involved tbody td:nth-child(3) {
  width: 20%;
}

.table-cover-letter-involved tbody td:nth-child(4) {
  width: 20%;
}

.table-cover-letter-involved p {
  vertical-align: top;
  margin-top: 0mm;
  margin-left: 0mm;
  margin-bottom: 1mm;
}

.table-cover-letter-cover {
  margin-top: 5mm;
}

.table-cover-letter-cover thead tr td {
  color: #3d3d3d;
  font-size: 11pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-cover-letter-cover tbody tr td {
  color: #3d3d3d;
  font-size: 10pt;
  font-weight: lighter;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  padding-top: 1mm;
  padding-left: 1mm;
  padding-right: 1mm;
  text-align: left;
}

.table-cover-letter-cover tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.table-opinion {
  margin-top: 5mm;
}

.table-opinion thead tr td {
  color: #3d3d3d;
  font-size: 11pt;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: bottom;
  padding: 1mm;
  border-bottom: 1px solid #BCBCBC;
}

.table-opinion tbody tr td {
  color: #3d3d3d;
  font-size: 10pt;
  font-weight: lighter;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  padding-top: 2mm;
  padding-left: 1mm;
  padding-right: 1mm;
  text-align: left;
}

.table-opinion tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.div-appraisal-declaration {
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  letter-spacing: 1px;
  box-sizing: border-box;
  max-width: 21cm;
}

.div-appraisal-declaration p {
  padding: 1px;
  margin: 1px;
}

.div-appraisal-declaration table {
  width: 90%;
  color: #3d3d3d;
  background-color: transparent;
  border-spacing: 0;
  margin-left: 5%;
  margin-right: 5%;
}

.div-appraisal-declaration tr,
.div-appraisal-declaration td {
  vertical-align: top;
  border: none;
}

/* =================================================================================================================== */
/* TABLE - Kopfzeile */
/* =================================================================================================================== */

.table-decl-header {
  margin-top: 5mm;
  border-bottom: 1px solid #BCBCBC;
}

/* =================================================================================================================== */
/* TABLE - Involved */
/* =================================================================================================================== */

.table-decl-involved {
  margin-top: 3mm;
  line-height: 1;
}

.table-decl-involved thead tr td {
  font-size: 8pt;
  font-weight: normal;
}

.table-decl-involved tbody tr td {
  font-size: 8pt;
}

.table-decl-involved tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

/* =================================================================================================================== */
/* DIV - Text */
/* =================================================================================================================== */

.div-appraisal-declaration div {
  width: 90%;
  color: #3d3d3d;
  background-color: transparent;
  /* border-collapse: collapse; */
  border-spacing: 0;
  margin-top: 10mm;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 8pt;
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  line-height: 1;
}

/* =================================================================================================================== */
/* TABLE - Tables */
/* =================================================================================================================== */

.table-decl-table {
  margin-top: 5mm;
  line-height: 0.7;
}

.table-decl-table thead tr {
  border-bottom: 1px solid edecec;
}

.table-decl-table tfoot tr {
  border-top: 1px solid #BCBCBC
}

.table-decl-table thead tr td {
  font-size: 8pt;
  font-weight: normal;
}

.table-decl-table tbody tr td {
  font-size: 8pt;
  padding: 1mm;
}

.table-decl-table tbody tr td {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.table-decl-table tbody tr td:nth-last-child(1),
.table-decl-table thead tr td:nth-last-child(1) {
  text-align: right;
}

.table-decl-table tbody td:nth-child(1) {
  width: 3%;
}

.table-decl-table tbody td:nth-child(2) {
  width: 72%;
}

.table-decl-table tbody td:nth-child(3) {
  width: 25%;
}

/* =================================================================================================================== */
/* WBW aus WBW-Tool */
/* =================================================================================================================== */

.table-wbw-tool {
  width: 100%;
  font-size: 8pt;
  margin-top: 3mm;
  /* break-inside: avoid !important;
  page-break-inside: avoid !important;
  break-before: avoid !important;
  break-after: avoid !important; */
  /* border: 1px solid rgb(243, 57, 11) !important; */
}

/* .table-wbw-tool tbody tr td {
  border: 1px solid rgb(16, 177, 83) !important;
} */

/* .table-wbw-tool thead tr {
  border-bottom: 1px solid #BCBCBC;
}

.table-wbw-tool thead tr td:nth-child(2),
.table-wbw-tool thead tr td:nth-child(3),
.table-wbw-tool thead tr td:nth-child(4),
.table-wbw-tool thead tr td:nth-child(5),
.table-wbw-tool thead tr td:nth-child(6) {
  color: #3d3d3d;
  font-size: 8pt;
  border-bottom: 1px solid #BCBCBC;
  vertical-align: middle;
  font-weight: lighter;

} */

.table-wbw-tool tbody tr td:nth-child(1),
.table-wbw-tool tbody tr td:nth-child(2) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
  /* border: 1px solid rgb(20, 163, 230) !important; */
}

.table-wbw-tool tbody tr td:nth-child(3),
.table-wbw-tool tbody tr td:nth-child(4),
.table-wbw-tool tbody tr td:nth-child(5),
.table-wbw-tool tbody tr td:nth-child(6) {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: normal;
  text-align: right;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
}

.table-wbw-tool tfoot tr td {
  color: #3d3d3d;
  font-size: 8pt;
  font-weight: lighter;
  letter-spacing: normal;
  line-height: 1;
  vertical-align: top;
  padding-left: 1mm;
  padding-top: 1mm;
  padding-bottom: 1mm;
}

/* set specific colums width */
.table-wbw-tool td:nth-child(1) {
  width: 20%;
}

.table-wbw-tool td:nth-child(2) {
  width: auto;
}

.table-wbw-tool td:nth-child(3) {
  width: 7%;
}

.table-wbw-tool td:nth-child(4) {
  width: 7%;
}

.table-wbw-tool td:nth-child(5) {
  width: 7%;
}

.table-wbw-tool td:nth-child(6) {
  width: 7%;
}

.table-wbw-tool tbody tr td img {
  border: 1px solid #BCBCBC;
  display: block;
  padding: 0mm;
  width: auto;
  height: auto;
  max-height: 2cm;
  max-width: 2cm;
  margin-left: 0;
  margin-right: auto;
}

/* =================================================================================================================== */
/* Wasserzeichen-Overlay auf Schadenfotos (Render-Zeit). Wrapper hält das
   Foto und legt ein Logo-Image absolut unten rechts darüber. Backward-
   Compat: greift nur wenn der wrappende {% if %}-Block im Template ein
   .photo-with-watermark erzeugt. */
/* =================================================================================================================== */

.photo-with-watermark {
  position: relative;
  display: inline-block;
}

.photo-with-watermark img.watermark-overlay {
  position: absolute;
  bottom: 6%;
  right: 6%;
  width: 12%;
  height: auto;
  opacity: 0.70;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
  /* Override der allgemeinen .table-photos tbody tr img-Regel, damit das
     Overlay nicht selbst Border/Padding/min-height vom Foto erbt. */
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  min-width: 0 !important;
  max-width: none !important;
  box-shadow: none !important;
}

/* =================================================================================================================== */
/* xxxxx */
/* =================================================================================================================== */