/* Abstandhalter */
.spacer {
  display: none;
}

.spacer--small {
  display: block
}

@media (min-width:992px) {
  .spacer--small {
    display: none
  }

  .spacer--medium {
    display: block
  }
}

@media (min-width:1500px) {
  .spacer--medium {
    display: none
  }

  .spacer--large {
    display: block
  }
}

/* Buttons */
.btn-default,
.btn-custom1,
.btn-custom2 {
  display: inline-block;
  padding: 6px 20px;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity .3s ease, color .2s ease, background-color .2s ease;
  border: 1px solid transparent;
}

.btn-default {
  background: black;
  color: white;
}

.btn-custom1 {
  border-color: black;
  color: black;
  background-color: transparent;
}

.btn-default:focus,
.btn-default:hover,
.btn-custom1:focus,
.btn-custom1:hover,
.btn-custom2:focus,
.btn-custom2:hover {
  outline: none !important;
  text-decoration: none;
  opacity: .75;
}

.btn--align-center {
  text-align: center;
}

.btn--align-right {
  text-align: right;
}

/* Image Text */
.image-text {
  display: flex;
  flex-wrap: wrap;
}

.wpb_wrapper>.image-text {
  margin-bottom: 0;
}

.image-text__image,
.image-text__content {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box!important;
}

.image-text__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.image-text__image__inner {
  direction: rtl;
}

.image-text__image__inner__wrap {
  width: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
}

.image-text__content {
  padding: 30px 0;
}

.image-text__content__inner>*:last-child {
  margin-bottom: 0;
}

.image-text--position-bottom .image-text__image {
  order: 1;
}

@media (min-width:992px) {

  .image-text__image,
  .image-text__content {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    order: 1;
  }

  .image-text__content {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .image-text__image__inner,
  .image-text__content__inner {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .image-text--align-right .image-text__image {
    order: 2;
  }

  .image-text--size-50vw .image-text__image__inner__wrap {
    width: 50vw;
    max-width: 50vw;
  }

  .image-text--size-50vw-p .image-text__image__inner__wrap {
    width: calc(50vw - 30px);
    max-width: calc(50vw - 30px) !important;
  }

  .image-text--align-right.image-text--size-50vw .image-text__image__inner,
  .image-text--align-right.image-text--size-50vw-p .image-text__image__inner {
    direction: ltr;
  }

  .image-text--column-t-center-i-top .image-text__content__inner {
    align-self: center;
  }

  .image-text--column-t-bottom-i-top .image-text__content__inner {
    align-self: flex-end;
  }

  .image-text--column-t-center-i-cover .image-text__content__inner {
    align-self: center;
  }

  .image-text--column-t-center-i-cover .image-text__image__inner {
    align-self: stretch;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
  }

  .image-text--column-t-center-i-cover .image-text__image__inner__wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }

  .image-text--column-t-center-i-cover .image-text__image__inner__wrap img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100%;
  }

  .image-text--column-t-center-i-center .image-text__image__inner,
  .image-text--column-t-center-i-center .image-text__content__inner {
    align-self: center;
  }

  /* Abstände */
  .image-text__content {
    padding-left: 70px;
    padding-right: 0;
  }

  .image-text--align-right .image-text__content {
    padding-right: 70px;
    padding-left: 0;
  }
}

/* Video */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-21by9::before {
  padding-top: 42.8571%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

/* Fix für Borlabs */
.embed-responsive > .BorlabsCookie {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  text-align: center;
}

/* Text in weiß */
.text--white {
  color: white !important;
}

/* Visual Composer Padding bei Rows mit Hintergrund */
.vc_col-has-fill>.vc_column-inner,
.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill>.vc_column_container>.vc_column-inner {
  padding-top: 0px;
}

/* Visual Composer | Entfernen von margins unter Text-Elementen wenn ein Spacer folgt */
.wpb_content_element+.spacer {
  margin-top: -35px;
}

/* Google Maps Widget entfernen des Randes + Abstände */
.wpb_wrapper>.wpb_gmaps_widget,
.wpb_wrapper>.wpb_map_wraper {
  margin-bottom: 0;
}

.wpb_gmaps_widget .wpb_wrapper {
  padding: 0;
}

/*Teaser Karte*/
.teaser-card {
  background-color: #cecece;
  padding-bottom: 35px;
}

.teaser-card__content {
  padding: 0px 30px;
}

.teaser-card__image {
  padding-bottom: 30px;
}

.teaser-card__content__button {
  text-align: center;
  padding-top: 30px;
}

/*teaser container*/

.teaser-container {
  grid-template-columns: 100%;
  display: grid;
  grid-template-rows: auto;
  grid-gap: 30px;
}


@media (min-width:768px) {
  .teaser-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:992px) {

  .teaser-container--three-colum,
  .teaser-container--four-colum {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width:1200px) {
  .teaser-container--four-colum {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Kontakt Formular*/



/* Flex Reverse */
@media (max-width:767px) {

  .flexreverse,
  .flex-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* Borlabs Cookie */
._brlbs-bar-wrap {
  max-width: 80% !important;
}

@media (max-width:992px) {
  .cookie-box>.container>.row>.col-sm-3:nth-child(2) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #BorlabsCookieBox ._brlbs-btn {
    font-size: 1em;
  }
}

/* Button Styling */
button,
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

.swiper--pb{
  padding-bottom:4rem
}