//pc端样式
.main {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
.banner{
    width: 100%;
    height: 100vh;
    .bannerSwiper{
      width: 100%;
      height: 100%;
      img{
        width: 100%;
          height: 100%;
          object-fit: cover;
      }
      .btn-prev,.btn-next{
        position: absolute;
        top: 50%;
        margin-top: -22px;
        width: 44px;
        height: 44px;
        z-index: 2;
        text-align: center;
        color: #ecf6fb;
        background: transparent;
        transition: all .3s ease-in-out;
        cursor: pointer;
        span{
          font-size: 44px;
          display: inline-block;
          line-height: 44px;

        }
        &:hover{
          color: #b81c25;
        }
      }
      .btn-prev{
        left: 100px;
      }
      .btn-next{
        right: 100px;
      }
      .swiper-button-disabled{
        cursor: no-drop;
        background: transparent;
        color: #ecf6fb;
        opacity: 0.6;
        &:hover{
          color: #ecf6fb;
        }
      }
      .swiper-pagination{
        bottom: 60px;
        .swiper-pagination-bullet{
          background: #ffffff;
          opacity:1;
          position: relative;
          width: 12px;
          height: 12px;
          margin:0 17px;
          &::before{
            content: '';
            position: absolute;
            left: -5px;
            top: -5px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 1px solid #b81c25;
            opacity: 0;
            transition: all .3s ease-in-out;
          }
        }
        .swiper-pagination-bullet-active{
          background: #b81c25;
          &::before{
            opacity: 1;
          }
        }
      }
    }
    .slideCon{
      width: 100%;
      max-width: 1300px;
      height: 100%;
      box-sizing: border-box;
      margin: 0 auto;
      padding-top: 230px;
      position: absolute;
      top: 0px;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      text-align: left;
      .title{
        
        br{
          display: none;
        }
      }
      .btn{
        position: absolute;
        bottom: 10%;
        left: 50%;
        margin-left: -100px;
      }
    }
}
.news{
  width: 100%;
  text-align: center;
  padding: 140px 0px;
  .newsCon{
    width: 100%;
    height: 512px;
    overflow: hidden;
    max-width: 1300px;
    margin: 60px auto 80px;
    position: relative;
    display: flex;
    &>div{
      width: 50%;
      height: 100%;
      overflow: hidden;
      .swiper-pagination{
        bottom: 30px;
        .swiper-pagination-bullet{
          background: #ffffff;
          opacity:1;
          position: relative;
          width: 6px;
          height: 6px;
          margin:0 9px;
          &::before{
            content: '';
            position: absolute;
            left: -3px;
            top: -3px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 1px solid #b81c25;
            opacity: 0;
            transition: all .3s ease-in-out;
          }
        }
        .swiper-pagination-bullet-active{
          background: #b81c25;
          &::before{
            opacity: 1;
          }
        }
      }
      .swiper{
        width: 100%;
        border-radius: 10px;
        z-index: -1;
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        img{
          width: 100%;
          display: block;
        }
        .slideZ{
          position: absolute;
          top: 0px;
          left: 0px;
          width: 100%;
          height: 100%;
          background: url(./images/newsz.png) no-repeat bottom;
        }
        .slideCon{
          position: absolute;
          bottom: 0px;
          left: 0px;
          width: 100%;
          box-sizing: border-box;
          padding: 60px 30px;
          color: #fff;
          text-align: left;
          .time{
            font-size: 16px;
          }
        }
      }
      .newsShowSwiper{
        z-index: 1;
      }
      .newsTitList{
        width: 100%;
        display: flex;
        font-size: 20px;
        line-height: 30px;
        color: #A7A5A5;
        box-sizing: border-box;
        padding-left: 40px;
        justify-content: space-between;
        .newsCk{
          font-size: 20px;
          color: #231F20;
          cursor: pointer;
          transition: all .3s ease-in-out;
          &:hover{
            color: #B81C25;
          }
        }
        .newsShow{
          color: #B81C25;
          font-weight: bold;
        }
      }
      .newsConList{
        width: 100%;
        height: calc(100% - 30px);
        box-sizing: border-box;
        padding-left: 40px;
        padding-top: 20px;
        overflow: hidden;
        &>div{
          width: 100%;
          height: 100%;
          display: none;
          .newsLi{
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding-bottom: 27px;
            border-bottom: 1px solid #ACACAC;
            margin-top: 27px;
            .timer{
              width: 65px;
              height: 66px;
              border-radius: 8px;
              border: 1px solid #A7A5A5;
              text-align: center;
              font-size: 12px;
              padding: 0px 12px 0;
              box-sizing: border-box;
              .timerData{
                font-size: 26px;
                color: #b81c25;
                border-bottom: 1px solid #b81c25;
                padding-bottom: 0px;
                margin-bottom: 2px;
              }
            }
            .newsLiCon{
              width: calc(100% - 80px);
              font-size: 18px;
              text-align: left;
              &>div{
                overflow: hidden;
                white-space: nowrap;
                width: 100%;
                height: 24px;
                text-overflow: ellipsis;
              }
              .liTitle{
                color: #231F20;
                font-weight: 500;
                margin-bottom: 14px;
              }
              .licon{
                font-weight: 400;
                color: #666666;
              }
            }
          }
        }
        .newsDivShow{
          display: block;
        }
      }
    }
    .newsSp{
      position: relative;
    }
  }
}
.product{
  width: 100%;
  text-align: center;
  padding: 140px 0px;
  background: #f5f5f6;
  .productCon{
    margin: 60px auto 0px;
    width: 100%;
    max-width: 1296px;
    .productTits{
      width: 100%;
      &>div{
        width: 100%;
        display: flex;
        justify-content: space-between;
        &>div{
          width: 144px;
          height: 146px;
          border-radius: 8px;
          color: #231F20;
          padding-top: 20px;
          box-sizing: border-box;
          cursor: pointer;
          transition: all .3s ease-in-out;
          div{
            margin-bottom: 30px;
          }
          img{
            width: auto;
            object-fit: cover;
            margin: 0 auto;
          }
          .default{
            display: block;
          }
          .show{
            display: none;
          }
          &:hover{
            background: #B81C25;
            color: #fff;
            .default{
              display: none;
            }
            .show{
              display: block;
            }
          }
        }
        .productCk{
          background: #B81C25;
          color: #fff;
          .default{
            display: none;
          }
          .show{
            display: block;
          }
        }
      }
      
    }
    .productConBox{
      width: 100%;
      height: 514px;
      margin-top: 60px;
      overflow: hidden;
      &>div{
        width: 100%;
        height: 100%;
      }
      .swiper-slide{
        width: 74%;
        img {
          display: block;
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .slideZ{
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: url(./images/productz.png) no-repeat bottom;
          background-size: 100%;
        }
        .slideCon{
          position: absolute;
          width: 100%;
          bottom: 0px;
          padding: 30px 40px;
          left: 0;
          text-align: left;
          color: #fff;
          box-sizing: border-box;
          display: none;
          .text{
            width: 100%;
            overflow: hidden;
            height: 20px;
            line-height: 20px;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-bottom: 20px;
          }
          .more{
            font-size: 16px;
          }
        }
      }
      .swiper-slide-active{
        .slideCon{
          display: block;
        }
      }
      .btn-prev,.btn-next{
        position: absolute;
        top: 50%;
        margin-top: -20px;
        width: 40px;
        height: 40px;
        z-index: 2;
        text-align: center;
        color: #fff;
        background: #b81c25;
        cursor: pointer;
        border-radius: 4px;
        span{
          font-size: 24px;
          display: inline-block;
          line-height: 40px;
          transform: rotate(90deg);
        }
        
      }
      .btn-prev{
        left: 50px;
        span{
          transform: rotate(-90deg);
        }
      }
      .btn-next{
        right: 18%;
      }
      .swiper-button-disabled{
        z-index: -1;
        opacity: 0;
      }
    }
  }
}
.about{
  width: 100%;
  text-align: center;
  padding: 180px 0px 240px;
  .title{
    margin-bottom: 60px;
  }
  .aboutCon{
    width: 100%;
    max-width: 1300px;
    margin: 0px auto;
    .aboutNum{
      margin-top: 100px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-bottom: 120px;
      .line{
        width: 1px;
        height: 72px;
        background: #B81C25;
      }
      .num{
        display: inline-block;
        .numT{
          font-size: 60px;
          font-weight: bold;
          color: #B81C25;
          font-family: 'MyFont1';
          span{
            font-size: 20px;
            font-weight: 400;
            font-family: 'MyFont2';
          }
        }
        .numP{
          color: #231F20;
          font-size: 20px;
          margin-top: 7px;
        }
      }
    }
  }
}
.society{
  width: 100%;
  position: relative;
  text-align: center;
  &>img{
    display: block;
  }
  .societyCon{
    width: 100%;
    max-width: 1300px;
    padding-top: 140px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    .text{
      margin-top: 40px;
      margin-bottom: 70px;
    }
    .btn{
      background: #fff;
      color: #B81C25;
      transition: all .3s ease-in-out;
      &:hover{
      background: #B81C25;
      color: #fff;
    }
    }
  }
  &>.btn{
    display: none;
  }
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
  .banner {
    .slideCon{
      padding-top: 160px;
      box-sizing: border-box;
    }
  }
}
@media screen and (min-width:800px){
  
    .goTop{
      .goTopBtn{
          background: #ffffff;
          .btnShow{
              .btnIcon{
                  background-color: #0056A7;
              }
          }
          &:hover{
            background: #ffffff;
            
        }
      }
  }
}
.mTxt{
  display: none;
}
//移动端样式
@media screen and (max-width:800px) {
  .pcTxt{
    display: none;
  }
  .mTxt{
    display: block;
  }
  .banner{
    width: 100%;
    height: 100vh;
    .swiper{
      width: 100%;
      height: 100%;
    }
    .slideCon{
      padding: 0 15px;
      padding-top: 130px;
      height: auto;
      .title{
        font-size: 32px;
        line-height: 48px;
        br{
          display: block;
        }
      }
    }
    .btn-prev,.btn-next{
      display: none;
    }
    .bannerSwiper{
      .swiper-pagination{
        display: block;
        bottom: 60px;
        .swiper-pagination-bullet{
          width: 5px;
          height: 5px;
          margin: 0 6px;
          &::before{
            left: -4px;
            top: -4px;
            width: 10px;
            height: 10px;
          }
        }
      }
    }
  }
  .news{
    padding: 110px 15px;
    box-sizing: border-box;
    .newsCon{
      margin: 40px auto;
      height: auto;
      flex-wrap: wrap;
      padding-top: 48px;
      &>div{
        width: 100%;
        height: auto;
        .swiper{
          position: relative;
          display: none;
          .slideCon{
            padding: 20px;
            .time{
              font-size: 13px;
            }
          }
        }
        .newsShowSwiper{
          display: block;
        }
        .swiper-pagination{
          display: none;
        }
        .newsTitList{
          padding-left: 0px;
          font-size: 14px;
          line-height: 24px;
          position: absolute;
          top: 0px;
          left: 0px;
          .newsCk{
            font-size: 14px;
          }
        }
        .newsConList{
          padding-left: 0px;
          padding-top: 0px;
          height: auto;
          &>div{
            .newsLi{
              .timer .timerData{
                font-weight: bold;
              }
              .newsLiCon{
                font-size: 16px;
                padding-top: 8px;
                &>div{
                  height: 16px;
                }
                .liTitle{
                  margin-bottom: 14px;
                }
              }
            }
            
          }
        }
      }
    }
  }
  .product{
    padding: 110px 15px;
    box-sizing: border-box;
    .productCon{
      margin: 40px auto 0px;
      .productTits{
        overflow-x: auto;
        &>div{
          width: 640px;
          &>div{
            width: 71px;
            height: 74px;
            padding-top: 10px;
            div{
              margin-bottom: 15px;
              font-size: 14px;
            }
            img{
              height: 20px;
            }
          }
        }
      }
      .productConBox{
        margin-top: 35px;
        height: auto;
        .swiper-slide{
          width: 100%;
          .slideZ{
            display: none;
          }
          .slideCon{
            position: relative;
            padding: 20px 0px 0px;
            color: #231F20;
            display: block;
            .text {
              height: 60px;
              line-height: 30px;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              margin-bottom: 20px;
              -webkit-line-clamp: 2;
              white-space: inherit;
          }
            .more{
              width: 190px;
              height: 40px;
              background: #B81C25;
              border-radius: 4px;
              color: #fff;
              line-height: 40px;
              text-align: center;
              margin: 0px auto;
            }
          }
        }
        .btn-prev,.btn-next{
          display: none;
        }
        .productList{
          display: none;
        }
      }
    }
  }
  .about{
    padding: 110px 15px;
    box-sizing: border-box;
    .title{
      margin-bottom: 40px;
    }
    .aboutCon {
      .aboutNum{
        margin-top: 40px;
        margin-bottom: 60px;
        justify-content: space-between;
        .num{
          .numT{
            font-size: 30px;
            span{
              font-size: 12px;
            }
          }
          .numP{
            font-size: 12px;
          }
        }
        .line{
          height: 36px;
        }
      }
    }
    
  }
  .society{
    padding-bottom: 110px;
    display: flex;
    flex-direction: column-reverse;
    .societyCon{
      position: relative;
      color: #231F20;
      padding-top: 0px;
      padding-left: 15px;
      padding-right: 15px;
      box-sizing: border-box;
      .text{
        margin-top: 40px;
        margin-bottom: 30px;
      }
      .btn{
        display: none;
      }
    }
    &>.btn{
      display: block;
      margin-top: 40px;
    }
  }
}