@font-face {
    font-family: Ubuntu;
    src: url(/fonts/Ubuntu.ttf);
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 29.7cm;
}

.flex {
    display: flex;
}

.full {
    justify-content: space-between;
}

.scroll {
    overflow-x: auto;
    width: 100%;
}

#paper {
    background-color: white;
    border: 1px solid #333;
    width: 29.7cm;
    height: 21cm;
    padding: 1cm;
    position: relative;
}

#ausgabe {
    font-size: 10pt;
    font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif !important;
    line-height: 1;
}

.header2 {
    margin-bottom: 0.2cm;
}

#ausgabe h3 {
    font-size: 18pt;
    font-family: "Ubuntu";
    font-weight: bolder;
    margin: 0;
    line-height: 1.1;
}

.anmerkung {
    font-size: 12pt;
    text-align: right;
    height: 12pt;
}


table {
    border-collapse: collapse;
}

.rahmen {
    box-shadow:
        1pt 0 0 0 #000,
        0 1pt 0 0 #000,
        1pt 1pt 0 0 #000,
        /* Just to fix the corner */
        1pt 0 0 0 #000 inset,
        0 1pt 0 0 #000 inset;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative
}

tr.pause td {
    height: 0.2cm !important;
    font-size: 0;
    border: none;
}

td,
th {
    text-align: center !important;
    width: 3.3cm;
    padding: 0px !important;
    font-weight: 400;
    height: 0.9cm !important;
}

th:first-child,
td:first-child {
    width: 2.5cm !important;
}

td,
th {
    width: 5cm;
    padding: 0px !important;
    font-weight: 400;
    height: 1.65cm !important;
}

td>div,
th>div {
    width: 100%;
    height: 100%;
}

tr:first-child th>div {
    position: relative;
    height: 50%;
    display: flex;
}

tr:first-child th>div:last-child>div {
    /*
    width: calc(100% / 6);
    */
    width: 100%;
}
td>div>div {
    width: 33.33333%;
}


td>div>div>div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

td>div>div>div>div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}


td>div>div>div>div>div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rotate {
    transform: rotate(-90deg) translateX(-50%);
    white-space: nowrap;
}

.leer {
    background-color: inherit !important;
}

th.bordernone {
    border: none;
}

tr td:nth-child(even),
th:nth-child(even) {
    background-color: lightgray;
}

div.info {
    margin-top: 0.5em;
    font-size: 0.7em;
}