// FLICKITY

.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%;
}
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.flickity-prev-next-button {
  position: absolute;
  top: 0;
  width: 33%;
  height: 100%;
  border: none;
  background: none;
  z-index: 888;
}
.flickity-prev-next-button:focus {
  outline: none;
}
.flickity-prev-next-button.previous {
  left: 0;
  cursor: w-resize;
}
.flickity-prev-next-button.next {
  right: 0;
  cursor: e-resize;
}
.flickity-prev-next-button:disabled {
  cursor: auto;
}
.flickity-prev-next-button svg {
  display: none;
}
.flickity-page-dots {
  position: absolute;
  width: 100%; height: 50px;
  bottom: -3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}
.flickity-page-dots .dot {
  display: inline-block;
  width: 40px; height: 100%;
  cursor: pointer;

  &::before {
    content: '';
    display: block;
    width: 80%; height: 1px;
    margin: 24px 10% 0 10%;
    background: hsl(0,0%,100%);
    transition: margin 0.15s ease;
  }

  &:hover::before {
    background: hsl(180,5%,70%);
  }

}
.flickity-page-dots .dot.is-selected::before {
  margin-top: 36px;
}

@media (max-width: 480px) {
  .flickity-page-dots {
    display: none;
  }
}
