/* reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i, 
dl, dt, dd, ul, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, 
section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
  margin: 0;
}
blockquote, q { quotes: none }
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
/* end reset */
@font-face {
  font-family: 'Freestyle';
  font-style: normal;
  font-weight: 400;
  src: local('Freestyle Script'), local('Freestyle-Script'), url('https://textile-arts.com/fonts/freescpt.ttf') format('truetype');
}
html, body, main, header, footer, section { 
  max-width: 100vw;
  width: 940px;
  margin: auto;
  line-height: 130%;
}
div, p, a, input, label, header, aside, menu, body {
  font-family: sans-serif;
  color: #2c1376;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6 .h6 {
  margin-top: 0.8ex;
  margin-bottom: 0.8ex;
  line-height: 130%;
  font-family: sans-serif;
  color: #2c1376;
  hyphens: auto;
}
h1, .h1 { font-size: 24pt }
h2, .h2 { font-size: 21pt }
h3, .h3 { font-size: 18pt }
h4, .h4 { font-size: 16pt }
h5, .h5 { font-size: 14pt }
h6, .h6 { font-size: 12pt }
p, a, .p { font-size: 14pt; margin-top: 0.4ex; }
ul, ol {
  list-style: none;
  margin: 0 0 20px 20px;
  font-size: 14pt;
  line-height: 130%;
}
ul.dots { list-style: initial }
ul li, ol li { margin-top: 10px }
ol {
  list-style-type: decimal;
  white-space: nowrap;
}
dl {
  padding: 0.5em;
}
dt {
  float: left;
  width: 1em;
  text-align: right;
  font-weight: bold;
  color: hsl(352, 100%, 46%);
}
dt::after {
  content: ":";
}
dd {
  margin-left: 2em;
  padding-bottom: 0.5em;
}
a {
  text-decoration: none;
  color: #2c1376;
}
a:hover { color: hsl(0, 0%, 70%) }
/* Buttons */
button, .button {
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
  position: relative;
  padding: 0.6ex 0.6em;
  margin: 5px;
  font-family: sans-serif;
  font-size: 14pt;
  color: |co-button|;
  background-color: |bg-button|;
}
button:hover, .button:hover {
  color: |co-button-hover|;
  background-color: |bg-button-hover|
}

/* Images */
.img100 { width: 100%; height: auto; padding: 10px 0 0 0; }
.image-top { width: 100%; height: auto; padding: 5px 0 6px 0 }
.image-top-left  { width: 100%; padding: 0 20px 10px 0 }
.image-top-right { width: 100%; padding: 0 0 10px 20px }

/* Gallery */
div.gallery {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin: 5px;
  width: 190px;
}
div.gallery img {
  width: 190px;
  height: 100%;
}
div.gallery.scalew img:active {
  transform: scale(1);
  position: fixed;
  width: 940px;
  max-width: 100vw;
  height: auto;
  margin: 0;
  top: 0;
  --leftm: calc( 50vw - 478px );
  left: var(--leftm);
}
div.gallery.scaleh img:active {
  transform: scale(1);
  position: fixed;
  width: auto;
  height: 100vh;
  margin: 0;
  top: 0;
  --leftm: calc( 50vw - 150px );
  left: var(--leftm);
}
div.gallery.scale img:hover {
  transform: scale(1.0);
  cursor: pointer;
}
div.gallery div.desc {
  padding: 1ex 0.4em;
  text-align: center;
  font-style: italic;
}
/* Columns */
.col {
   column-gap: 2em;
   -moz-column-gap: 2em;
   -webkit-column-gap: 2em;
   column-rule: 1px dotted |co-ruler|; 
   -moz-column-rule: 1px dotted |co-ruler|; 
   -webkit-column-rule: 1px dotted |co-ruler|; 
}
.col-3 {
   column-count: 3;
   -moz-column-count: 3;
   -webkit-column-count: 3;
}
.col-2 {   
   column-count: 2;
   -moz-column-count: 2;
   -webkit-column-count: 2;
}
.col-1 {   
   column-count: 1;
   -moz-column-count: 1;
   -webkit-column-count: 1;
}
.col p {
   margin: 0.6ex 0 0 0;
   padding: 0;
   font-size: 14pt; 
   line-height: 130%;
   text-align: justify; 
   -webkit-hyphens: auto;
   -moz-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}
