.slider__class1-prev,
.slider__class1-next {
  /* 以下變更左右符號大小 */
  height: 20px;
  width: 20px;
  /*margintop請下-height的2分之1*/
  margin-top: -10px;
  /* ----- */

  position: absolute;
  z-index: 2;
  top: 50%;
}
.slider__class1-prev {
  left: -20px;
}
.slider__class1-next {
  right: -20px;
}
/* 以下為自訂義更換左右鍵符號樣式，可插入圖片*/
/* .slider__class1-prev::after {
  content: "⥪";
  color: #eee;

  display: flex;
  justify-content: center;
  align-items: center;
} */

.slider__class1-prev::after {
  /* 以下為插入圖片示範 */
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;

  width: 20px;
  height: 20px;

  background: url("../images/chevron-left-solid.svg");
  background-repeat: no-repeat;
}

.slider__class1-next::after {
  /* 以下為插入圖片示範 */
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;

  width: 20px;
  height: 20px;

  background: url("../images/chevron-right-solid.svg");
  background-repeat: no-repeat;
}

/* 以下為第二組輪播 */

.slider__class2 {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* display: flex; */
}
.slider__class2-box {
  height: 100%;
  text-align: center;
  /* margin: 10px; */
  /* background: #ccc; */
}
.slider__class2-item {
  /* background: #eee; */
  width: calc(100% - 20px);
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slider__class2-item figure{
  width: 100%;
  overflow: hidden;
}
.slider__class2-item figure img{
  width: 100%;
  object-fit: cover;
}

.slider__class2 .slick-dots {
  position: absolute;
  bottom: -50px;
  padding: 0;

  left: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}
.slider__class2 .slick-dots li {
  margin: 0px 4px;
  overflow: hidden;
}
.slick-active {
  outline: none !important;
}
.slider__class2 .slick-dots li.slick-active button {
  background-color: #ffffff;
}

.slider__class2 .slick-dots li.slick-active button:hover {
  background-color: #ffffff;
}

.slider__class2 .slick-dots li button {
  padding: 0;
  width: 10px;
  height: 10px;
  font-size: 0px;
  background: transparent;
  border-radius: 50%;
  border: 2px solid #ffffff;
  transition-property: background-color;
  transition-duration: 0.3s;
  transition-timing-function: linear;
  transition-delay: 0s;
  cursor: pointer;
}
.slider__class2 .slick-dots li button:focus {
  outline: none;
}

.slider__class2 .slick-dots li button:hover {
  background-color: #a8a8a8;
}



/* 以下RWD */
@media (max-width: 860px) {
  .container {
    margin: 0px 20px;
  }
}
@media (max-width: 768px) {
  .slider__class2 .slick-dots {
    position: unset;
  }
}


