﻿@media only screen and (max-width: 1024px) {
  .carousel {
    width: 100%;
    height: auto;
    background-size: 100%;
  }
  .carousel .carousel-cell,
  .doubleTeaser .sizeHalf .inner {
    width: 100%;
    height: calc(50vw + 1px - 20px);
    /*padding: calc(3.4em * @screenFactor) calc(5.4em* @screenFactor) calc(4em * @screenFactor) calc(6em * @screenFactor);*/
    counter-increment: gallery-cell;
    /*border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8*/
  }
  .flickity-prev-next-button,
  .flickity-prev-next-button:hover {
    background: none;
  }
  .flickity-prev-next-button .arrow {
    fill: #81C929;
  }
  .flickity-page-dots {
    bottom: 1em !important;
  }
  .flickity-page-dots .dot {
    border: 1px solid #81C929;
    opacity: 1;
    background: transparent;
    width: 1em;
    height: 1em;
    margin: 1em;
  }
  .flickity-page-dots .dot.is-selected {
    background: #81C929;
  }
  .doubleTeaser ul.alternative li {
    line-height: calc(1.72em * ) !important;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  .carousel {
    width: 100%;
    height: auto;
    background-size: 100%;
  }
  .carousel .carousel-cell,
  .doubleTeaser .sizeHalf .inner {
    width: 100%;
    height: calc(50vw + 1px - 20px);
    /*padding: calc(3.4em * @screenFactor) calc(5.4em* @screenFactor) calc(4em * @screenFactor) calc(6em * @screenFactor);*/
    counter-increment: gallery-cell;
    /*border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8*/
  }
  .flickity-prev-next-button,
  .flickity-prev-next-button:hover {
    background: none;
  }
  .flickity-prev-next-button .arrow {
    fill: #81C929;
  }
  .flickity-page-dots {
    bottom: 1em !important;
  }
  .flickity-page-dots .dot {
    border: 1px solid #81C929;
    opacity: 1;
    background: transparent;
    width: 1em;
    height: 1em;
    margin: 1em;
  }
  .flickity-page-dots .dot.is-selected {
    background: #81C929;
  }
  .doubleTeaser ul.alternative li {
    line-height: calc(1.72em * ) !important;
  }
}
@media only screen and (min-width: 1201px) and (max-width: 1280px) {
  .carousel {
    width: 100%;
    height: auto;
    background-size: 100%;
  }
  .carousel .carousel-cell,
  .doubleTeaser .sizeHalf .inner {
    width: 100%;
    height: calc(50vw + 1px - 20px);
    /*padding: calc(3.4em * @screenFactor) calc(5.4em* @screenFactor) calc(4em * @screenFactor) calc(6em * @screenFactor);*/
    counter-increment: gallery-cell;
    /*border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8*/
  }
  .flickity-prev-next-button,
  .flickity-prev-next-button:hover {
    background: none;
  }
  .flickity-prev-next-button .arrow {
    fill: #81C929;
  }
  .flickity-page-dots {
    bottom: 1em !important;
  }
  .flickity-page-dots .dot {
    border: 1px solid #81C929;
    opacity: 1;
    background: transparent;
    width: 1em;
    height: 1em;
    margin: 1em;
  }
  .flickity-page-dots .dot.is-selected {
    background: #81C929;
  }
  .doubleTeaser ul.alternative li {
    line-height: calc(1.72em * ) !important;
  }
}
@media only screen and (min-width: 1281px) {
  .carousel {
    width: 100%;
    height: auto;
    background-size: 100%;
  }
  .carousel .carousel-cell,
  .doubleTeaser .sizeHalf .inner {
    width: 100%;
    height: calc(50vw + 1px - 20px);
    /*padding: calc(3.4em * @screenFactor) calc(5.4em* @screenFactor) calc(4em * @screenFactor) calc(6em * @screenFactor);*/
    counter-increment: gallery-cell;
    /*border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8*/
  }
  .flickity-prev-next-button,
  .flickity-prev-next-button:hover {
    background: none;
  }
  .flickity-prev-next-button .arrow {
    fill: #81C929;
  }
  .flickity-page-dots {
    bottom: 1em !important;
  }
  .flickity-page-dots .dot {
    border: 1px solid #81C929;
    opacity: 1;
    background: transparent;
    width: 1em;
    height: 1em;
    margin: 1em;
  }
  .flickity-page-dots .dot.is-selected {
    background: #81C929;
  }
  .doubleTeaser ul.alternative li {
    line-height: calc(1.72em * ) !important;
  }
}
.doubleTeaser {
  width: 100%;
}
/*Clearfix-Hack*/
.doubleTeaser::after {
  content: "";
  display: table;
  clear: both;
}
/* OverlayBox */
.overlayBox {
  position: fixed;
  left: 100%;
  top: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: scroll;
  z-index: 14;
  -webkit-transition: all 0.3s ease-in-out, left 1ms ease-in-out 0.6s;
  transition: all 0.3s ease-in-out, left 1ms ease-in-out 0.6s;
  opacity: 0;
  outline: none;
}
.overlayBox .closeOverlayBox {
  display: none;
  position: fixed;
  right: 20vw;
  top: 6em;
  width: 2.2em;
  height: 2.2em;
  cursor: pointer;
  z-index: 90;
}
.overlayOpen .overlayBox .closeOverlayBox {
  display: block;
}
.overlayBox .closeOverlayBox svg {
  width: 2.2em;
  height: 2.2em;
}
.overlayBox .closeOverlayBox svg path {
  fill: #333333;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.overlayBox .closeOverlayBox:hover svg path {
  fill: #81C929;
}
.overlayBox .overlayInner {
  background: #ffffff;
  width: 60vw;
  min-width: 62em;
  margin: 4em auto 4em auto;
}
.overlayBox .overlayInner h1,
.overlayBox .overlayInner h2,
.overlayBox .overlayInner h3,
.overlayBox .overlayInner h4,
.overlayBox .overlayInner h5 {
  text-align: center;
}
.overlayBox .overlayInner h1 {
  font-size: 2em;
}
.overlayBox .overlayInner .box {
  display: none;
  padding: 1em 0 2em 0;
}
.overlayBox .overlayInner .textBox {
  width: 68%;
  height: auto;
  margin: 4em auto 4.8em auto;
}
.overlayOpen .overlayBox {
  -webkit-transition: all 0.3s ease-in-out, left 1ms ease-in-out;
  transition: all 0.3s ease-in-out, left 1ms ease-in-out;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 1;
}
.overlayOpen body {
  position: relative;
  overflow: hidden;
}
@media only screen and (max-width: 768px) {
  .overlayBox .closeOverlayBox {
    right: 2vw;
  }
  .overlayBox .overlayInner {
    width: 100vw;
    min-width: 100vw;
    margin: 0;
  }
  .overlayBox .overlayInner .textBox {
    width: 100vw;
    height: auto;
    margin: 4em auto 4.8em auto;
  }
}
/* OverlayBox Ende */
/* Expandable divs with icons and teaser */
.msg_info {
  padding: 0;
  width: auto;
  margin: 2em 0 2.4em 0;
}
.msg_infohead {
  font-family: Verdana;
  font-size: 1.22em;
  padding: 0.6em 0em 0.6em 0;
  font-weight: normal;
  cursor: pointer;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin: 0.4em 0 0 0;
}
.msg_infohead:hover {
  background-color: #F2F2F2;
}
.tbl {
  display: inline-table;
  width: inherit;
  width: 92%;
  max-width: 92%;
  padding-top: 0.28em;
}
.rw {
  display: table-cell;
  color: #333333;
  vertical-align: middle;
  text-align: left;
}
.rw-icon {
  width: 2.68em;
  max-width: 2.68em;
  text-align: center;
}
.rw-icon i {
  font-size: 1.4em;
  margin-left: auto;
  margin-top: 0.12em;
}
.rw .teaser {
  font-size: 0.6em;
  margin: 0.6em auto 0.6em 0em;
  display: block;
}
.msg_infobody {
  padding: 1em 0em 0.8em 1.4em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #e5e5e5;
}
.msg_infobody a {
  text-decoration: none;
}
.msg_infobody ul {
  margin-left: 3.2em;
  margin-top: 1.2em;
}
.offen:after,
.geschlossen:after {
  font-size: 1em;
  font-family: FontAwesome;
  margin-right: 0em;
  margin-top: 0.5em;
  float: right;
  text-align: center;
  display: inline-block;
  min-width: 1.2em;
}
.geschlossen:after {
  content: '\f105';
  /* FontAwesome char code inside the '' */
  color: #333333;
}
.offen:after {
  content: '\f107';
  /* FontAwesome char code inside the '' */
  color: #80C826;
}
@media only screen and (max-width: 768px) {
  .rw-icon {
    width: 2em;
    padding-right: 0.6em;
  }
  .offen:after,
  .geschlossen:after {
    min-width: 1px;
    padding-right: 0.4em;
  }
}
/* Expandable divs with icons and teaser Ende*/
/* Expandable divs - FAQ Version */
.faq-parent-head {
  position: relative;
  cursor: pointer;
  text-align: center;
  display: block;
  color: #80c826;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.2em;
  line-height: 1.4em;
  min-height: 2.6em;
  border-bottom: 1px solid #ffffff;
  background: #f2f2f2;
  padding: 1.4em 2em 1.12em 2em;
}
.faq-parent-head span {
  font-family: Verdana;
  font-weight: bold;
}
.faq-parent-offen {
  background: #81C929;
  color: #ffffff;
}
.faq_head {
  min-height: 2.6em;
  padding: 0.86em 2em 0.8em 0.2em;
  line-height: 1.3em;
  text-align: left;
  font-size: 1.28em;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}
.faq_head:hover span {
  color: #81C929;
}
.faq_head span {
  width: 100%;
  display: inline-block;
}
.faq_body {
  /*color: #80c826;*/
  padding: 1.2em 0.2em 1.8em 0.4em;
  text-align: left;
  border-top: 1px solid #81C929;
  border-bottom: 1px solid #e5e5e5;
  border-collapse: collapse;
  font-size: 1em;
  letter-spacing: 0.05em;
  line-height: 1.68em;
}
.faq_body a {
  text-decoration: none;
}
.faq-offen {
  color: #81C929;
  border-top: 1px solid #81C929;
}
.faq-offen:after,
.faq-geschlossen:after {
  font-size: 1.1em;
  font-family: FontAwesome;
  /*color: #80C826;*/
  margin: 0em -1.6em auto auto;
  vertical-align: middle;
  float: right;
}
.faq-geschlossen:after {
  content: '\f105';
  /* FontAwesome char code inside the '' */
  color: #333333;
}
.faq-offen:after {
  content: '\f107';
  /* FontAwesome char code inside the '' */
  color: #80C826;
}
/* Ende Expandable divs  - FAQ Version */
/* Einbindung Videos */
.video-wrap {
  width: 44em;
  max-width: 98%;
  height: auto;
  margin: 0em auto 4em auto;
  display: block;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  background: #f2f2f2;
}
.video-container-border {
  border: 1px solid #559333;
}
.video-container iframe {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
/* Ende Einbindung Videos */
/* iBox - Vergrößern einblenden bei Bildern */
div.enlarge {
  width: 100%;
  height: auto;
  margin-top: 1.8em;
  margin-bottom: 1.8em;
  padding: 1.6em;
  float: left;
  background-color: #F2F2F2;
  position: relative;
}
.imageself {
  /*float:left;*/
  max-width: 50%;
  width: 50%;
  height: auto;
}
.imageself img {
  max-width: 100%;
  width: auto;
  height: auto;
}
.imagetext {
  max-width: 50%;
  font-size: 0.82em;
  text-align: justify;
  padding: 1.6em 0 0em 4em;
  line-height: 1.4em;
  position: absolute;
  bottom: 2.4em;
  right: 2em;
}
.enlarge a {
  border: none !important;
}
.enlarge a:after {
  content: "\00a0Vergrössern";
  background: url('/images/svgs/search.svg') left no-repeat;
  background-size: 1.1em 1.1em;
  font-size: 0.82em;
  text-transform: uppercase;
  padding-left: 1em;
  margin-top: 0.2em;
  letter-spacing: 0.2em;
  margin-bottom: 0.6em;
  float: right;
  position: absolute;
  right: 1.6em;
  top: 1.6em;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /*Target Internet Explorer 10 and 11*/
  .enlarge a:after {
    background: url('/images/search.png') left no-repeat;
    background-size: 1.1em 1.1em;
  }
}
@media only screen and (max-width: 767px) {
  .imageself {
    max-width: 100%;
    width: auto;
    text-align: center;
    display: block;
    float: none;
  }
  .imageself img {
    max-width: 80%;
  }
  .imagetext {
    max-width: 100%;
    font-size: 1em;
    text-align: center;
    padding: 0;
    margin: 4.6em 0 0 4em;
    line-height: 1.4em;
    position: relative;
  }
  .enlarge a {
    display: inline;
  }
  .enlarge a:after {
    display: block;
    position: absolute;
    float: none;
    width: 25%;
    top: auto;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
}
/* iBox - Ende Vergrößern einblenden bei Bildern */
@media only screen and (min-width: 769px) {
  .desktop-right {
    float: right !important;
  }
}
@media only screen and (max-width: 768px) {
  .carousel .carousel-cell {
    width: 100%;
    height: auto;
    min-height: 100%;
  }
}
.moreTeaser {
  width: 100%;
  height: 26em;
  background-color: #f2f2f2;
  text-align: center;
  padding-top: 3em;
  padding-bottom: 3em;
  border-top: 2px solid #ffffff;
}
.moreTeaser .moreTeaser-item {
  width: 50%;
  height: 15em;
  position: relative;
  float: left;
  margin-top: 2em;
  padding: 1em 8em 6em 8em;
}
.moreTeaser .moreTeaser-item h2 {
  font-size: 1.24em;
  margin-bottom: 0.8em;
}
.moreTeaser .buttonFD {
  position: absolute;
  float: none;
  bottom: 0;
  transform: translateX(-50%);
}
.moreTeaser-item:first-of-type {
  border-right: 2px solid #ffffff;
}
@media only screen and (max-width: 768px) {
  .moreTeaser {
    height: 44em;
  }
  .moreTeaser .moreTeaser-item {
    width: 100%;
    height: auto;
    float: none;
    padding: 1em 2em 6em 2em;
  }
  .moreTeaser-item:first-of-type {
    border-right: none;
  }
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.64);
  padding: 7.2em 14em 2em 14em;
  z-index: 99;
  overflow-y: scroll;
}
.overlay .overlay-inner {
  width: 100%;
  padding: 5em 5em 4em 6em;
  background-color: #ffffff;
  border-radius: 1.4em;
}
.overlay .overlay-inner .overlay-x {
  float: right;
  color: #81C929;
  font-size: 1.6em;
  margin-top: -1em;
  transform: scale(1.4, 1);
  cursor: pointer;
}
.overlay .overlay-inner h3,
.overlay .overlay-inner h4 {
  margin-bottom: 0.28em;
}
.overlay .overlay-inner p:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
  .overlay {
    padding: 2em 2em 2em 2em;
    overflow-y: scroll;
  }
  .overlay .overlay-inner {
    width: 100%;
    padding: 4em 2em 3em 2em;
  }
  .overlay .overlay-inner .overlay-x {
    margin-top: -1.6em;
  }
}
.js-showOverlay {
  color: #81C929;
  text-decoration: underline;
  cursor: pointer;
}