.TopLeft {
  display: none
}

.comments {
  display: none
}

.BBTabView {
  display: none;
}

.NoBack {
  display: inline-block;
}

@page {
  size: 297mm 210mm;
  orientation: landscape;
  margin: auto;
}

div.Cards {
position: absolute;
top: 0;
padding: 0px;
margin: 0px;
background-color: transparent;
}

div.page {
position: relative;
display: block;
width: 287mm;
height: 200mm;
margin: 0px;
padding: 0px;
page-break-after: always;
overflow: hidden;
}

div.page:nth-child() {
display: none
}

table.innerpage {
position: relative;
display: inline-block;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: max-content;
padding: 0px;
}

/* Die Verschiebung des margin tops um 5mm verschiebt die geraden Seiten nach unten */
/* div.page:nth-of-type(odd) table.innerpage.smallCard {
margin-top: 5mm;
}

div.page:nth-of-type(even) table.innerpage.smallCard {
margin-top: 5mm;
}

div.page:nth-of-type(odd) table.innerpage.largeCard {
margin-top: 5mm;
}

div.page:nth-of-type(even) table.innerpage.largeCard {
margin-top: 5mm;
} */


tr.line {
display: block;
background-color: transparent;
margin: 0px;
}

tr.line:nth-of-type(2) {
background-color: transparent;
}

.marks.largeCard {
width: 120mm;
height: 70mm;
}
.marks.smallCard {
width: 63mm;
height: 89mm;
}

.down {
transform: rotate(180deg);
}

div.boxes {
display: none;
}

td.marks {
display: inline-block;
position: relative;
margin: 1mm;
overflow: visible;
}

td.marks img {
  margin: 0px;
  height: 100%; 
  width: 100%; 
}

td.marks img.noCard {
  height: 10%;
  width: 10%;
  object-fit: none;
}

div.BL {
display: block;
position: absolute;
border: thin solid black;
border-collapse: separate;
left: 0px;
right: 0px;
top: -1cm;
bottom: -1cm;
border-top: none;
border-bottom: none;
}

div.BT {
display: block;
position: absolute;
border: thin solid black;
border-collapse: separate;
border-left: none;
border-right: none;
top: 0px;
bottom: 0px;
right: -1cm;
left: -1cm;
}