#template {
  background: #F0F2F5;
  padding-top: 80px;
  display: none;
}
#template .content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  justify-content: center;
}
#template .content .templateUl {
  flex-wrap: wrap;
  justify-content: center;
}
#template .content .templateUl .templateItem {
  width: 280px;
  box-shadow: 0px 1px 0px 0px #F0F2F5;
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 10px;
  transition: linear 0.15s all;
  -webkit-transition: linear 0.15s all;
  cursor: pointer;
}
#template .content .templateUl .templateItem .bigCoverBox {
  width: 100%;
  height: 168px;
  position: relative;
  overflow: hidden;
}
#template .content .templateUl .templateItem .bigCoverBox .bgImg {
  width: 100%;
  height: 100%;
  filter: blur(6px);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
#template .content .templateUl .templateItem .bigCoverBox .coverMask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  content: '';
}
#template .content .templateUl .templateItem .bigCoverBox .topImg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  height: inherit;
  z-index: 2;
}
#template .content .templateUl .templateItem .bigCoverBox .playIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  z-index: 3;
}
#template .content .templateUl .templateItem .templateInfo {
  background: #fff;
}
#template .content .templateUl .templateItem .templateInfo .title {
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #F0F2F5;
}
#template .content .templateUl .templateItem .templateInfo .title p {
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#template .content .templateUl .templateItem .templateInfo .title .icon {
  align-items: center;
}
#template .content .templateUl .templateItem .templateInfo .title .icon .fire {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
#template .content .templateUl .templateItem .templateInfo .title .icon .fire img {
  width: 100%;
  height: 100%;
  display: block;
}
#template .content .templateUl .templateItem .templateInfo .title .icon p {
  color: #CDCDCD;
  font-size: 13px;
}
#template .content .templateUl .templateItem .templateInfo .videoUl {
  padding: 17px 14px;
  flex-wrap: wrap;
  position: relative;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .videoLi {
  width: 25%;
  align-items: center;
  justify-content: center;
  transition: linear 0.1s all;
  -webkit-transition: linear 0.1s all;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .videoLi .videoIcon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .videoLi .videoIcon img {
  width: 100%;
  height: 100%;
  display: block;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .videoLi p {
  font-size: 13px;
  color: #CDCDCD;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: linear 0.1s all;
  -webkit-transition: linear 0.1s all;
}
#template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn .btn {
  width: 138px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: -webkit-gradient(linear, left top, right top, from(#f64f6e), to(#ff795e));
  background: linear-gradient(90deg, #f64f6e, #ff795e);
  font-size: 13px;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
}
#template .content .templateUl .templateItem:hover {
  margin: 5px 10px 17px;
}
#template .content .templateUl .templateItem:hover .templateInfo .videoUl .videoLi {
  visibility: hidden;
  opacity: 0;
}
#template .content .templateUl .templateItem:hover .templateInfo .videoUl .makeVideoBtn {
  visibility: visible;
  opacity: 1;
}
#template .content .templateUl .itemPush {
  height: 1px;
  overflow: hidden;
  opacity: 0;
  content: '';
  cursor: auto;
}
#template .dialogBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: linear 0.15s all;
  -webkit-transition: linear 0.15s all;
}
#template .dialogBox .mask {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  content: '';
}
#template .dialogBox .dialogFrame {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  transition: linear 0.15s all;
  -webkit-transition: linear 0.15s all;
}
#template .dialogBox .dialogFrame .closeIcon {
  width: 20px;
  height: 20px;
  margin: 0 0 0 auto;
  cursor: pointer;
}
#template .dialogBox .dialogFrame .video {
  width: 800px;
  height: 450px;
  margin: 20px 0;
}
#template .dialogBox .dialogFrame .video .thisVideo {
  width: 100%;
  height: 100%;
}
#template .dialogBox .dialogFrame .videoColumn {
  width: 254px;
}
#template .dialogBox .dialogFrame .videoInfo {
  align-items: center;
  justify-content: space-between;
}
#template .dialogBox .dialogFrame .videoInfo p {
  font-weight: bold;
  font-size: 20px;
}
#template .dialogBox .dialogFrame .videoInfo .titleHidden {
  width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#template .dialogBox .dialogFrame .videoInfo .toMakeVideo {
  color: #fff;
  background: #2f7cf6;
  text-align: center;
  border-radius: 6px;
  padding: 7px 20px;
  cursor: pointer;
}
#template .dialogBoxShow {
  opacity: 1;
  visibility: visible;
}
#template .dialogBoxShow .dialogFrame {
  top: 50%;
}
.templateShow {
  display: block !important;
}
@media screen and (max-width: 1200px) {
  #template .content .templateUl .templateItem .templateInfo .videoUl {
    padding: 17px 14px 15px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    width: 100%;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn .btn {
    margin: 16px auto 0;
  }
  #template .content .templateUl .templateItem:hover .templateInfo .videoUl .videoLi {
    visibility: visible;
    opacity: 1;
  }
}
@media screen and (max-width: 900px) {
  #template .content .templateUl .templateItem {
    width: 240px;
  }
  #template .content .templateUl .templateItem .bigCoverBox {
    height: 148px;
  }
  #template .dialogBox .dialogFrame .video {
    width: 600px;
    height: 338px;
  }
  #template .dialogBox .dialogFrame .videoColumn {
    width: 254px;
    height: 450px;
  }
}
@media screen and (max-width: 780px) {
  #template .content .templateUl .templateItem {
    width: 210px;
  }
  #template .content .templateUl .templateItem:hover {
    margin: 12px 10px;
  }
  #template .content .templateUl .templateItem .bigCoverBox {
    height: 130px;
  }
  #template .content .templateUl .templateItem .templateInfo .title {
    padding: 15px;
  }
  #template .content .templateUl .templateItem .templateInfo .title p {
    font-size: 14px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl {
    padding: 12px 6px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .videoLi .videoIcon {
    width: 12px;
    height: 12px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .videoLi p {
    font-size: 12px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn .btn {
    width: 100px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }
}
@media screen and (max-width: 660px) {
  #template .dialogBox .dialogFrame .video {
    width: 380px;
    height: 214px;
  }
  #template .dialogBox .dialogFrame .videoColumn {
    width: 254px;
    height: 450px;
  }
  #template .dialogBox .dialogFrame .videoInfo p {
    font-size: 16px;
  }
}
@media screen and (max-width: 460px) {
  #template .content {
    padding: 25px 0 30px;
  }
  #template .content .templateUl .templateItem {
    width: 166px;
    border-radius: 8px;
    margin: 8px 7px;
  }
  #template .content .templateUl .templateItem:hover {
    margin: 8px 7px;
  }
  #template .content .templateUl .templateItem .bigCoverBox {
    height: 100px;
  }
  #template .content .templateUl .templateItem .templateInfo .title {
    padding: 10px;
  }
  #template .content .templateUl .templateItem .templateInfo .title p {
    font-size: 13px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl {
    padding: 8px 6px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .videoLi .videoIcon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .videoLi p {
    font-size: 12px;
  }
  #template .content .templateUl .templateItem .templateInfo .videoUl .makeVideoBtn .btn {
    width: 70px;
    height: 20px;
    line-height: 20px;
    margin: 13px auto 0;
    font-size: 10px;
  }
  #template .dialogBox .dialogFrame {
    padding: 15px;
  }
  #template .dialogBox .dialogFrame .video {
    width: 310px;
    height: 174px;
    margin: 15px 0;
  }
  #template .dialogBox .dialogFrame .videoColumn {
    width: 192px;
    height: 342px;
  }
  #template .dialogBox .dialogFrame .videoInfo .titleHidden {
    width: 100px;
  }
  #template .dialogBox .dialogFrame .videoInfo .toMakeVideo {
    font-size: 12px;
    padding: 6px 14px;
  }
}
@media screen and (max-width: 374px) {
  #template .content .templateUl .templateItem {
    width: 142px;
    margin: 8px 6px;
  }
  #template .content .templateUl .templateItem:hover {
    margin: 8px 6px;
  }
  #template .content .templateUl .templateItem .bigCoverBox {
    height: 90px;
  }
  #template .dialogBox .dialogFrame .video {
    width: 270px;
    height: 152px;
  }
  #template .dialogBox .dialogFrame .videoColumn {
    width: 160px;
    height: 286px;
  }
  #template .dialogBox .dialogFrame .videoInfo .titleHidden {
    width: 78px;
    font-size: 14px;
  }
}
