/**
* Block Name: teaser_cards
*/

section.teaser_cards .img_frame {
  position: relative;
  margin-bottom: 30px;
  padding-top: 75%;
}
section.teaser_cards .img_wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  right: 0px;
  bottom: 0px;
}
section.teaser_cards img {
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  height: 100%;
}
section.teaser_cards a:hover img {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
section.teaser_cards p.description {
  margin-bottom: 30px;
}

section.teaser_cards .card_wrapper {
  padding-bottom: 30px;
}

/* SWIPER SPECIFIC CODE */
section.teaser_cards.is_swiper .swiper-slide {
  height: auto;
}

section.teaser_cards.is_swiper .swiper-button-prev {
  left: 0px;
}
section.teaser_cards.is_swiper .swiper-button-next {
  right: 0px;
}
section.teaser_cards.is_swiper .swiper-button-next,
section.teaser_cards.is_swiper .swiper-button-prev {
  height: 60px;
  width: 60px;
  padding: 10px;
  background: #a8cf38;
  top: 180px;
}
section.teaser_cards.is_swiper .swiper-button-next svg,
section.teaser_cards.is_swiper .swiper-button-prev svg {
  height: 100%;
  width: 100%;
}

/* BLOCK SPECIFIC CODE */
section.teaser_cards.is_block .spalten_2 .card_wrapper:nth-child(n + 3),
section.teaser_cards.is_block .spalten_3 .card_wrapper:nth-child(n + 4),
section.teaser_cards.is_block .spalten_4 .card_wrapper:nth-child(n + 5) {
  margin-top: 30px;
}
@media (max-width: 575.98px) {
  section.teaser_cards.is_block .spalten_3 .card_wrapper:nth-child(n + 2),
  section.teaser_cards.is_block .spalten_4 .card_wrapper:nth-child(n + 2) {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  section.teaser_cards.is_block .spalten_2 .card_wrapper:nth-child(n + 2),
  section.teaser_cards.is_block .spalten_4 .card_wrapper:nth-child(n + 3) {
    margin-top: 30px;
  }
}

@media (max-width: 991.98px) {
  section.teaser_cards.is_block .spalten_3 .card_wrapper:nth-child(n + 3),
  section.teaser_cards.is_block .spalten_4 .card_wrapper:nth-child(n + 4) {
    margin-top: 30px;
  }
}
