﻿.scrollableTextCarouselWidget .box {
  background-color: var(--site-grey);
  height: auto;
  padding: 130px 60px;
  text-align: center;
  align-self: stretch;
  max-width: 464px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .scrollableTextCarouselWidget .box h3 {
    font-family: var(--font-museosans);
    font-size: 1.38889rem;
    font-weight: 600;
    letter-spacing: 0.06944rem;
    text-transform: uppercase;
    margin-bottom: 30px;
  }

  .scrollableTextCarouselWidget .box .rteCopy {
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.05rem;
  }

  .scrollableTextCarouselWidget .btn {
    margin-top: 30px;
  }

.scrollableTextCarouselWidget .swiper .swiper-button-next,
.scrollableTextCarouselWidget .swiper .swiper-button-prev,
.scrollableTextCarouselWidget .swiper .swiper-pagination {
  opacity: 0;
  scale: 0.75;
  transition: 0.2s linear;
  border: 2px solid var(--site-black);
  border-radius: 50%;
  color: var(--site-black);
  padding: 10px;
  background-color: var(--site-lightblue);
  margin: 0 20px;
}

.scrollableTextCarouselWidget .swiper .swiper-pagination {
  border: none;
  background-color: transparent;
  margin: 0;
}

.scrollableTextCarouselWidget .swiper:hover .swiper-button-next,
.scrollableTextCarouselWidget .swiper:hover .swiper-button-prev,
.scrollableTextCarouselWidget .swiper:focus-within .swiper-button-next,
.scrollableTextCarouselWidget .swiper:focus-within .swiper-button-prev,
.scrollableTextCarouselWidget .swiper:hover .swiper-pagination,
.scrollableTextCarouselWidget .swiper:focus-within .swiper-pagination {
  opacity: 1;
  scale: 1;
}

.scrollableTextCarouselWidget .swiper-pagination .swiper-pagination-bullet {
  background-color: transparent;
  border: 2px solid var(--site-black);
  opacity: 1;
}

.scrollableTextCarouselWidget .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--site-black);
}

@media (max-width: 767px) {
  .scrollableTextCarouselWidget .box {
    padding: 60px 30px;
  }

  .scrollableTextCarouselWidget .swiper-button-next,
  .scrollableTextCarouselWidget .swiper-button-prev {
    bottom: 0 !important;
    top: initial !important;
    z-index: 1000;
  }
}