.home {
  width: 100%;
  background: #333333;
  position: relative;
}
.home .banner {
  width: 100%;
  position: relative;
}
.home .banner::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.home .banner img {
  vertical-align: middle;
  object-fit: cover;
  width: 100%;
}
.home .banner .text {
  position: absolute;
  left: 7%;
  top: 10%;
  color: white;
}
.home .banner .text .p1 {
  font-size: 30px;
}
.home .banner .text .p2 {
  font-size: 24px;
  margin-top: 10px;
}
.home .banner .links {
  position: absolute;
  left: 7%;
  bottom: 15%;
  color: white;
  display: flex;
  align-items: center;
}
.home .banner .links img {
  width: 17px;
}
.home .banner .links p {
  margin-left: 10px;
  font-size: 12px;
}
.home .main {
  width: 84%;
  margin: 20px auto;
  padding: 0 3% 30px 3%;
  background: #55595D;
}
.home .main .links {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #7A7878;
  padding: 30px 0;
}
.home .main .links a {
  width: 143px;
  height: 50px;
  border: 1px solid #7E7E7E;
  display: inline-block;
  margin-left: 15px;
  text-align: center;
  line-height: 50px;
  color: white;
  transition: all 600ms;
}
.home .main .links a:hover {
  background: #EBC500;
  border-color: #EBC500;
}
.home .main .links .active {
  background: #EBC500;
  border-color: #EBC500;
}
.home .main .allItems {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
}
.home .main .allItems .item {
  width: 23%;
  background: white;
  margin-left: 1.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  cursor: pointer;
    position: relative;
}
.home .main .allItems .item::after{
 background:rgba(0,0,0,.4);
position:absolute;
left:0;
top:0;
width:100%;
height:100%;
opacity:0;
transition:all 600ms;
content:'';
display:block;
    pointer-events: none;
}
.home .main .allItems .item:hover::after{
 opacity:1;
}
.home .main .allItems .item img {
  width: 100%;
  object-fit: cover;
}
.home .dialog {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
}
.home .dialog .content {
  width: 600px;
  padding: 60px;
  position: relative;
  background: #55595D;
}
.home .dialog .content .close {
  position: absolute;
  right: 20px;
  top: 60px;
  z-index: 100;
  cursor: pointer;
}
.home .dialog .content .prev {
  color: white;
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 100;
}
.home .dialog .content .prev i {
  font-size: 60px;
  transition: all 600ms;
}
.home .dialog .content .prev i:hover {
  color: #EBC500;
}
.home .dialog .content .next {
  color: white;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) rotateY(180deg);
  cursor: pointer;
  z-index: 100;
}
.home .dialog .content .next i {
  font-size: 60px;
  transition: all 600ms;
}
.home .dialog .content .next i:hover {
  color: #EBC500;
}
.home .dialog .content .swiper-container .swiper-wrapper .swiper-slide {
  text-align: center;
}
.home .dialog .content .swiper-container .swiper-wrapper .swiper-slide img {
  height: 600px;
  max-width: 500px;
  object-fit: contain;
}
@media screen and (max-width: 1200px) {
  .home {
    padding-top: 98px;
  }
  .home .banner img {
    height: 200px;
  }
  .home .banner .text .p1 {
    font-size: 24px;
  }
  .home .banner .text .p2 {
    font-size: 20px;
  }
  .home .banner .links img {
    height: auto;
  }
  .home .main {
    flex-direction: column;
    padding: 0 5% 20px 5%;
    width: 80%;
  }
  .home .main .links {
    padding: 20px 0;
  }
  .home .main .links a {
    height: 40px;
    line-height: 40px;
  }
  .home .main .allItems {
    justify-content: space-between;
  }
  .home .main .allItems .item {
    width: 47%;
    margin-left: 0;
  }
  .home .dialog .content {
    width: 70%;
    padding: 30px;
  }
  .home .dialog .content .prev i, .home .dialog .content .next i {
    font-size: 30px;
  }
  .home .dialog .content .prev {
    left: 0;
  }
  .home .dialog .content .next {
    right: 0;
  }
  .home .dialog .content .close {
    right: 10px;
    top: 10px;
  }
  .home .dialog .content .close img {
    width: 20px;
  }
  .home .dialog .content .swiper-container .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 350px;
  }
}

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