/*! Flickity v2.2.2
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%;
}

/* 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;
  background: transparent;
  border: none;
  color: inherit;
}

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

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

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

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

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

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

.flickity-prev-next-button.previous { left: -15px; }
.flickity-prev-next-button.next { right: -15px; }
/* 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: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  line-height: 1;
}

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

.flickity-page-dots .dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  padding: 0;
  margin: 0 8px;
  background: transparent;
  border: 1px solid;
  border-color: inherit;
  border-radius: 50%;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  background-color: var(--color-black);
}

.slides .carousel-cell {
  width: 90%;
  height: 590px;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-left: 88px;
}

.slides .carousel-cell-caption {
  justify-content: center;
  align-items: center;
  width: 40%;
}

.slides .carousel-image {
  display: block;
  width: 60%;
  height: auto;
  max-height: 100%;
}

.slides .carousel .carousel-cell-caption {
  font-size: inherit !important;
  text-align: left;
  font-weight: normal;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-slideshow .carousel-cell {
  width: 100%;
}

.custom-slideshow img {
  height: 550px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.custom-slideshow .carousel-cell-caption {
  margin-top: .5rem;
  text-align: center;
}

.custom-slideshow .flickity-page-dots {
  bottom: -40px;
}

/* .alignwide .flickity-prev-next-button.previous {
  left: -50px;
}

.alignwide .flickity-prev-next-button.next {
  right: -50px;
} */

@media screen and (max-width:1200px) {

  .slides .carousel-cell {
    height: 500px;
  }

}

@media screen and (max-width:1024px) {

  .slides .carousel-cell {
    height: 450px;
  }

}

@media screen and (max-width: 768px) {
  .alignwide .flickity-prev-next-button.previous {
    left: -10px;
  }

  .alignwide .flickity-prev-next-button.next {
    right: -10px;
  }

  .flickity-prev-next-button {
    width: 50px;
    height: 50px;
  }

  .custom-slideshow img {
    height: 300px;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .slides .carousel-cell {
    width: 100%;
    height: 680px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-left: 88px;
    flex-direction: column;
  }

  .slides .carousel-cell-caption {
    width: 80%;
  }

  .slides .carousel-image {
    width: 100%;
  }

  .slides .flickity-prev-next-button {
    top: calc(50% + 150px);
  }


  .slides .carousel .carousel-cell-caption {
    font-size: inherit !important;
    text-align: left;
    font-weight: normal;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 500px) {

  .slides .flickity-prev-next-button {
    top: calc(50% + 60px);
  }

}
