/* Slick slider */
.slider .slide-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slider .slider-contents {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* slick infinite효과 깜빡임 제거 */
.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition-delay: 10ms;
}

/* slider arrow*/
:root {
  --arrow-width: 50px;
  --arrow-height: 50px;
  --arrow-ratio: unset;
  --arrow-position: 50px;
  --arrow-image: url("/themes/pes_type_c/assets/images/slide_arrow.svg");
}

.slide-prev,
.slide-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: var(--arrow-width);
  height: var(--arrow-height);
  aspect-ratio: var(--arrow-ratio);
  padding: 0;
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  z-index: 99;
}

.slide-prev:before,
.slide-next:before {
  content: "";
  font-size: 0;
  width: inherit;
  height: inherit;
  aspect-ratio: inherit;
  display: block;
  background-image: var(--arrow-image);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.slide-prev {
  left: var(--arrow-position);
  transform: translate(0, -50%) rotate(180deg);
}

.slide-next {
  right: var(--arrow-position);
}

/* slider dots */
:root {
  --dot-position: -45px;
  --dot-width: 8px;
  --dot-height: 8px;
  --dot-gap: 8px;
  --dot-color: #ddd;
  --dot-active-color: var(--color-primary);
}

.slide-dots {
  position: absolute;
  bottom: var(--dot-position);
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slide-dots li {
  position: relative;
  display: inline-block;
  width: var(--dot-width);
  height: var(--dot-height);
  margin: 0 calc(var(--dot-gap) / 2);
  padding: 0;
  cursor: pointer;
}

.slide-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: inherit;
  height: inherit;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slide-dots li button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background-color: var(--dot-color);
}

.slide-dots li.slick-active {
  width: 16px;
}

.slide-dots li.slick-active button:before {
  background-color: var(--dot-active-color);
  border-radius: 50px;
}

/* slide dots number */
.slide-dots.num {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.slide-dots.num li {
  display: none;
  width: auto;
  height: auto;
  line-height: 1;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  background: var(--color-text);
  width: fit-content;
  margin: 0 auto;
  padding: 6px 12px;
  border-radius: 30px;
}

.slide-dots.num li.slick-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dd */
.slide-dots.pagebar {
  --dot-width: 100%;
  --dot-height: 2px;
  --dot-gap: 0;
  background: var(--dot-color);
  width: 90%;
  height: var(--dot-height);
  max-width: var(--container-width);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.slide-dots.pagebar li {
  flex: 1;
}

.slide-dots.pagebar li button {
  background: var(--dot-color);
}

.slide-dots.pagebar li.slick-active button {
  animation: pagebar 3.5s forwards;

}

@keyframes pagebar {
  0% {
    background: var(--dot-color);
    width: 0;
  }

  100% {
    background: var(--color-primary);
    width: 100%;
  }
}

.pagebar-num {
  position: absolute;
  left: 50%;
  bottom: 8.5vh;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--container-width);
  line-height: 1;
  color: #fff;
  font-family: 'Poppins';
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
}


/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  .slide-dots.num {
    zoom: .8;
  }
}