
/*
  TODO screen > img size

 Mobile: Menu bricht um,
 screen
  mobil text größe kleiner machen


  logo mit in den kasten

 */


body {
  top: 0;
  font-size: 28px;
  font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
  font-color: #666;
  min-width: 320px;
  text-align: left;
  line-height: 1.5;
}

.wrapper {
  display: block;
  background-color: #FFF;
  width: 100%;
  border-top: 4px solid #0088FF;
}

.inverted {
  background-color: #0088FF;

  color: #FFF;
}


.partner {
  background-color: #BBB;
  color: #000;
}


.grid {
  padding: 0.5em 0;
  margin: 0;
  list-style: none;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: left;

}

.grid p {
  text-align: justify;
}

.grid-img {
  width: 100%;
  height: auto;
  padding-top: 9px;
}

.small-img {
  display: block;
  width: 90%;
  height: auto;
  margin: 0.5em auto;
}


.item {
  color: #000;
  background: #FFF;
  border-radius: 8px;
  padding: 16px;
  margin: 16px;
  position: relative;
  overflow: hidden;
  text-align: justify;
}

.item p {
  padding: 10px;
}

.item ul {
  list-style-type: none;
  padding: 4px;
  margin: 4px;
  overflow: hidden;

}

/** HEADER --------------------------------------------------------*/

.header {
  position: fixed;
  z-index: -10;
  background: rgba(255,255,255, 0.8);
  /*border-radius: 12px;*/

  width: 100%;
  padding: 1em 0;
  margin: 0;
}

h1 {
  padding: 0;
  margin: 0;
  color: #0088FF;
  display : inline-block;
  text-align: center;

}


.pre-header {
  padding: 0;
  margin: 0;
  display : block;
  font-weight: bold;

}

/* calc((100*var(--desktop) / 12)% );
${({ theme }) => media.tablet`
                 width: calc(${props => Math.floor(100*(props.tablet !== undefined ?  props.tablet: props.desktop) / 12)+"%"} - ${props => props.design ? "48px" : "0px"});
`}

${({ theme }) => media.mobile`
                 width: calc(${props => Math.floor(100*(props.mobile !== undefined ?  props.mobile: (props.tablet !== undefined ?  props.tablet: props.desktop)) / 12)+"%"} - ${props => props.design ? "48px" : "0px"});
`}*/



@media only screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
    margin: auto;
    padding: 0.5em;
    padding-bottom: 2em;

  }



  /*.header {
    margin: 0 2em;
    top:200px;
  }*/

  h1 {
    font-size: 2.0em;
    margin: 0 3rem;
  }

  .pre-header {
    font-size: 1.6em;
    margin: 0 3rem;

  }

  .item {
    width: calc(var(--desktop) - 32px);
    padding: 4px;
    margin: 4px;
  }


  .item p {
    font-size: 20px;
  }
}

@media only screen and (min-width: 768px)  and (max-width: 1280px) {
  .container {
    padding: 0.3em 0.5em;
    padding-bottom: 2em;
    max-width: 1280px;
    font-size: 22px;
  }

  /*
  .header {
    margin: 0 1em;
    top:120px;

  }*/

  h1 {
    font-size: 1.8em;
    margin: 0 1rem;
  }

  .pre-header {
    font-size: 1.6em;
     margin: 0 1rem;
  }

  .item {
    width: calc(var(--tablet) - 32px);

  }
}

@media only screen and (max-width: 768px) {
  .container {
    padding: 0.3em;
    padding-bottom: 2em;
    max-width: 768px;
    font-size: 16px;
  }

  .container p {
    padding: 0.5em;
  }

  /*
  .header {
    margin: 0 10px;
    top:120px;
  }*/

  h1 {
    font-size: 1em;
    margin: 0 0.5rem;
  }

  .pre-header {
    font-size: 0.8em;
    margin: 0 0.5rem;
  }


  .header {
    padding: 0.5em 0;
  }

  h3 {
    font-size: 1em;
    margin: 0.5rem;
  }

  .item {
    width: calc(var(--mobile) - 8px);
    padding: 4px;
    margin: 4px;
  }
}


.teaser-wrap {
  z-index: -10;
  position: fixed;
  min-height: 70vh;

}


.teaser-img {
  z-index: -10;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 70vh;
}
/*
.teaser-wrap:after {
  content: " ";
  z-index: 1;
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255, 0.4);
}*/

.teaser-place {
  min-height: 70vh;
}



/** MENU --------------------------------------------------------*/

.liimg {
  float: left;
  line-height: 1em;
  display: inline-block;
  color: white;
  text-align: left;
  text-decoration: none;
  position: relative;
  width: 200px;
}

.liimgtext {
  display: inline-block;
  text-align: center;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}


.menuimg {
  height: 48px;
  margin: 0;
  margin-right: 10px;
  padding: 0;

}
.impressum {
  font-size: 0.9em;
  padding: 4px;
  margin: 4px 8px;

}

.impressum ul {
  list-style-type: none;
  margin: 10px 0;
  padding: 0;
  overflow: hidden;

}
.topnav {
  overflow: hidden;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  background-color: #0088FF;
  z-index: 999;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  font-size: 0.8em;
  border-bottom: 2px solid #FFF;
}

.topnav a {
  float: left;
  font-size: 17px;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a:hover {
  background-color: #FFF;
  color: #0088FF;
}

.topnav a.active {
  background-color: #FFF;
  color: #0088FF;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 768px) {
  .topnav a:not(:first-child) {display: none;}

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .topnav.responsive .liimg {display: none;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/** FOOTER --------------------------------------------------------*/




#footer_menu {
  background-color: #0088FF;
  overflow: hidden;
  font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
  font-size: 0.8em;
  display: fixed;
  text-align: center;
  width: 100%;
  left: 0;
  bottom: 0;

}

#footer_menu ul {
  list-style-type: none;
  margin: 20px;
  padding: 0;
  overflow: hidden;
}

#footer_menu li {

  margin: 0;
  padding: 4px;
  font-size: 0.8em;
}

.footer_content {
  color: #FFF;
}

#footer_menu a {
  display: inline-block;
  color: #FFF;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
}

#footer_menu a:hover {

   color: #000;
 }


@media screen and (max-width: 768px) {


  #footer_menu {
    font-size: 0.5em;
  }
}