﻿.content {
  width: 100%;
}
.banner {
  width: 100%;
  background-color: #f8f8f8;
  padding: 20px 0;
}
.banner-con {
  width: 100%;
  height: 580px;
  position: relative;
}
.banner-con .swiper-wrapper {
  width: 100%;
}
.banner-con .swiper-wrapper .swiper-slide {
  width: 100%;
  text-align: right;
  position: relative;
  overflow: hidden;
}
.banner-con .pagination {
  position: absolute;
  /* width: 100%; */
  height: 30px;
  z-index: 20;
  right: 10px;
  bottom: 10px;
}
.pagination .swiper-pagination-switch {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  margin: 4px 7px;
}

.pagination .swiper-active-switch {
  background-color: #9d1d22;
  border: 1px solid #9d1d22;
}

/* 内容 */
.banner-con .swiper-slide img {
  width: 85%;
  /* height: 100%; */
  display: inline-block;
}
.banner-con .swiper-slide .bannerText {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 400px;
  height: 400px;
  background-color: rgba(233, 231, 233, 0.8);
  padding: 50px;
  text-align: left;
}
.banner-con .swiper-slide .bannerText .textTilte {
  font-size: 25px;
  color: #9c1d20;
}
.banner-con .swiper-slide .bannerText .textContent {
  font-size: 16px;
  line-height: 26px;
  color: #262632;
  margin: 20px 0;
}
.banner-con .swiper-slide .bannerText .textBtn {
  display: flex;
}
.banner-con .swiper-slide .bannerText .textBtn span {
  font-size: 12px;
  padding: 10px 20px;
  border: 1px solid #dfdfdf;
  color: #3e3e3e;
  cursor: pointer;
}
.banner-con .swiper-slide .bannerText .textBtn span::after {
  content: "";
  width: 4px;
  height: 8px;
  margin-left: 5px;
  display: inline-block;
  background: url("../../enimage/main/triangle.png") no-repeat;
}

/* 移动端 */
@media (max-width: 576px) {
  .bannerTop {
    padding: 0;
    background-color: #f9f9f9;
  }
  .banner-con {
    height: 135vw;
  }
  .banner-con .swiper-wrapper .swiper-slide {
    padding: 5vw;
    box-sizing: border-box;
  }
  /* 小圆点 */
  .banner-con .pagination {
    position: absolute;
    height: 5vw;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    top: 55vw;
    text-align: center;
  }
  .pagination .swiper-pagination-switch {
    display: inline-block;
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    margin: 2vw 2vw;
  }
  .pagination .swiper-active-switch {
    background-color: #9d1d22;
    border: 1px solid #9d1d22;
  }
  /* 图片 */
  .banner-con .swiper-slide img {
    width: 90vw;
    height: 65vw;
    /* height: 100%; */
    display: inline-block;
    position: relative;
  }
  .banner-con .swiper-slide .bannerText {
    position: relative;
    width: 100%;
    height: 67vw;
    background-color: #f9f9f9;
    padding: 5vw 0;
    text-align: left;
  }
  .banner-con .swiper-slide .bannerText .textTilte {
    font-size: 5.5vw;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* text-align: center; */
  }
  .banner-con .swiper-slide .bannerText .textContent {
    height: 30vw;
    font-size: 4vw;
    line-height: 6vw;
    color: #000;
    margin: 7vw 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }
}