*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: .16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* For some Androids */
        
}
html{
    font-size: 100px;
    overflow-x: hidden;
}

a{
    text-decoration: none;
    color: #000;
}
ul{
    list-style: none;
}
input{
    outline: 0;
    background:#fff;
}
img{
    object-fit: cover;
    cursor:pointer;
    display: block;
}

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


/*多行溢出*/
.line1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.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;
}
.line4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
}
.line5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 5;
}
/* 水波纹效果 */
.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);
    }
  }
.common_banner img{
  width: 100%;
}
.common_position{
  background-color: #F8F8F8;
}


/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}
.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: 0.3s linear;
  cursor: pointer;
  object-fit: cover;
}
.scale-box:hover .scale-img {
  transform: scale(1.1);
}


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





/* 新民农丰项目css，不需要可以删除 */
/* 公共banner */
.common_banner {
  position: relative;
  width: 100%;
  height: 3rem;
  margin-top: 1rem;
}
.common_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.common_banner .fonts {
  position: absolute;
  left: 50%;
  top: 0.8rem;
  width: fit-content;
  text-align: center;
  transform: translateX(-50%);
}
.common_banner .cn {
  font-size: 0.3rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 800;
  color: #FFFFFF;
}
.common_banner .en {
  margin-top: 0.1rem;
  font-size: 0.2rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #FFFFFF;
}
.common_banner .vertical {
  position: absolute;
  left: 50%;
  top: 1.74rem;
  width: 0.03rem;
  height: 0.8rem;
  transform: translateX(-50%);
  background-color: #fff;
}


/* 公共面包屑 */
.common_crumb {
  width: 100%;
}
.common_crumb .crumb_center {
  width: 14rem;
  height: 0.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.common_crumb .road {
  font-size: 0.14rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #757575;
  display: flex;
  align-items: center;
}
.common_crumb .road a {
  display: block;
  margin: 0 0.1rem;
  font-size: 0.14rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #757575;
}
.common_crumb .road span {
  display: block;
  margin: 0 0.1rem;
  font-size: 0.14rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #757575;
}


/* 公共居中盒子 */
.common_page {
  width: 100%;
}
.common_page .common_page_center {
  position: relative;
  width: 14rem;
  margin: 0 auto;
  padding: 0.35rem 0 1rem;
}


/* 公共分页 */
.page_box {
  width: fit-content;
  margin: 0 auto;
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
}
.page_box .pages {
  display: flex;
  align-items: center;
}
.page_box .pages .item {
  display: block;
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.15rem;
  /* border: 0.01rem dashed #CCCCCC; */
  /* border-radius: 50%; */
  border-radius: 0.02rem 0.02rem 0.02rem 0.02rem;
  text-align: center;
  line-height: 0.3rem;
  font-size: 0.14rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #333333;
}
.page_box .pages .item:hover {
  background: #008836;
  color: white;
  border: none;
}
.page_box .pages .active {
  background: #008836;
  color: white;
  border: none;
}
.page_box .btn {
  display: block;
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.15rem;
  /* border: 0.01rem dashed #CCCCCC;
  border-radius: 50%; */
  border-radius: 0.02rem 0.02rem 0.02rem 0.02rem;
  text-align: center;
  line-height: 0.3rem;
  font-size: 0.14rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page_box .btn img {
  width: 0.2rem;
  height: 0.2rem;
  object-fit: contain;
}
.page_box .btn:hover {
  background: #008836;
  color: white;
  border: none;
}
.page_box .btn:hover img {
  filter: brightness(600%);
}

/* 后端写的分页，的样式 */
.paging-p {
    margin: 0 0.1rem;
}
.paging {
    display: flex;
    align-items: center;
}
.paging a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.3rem;
    height: 0.3rem;
    margin: 0 0.1rem;
    background: #FFFFFF;
    border-radius: 0.02rem 0.02rem 0.02rem 0.02rem;
    font-size: 0.14rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    color: #333333;
    border: 0.01rem solid #DDDDDD;
}
.paging a:hover {
    border: none;
    background: #008836;
    color: white;
}
.paging a:hover img {
    filter: brightness(7);
}
.paging .active {
    border: none;
    background: #008836;
    color: white;
}
.paging .paging-img img {
    width: 0.15rem;
    height: 0.15rem;
    object-fit: contain;
}
.paging-to {
    display: flex;
    align-items: center;
}
.paging-to input {
    width: 0.45rem;
    height: 0.3rem;
    padding: 0.03rem;
    border: 0.01rem solid #DDDDDD;
}
.paging-to .paging-to-bt {
    display: block;
    width: 0.55rem;
    height: 0.3rem;
    line-height: 0.3rem;
    text-align: center;
    border: 0.01rem solid #DDDDDD;
    background: #008836;
    color: white;
    cursor: pointer;
    border-radius: 0.02rem;
}


@media only screen and (max-width:1024px){
    .common_banner .cn{
        font-size: 16px;
    }
    .common_banner .en{
        font-size: 14px;
    }
    .common_page .common_page_center{
        width: 100%;
        padding: 15px;
    }
    .common_crumb .crumb_center{
        display: none;
    }
    .paging-p,
    .paging a,
    .paging-to .paging-to-bt{
        font-size: 12px;
    }
    .paging-to .paging-to-bt{
        width: auto;
        height: auto;
        padding: 0 10px;
    }
}
