body {
    color: black;
    background-color: #edf1f8;
    font-size: 12px;
    font-family: "Geneva","Tahoma","Arial";
}

div.seasonlinks {
    margin-left:auto;
    margin-right:auto;
    display:table;
}

div.header div.seasonlinks span:nth-child(1) {
    margin-right:300px;
}

div.header div.seasonlinks span:nth-child(2) {
    font-size: 17px;
    font-weight: bold;
}

div.header div.seasonlinks span:nth-child(3) {
    margin-left: 300px;
}

div.header div.comment {
    margin-left: auto;
    margin-right: auto;
    display: table;
    font-size: 13px;
    margin-top: 10px;
}

div.footer {
    margin-top: 20px;
}

div.footer div.seasonlinks span:nth-child(1) {
    margin-right:337px;
}

div.footer div.seasonlinks span:nth-child(3) {
    margin-left: 337px;
}

div.border {
    padding: 5px;
    color: white;
    background-color: #004065;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 4px;
    display: table;
}

div.content {
    color: black;
    background-color: white;
    padding-bottom: 5px;
    padding-top: 5px;
}

div.fixedwidth {
    width: 800px;
}

div.matchcontent {
    padding-left: 5px;
    padding-right: 5px;
    width: 890px;
}

table {
  border-collapse: collapse;
}

table.competition {
    margin-left: auto;
    margin-right: auto;
}

table.competition tr td {padding-bottom:0}

table.competition td.team1 {
    text-align: right;
    white-space: nowrap;
}

table.competition td.team2 {
    text-align: left;
    white-space: nowrap;
}

table.competition td.result {
    padding-left: 16px;
}

table.competition td.righthalf {
    padding-left: 20px;
}

table.competition td.roundlabel {
    text-align: left;
    vertical-align: top;
    font-weight: bold;
}

table.withtable tr td.roundlabel {
    padding-left: 200px;
}

table.withtable tr td.result {
    padding-right: 200px;
}

a {
    color: #0000aa;
    text-decoration: none;
}

div.border h2 {
    font-size: 16px;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0px;
    margin-bottom: 3px;
}

select {
    font-size: 12px;
    background-color: white;
}

table.table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    margin-top:12px;
}

table.competition tr:not(:last-of-type) td table.table {
    margin-bottom:12px;
}

table.table {
    border: 1px solid #aaaaaa;
}

table.table tr:nth-of-type(even) {
    background-color: #edf1f8;
}

table.table tr:nth-of-type(odd) {
    background-color: white;
}

table.table tr.new td.w203::after {
    content: " (N)";
}

table.table tr.master td.w203::after {
    content: " (M)";
}

table.table tr.cupwinner td.w203::after {
    content: " (P)";
}

table.table tr.new.cupwinner td.w203::after {
    content: " (N, P)";
}

table.table tr.master.cupwinner td.w203::after {
    content: " (M, P)";
}

table.table tr.relegated td.w203::after {
    content: " (A)";
}

table.table tr.down {
    color: white;
}

table.table tr.down:nth-of-type(even) {
    background-color: #bf0000;
}

table.table tr.down:nth-of-type(odd) {
    background-color: #bf4040;
}

table.table tr.bayern {
    background-color: lightgreen;
}

table.table tr td:not(:first-of-type) {
    border-left: 1px solid #cccccc;
}

table.table tr td {padding-bottom:0}

table.table tr td.no {
    font-family: monospace;
    letter-spacing: 0;
    text-align: center;
}

table.table tr td.w28 {width: 28px;}
table.table tr td.w203 {width: 203px;}
table.table tr td.w40 {width: 40px;}
table.table tr td.w26 {width: 26px;}
table.table tr td.w58 {width: 58px;}
table.table tr td.w45 {width: 45px;}
table.table tr td.w43 {width: 43px;}
table.table tr td.w153 {width: 153px;}

div.content div.comments {
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
    font-size: 11px;
    display: table;
}

td {
    white-space: nowrap;
}

td.next {
    font-weight: bold;
}

table.match tr td, table.match tr th {padding-bottom:0}

table.match tr th {
    text-align: right;
    vertical-align: top;
}

table.match tr td.data {
    text-align: left;
}

span.subsitution {
    background-image: url("substitution.svg");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    padding-left: 17px;
    white-space: nowrap;
}

table.links {
    width: 160px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

table.links tr:first-of-type td {
    text-align: center;
}

img.signum {
  float:right;
  height:30px;
  margin-right:10px;
  margin-bottom:10px
}

span.competitioncomment {
    font-weight: bold;
    display: table;
    margin-bottom: 10px;
    margin-left: 5px;
}

h4 {
    background-color: #d5e1f7;
    margin-bottom: 2px;
}

h4.yellow {
    background-image: url("yellow.svg");
    background-size: 10px 15px;
    background-repeat: no-repeat;
    background-position: 82px 0;
}

h4.yellowred {
    background-image: url("yellowred.svg");
    background-size: 20px 15px;
    background-repeat: no-repeat;
    background-position: 108px 0;
}

h4.red {
    background-image: url("red.svg");
    background-size: 10px 15px;
    background-repeat: no-repeat;
    background-position: 75px 0;
}

h4 ~ ul {
    margin-top: 0;
    padding-left: 14px;
}

div.tableFold {
    text-align: center;
}
