
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/noto-sans-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/noto-serif-400.ttf') format('truetype');
}

body {
    font-family: 'Noto Serif', serif;
    font-size: 12pt;
    background-color: #266675;
    color: black;
}

* {
    box-sizing: border-box;
}

body.start * {
    box-sizing: content-box;
}

body.start {
    margin: 0;
    padding: 0;
    background-color: #266675;
}

#start {
    box-sizing: content-box;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    padding-top: 79.47%;    /* 1486:1181 aspect ratio */
}

#start > div {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: url("/start.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#start #teams a {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

#start #teams a:first-child {
    left: 0;
}

#start #teams a > span {
    display: block;
    position: absolute;
    top: 50%;
    left: 15%;
    width: 50%;
}

#start #teams img {
    width: 100%;
    min-width: 5em;
    padding: 20%;
    filter: opacity(66%);
}

#start #teams a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    filter: invert(1) opacity(100%);
}

@media only screen and (hover: none) {
    #start #teams a img {
        background-color: rgba(0, 0, 0, 0.1);
        filter: opacity(90%);
    }
}

#start #more {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: absolute;
    bottom: 6em;
    left: 50%;
    width: 7.8em;
    margin-left: -3.9em;
    font-size: 24px;
}

#start #more * {
    display: inline-flex;
}

#start #more img {
    width: 2.4em;
    height: 2.4em;
    padding: 0.1em;
    filter: grayscale(1) contrast(20) opacity(0.5);
}

#start #more a:first-child img {
    width: 3em;
}

#start #more img:hover {
    background-color: rgba(255, 255, 255, 0.3);
    filter: grayscale(1) invert(1) opacity(0.7);
}

#start h1 {
    display: none;
    text-align: center;
    width: 100%;
    font-size: 1000%;
}

#start h1 strong {
    display: block;
    font-weight: 900;
    font-size: 120%;
}

#start #hint {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.33);
    color: #eee;
    text-align: center;
    font-size: 24px;
}

#start #hint p {
    padding: 0.5em;
}

#main {
    background-color: #fddd33;
    background-image: url("/water.jpg");
    background-size: 800px;
    background-repeat: no-repeat;
    border: 2px solid black;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5em 0em 2em;
}

#main.yellow-red {
    background-image: url("/yellow-red.jpg");
    background-size: 1200px 500px;
    background-position: -280px;
}

#main.red-yellow {
    background-image: url("/red-yellow.jpg");
    background-size: 1200px 800px;
    background-position: -370px;
}

#main.orange {
    background-image: url("/orange.jpg");
    background-size: 1200px 100%;
    background-position: -390px 0px;
}

header h1 {
    float: right;
    text-weight: normal;
    text-align: right;
    width: 60%;
    border-bottom: 1.5px solid black;
    margin-bottom: 0;
}

header h1 a {
    color: black;
}

#logos {
    position: relative;
    left: -1.2em;
    top: 15.5em;
    width: 120px;
    height: 0;
}

#logos img {
    display: block;
    height: 100px;
    margin: 0.5em auto;
}

h1 strong {
    font-family: 'Noto Sans', serif;
    text-transform: uppercase;
}

nav ul {
    text-align: right;
    padding: 0;
}

nav li {
    list-style: none;
    display: inline;
    margin-left: 0.1em;
}

header nav {
    clear: both;
    float: right;
}

header nav ul {
    margin: 10px 0 0 0;
}

header nav li {
    display: inline-block;
    font-family: 'Noto Serif', sans-serif;
    font-size: 11pt;
    background-color: #eed032;
    margin: 0;
}

header nav li a {
    display: inline-block;
    padding: 0.5em 1em;
}

header nav li.active {
    border-bottom: 3px solid #266675;
}

header nav li:hover {
    background-color: #d5bb2d;
}

footer nav {
    text-align: right;
    padding-top: 1em;
}

footer nav li::after {
    content: "•";
    margin-left: 0.3em;
}

footer nav li:last-child::after {
    content: none;
}

article {
    clear: both;
    font-size: 14pt;
    margin: 25% 0 0 28%;
    min-height: 20em;
    margin-bottom: 2em;
}

article h2 {
    display: none;
}

article blockquote {
    background-color: #eed032;
    padding: 0.1em 1.5em;
    margin: -0.5em 1em -0.5em 0;
}

article#neues h2 {
    font-size: 16pt;
    text-align: left;
}

article#neues p.meta {
    text-align: left;
}

article#neues .teaser {
    border-top: 1px solid #266675;
    padding-top: 0.5em;
    margin: 0 0 2em 0;
}

article .blog-post h2,
article .blog-post p.meta {
    display: inline-block;
    font-weight: normal;
    font-size: 9pt;
    text-align: right;
    color: #266675;
    margin: 0;
}

article .blog-post h2::before {
    content: "„";
}

article .blog-post h2::after {
    content: "“, ";
}

article.section-info .faqs {
    list-style: none;
    padding: 0 0 1em 0;
}

article.section-info .faqs li {
    font-size: 10pt;
}

article.section-info .faqs li::before {
    content: "» ";
}

