/**
* Block Name: teaser_slider
*/

/* General Styles */

section.teaser_slider .teaser_card {
  background: #fff;
  position: relative;
  border: 2px solid #000;
  border-radius: 0px 0px 6px 0px;
}

section.teaser_slider .image_title {
  padding-left: 70px;
}

section.teaser_slider .image_title.hochformat {
  min-height: 700px;
}

section.teaser_slider .teaser_card h3 {
  position: absolute;
  left: 15px;
  bottom: 0px;
  padding-bottom: 15px;
  -webkit-margin-before: 0;
  margin-block-start: 0;
  -webkit-margin-after: 0;
  margin-block-end: 0;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  /* `vertical-rl` and a rotation will achieve the same effect */
  -webkit-transform: scaleX(-1) scaleY(-1);
  -ms-transform: scaleX(-1) scaleY(-1);
  transform: scaleX(-1) scaleY(-1);
  margin-bottom: 0;
}

section.teaser_slider .image_title .img_wrapper {
  padding-top: 420px;
  padding-top: max(420px, 100%);
  position: relative;
  width: 100%;
}

section.teaser_slider .image_title .img_wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

section.teaser_slider .teaser_card .svg_wrapper {
  width: 70px;
  min-width: 70px;
}

section.teaser_slider .teaser_card .svg_wrapper svg {
  margin-left: 15px;
  margin-top: 15px;
}

section.teaser_slider .teaser_card p {
  padding-right: 30px;
  font-family: "IBM Plex Mono", monospace;
  -webkit-transition: 0.15s linear all;
  -o-transition: 0.15s linear all;
  transition: 0.15s linear all;
  font-size: 16px;
}

section.teaser_slider a:hover .teaser_card p {
  color: #00b5e2;
  -webkit-transition: 0.3s ease all;
  -o-transition: 0.3s ease all;
  transition: 0.3s ease all;
}

/* Swiper specific Styles */

section.teaser_slider {
  overflow: hidden;
}

section.teaser_slider .swiper-container {
  overflow: initial;
  padding: 0px 15px;
}

section.teaser_slider .swiper-wrapper {
  margin-top: 50px;
}

section.teaser_slider .swiper_button {
  cursor: pointer;
  -webkit-transition: 0.15s linear all;
  -o-transition: 0.15s linear all;
  transition: 0.15s linear all;
  height: 34px;
  color: #fff;
  font-size: 16px;
}

section.teaser_slider .swiper_button:hover {
  color: #00b5e2;
  -webkit-transition: 0.3s linear all;
  -o-transition: 0.3s linear all;
  transition: 0.3s linear all;
}

section.teaser_slider .swiper_button.swiper_button_prev {
  background: #000000;
  border-radius: 0px 0px 6px 0px;
  width: 34px;
}

section.teaser_slider .swiper_button.swiper_button_next {
  padding-left: 12px;
  padding-right: 3px;
  background: #262b2e;
  border-radius: 0px 0px 6px 6px;
}

section.teaser_slider .swiper_button svg {
  -webkit-transition: 0.15s linear all;
  -o-transition: 0.15s linear all;
  transition: 0.15s linear all;
}

section.teaser_slider .swiper_button.swiper_button_prev svg {
  fill: #fff;
}

section.teaser_slider .swiper_button.swiper_button_next svg {
  fill: #fff;
}

section.teaser_slider .swiper_button:hover svg {
  fill: #00b5e2;
  -webkit-transition: 0.3s linear all;
  -o-transition: 0.3s linear all;
  transition: 0.3s linear all;
}

section.teaser_slider .swiper-slide {
  height: initial;
}

/* @media (max-width: 767.9px) {
  section.teaser_slider
    .swiper-container
    .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
  }
}

@media (min-width: 768px) {
  section.teaser_slider
    .swiper-container
    .swiper-slide:not(.swiper-slide-next):not(.swiper-slide-active) {
    opacity: 0.5;
  }
} */

@media (max-width: 991.98px) {
  section.teaser_slider .teaser_card h3 {
    font-size: 28px;
  }
}
