.home {
  width: 100%;
}
.home .banner {
  width: 100%;
}
.home .banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.home .cases {
  width: 90%;
  margin: 60px auto;
}
.home .cases .types {
  width: 100%;
  display: flex;
}
.home .cases .types a {
  display: block;
  background-color: #F7F7F7;
  color: #666666;
  font-size: 14px;
  padding: 15px 15px;
  margin-right: 10px;
  transition: all 600ms;
}
.home .cases .types a:hover {
  background-color: #E62129;
  color: white;
}
.home .cases .types .active {
  background-color: #E62129;
  color: white;
}
.home .cases .allItems {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
}
.home .cases .allItems a {
  width: 23%;
  display: block;
  margin-left: 1.65%;
  margin-bottom: 30px;
}
.home .cases .allItems a .pic {
  width: 100%;
}
.home .cases .allItems a .pic img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.home .cases .allItems a .text {
  width: 90%;
  padding: 20px 5%;
  display: flex;
  background-color: white;
  justify-content: space-between;
  align-items: center;
  transition: all 600ms;
}
.home .cases .allItems a .text p {
  color: #333333;
  transition: all 600ms;
}
.home .cases .allItems a .text .jt {
  display: inline-block;
  position: relative;
}
.home .cases .allItems a .text .jt img {
  width: 100%;
  display: block;
  object-fit: contain;
  transition: all 600ms;
}
.home .cases .allItems a .text .jt img:nth-child(2) {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
.home .cases .allItems a:hover .text {
  background-color: #E62129;
}
.home .cases .allItems a:hover .text p {
  color: white;
}
.home .cases .allItems a:hover .text .jt img:nth-child(1) {
  opacity: 0;
}
.home .cases .allItems a:hover .text .jt img:nth-child(2) {
  opacity: 1;
}
.home .cases .pager {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px auto;
}
.home .cases .pager a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 18px;
  width: 39px;
  height: 37px;
  border: 1px solid #D9D9D9;
  margin: 0 5px;
  transition: all 600ms;
}
.home .cases .pager a:hover {
  color: #E62129;
}
.home .cases .pager a:last-child {
  transform: rotateY(180deg);
}
@media screen and (max-width: 1000px) {
  .home .cases {
    margin: 30px auto;
  }
  .home .cases .types {
    flex-wrap: wrap;
  }
  .home .cases .types a {
    margin-bottom: 10px;
    margin-right: 5px;
  }
  .home .cases .allItems {
    margin-top: 30px;
    justify-content: space-between;
  }
  .home .cases .allItems a {
    width: 48%;
    margin-left: 0;
    margin-bottom: 15px;
  }
  .home .cases .allItems a .text p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
  }
}

/*# sourceMappingURL=cases.css.map */