article.section-info .faqs li.active {
    font-size: 11pt;
}

article .ps {
    margin-top: 1em;
}

article .footnotes {
    color: #555;
    margin-top: 3em;
    font-size: 10pt;
}

article .footnotes hr {
    border: 0;
    border-bottom: 1px solid #999;
    margin-right: 71%;
    opacity: 100%;
}

article .footnotes ol {
    padding-left: 1em;
}

article a.footnote {
    display: none;
}

article .siblings {
    font-size: 11pt;
    margin-top: 0.5em;
    height: 1.4em;
}

article .siblings .next {
    float: right;
}

article .error img {
    width: auto;
    border: 0;
}

article video,
article img {
    width: 100%;
    border: 2px solid #eed032;
}

article a + em,
article img + em {
    display: block;
    font-size: 7pt;
    font-style: normal;
    text-align: right;
    margin: -4px 8px 0 0;
    color: #333;
}

a {
    color: #266675;
    font-weight: bold;
    text-decoration: none;
}

article#erinnerung form,
article#erinnerung ul {
    display: none;
}

article#erinnerung form#password {
    display: contents;
}

article#anzeigetafel fieldset.sum,
article#anzeigetafel fieldset.amount,
article#anzeigetafel fieldset.retro,
article#anzeigetafel fieldset.match  {
    position: relative;
    min-height: 9em;
    min-width: 350px;
    margin: 0 0 0.5em 0;
    padding: 0.35em 12px 0.625em 12px;
}

article#anzeigetafel fieldset.match h3  {
    font-size: 17pt;
    font-weight: bold;
    margin: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px dotted white;
}

article#anzeigetafel fieldset.match h3 span.home {
    display: inline-block;
    text-align: right;
    white-space: nowrap;
    width: 45%;
}

article#anzeigetafel fieldset.match h3 span.away {
    display: inline-block;
    text-align: left;
    white-space: nowrap;
    width: 45%;
}

article#anzeigetafel input#amount,
article#anzeigetafel input#retro,
article#anzeigetafel fieldset.match input {
    font-size: 30pt;
    text-align: center;
    width: 1.25em;
    padding: 1px;
    border: 1px solid #666;
}

article#anzeigetafel input:disabled {
    background: #bbb;
}

article#anzeigetafel fieldset.match tr.ga {
    display: none;
}

article#anzeigetafel fieldset.retro td:first-child,
article#anzeigetafel fieldset.match td:first-child {
    width: 22%;
    text-align: right;
    padding: 0;
}

article#anzeigetafel fieldset.sum {
    min-height: 3.715em;    /* 1.34 + 3x0.3 + 0.5 + 0.35 + 0.625 */
}

article#anzeigetafel fieldset.sum span.sum,
article#anzeigetafel fieldset.match span.sum {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 19pt;
    margin: 0 12px 0.3em 0;
    padding: 0.3em 0.3em 0.3em 0.6em;
    border-left: 1px dotted white;
    border-top: 1px dotted white;
    background-color: inherit;
}

article#anzeigetafel fieldset.sum .summary {
    position: absolute;
    display: block;
    font-size: 16pt;
    bottom: 0.8em;
    padding-left: 13px;
    width: 80%;
}

article#anzeigetafel fieldset.sum span.sum {
    border-top-width: 0;
}

article#anzeigetafel input[type="submit"] {
    white-space: normal;
    text-align: left;
}

article#anzeigetafel fieldset.retro,
article#anzeigetafel fieldset.amount  {
    min-height: 0;
}

article#anzeigetafel fieldset.amount input#amount {
    margin: 0.1em 0.1em 0.1em 15%;
}

article#anzeigetafel fieldset.retro label {
    font-weight: bold;
}

article#anzeigetafel tr.retro,
article#anzeigetafel form.retro tr.enabled {
    display: none;
}

article#anzeigetafel form.retro tr.retro {
    display: table-row;
}

article#anzeigetafel form.retro fieldset.match table {
    animation: yellow-fade 0.5s ease-in 1;
}

@keyframes yellow-fade {
    0% { background-color: #fddd33; }
    100% { background-color: inherit; }
}

article#spenden form {
    display: inline-block;
    vertical-align: top;
    width: 33%;
    font-size: 60pt;
    font-family: 'system-ui', sans-serif;
}

article#spenden input {
    font-size: 60pt;
    text-align: right;
    width: 1.25em;
    border: 1px solid black;
    margin: 0 0.05em 0.05em 0;
    padding: 1px;
}

article#spenden label {
    clear: left;
    display: block;
    vertical-align: top;
    font-size: 14pt;
    font-family: serif;
}

article#spenden li,
.card,
.spenden {
    background-color: #266675;
    border: 1px solid #13333c;
    border-radius: 4px;
    font-size: 14pt;
    font-family: 'Noto Sans', sans-serif;
    color: white;
    text-decoration: none;
}

article#spenden li:hover,
.spenden:hover {
    background-color: #23879e;
}

article#spenden ul {
    display: inline-block;
    width: 67%;
    margin: -2px 0 0 0;
    padding: 0;
}

