@media screen and (max-width: 1200px) {
  .first-title .title{
    font-size: 45px !important;
  }
  .second-title{
    font-size: 20px !important;
  }
}
@media screen and (max-width: 900px) {
  .first-title .title{
    /* display: block !important; */
    font-size: 35px !important;
  }
  .second-title{
    font-size: 18px !important;
  }
}

.top-container{
  background-image: url(./images/theme-banner.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 385px;
  color: #fff;
  position: relative;
}
.word-wrapper{
  position: absolute;
  left: 13%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 540px;
}
.first-title{
  font-size: 65px;
  margin-bottom: 16px;
  font-weight: bold;
}
.first-title .title{
  display: inline-block;
  display: inline-block;
  font-size: 65px;
  margin: 0;
}
.second-title{
  font-size: 24px;
}

/* 疫情模板 */
@media screen and (min-width: 1660px) {
  .templates-container{
    width: 1460px !important;
  }
  .template-item:nth-child(5n){
    margin: 0 0 24px 0 !important;
  }
}
@media screen and (min-width:1200px) and (max-width:1659px){
  .templates-container{
    width: 1165px !important;
  }
  .template-item:nth-child(4n){
    margin: 0 0 24px 0 !important;
  }
}
@media screen and (min-width:901px) and (max-width: 1199px) {
  .templates-container{
    width: 870px !important;
  }
  .template-item:nth-child(3n){
    margin: 0 0 24px 0 !important;
  }
}
@media screen and (min-width:600px) and (max-width: 900px) {
  .templates-container{
    width: 575px !important;
  }
  .template-item:nth-child(2n){
    margin: 0 0 24px 0 !important;
  }
}

@media screen and (max-width:599px) {
  .templates-container{
    width: 280px !important;
  }
  .template-item{
    margin: 0 0 24px 0 !important;
  }
}

.Templates{
  background: #f5f5f5;
}
.templates-container{
  /* padding: 10px 140px 45px 145px; */
  background: #f5f5f5;
  min-height: 785px;
  margin: 0 auto;
  padding-top: 90px;
}
/* 搜索结果 */
/* templateList */
.template-list{
  justify-content: center;
}
.contain-item {
  padding: 5px;
}
.contain-panel{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  padding-bottom: 28px;
}
.template-item{
  position: relative;
  text-align: center;
  margin: 0 15px 24px 0;
  transition: all 0.6s;
  background-color: #fff;
  border-radius: 4px;
  width: 280px;
}
.word-container{
  padding: 16px;
}
.template-item:hover{
  background: white;
  box-shadow:0px 0px 5px rgba(0, 0, 0, 0.27);
}
.template-item:hover .img-mask{
  opacity: 1;
}
.template-item:hover .img-container img {
  transform: scale(1.1);
}
.img-container{
  cursor: pointer;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.img-container img {
  transition: transform .2s;
  width: 100%;
  display: block;
}
.publish-label {
  display: inline-block;
  position: absolute;
  background: #c3c3c3;
  color: #fff;
  height: 22px;
  width: 64px;
  font-size: 14px;
  left: 5px;
  bottom: 5px;
  padding-top: 1px;
}
.img-mask{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.6s;
  opacity: 0;
}
.pre-edit{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.preview, .gotoTemplate{
  width: 120px;
  height: 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.preview{
  margin-bottom: 10px;
  background-color: #fff;
}
.preview:hover{
  background-color: #ecfff8;
}
.gotoTemplate{
  color: #fff;
  background-color: #46BE8A;
}
.gotoTemplate:hover{
  background-color: #4bcc94;
}
.preview-icon, .edit-icon{
  height: 18px;
  width: 20px;
  margin-right: 4px;
}
.preview-icon{
  background-position: -515px -145px;
}
.edit-icon{
  background-position: -536px -145px;
}
.preview-word{
  width: 35px;
  text-align: center;
  color: #343434;
  margin-left: -5px;
}
.template-title{
  margin-bottom: 2px;
  color: #333333;
  display: flex;
  justify-content: space-between;
  /* width: 80%; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.template-title .title{
  white-space: nowrap;
  overflow: hidden;
  max-width: 240px;
  height: 19px;
  text-align: left;
  text-overflow: ellipsis;
}
.template-title .price-free{
  color: #46BE8A;
}
.template-title .price-pay{
  color: #fc583d;
}
.key-words{
  color: #bdbdbd;
  text-align: left;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
  width: 100%;
  /* word-break: break-word; */
}
.template-desc{
  color: #bdbdbd;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.view{
  color: #bdbdbd;
  text-align: left;
  font-size: 12px;
  /* padding: 3px 0; */
}
.view .see, .view .uses{
  height: 14px;
  width: 18px;
  min-width: 18px;
  margin-right: 6px;
}
.view .see{
  background-position: -572px -166px;
}
.view .uses{
  background-position: -601px -166px;
}
.view{
  width: 100%;
  padding: 4px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}
.view .num{
  max-width: 100%;
  display: flex;
  align-items: center;
}
.view .num span{
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.template-desc .eyes{
  cursor: pointer;
  height: 16px;
  width: 20px;
  margin-left: -56px;
  background-position: -393px -10px;
}
/* load */
.template-list .load{
  bottom: 0;
  width: 100%;
  height: 60px;
  background: #f5f5f5;
  top: 100%;
}
.el-loading-mask{
  height: 60px;
  display: block !important;
  background: #f5f5f5;
  bottom: 30px;
  position: relative;
}
.el-loading-spinner{
  top: 0;
  margin-top: -21px;
  width: 100%;
  text-align: center;
  position: relative;
}
.img-mask .to-top{
  color: #fff;
  padding: 4px;
  background-color: #46be8a;
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 2px;
}
.to-top:hover{
  background: #2fc78f;
}
.to-top:active{
  background: #30b081;
}
.desc-title{
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: #000000;
  font-weight: bold;
  letter-spacing:5px;
  padding-bottom: 25px;
}
.view-more{
  padding: 14px 60px;
  background-color: #0064ff;
  color: #fff;
  cursor: pointer;
  outline: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.view-more:hover{
  background-color: #0084ff;
}
.view-more:active{
  background-color: #0260f3;
}
.view-more-material{
  margin-bottom: 107px;
}
.material-title{
  padding: 16px 0 !important;
}
.material-title .template-title{
  width: 100%;
}
.material-title .template-title .title{
  max-width: 280;
  width: 100%;
}
.material-img{
  height: 186px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url(./images/cover-bg.png);
  background-repeat: repeat;
  padding: 20px;
}

.material-img img {
  height: 90%;
  width: 50%;
  margin: auto;
}
.material-item{
  background-color: transparent;
}
.material-item:hover{
  background: transparent;
  box-shadow: none;
}
.img-wrapper{
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.bottom-footers{
  padding: 26px 0;
  background: #f7f7f7;
}
.bottom-footContain{
  position: relative;
  margin: 0 auto;
  padding: 0 48px;
  max-width: 1160px;
}
.bottom-footContain .bottom-link{
  position: relative;
  font-size: 13px;
  line-height: 23px;
  color: #7f7f7f;
}