body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0 auto;
    padding: 0;
    background-color: white;
    color: #480202;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.6) 100%), url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.wrapper {
  flex: 1;
}

nav {
    position: relative;
    text-align: center;
    z-index: 5;  /* over <article> */
    padding-top: 4ex;
}

nav ul {
    /*width: auto;
    height: auto;*/
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    color: #0a0;
    /*font-size: 80%;*/
    z-index: 5;
}

nav li {
  display: inline-block;
  /*background-color: #ffffff;*/
  position: relative;
  margin-right: 15px;
}

nav li a {
  width: 7.5ex;
  height: 7.5ex;
  border: 0.5px solid white;
  border-radius: 50%;
  display: inline-block;
  color: white;
  background-color: #ff4141;
  box-shadow: 0 0 5px 5px #ff4141;
  font-weight: bold;
  /*padding: 0.3em 0.5em 0.5em;*/
  line-height: 7.5ex;
  text-decoration: none;
  font-family: 'BigDots';
  font-size: 110%;
  transition-duration: 0.4s;
}

nav li a:hover {
  text-decoration: none;
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

a {
  color: #ff0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h3 {
    font-size: 200%;
    margin: 1em 0;
    padding: 0;
    font-family: 'BigDots';
}

h4 {
  font-family: 'BigDots';
}

.name {
  font-family: 'BigDots';
  font-size: 130%;
}

.bordered {
    border: 2px solid black;
}

.block{
    display: block;
    white-space: pre;
    margin: 0 auto;
}

.center {
    text-align: center;
}

dd {
    margin-left: 0;
}

dl dt {
    font-weight: bold;
    margin-top: 3ex;
}

dt {
  font-family: 'BigDots';
  font-size: 110%;
}

#head1 {
    position: relative;
    z-index: 1;
    margin-top: 32px;
    height: 77px;
    background: url('../images/style/tsd1.png') center top no-repeat;
}
#head2 {
    position: relative;
    z-index: 2;
    margin-top: -27px;
    height: 200px;
    background: url('../images/style/tsd2.png') center top no-repeat;
}
#head3 {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    height: 86px;
    background: url('../images/style/tsd3.png') center top no-repeat;
}
article {
  position: relative;
  box-sizing: border-box;
  z-index: 4;
  /*margin-top: -5px;
  margin-bottom: -5px;*/
  margin: 0 20px 0;
  padding-top: 16px;
  padding-bottom: 16px;
  /*max-width: 960px;*/
  max-width: 90%;
    /*background: url('../images/style/tsd4.png') center top no-repeat;*/
}
article > * {
}

footer {
    position: relative;
    background-color: #000;
    color: #777;
    text-align: center;
    z-index: 6;
}
footer a {
    color: #fff;
}
#oldds {
    list-style-type: none;
    margin: 0 auto;
}
#oldds li {
    display: inline;
    padding: 0 0.3em;
}

#foodlocator {
    cursor: pointer;
}
#foordlocator.expanded {
    cursor: default;
}

#food dt {
    clear: both;
    margin-top: 1em;
    font-weight: bold;
}
#food dt .wheelchair {
    font-size: 120%;
    line-height: 1em;
    color: #444;
}
#food dt .addr, #food dt .website {
    font-weight: normal;
    margin-left: 0.8em;
    color: #444;
}
#food dd {
    color: #444;
    font-size: 80%;
    margin: 0 0 0 2em;
}

.geo-arrow {
    float: left;
    clear: left;
    margin: 0 0.5em 1.5em 0;
}
.geo-arrow .arrow {
    margin: 0;
    text-align: center;
    font-size: 200%;
    font-weight: bold;
    line-height: 1em;
}
.geo-arrow .arrow span {
    display: inline-block;
}
.geo-arrow .dist {
    margin: 0;
    text-align: center;
    font-size: 70%;
    line-height: 1em;
    font-weight: 100;
}

.schedule td {
    background-color: #ffeded;
}
.schedule td.cell-height1,
.schedule td.cell-height2,
.schedule td.cell-height3,
.schedule td.cell-height4,
.schedule td.cell-height5,
.schedule td.cell-height6,
.schedule td.cell-height7,
.schedule td.cell-height8,
.schedule td.cell-height9,
.schedule td.cell-height10,
.schedule td.cell-height11,
.schedule td.cell-height12 {
    background-color: white;
    border: 1px solid #ccc;
}
.schedule td.cell-time {
    background-color: white;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.schedule td {
    padding: 1px 2px;
    vertical-align: top;
}
.schedule {
    border-collapse: collapse;
    table-layout: fixed;
}
.schedule thead th {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.schedule th, .schedule td {
}
.schedule th.cell-time, .schedule td.cell-time {
    height: 2em;
}
.schedule h2 {
    font-size: 110%;
    margin: 0;
}
.schedule .event-details {
    color: #666;
}

a[href$="mitschnitte-rss.xml"]:before {
    padding-right: 0.3em;
    content: url(../images/feed.png);
    text-align: right;
    vertical-align: middle;
}
.resource {
    display: inline-block;
    margin: 8px;
    padding: 0;
    box-sizing: border-box;
    width: 290px;
    border: 2px solid black;
}
.resource h4 {
    text-align: center;
    margin: 2px 4px;
    padding: 0;
    font-size: 100%;
    font-weight: bold;
}
.resource img {
    width: 100%;
}
.resource .links {
    margin: 2px 4px;
    padding: 0;
    list-style-type: none;
    text-align: center;
}
.resource .links li {
    display: inline-block;
    font-size: 80%;
    padding: 0 0.5em;
}
.resource .links li .size {
    padding: 0 0 0 0.4em;
    color: #777;
}



/* *** NEW *** */

@media (min-width: 768px) {
  article {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  nav li {
      margin-bottom: 1em;
  }

  nav li a {
      /*padding: 0.3em 2em 0.5em;*/
  }
}

article .center a img {
  width: 100%;
}

article dl dd a {
  word-wrap: break-word;
}

/** Circular menu **/

@media (min-width: 1000px) {
  body {
    background-image: none;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 10ex;
    z-index: 3;
    width: 800px;
    height: 800px;
    background-image: url(../images/logo.png);
    background-position: -180px -230px;
    background-repeat: no-repeat;
  }

  nav ul {
    width: 60ex;
    height: 35ex;
    margin-left: -20ex;
  }

  nav li {
    position: absolute;
  }

  nav ul > *:nth-of-type(1) {
    transform: rotate(170deg) translate(-30ex) rotate(-170deg);
  }

  nav ul > *:nth-of-type(2) {
    transform: rotate(190deg) translate(-30ex) rotate(-190deg);
  }

  nav ul > *:nth-of-type(3) {
    transform: rotate(210deg) translate(-30ex) rotate(-210deg);
  }

  nav ul > *:nth-of-type(4) {
    transform: rotate(230deg) translate(-30ex) rotate(-230deg);
  }

  nav ul > *:nth-of-type(5) {
    transform: rotate(250deg) translate(-30ex) rotate(-250deg);
  }

  nav ul > *:nth-of-type(6) {
    transform: rotate(270deg) translate(-30ex) rotate(-270deg);
  }

  nav ul > *:nth-of-type(7) {
    transform: rotate(290deg) translate(-30ex) rotate(-290deg);
  }

  article {
    margin-right: 30px;
    margin-left: 52ex;
    padding-left: 15px;
    padding-right: 15px;
    /*background-color: white;
    box-shadow: 0 0 5px black;
    height: 101%;*/
  }
}

@font-face {
  font-family: 'BigDots';
  src: url(../font/BigDots.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}