.col p:nth-of-type(1) {
  margin: 0;
}
header {
  margin: 0;
}
.header-pages, .header-index {
  border-radius: 0 0 10px 10px;
  background-color: hsl(45, 100%, 51%);
}
.header-index {
}
.header-pages {
  min-height: 138px;
}
.header-none {
  height: 0;
}
header .topline, header .logoline {
  display: flex;
  flex-flow: row wrap;
  z-index: 5;
  justify-content: space-between;
}
header .headline {
  display: flex;
  flex: 1 0 50%;
  order: 2;
  margin: 10px;
}
header .headline .h1 {
  font-family: 'Freestyle', sans-serif;
  font-size: 64pt;
  margin-left: 32pt;
}
header .titleline {
  z-index: 5;
  margin: 10px;
  display: flex;
  order: 3;
}
.titleline div {
  padding: 6px;
  background-color: transparent;
  border-radius: 10px;
}
header .h1, header .h2, header .h3, header .h4, header .h5, header .h6 {
  margin-top: 10px;
  color: |co-header|;
}
header .logo {
  display: flex;
}
header .logo-top {
  height: 125px;
  border-radius: 10pt;
}
header .nav {
  flex: 1 0 0;
  order: 1;
}
.main {
  padding-top: 10px;
}
footer {
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  flex-flow: wrap; 
  justify-content: space-between;
  padding: 4px 8px 0px 8px;
  background-color: hsl(45, 100%, 51%);
  border-radius: 10px 10px 0 0;
}
footer > div { 
 }
footer p, footer a {
  font-family: sans-serif;
  font-size: 12pt;
  color: hsl(0, 0%, 100%);
}
footer a { 
  color: #2c1376; 
}
footer a:hover { 
  color: hsl(0, 0%, 70%) 
}
footer .tooltip img {
  height: 40px;
}
footer + p {
  display: none;
}
.container {
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  flex-flow: row wrap; 
  justify-content: flex-start;
  align-items: flex-start;
}
article {
  flex: 4 1 70%;
}
article.card {
  flex: 2 1 15%;
  margin: 6pt 6pt 0 0;
}
article.double {
  flex: 1 1 50%;
}

article {
  padding: 10px 0 10px 0;
  border-radius: 0 0 5px 5px;
  color: |co-article|;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
article .headline {
  margin-top: 0; 
  margin-bottom: 0.8ex;
  line-height: 130%;
  font-family: sans-serif;
  color: #2c1376;
  font-size: 24pt;
}
article p {
  font-size: 14pt;
  line-height: 130%;
  text-align: justify;
  padding-top: 0.8ex;
}
article .col {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-rule: 1px dotted |co-ruler|; 
  -moz-column-rule: 1px dotted |co-ruler|; 
  -webkit-column-rule: 1px dotted |co-ruler|; 
}
article .no-col {
  column-count: 1;
  -moz-column-count: 1;
  -webkit-column-count: 1;
}
article.card {
  padding: 1ex 1em 1ex 0em; 
  background-color: hsl(44, 100%, 71%);
  border-radius: 10px;
}
.mauer {
  width: 30%;
  height: auto;
  margin: auto;
}
@media print {
  @page {
    size: A4;
  }
  @page :left {
    margin-left: 2cm;
    margin-right: 1cm;
  }
  @page :right {
    margin-left: 1cm;
    margin-right: 2cm;
  }
  html, body, main, header, footer, section { 
    margin: 0;
    width: 100%
  }
  .header-pages {
    background-image: none;
    background-color: white;
    color: black;
    border: 1px solid black;
  }
  header .h1 {
    color: black;
  }
  nav {
    display: none;
  } 
  footer {
    background-image: none;
    background-color: white;
    color: black;
    border: 1px solid black;
  }
  footer + p {
    display: block;
  }
  footer a {
    color: black;
  }
}
@media screen and (max-width: 600px) { 
  article > .col {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  article.double {
    flex: 1 1 100%;
  }
  header .headline {
    order: 3;
    flex: 1 0 100%;
 }
  header .titleline { order: 2; }
}
@media screen and (max-width: 480px) { 
  .container {
    flex-flow: column wrap;
  }
}
/* nav */  
#navlin {
  position: relative;
  bottom: 20px;
  margin-left: 1em; 
  z-index: 10;
}
#navlin a {
  color: white;
  font-size: 12pt;
}
nav {
  display: flex;
}
nav.ul { margin: 0; padding: 0; }
nav.topmenu { 
  width: auto;
  height: 0; 
  max-width:0; 
  overflow: hidden; 
  transition: all 0.5s;
  background-color: gray;
  opacity: 0.75;
  color: white;
  margin-top: 2vh;
  border-radius: 10px;
  margin-right: 10px;
}
nav.topmenu ul li a {
  color: white;
  font-size: 18pt;
  font-weight: 500;
}
#menubutton:checked + .menubutton  + nav.topmenu { 
  max-width: 215px; 
  padding-right: 10px;
  height: auto;
}
label.menubutton { 
   display: block;
   width: 43px;
   height: 38px; 
   position: relative; 
   margin-left: 20px;
   margin-right: 20px;
   padding: 21px;
   border-radius: 4px;
   top: 2vh;
}

