/**
* Block Name: teaser_cards_2
*/

section.teaser_cards_2 {
  overflow: hidden;
}

section.teaser_cards_2 .swiper-container {
  overflow: initial;
}

/* Card Frame */

section.teaser_cards_2 .card_frame {
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid #000;
  border-bottom-right-radius: 6px;
}

section.teaser_cards_2.bg_grey .card_frame {
  background: #fff;
}

section.teaser_cards_2 div.card_frame {
  overflow: hidden;
}

/* Card Icon */

section.teaser_cards_2 .icon_frame {
  position: relative;
  padding-left: 30px;
}

section.teaser_cards_2 .icon_wrapper {
  background: #edf0f0;
  display: inline-block;
  padding: 25px;
  border-bottom-right-radius: 6px;
}

/* Card Image */

section.teaser_cards_2 .img_frame {
  position: relative;
  padding-top: 270px;
}

section.teaser_cards_2 .img_wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  right: 0px;
  bottom: 0px;
}

section.teaser_cards_2 img {
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1);
  transition: -webkit-transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1);
  -o-transition: transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.2, 0.1, 0.1, 1);
  height: 100%;
}

/* Content */

section.teaser_cards_2 .content_frame {
  padding: 30px;
}

section.teaser_cards_2 p.description {
  margin-bottom: 30px;
}

/* HOVER STUFF */

section.teaser_cards_2 a:hover img {
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

/* SWIPER SPECIFIC CODE */

section.teaser_cards_2.is_swiper .swiper-slide {
  height: auto;
}

section.teaser_cards_2.is_swiper .swiper-button-prev {
  left: 0px;
  margin-right: 10px;
}

section.teaser_cards_2.is_swiper .swiper-button-next {
  right: 0px;
}

section.teaser_cards_2.is_swiper .swiper-button-next,
section.teaser_cards_2.is_swiper .swiper-button-prev {
  position: relative;
  margin-top: 0;
  top: 0px;
  padding: 25px;
  border-radius: 25px;
}

section section.teaser_cards_2.is_swiper .swiper-button-next::after,
section.teaser_cards_2.is_swiper .swiper-button-prev::after {
  font-family: "Material Icons";
  content: "";
  font-size: 14px;
  position: absolute;
  color: #fff;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: red;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

section.teaser_cards_2.is_swiper .swiper-button-next::after {
  content: "\e5e1";
}
section.teaser_cards_2.is_swiper .swiper-button-prev::after {
  content: "\e2ea";
}

@media (min-width: 576px) {
  section.teaser_cards_2.is_swiper .spalten_4 .swiper-slide.swiper-slide-next {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  section.teaser_cards_2.is_swiper .swiper-slide.swiper-slide-next {
    opacity: 1;
  }
}
@media (min-width: 992px) {
  section.teaser_cards_2.is_swiper .spalten_3 .swiper-slide.swiper-slide-next + .swiper-slide,
  section.teaser_cards_2.is_swiper .spalten_4 .swiper-slide.swiper-slide-next + .swiper-slide,
  section.teaser_cards_2.is_swiper .spalten_4 .swiper-slide.swiper-slide-next + .swiper-slide + .swiper-slide {
    opacity: 1;
  }
}

/* BLOCK SPECIFIC CODE */

section.teaser_cards_2.is_block .spalten_2 .card_wrapper:nth-child(n + 3),
section.teaser_cards_2.is_block .spalten_3 .card_wrapper:nth-child(n + 4),
section.teaser_cards_2.is_block .spalten_4 .card_wrapper:nth-child(n + 5) {
  margin-top: 30px;
}

@media (max-width: 575.98px) {
  section.teaser_cards_2.is_block .spalten_4 .card_wrapper:nth-child(n + 2) {
    margin-top: 30px;
  }
}

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

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