.hero-slider .image {
  background-position: center;
  background-size: cover;
}

.hero-slider {
  background-color: transparent;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-slider .slide__text .text{
    position: absolute;
    bottom: 20px;
    color: white;
    left: 40px;
    width: 50vw;
    padding: 0 20px;
}

@media (max-width: 768px) {
  .hero-slider .slide__text .text{
    width: 80vw;
    bottom: 0;
  }
}

.hero-slider .slide__text .true{
  left: unset;
  right: 40px;
 }

.hero-slider .slide__text .quote {
  color: #fff;
}

.hero-slider .author {
  color: #1c4151;
  font-weight: bolder;
}
.hero-slider .role {
  color: #1c4151;
}
.hero-slider .mobile {
  display: none;
}

/*! Flickity v2.2.1
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slider .carousel-cell {
  width: 100%;
}
.carousel-cell .main {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 9999
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  border: none;
  color: #fff;
  background-color: transparent;
  padding: 0;
}

.flickity-button:hover {
  cursor: pointer;
  background-color: transparent;
}

.flickity-button:focus {
  outline: none;
  background-color: transparent;
}

.flickity-button:active {
  opacity: 0.6;
  background-color: transparent;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous {
  left: 10px;
}
.flickity-prev-next-button.next {
  right: 10px;
}
.flickity-button-icon {
  border: none;
}
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .flickity-prev-next-button {
    top: 260px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* vertically center */
  }
  .flickity-prev-next-button.previous {
    left: 0px;
  }
  .flickity-prev-next-button.next {
    right: 0px;
  }
  .image {
  }
  .hero-slider .main-carousel {
  }
  .carousel-cell .slide__text {
    flex: 2;
  }
  .carousel-cell .slide__text .text {
    background-color: rgba (250,250,250, 0.5);
    padding: 1rem;
  }
  .carousel-cell .slide__text p {
    margin: 0;
  }
  .carousel-cell .slide__text span {
    margin: 0;
  }
  .carousel-cell .slide__text h1 {
  }
  }
  .hero-slider .mobile {
  }
  .carousel-cell {
  }
  .carousel-cell .main {
    justify-content: start;
    align-items: top;
  }
  .hero-slider .mobile {
    display: unset;
  }
  .hero-slider .main .author {
    display: none;
  }
  .hero-slider .main .role {
    display: none;
  }
  .hero-slider .slide__text .role {
    color: #1c4151;
  }
}
