* {
  margin: 0;
  padding: 0;
}


a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
button {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

button {
  cursor: pointer;
}

img {
  width: 100%;
  height: auto;

}

.hr {
  width: 100%;
  height: .01rem;
  background: #C8C8C8;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*多行溢出*/
.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}

.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: all .3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img {
  transform: scale(1.1);
}


/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
  0% {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }

  to {
    background: transparent;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}


.banner {
  width: 100%;
  height: 5rem;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nav {
  width: 100%;
  height: .8rem;
  border-bottom: .01rem solid #CCCCCC;
}

.nav_box {
  width: 16rem;
  height: .8rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_left {
  display: flex;
  align-items: center;
}

.nav_left a {
  font-size: 0.16rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  color: #333333;
  position: relative;
  margin-right: .17rem;
}

.nav_left a::after {
  content: '>';
  position: relative;
  right: -.08rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav_right {
  display: flex;
}

.nav_right a {
  font-size: 0.18rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  color: #333333;
  margin-left: .5rem;
}

.nav_active {
  font-weight: bold !important;
  color: #E80162 !important;
}

.nav_left a:last-child {
  margin: 0;
}

.nav_left a:last-child::after {
  display: none;
}



.hr {
  width: 100%;
  height: 0.01rem;
  background: #707070;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 0.16rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  color: #999999;
  align-items: flex-end;
}

.page a {
  width: 0.3rem;
  height: 0.3rem;
  opacity: 1;
  border: 0.01rem solid #CCCCCC;
  border-radius: 50%;
  font-size: 0.16rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 .05rem;
}
.active_page{
  background: #333333!important;
  border: 0.01rem solid #333333!important;
  color: #ffffff!important;
}




@media only screen and (max-width:1024px){
    .banner{
        height: 4rem;
        margin-top: 50px;
    }
    .nav{
        display: none;
    }
}