@CHARSET "UTF-8";

h1 {
  font-size: 1.25em;
}

#body {
  padding: 0.8em;
}

#images {
  position: absolute;
  bottom: 2em;  
  z-index: -1;
  width: 99%;
  display: inline-flex;
}

#images.werbebild-page {
  bottom: unset;
  width: 97%;
  height: 97%;
}

#images.werbebild-page > div {
  margin: auto;
}

#images > div {
  margin: 5px;
  width: auto;
  max-width: fit-content;
  /* max-width: 80%; */
}

#images.werbebild-center:not(.werbebild-page) > div {
  margin-left: auto;
  margin-right: auto;
}

#images.werbebild-right:not(.werbebild-page) > :where(img, div) {
  margin-left: auto;
  margin-right: 20px;
}

#images img {
  max-width: 50vw;
  max-height: 50vh;
}

#images .werbetafel {
  display: inline-flex;
  flex-direction: row-reverse;
  width: auto;
  max-width: min-content;
}

#images .werbetafel .werbetafel-desc {
  display: inline-flex;
  flex-direction: column;
  margin: 10px;
  width: 32em;
}

#images .werbetafel img {
}

#images .werbetafel .werbetafel-desc h1.ueberschrift {
  font-size: 2.1em;
  margin-bottom: 1px;
}

#images .werbetafel .werbetafel-desc h2.untertitel {
  margin-top: 1px;
  margin-bottom: 1px;
  font-size: 1.5em;
  font-weight: normal;
}

#images .werbetafel .werbetafel-desc .teaser {
  flex-grow: 1;
  margin-top: 10px;
}

#images .werbetafel .werbetafel-desc .fussbereich {
}

#foot {
  position: absolute;
  bottom: 0.8em;
  right: 0.8em;
  left: 0.8em;
}

div.date,
div.page {
  float:right;
  text-align: right;
  min-width: 240px;
}

#countdown {
  float:left;
  min-width: 240px;
}

@media (max-width: 650px) {
  div.page {
    min-width: 170px;
  }
  #countdown {
    min-width: 170px;
  }
}
