body {
    margin: 0;
    /*font-family: Geneva, Arial, sans-serif;*/
    font-family: Georgia, Palatino, serif;
    text-align: center;
}


.teamnaam > th + th div {
    transform: rotate(180deg);
    float: right;
}

.teamnaam > th + th div p {
    margin: 0;
    text-align: left;
    writing-mode: tb;
    -webkit-writing-mode: tb;
    white-space: pre;
}

.teamnaam > th > div > span {
    padding: 5px 10px;
}

td.data {
    text-align: right;
    font-family: monospace;
    padding-left: 1ch;
}

table {
    text-align: initial;
    border-collapse: collapse;
    margin: 12px auto;
}

table .borderleft {
    border-left: 1px black solid
}

table .borderbottom {
    border-bottom: 1px solid black;
}

table .borderright {
    border-right: 1px solid black;
}

th a {
    /*color:black;*/
    text-decoration: none;
}

table tr.totals td {
    border-top: 1px solid black;
}

table tr.totals td,
table tr.pct td,
table tr.fta td {
    border-right: none;
    border-left: none;
}

input#extended_data ~ * .extended_only {
    display: none;
}

input#extended_data:checked ~ * .extended_only {
    display: revert;
    height: auto;
}

body input {
    margin: 12px;
}

table#calendar {
    border-top: solid 3px black;
    border-bottom: solid 3px black;
}

table#calendar td {
    padding: 4px 8px;
}

table#calendar td:nth-child(5) {
    text-align: center;
}

table#calendar thead td {
    border-bottom: solid 1px black;
    font-weight: bold;
}

details summary {
    padding: 8px;
}

body {
}

@media print
{
    table{
        page-break-inside: avoid;
    }
}