#footer h2,
#footer h3,
#footer h4,
#footer p,
#footer li,
#footer a {
  color: #c9c9c9;
}

h1 span {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 500;
}

h1 span::after {
  content: '\A';
  white-space: pre;
}

#main h1 {
  letter-spacing: 0;
}
#main h2 {
  font-size: 1.8em;
  margin: 0 0 1em 0;
}
#main h3 {
  font-size: 1.4em;
}
/* #main h2, */
#main h3,
#main h4,
#main h5,
#main h6 {
  font-weight: 500;
  line-height: 1.5;
  margin: 2em 0 1em 0;
  /* text-transform: uppercase; */
  letter-spacing: 0;
}

p {
  margin: 0 0 1.25em 0;
}
a:hover {
  color: #f90 !important;
}


/*  BEGIN NEWS  */
#news {
  margin-bottom: 2em;
}
#news .box {
  margin-bottom: 0;
}
#news h2 {
  font-size: 1.25em;
  font-weight: 700;
  margin: 0;
}
#news h3 {
  letter-spacing: 0.05em;
}
#news h3, #anmeldung h3 {
  margin: .6em 0 .5em 0;
}
#news p {
  margin: 0 0 1em 0;
  line-height: 1.5em;
}
#news p.termin {
  margin-left: 3.2em;
  font-size: .9em;
  line-height: 1.5em;
}
#news p.infos {
  margin: 0 0 2em 3.2em;
  font-size: .9em;
}
#news .image.fit {
  display: block;
  margin: 0;
  width: 100%;
}
#news .box h2 {
  margin: 0 0 1.5em 0;
}
/*  END NEWS  */


#header img.logo {
  display: block;
  border-bottom: 0;
  color: inherit;
  display: inline-block;
  height: 23px;
}

p span {
  font-weight: 300;
  font-size: .8em
}

footer h2 {
  font-weight: 700;
}

/* Pagination */

.MarkupPagerNav {
    clear: both;
    margin: 1em 0;
  }
  .MarkupPagerNav li {
    display: inline;
    list-style: none;
    margin: 0;
  }
  
  .MarkupPagerNav li a,
  .MarkupPagerNav li.MarkupPagerNavSeparator {
    display: block;
    float: left;
    padding: 3px 11px;
    color: #fff;
    background: #999;
    margin-right: 3px;
    font-size: .8em;
    text-transform: uppercase;
  }
  
  .MarkupPagerNav li.MarkupPagerNavOn a,
  .MarkupPagerNav li a:hover {
    color: #fff !important;
    background: #585858;
    text-decoration: none;
  }
  
  .MarkupPagerNav li.MarkupPagerNavSeparator {
    display: inline;
    color: #777;
    background: #d2e4ea;
    padding-left: 3px;
    padding-right: 3px;
  }  
  

@media screen and (max-width: 1680px) {
  p {
    font-size: 16pt;
  }
}

@media screen and (max-width: 1280px) {
  p {
    font-size: 16pt;
  }
}

@media screen and (min-width: 981px) {
  blockquote {
    margin: 2em 0 1em 2em;
  }
}

@media screen and (max-width: 980px) {
  .box-space:nth-child(3) {
    padding-top: 2em;
  }

  #news p.termin,
  #news p.infos {
    margin-left: 2em;
  }
  
  #header img.logo {
    height: 20px;
  }
}

@media screen and (max-width: 320px) {
  #header img.logo {
    height: 18px;
  }
}

#main .thumb {
  -moz-transition-delay: 2.525s;
  -webkit-transition-delay: 2.525s;
  -ms-transition-delay: 2.525s;
  transition-delay: 2.525s;
  height: calc(40vh - 2em);
  min-height: 20em;
  width: 25%;
}

#main .thumb:after {
  background-image: -moz-linear-gradient(to top, rgba(10, 17, 25, 0.35) 5%, rgba(10, 17, 25, 0) 35%);
  background-image: -webkit-linear-gradient(to top, rgba(10, 17, 25, 0.35) 5%, rgba(10, 17, 25, 0) 35%);
  background-image: -ms-linear-gradient(to top, rgba(10, 17, 25, 0.35) 5%, rgba(10, 17, 25, 0) 35%);
  background-image: linear-gradient(to top, rgba(10, 17, 25, 0.35) 5%, rgba(10, 17, 25, 0) 35%);
  pointer-events: none;
  background-size: cover;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.error {
  color: #ee0000;
  font-size: .8em;
}

.fotoLinks, .fotoTextLinks {
  max-width: 40%;
  float: left;
  padding: 0 1.5em 1em 0;
  top: 0.25em;
}
.fotoRechts, .fotoTextRechts {
  max-width: 40%;
  float: right;
  padding: 0 0 1em 1.5em;
  top: 0.25em;
}

figcaption {
  font-size: .85em;
}

/*  BEGINN MODAL  */
.modal-window {
   position: fixed;
   background-color: rgba(0, 0, 0, 0.5);
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 999;
   visibility: hidden;
   opacity: 0;
   transition: all 0.3s;
}
.modal-window a {
  border: none;
}
 .modal-window:target {
   visibility: visible;
   opacity: 1;
}
 .modal-window > div {
   width: 400px;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   padding: 2em;
   background: white;
}
 .modal-close {
   color: #aaa;
   line-height: 50px;
   font-size: 80%;
   position: absolute;
   right: 0;
   text-align: center;
   top: 0;
   width: 100px;
   text-decoration: none;
}
 .modal-window h2 {
  margin: 0 0 1em 0;
}
/*  ENDE MODAL  */

ul li ul {
  padding-left: 1.15em;
}
#menu>.inner>ul>li a {
  display: block;
  padding: .5em 0;
  line-height: 1.5;
  border: 0;
  color: inherit;
}
#menu>.inner>ul>li>ul>li a {
  display: block;
  padding: .5em 0;
  line-height: 1.5;
  border: 0;
  color: inherit;
}
ul>li>ul>li.level-2 {
  list-style-type: dot;
}
ul>li>ul>li span {
  position: relative;
  left: -12px;
}
ul li ul li {
  padding-left: 0;
  font-size: 16px;
}
#menu ul>li.current a, #menu ul>li.parent a, #footer>.inner .copyright a.current {
  color: #f90;
}
#menu>.inner>ul>li {
  border-top: solid 1px rgba(255, 255, 255, 0.5);
}
.erfolg {
  padding: 1px 15px 5px;
  background-color: #a2cd5a;
}
button {
  font-family: 'Open Sans';
}