body {
    overflow-x: hidden;
    font-family: PingFangSC-Light, sans-serif;
}
.bgbanner{
    background-position: center 0 !important; 
    background-attachment:fixed !important; 
    background-size: 100% 100% !important;
    background-repeat:  no-repeat !important; 
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 4));
  }
}
.slider {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 145px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slider::before, .slider::after {
  background: linear-gradient(to right, #212631 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 200px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 20s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
.slider .slide {
  height: 150px;
  width: 250px;
}

.slider .slide-track:hover {
  animation: scroll 0s linear infinite;
}
.slide{
  color: white; /* 白色文字 */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0;
  cursor: pointer;
  font-size: 0;
}
.slide:hover > div{
  transition: background-color 0.3s; /* 平滑过渡 */
  background-color: hsla(236, 97%, 35%, 0.794);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:30px;
  text-align: center;
}
.slide:hover {
  font-size: 16px;
  font-weight: bold;
}




/* Slider */
#sliderB{
  width:100%;
  height:890px;
  position:relative;
  overflow:hidden;
}
.slidesB{
  width:300%;
  height:100%;
  position:relative;
  -webkit-animation:slide 20s infinite;
  -moz-animation:slide 20s infinite;
  animation:slide 20s infinite;
}
.sliderB{
  width:33.333%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}
.slideB img{
  width:100%;
  height:100%;
}
.slideB img{
  width:100%;
  height:100%;
}
.imageB{
  width:100%;
  height:100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.imageB img{
  width:auto;
  height:100%;
}

/* Legend */
.legendB{
  border-bottom:0;
  position:absolute;
  bottom:0;
}

/* Contents */
.contentB{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-txtB{
  position:relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content-txtB h1{
  font-family:Arial;
  text-transform:uppercase;
  font-size:24px;
  color:#fff;
  text-align:left;
  padding-bottom:10px;
}
.content-txtB h2{
  font-family:arial;
  font-weight:normal;
  font-size:14px;
  font-style:italic;
  color:#fff;
  text-align:left;
}

/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99;
  left:30px;
}
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#333;
  float:left;
  margin-right:5px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#497cff;
  position:relative;
  -webkit-animation:on 20s infinite;
  -moz-animation:on 20s infinite;
  animation:on 20s infinite;
}

/* Animation */
@-webkit-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:-100%;
  }
  63%{
    margin-left:-100%;
  }
  66%{
    margin-left:-200%;
  }
  93%{
    margin-left:-200%;
  }
  96%{
    margin-left:-200%;
  }
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:-100%;
  }
  63%{
    margin-left:-100%;
  }
  66%{
    margin-left:-200%;
  }
  93%{
    margin-left:-200%;
  }
  96%{
    margin-left:-200%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:-100%;
  }
  63%{
    margin-left:-100%;
  }
  66%{
    margin-left:-200%;
  }
  93%{
    margin-left:-200%;
  }
  96%{
    margin-left:-200%;
  }
}


@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:15px;
  }
  63%{
    margin-left:15px;
  }
  66%{
    margin-left:30px;
  }
  96%{
    margin-left:30px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:15px;
  }
  63%{
    margin-left:15px;
  }
  66%{
    margin-left:30px;
  }
  96%{
    margin-left:30px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  30%{
    margin-left:0%;
  }
  33%{
    margin-left:15px;
  }
  63%{
    margin-left:15px;
  }
  66%{
    margin-left:30px;
  }
  96%{
    margin-left:30px;
  }
}