#video .list {
  display: flex;
  flex-wrap: wrap;
  margin: 60px 0;
}
#video .list li {
  width: 24%;
  margin-right: 1.333%;
  position: relative;
  border-radius: 10px;
}
#video .list li:nth-child(4n) {
  margin-right: 0;
}
#video .list li .imgs {
  width: 100%;
  height: max-content;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
#video .list li .imgs > .img {
  width: 100%;
  vertical-align: bottom;
  transition: all 0.5s;
}
#video .list li .cnt_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
#video .list li .font16 {
  margin: 19px auto 40px;
  text-align: center;
}
#video .list li:hover .imgs > .img {
  transform: scale(1.15);
}
#video .modal.in .modal-dialog {
  width: auto;
  min-width: inherit;
  max-width: 80%;
  padding: 2em;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: auto;
}
#video .modal.in .modal-dialog .modal-content {
  background: none;
  box-shadow: none;
  border: none;
  max-width: 100%;
}
#video .modal.in .modal-dialog .modal-body {
  width: max-content;
  height: max-content;
  margin: auto;
  position: relative;
  max-width: 100%;
}
#video .modal.in .modal-dialog .modal-body .video-box {
  background: #fff;
  padding: 2em;
  position: relative;
}
#video .modal.in .modal-dialog .modal-body .video-box video {
  max-width: 100%;
}
#video .modal.in .modal-dialog .modal-body .video-box .layout-play {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  line-height: 79px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  text-align: center;
  background-image: url(../images/index/play.png);
  background-size: 100% 100%;
  cursor: pointer;
}
#video .modal.in .modal-dialog .modal-body .video-box .layout-play::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: #FFF9F9;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.5s;
}
#video .modal.in .modal-dialog .modal-body .video-box .layout-play::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.31);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.5s;
}
#video .modal.in .modal-dialog .modal-body .video-box .layout-play:hover::after {
  opacity: 1;
  transform: scale(1.25);
  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -o-transform: scale(1.25);
  -ms-transform: scale(1.25);
}
#video .modal.in .modal-dialog .modal-body .video-box .layout-play:hover::before {
  opacity: 1;
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -o-transform: scale(1.5);
  -ms-transform: scale(1.5);
}
#video .modal.in .modal-dialog .modal-body > img {
  position: absolute;
  right: -50px;
  top: -10px;
}
@media screen and (max-width: 1024px) {
  #video .banner .tabs .max-width a {
    width: max-content;
    padding: 0 20px;
  }
  #video .list {
    margin: 40px 0 8px;
  }
  #video .list li {
    width: 100%;
    margin-right: 0;
  }
  #video .list li .font16 {
    font-size: 14px;
    margin: 16px auto 27px;
  }
  #video .modal.in .modal-dialog {
    max-width: 100%;
  }
  #video .modal.in .modal-dialog .modal-body {
    padding: 0;
    max-height: 80%;
  }
  #video .modal.in .modal-dialog .modal-body > img {
    width: 35px;
    right: -10px;
    top: -40px;
  }
  #video .modal.in .modal-dialog .modal-body .video-box {
    padding: 1.2em;
  }
  #video .modal.in .modal-dialog .modal-body .video-box .layout-play {
    width: 50px;
    height: 50px;
  }
}