article#spenden li {
    list-style: none;
    margin: 0 0.3em 0.3em 0;
}

.card em,
.spenden em,
article#spenden li em {
    font-size: 24pt;
    font-style: normal;
    margin-bottom: 0.1em;
    line-height: 1.5em;
    color: white;
    display: block;
    border-bottom: 1px solid white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card strong,
.spenden strong,
article#spenden li strong {
    font-size: 42pt;
}

article .card,
article#spenden li a {
    display: block;
    padding: 0.7em 1em;
    font-size: 12pt;
    color: #5edffb;
}

article .card {
    margin: 0 0.3em 0.8em 0;
}

article#mitmachen p {
    margin: 1em 0.5em 1em 1em;
}

@media only screen and (max-width: 710px) {
    article#anzeigetafel fieldset.match h3  {
        font-size: 13pt;
    }
}

@media only screen and (max-width: 390px) {
    article#anzeigetafel fieldset.match h3  {
        font-size: 12pt;
    }
}

@media only screen and (max-width: 770px) {
    article#spenden form {
        width: 100%;
    }

    article#spenden ul {
        width: 100%;
        margin: 0.5em 0 0 0;
    }

    article#spenden li {
        margin: 0.3em 0;
    }
}

.card,
.spenden {
    display: inline-block;
    font-size: 15pt;
    padding: 0.8em;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    white-space: pre-line;
    position: absolute;
    opacity: 0;
    transition: all 0.15s ease;
    max-width: 20em;
    padding: 0.8em;
    color: black;
    font-family: 'Noto Serif', sans-serif;
    font-size: 12pt;
    border: 1px solid #13333c;
    border-radius: 4px;
    pointer-events: none;
}

[data-tooltip]:hover:before {
    opacity: 1;
    background-color: #eed032;
    margin-top: 5.5em;
    margin-left: 0.9em;
    z-index: 1;
}

a[data-tooltip]:hover:before {
    margin-top: 1em;
    margin-left: 0.5em;
    font-weight: normal;
}

.error {
    text-align: right;
    padding-top: 4em;
}

.error p {
    font-size: 12pt;
    margin: 0 1em 0 0;
}

.video {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
}

form table td {
    vertical-align: top;
    padding-right: 4px;
}

form#vorstopper input[type="text"],
form#vorstopper input[type="password"],
form#password input[type="password"],
form table,
form textarea,
form #about table.about input {
    width: 100%;
}

form table,
form legend,
form textarea,
form input {
    font-size: 13pt;
    padding: 2px;
    border: 0;
    margin: 0;
}

form label + textarea {
    margin-top: 0.2em;
}

article#mitmachen form #pledges input,
form input#amount {
    text-align: right;
    margin-right: 1px;
}

article#mitmachen form #pledges .wide {
    min-width: 48px;
}

article#mitmachen form .previously .pledge {
    border: 1px dashed black;
    background-color: white;
    color: #666;
    padding: 1em;
    margin: 0.2em 0 0.3em 0;
    white-space: pre;
}

article#mitmachen form .previously .pledge strike {
    opacity: 50%;
}

article#mitmachen form .previously .pledge.disabled {
    background-color: rgba(239, 239, 239, 0.3);
}

fieldset {
    background-color: #eed032;
    border: 0;
}

fieldset#buttons {
    background-color: inherit;
    border: 0;
    padding-left: 0;
}

fieldset#buttons input {
    background-color: #266675;
    border: 1px solid #13333c;
    border-radius: 4px;
    font-size: 14pt;
    font-family: 'Noto Sans', sans-serif;
    color: white;
    padding: 0.5em 1.2em;
}

form #buttons input:hover {
    background-color: #23879e;
}

form#vorstopper td:first-child {
    width: 35%;
    white-space: nowrap;
}

form#password td:first-child {
    width: 19%;
}

form#password input[type="password"] {
    border: 2px solid transparent;
}

@keyframes red-fade {
    0% {}
    10% { background: red; }
    100% {}
}

form#password .invalid {
    animation: red-fade 0.3s linear;
}

form#password .invalid input[type="password"] {
    border-color: red;
}

form#password input[type="submit"] {
    white-space: normal;
}

form#bundestag p {
    font-size: 11pt;
    margin: 0;
}

form#bundestag textarea {
    resize: none;
    font-family: 'Noto Serif', serif;
    font-size: 11pt;
    margin: 0.5em 0;
}

.fb-box {
    overflow: hidden;
    position: relative;
}

.fb-box .fb-post div {
    color: black;
    background-color: white;
    font-size: 85%;
    padding: 0.3em 1em 1em 1em;
}

.fb-box iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: white;
}

noscript {
    display: inline-block;
    background-color: #eed032;
    border: 3px solid #266675;
    padding: 1em;
}

noscript img {
    display: none;
}

pre {
    color: black;
    background-color: #eee;
    padding: 0.5em;
}

hr {
    border-style: solid;
    border-width: 1px 0 0 0;
    width: 29%;
    opacity: 29%;
}

.jsonly.hidden,
.jsonly.hidden + p,
.hidden {
    display: none;
}
