/* 图册列表 */

.atlas {
}

.atlas ul {
  display: flex;
  flex-flow: wrap;
}

.atlas li {
  width: 100%;
  padding: 4px;
}

.atlas li a {
  display: block;
  color: #000;
  text-align: center;
}

.atlas li i {
  display: block;
  border: 1px solid #999;
}

.atlas li a img {
  width: 100%;
}

.atlas li p {
  position: relative;
  font: 400 14px/36px "微软雅黑";
  text-align: center;
  color: #000;
  background: #fff;
  border: 1px solid #999;
  border-top: 0;
}

@media (min-width: 1200px) {
  .atlas ul {
    padding: 2vw 0 0;
  }
  .atlas li {
    width: 33.3%;
    padding: 5px;
  }
  .atlas ul li {
    width: 33.3%;
    padding: 0.6vw 0.3vw;
  }
  .atlas ul li:nth-child(3n) {
    padding-left: 0.6vw;
    padding-right: 0;
  }
  .atlas ul li:nth-child(3n + 1) {
    padding-left: 0;
    padding-right: 0.6vw;
  }
  .atlas li a {
    position: relative;
  }
  .atlas li i {
    display: block;
    overflow: hidden;
  }
  .atlas li i img {
    transition: 0.6s;
  }
  .atlas li p {
    position: relative;
    font: 400 16px/42px "微软雅黑";
  }
  .atlas li a:hover img {
    transform: scale(1.1);
  }
  .atlas li a:hover p {
    color: #fff;
    background: #3a3738;
  }

  .video-layer {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 20vh 20vw;
    background: rgba(0, 0, 0, 0.8);
  }
  .video-close {
    position: absolute;
    left: 79vw;
    top: 18.5vh;
    width: 36px;
    height: 36px;
    padding: 7px 0 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #666;
    border-radius: 50%;
    cursor: pointer;
  }

  .video-layer li iframe {
    width: 60vw !important;
    height: 60vh !important;
  }
  .video-layer li {
    display: none;
  }
}
