.case-submain {
  padding-bottom: 60px;
}

.case-submain .row {
  margin: 0;
}

.item {
  margin: 60px 0;
}

.zoom-on-hover {
  border-radius: 20px 20px 0 0;
  position: relative;
  height: 0px;
  padding-bottom: 56%;
  
}

.zoom-on-hover img {
  border-radius: 20px 20px 0 0;
  display: block;
  position: absolute;
  margin: 0px;
  padding: 0px;
  object-fit: cover;
}

.title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 36.96px;
  color: rgba(51, 51, 51, 1);
  text-align: center;


}

.box-wrap {
  background-color: #fff;
  padding: 14px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);

}

.case-submain .ellipsis3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 30px;
  color: rgba(153, 153, 153, 1);
  text-align: left;
  vertical-align: top;

}



.zoom-on-hover .img-fluid {
  border-radius: 20px 0px 0px 20px;
  background: rgba(250, 250, 250, 1);
}



/* case list*/
/* .case-content{
  padding-top: 130px;
 } */


.case-content .main-title h6,
.case-content .main-title p {
  color: #fff;
}

.case-text {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99;
}



.case-content .swiper-container {
  width: 100%;
  height: 500px;
  position: relative;
}

.case-content .swiper-slide {
  background-size: cover;
  background-position: center;
}

.case-content .swiper-button-next,
.case-content .swiper-button-prev {
  color: white;

}

.case-content .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;

  width: 90%;
}

.case-content .swiper-pagination-bullet {
  cursor: pointer;
  margin: 0 5px;
  position: relative;
}

.case-content .swiper-pagination-bullet img {
  width: 20px;
  height: 20px;
  display: block;
}

.default-img {
  border: 1.5px solid rgba(255, 255, 255, 1);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.16);
}

.hover-img {
  border: 1.5px solid rgba(0, 160, 150, 1);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.16);
}

.case-content .swiper-pagination-bullet .hover-img {
  display: none;
}

.case-content .swiper-pagination-bullet:hover .hover-img,
.case-content .swiper-pagination-bullet.swiper-pagination-bullet-active .hover-img {
  display: block;
}

.case-content .swiper-pagination-bullet:hover .default-img,
.case-content .swiper-pagination-bullet.swiper-pagination-bullet-active .default-img {
  display: none;
}


.case-content .swiper-pagination-bullet {
  width: 100%;
  display: inline-block;
  border-radius: 100%;
  background: #000;
  opacity: .99;
  height: 100%;
}

.case-content .swiper-pagination-bullet img {
  width: 100%;
  height: 100%;
}

.case-content .pagination-text {
  display: block;
  text-align: center;
  font-size: 12px;
  color: white;
  margin-top: 5px;
}

.case-content .swiper-pagination-bullet {
  position: relative;
}

.pagination-text {
  text-align: left;
  font-size: 20px;
  line-height: 40px;
}

.case-content .swiper-pagination-bullet img.icon-img {
  width: 24px;
  height: 24px;

}

.text-box {
  position: absolute;
  top: 0;
  left: 8%;
  z-index: 99;
  display: flex;
  align-items: start;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.text-box .icon-img {
  margin-right: 10px;
}

.text-box .pagination-text {
  font-size: 20px;
  color: white;
}

/* details */
.case-detail {
  padding: 0px 0 60px 0;

}

.case-bg {
  background: url(../images/case-detail-bg.png) no-repeat top;
  background-size: 100% auto;

}

.case-detail h1.title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 64px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  vertical-align: top;
  margin: 20px 0;
}

.breadcrumb {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 21.12px;
  color: rgba(255, 255, 255, 1);
  background: none;
  padding-top: 24px;
}
.breadcrumb a{
  color: rgba(255, 255, 255, 1);
}

.news-date {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  vertical-align: top;
  margin-bottom: 30px;
}

.detail-content p {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 36px;
  color: rgba(153, 153, 153, 1);
  text-align: left;
  vertical-align: top;

}


.detail-content img {
  max-width: 100% !important;
  margin: 10px 0;
}

h3.subtitle {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 47.51px;
  color: rgba(51, 51, 51, 1);
  text-align: left;
  padding-top: 50px;

}

.container1440 {
  max-width: 1400px;
  margin: 0 auto;
  width: 72%;
}

.case-detail-img {
  max-width: 1400px;
  margin: 0 auto;
  width: 72%;
  position: relative;
}

.swiper-caseimg .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;

}

.swiper-caseimg .swiper-slide img {
  max-width: 100%;
}

.case-detail-img .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {

  background-image: url(../images/arrowLeft.png);
  left: -80px;
  width: 48px;
  height: 48px;
  background-size: 48px 48px;
}

.case-detail-img .swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: url(../images/arrowRight.png);
  right: -80px;
  width: 48px;
  height: 48px;
  background-size: 48px 48px;
}


@media (max-width: 960px) {
  .text-box .pagination-text {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
  .case-content .swiper-pagination-bullet img.icon-img {
    width: 18px;
    height: 18px;
}

.case-detail h1.title {
  font-size: 20px;
  margin: 0;
}
}

@media (max-width: 768px) {
  .case-content .swiper-pagination {
    flex-wrap: wrap;
  }
  .case-content .swiper-pagination-bullet {
    width: 30%;
    margin-bottom: 12px;
  }
  .case-content .swiper-pagination-bullet img.icon-img {
    display: none;
  }
  .text-box .pagination-text {
    font-size: 14px;
    color: white;
  }
  .case-list .item{
    margin-top: 0;
  }
  .case-content .swiper-container {
    height: 240px;
}
}