/**
* Block Name: slider
*/

section.slider .container {
  margin: 0 auto;
  height: 100%;
  padding: 0 4em;
  overflow: hidden;
}

section.slider .swiper-container {
  width: 100%;
  height: 100%;
  max-height: 538px;
}

section.slider .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  opacity: 0.25;
  height: 100%;
  width: auto;
  transition: all 300ms ease-out;
}

section.slider .swiper-slide img {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.slider .swiper-slide-visible,
section.slider .swiper-slide-active {
  opacity: 1 !important;
}

section.slider .swiper-slide:hover {
  opacity: 1;
}

section.slider
  .swiper-pagination
  .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
  background: var(--weiss);
  border: 1px solid var(--rot);
  opacity: 1;
}

section.slider .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--rot);
}

section.slider .caption {
  border-radius: 0px 0px 20px 20px;
  background: rgba(50, 54, 139, 0.7);
  backdrop-filter: blur(5px);
  color: var(--weiss);
  padding: 10px 30px;
  position: relative;
  bottom: 38px;
  text-align: left;
}

section.slider .caption span {
  font-size: 12px;
}

@media (min-width: 992px) {
  section.slider .container .box {
    padding-left: 30px;
  }
}

@media (max-width: 992px) {
  section.slider .container {
    padding: 0;
  }

  section.slider .container .col-lg-10 {
    padding: 0 !important;
  }
}
