/*! 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%;
}

/* 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 ---- */

.main-banner > .flickity-button {
  position: absolute;
  /*background: hsla(0, 0%, 100%, 0.75);*/
  border: none;
  color: #333;
}

.main-banner > .flickity-button:hover {
  /*background: white;*/
  cursor: pointer;
}

.main-banner > .flickity-button:focus {
  outline: none;
  /*box-shadow: 0 0 0 5px #19F;*/
}

.main-banner > .flickity-button:active {
  /*opacity: 0.6;*/
}

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

.main-banner > .flickity-button-icon {
  fill: currentColor;
}

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

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

.main-banner > .flickity-prev-next-button.previous { left: 1.5rem; background-image:url('../../../images/main/btn-slider-prev.png');}
.main-banner > .flickity-prev-next-button.previous:disabled {opacity:.2;}
.main-banner > .flickity-prev-next-button.next { right: 1.5rem; background-image:url('../../../images/main/btn-slider-next.png');}
.main-banner > .flickity-prev-next-button.next:disabled {opacity:.2;}
/* right to left */
.main-banner > .flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 1.5rem;
}
.main-banner > .flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 1.5rem;
}

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

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

.main-banner > .flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 5.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

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

.main-banner > .flickity-page-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px;
  background: #fff;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.main-banner > .flickity-page-dots .dot.is-selected {
  width:28px;
  opacity: 1;
}


@media (max-width:640px) {
  /* flickity mobile ver */
  .main-banner > .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 5px;
  }
  .main-banner > .flickity-prev-next-button {display:none !important;}
  .main-banner > .flickity-page-dots {bottom: 4rem;}
}

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

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

.group > .flickity-page-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px;
  background: #fff;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.group > .flickity-page-dots .dot.is-selected {
  width:28px;
  opacity: 1;
}


@media (max-width:640px) {
  /* flickity mobile ver */
  .group > .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 5px;
	background-color: #707070;
  }
  .group > .flickity-prev-next-button {display:none !important;}
  .group > .flickity-page-dots {bottom: 4rem;}
}