input#menubutton {display:none}

.line { 
   position: absolute; 
   left:5px;
   height: 4px;
   width: 32px; 
   background: #fff; border-radius: 2px;
   display: block; 
   transition: 0.2s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 7px; }
.line:nth-child(2) { top: 19px; }
.line:nth-child(3) { top: 31px; }

#menubutton:checked + .menubutton .line:nth-child(1){
   transform: translateY(12px) rotate(-45deg);
}

#menubutton:checked + .menubutton .line:nth-child(2){
   opacity:0;
}

#menubutton:checked + .menubutton .line:nth-child(3){
   transform: translateY(-12px) rotate(45deg);
}
/* utility */
* { box-sizing: border-box }
.right { float: right }
.left { float: left }
.flex { display: flex }
.flexwrap { display: flex; flex-wrap: wrap; }
.clear { clear: both }
.no-pad { padding: 0 }
.pad-left { padding-left: 20px; }
.pad-top { padding-top: 10px; }
.space-bottom { margin-bottom: 6pt; }
.no-margin { margin: 0 }
.no-margin-left { margin-left: 0 }
.no-margin-right { margin-right: 0 }
.no-margin-top { margin-top: 0 }
.no-margin-bottom { margin-bottom: 0 }
.no-margin-vertical {
  margin-top: 0;
  margin-bottom: 0;
}
.roundcorners { border-radius: 10px; }
.center { 
  -webkit-justify-content:center;
  -ms-flex-pack:center;
  justify-content: center;
  width: 100%;
}
.text-center { text-align:center }
.text-bold, b { 
  font-weight: 600;
  line-height: 110%;
  font-size: 14pt;
}
.text-italic { font-style: italic }
.border-box { box-sizing: border-box }
.row:after {
  content: "";
  clear: both;
  display: block;
}
.no-hyphen { hyphens: none }
.subtitle {
  font-style: italic;
}
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptextL, .tooltip .tooltiptextR {
    visibility: hidden;
    
    top: -34px;
    background-color: hsl(0, 0%, 70%);
    color: hsl(45, 100%, 51%);
    text-align: center;
    font-size: 11pt;
    font-weight: bold;
    padding: 5px;
    border-radius: 3px;
    position: absolute;
    z-index: 1;
    white-space: nowrap;
}
.tooltip .tooltiptextL {
    left: 0px;
}
.tooltip .tooltiptextR {
    right: 0px;
}
.tooltip:hover .tooltiptextL, .tooltip:hover .tooltiptextR {
    visibility: visible;
}
@keyframes fade { 
  17% { opacity: 1; transform: scale(1.1);}
  27% { opacity: 0; }
}
#fader {
  width: 100vw;
  height: 90vh; 
  overflow: hidden;
  position: relative;
  top: 10px;
  max-width: 100vw; 
  border-radius: 10px;
  margin-bottom: 0px;
}
@media (min-resolution: 2dppx)
{ 
  #fader { 
    width: 200vw; 
    height: 180vh;
  }   
}
#fader div {
  position: absolute;
  display: inline-block;
  transform: scale(1.0);
  animation: fade 36s infinite;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: white; /* fallback color */
  background-position: center;
  background-size: cover;
}
#fader > div figcaption {
  position: absolute;
  left: 20%;
  width: 60%;
  top: 20%;
  font-size: 2em;
  line-height: 130%;
  font-weight: 500;
  z-index: 2;
  color: white;
  text-shadow: 0 0 10px darkred;
}
#fader div:nth-of-type(1) {
  animation-delay: 0s;
  background-image: url('images/|pic1|');
}
#fader div:nth-of-type(2) {
  animation-delay: 6s;
  background-image: url('images/|pic2|');
}
#fader div:nth-of-type(3) {
  animation-delay: 12s;
  background-image: url('images/|pic3|');
}
#fader div:nth-of-type(4) {
  animation-delay: 18s;
  background-image: url('images/|pic4|');
}
#fader div:nth-of-type(5) {
  animation-delay: 24s;
  background-image: url('images/|pic5|');
}
#fader div:nth-of-type(6) {
  animation-delay: 30s;
  background-image: url('images/|pic6|');
}
.erlebnis {
}
.text-erlebnis {
  margin-bottom: 10px;
}
.img-erlebnis {
  width: 100%;
  height: auto;
}
.erlebnis .overlay {
  width: 80%;
  opacity: 0.8;
  margin: 10%;
  padding: 20px;
  background-color: whitesmoke;
  border-radius: 20px;
  transition: all 1s ease-in-out;
}
.datum-erlebnis {
  font-size: 16pt;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 10px;
  display: flex; 
}
.link-erlebnis {
  line-height: 110%;
  display: flex;
  justify-content: flex-end;
}