

.slider__class1 {
  width: 100%;

  position: relative;
  z-index: 1;
  /* display: flex; */
}


.setbg {
  background: none;
  position: relative;
}
.slider__class1-prev,
.slider__class1-next {
  /* 以下變更左右符號大小 */
  height: 20px;
  width: 20px;
  cursor: pointer;
  /*margintop請下-height的2分之1*/
  margin-top: -10px;
  /* ----- */

  position: absolute;
  z-index: 2;
  top: 40%;
}
.slider__class1-prev {
  left: -20px;
  background: url(../images/shop_arrow_left.png) no-repeat center/100%;
  width: 35px;
  height: 40px;
  font-size: 0;
}
.slider__class1-next {
  right: -20px;
  background: url(../images/shop_arrow_right.png) no-repeat center/100%;
  width: 35px;
  height: 40px;
}
/* 以下為自訂義更換左右鍵符號樣式，可插入圖片*/
.slider__class1-prev::after {
  content: "⥪";
  color: #eee;

  display: flex;
  justify-content: center;
  align-items: center;
}
.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%;

  position: relative;
  z-index: 1;
  /* display: flex; */
}
.slider__class2-box {

  /* margin: 10px; */
  /* background: #ccc; */
}
.slider__class2-item {
  background: #eee;
  width: calc(100% - 20px);

  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.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: #ed1c24;
}

.slider__class2 .slick-dots li.slick-active button:hover {
  background-color: #ed1c24;
}

.slider__class2 .slick-dots li button {
  padding: 0;
  width: 28px;
  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: #ffffff;
}

/* -------------------以下為第三組輪播------------------------ */
.slider__class3 div ,.slider__class3 button{
  outline: none;
}
.slider__class3 {
  width: 100%;
  position: relative;
  z-index: 1;
  /* display: flex; */
}
.slider__class3-box {
  height: 200px;

  /* margin: 10px; */
  /* background: #ccc; */
}

.slider__class3-item {

padding:20px 0;
  width: calc(100% - 20px);


  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slider__class3-prev,
.slider__class3-next {
  /* 以下變更左右符號大小 */
  height: 48px;
  width: 20px;
  font-size: 2rem;
  /*margintop請下-height的2分之1*/
  margin-top: -10px;
  cursor: pointer;
  /* ----- */

  position: absolute;
  z-index: 2;
  top: 50%;
}
.slider__class3-prev {
  left:0;
}
.slider__class3-next {
  right:0;
}
/* 以下為自訂義更換左右鍵符號樣式，可插入圖片*/
.slider__class3-prev::after {
  content: "❮";
  color: #ffffff54;
  font-size: 2rem;
  transition: 0.3s;

  font-weight:400;
  display: flex;
  justify-content: center;
  margin: auto;
}
.slider__class3-next::after {
  content: "❯";
  color: #ffffff54;

  transition: 0.3s;

  font-weight: 400;
  display: flex;
  justify-content: center;
  margin: auto;
}

.slider__class3-prev:hover::after {
  color: #ffffff;
}
.slider__class3-next:hover::after {
  color: #fff;
}
/* 以下為至中放大 其餘刷淡*/
.slider__class3 .slick-slide {
  opacity: 0.3;
  transition: 0.3s;
  transform: scale(0.9);

}
.slider__class3 .slick-current {
  opacity: 1;
  transform: scale(1.1);

}
