/* 
* 页面css
*/

.banner {
  background-color: #ccc;
  height: 314px;
  margin-bottom: 15px;
  background: url('../../images/online/moreTemplates/template-banner.png') center no-repeat;
}

.banner-container,
.page-container {
  margin: 0 auto;
  width: 1200px;
  height: 100%;
}

.page-container .title {
  text-align: center;
  color: #333;
  font-size: 30px;
  padding: 35px;
}

.page-container .nav-switch-bar {
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

/* 
* 导航
*/
.nav-switch-bar .nav-switch-item {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  padding: 8px 32px;
  cursor: pointer;
}

.nav-switch-bar .nav-switch-item:hover,
.nav-switch-bar .nav-item-active {
  color: #23B9A9;
}

.nav-switch-bar .nav-switch-item:active {
  color: rgb(13, 122, 111);
}

.nav-item-list {
  background: #f5f5f5;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 10px 20px 10px 60px;
}

.nav-item {
  color: #666;
  font-size: 14px;
  width: 14%;
}
.nav-itemActive{
  color: #23B9A9;
}
.nav-item a {
  text-decoration: none;
}

.page .nav {
  margin-bottom: 57px;
}

/* 
* 模板card
*/
.template-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.template-card {
  width: 380px;
  margin-bottom: 20px;
}

.last-place {
  width: 380px;
  height: 1px;
}

.template-card .template-card-img {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  height: 270px;
  margin-bottom: 5px;
  overflow: hidden;
}

.template-card .template-card-img::before {
  content: "";
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
}

.template-card-img .template-preview-btn {
  display: none;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -18px;
  margin-left: -40px;
  border-radius: 18px;
  width: 80px;
  height: 36px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  text-decoration: none;
}

.template-card-img .template-preview-btn:hover {
  color: #23B9A9;
}

.template-card-img .template-preview-btn:active {
  color: #666;
}

.template-card .template-card-img:hover::before,
.template-card-img:hover .template-preview-btn {
  display: block;
}

.template-card .template-card-img img {
  width: 100%;
  height: 100%;
}

.template-card-body {
  padding: 10px;
}

.template-card-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 8px;
}

.template-title {
  flex: 1;
  overflow: hidden;
  color: #333;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.template-card-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.template-card .sold-count,
.template-card .use-count,
.template-card .new-update-date {
  font-size: 12px;
  color: #999;
}

.buy-button {
    width: 80px;
    border-radius: 5px;
    font-size: 14px;
}
.myPage{
  margin: 0 auto;
  text-align: right;
  width: 1250px;
  margin-bottom: 32px;
}


.spage-total{display: inline-block;margin-right: 20px;line-height: 35px;color: #666;font-size:14px;}
.spage-number{display: inline-block;color: #666;font-size:14px;}
.spage-number button{position: relative;box-sizing: border-box;display: inline-block;margin-left:-1px;padding: 0px 14px;line-height: 33px;border:1px solid #ddd;text-align: center;transition: all .2s;cursor: pointer;outline: none;background: none;user-select: none;color: #666}
.spage-number button.active{color: #23B9A9;z-index: 3;}
.spage-number button.active:hover{color: #23B9A9;;z-index: 3;}
.spage-number button:hover{background-color: #eee;}
.spage-number button.button-disabled{cursor: not-allowed;color: #ccc;}
.spage-number .spage-after,.spage-before{padding:0px;width: 40px}
.spage-skip{display: inline-block;margin-left: 20px;line-height: 35px;color: #666;font-size:14px;}
.spage-skip input{box-sizing: border-box;display: inline-block;width: 45px;height: 35px;text-align: center;vertical-align: top;border:1px solid #ddd;background: none;outline: none;transition: all .2s;}
.spage-skip input:focus{border-color: #23B9A9;}
.spage-skip button{display: inline-block;padding: 0px 14px;line-height: 33px;vertical-align: top;color: #666;border:1px solid #ddd;cursor: pointer;transition: all .2s;outline: none;background: none;user-select: none;}
.spage-skip button:hover{color: #23B9A9;}


.spage-number a{position: relative;box-sizing: border-box; font-size:10px; display: inline-block;margin-left:-1px;padding: 0px 14px;line-height: 33px;border:1px solid #ddd;text-align: center;transition: all .2s;cursor: pointer;outline: none;background: none;user-select: none;color: #666}
.spage-number a.active{color: #23B9A9;z-index: 3;}
.spage-number a.active:hover{color: #23B9A9;;z-index: 3;}
.spage-number a:hover{background-color: #eee;}
.spage-number button.button-disabled{cursor: not-allowed;color: #ccc;}
.spage-number input{box-sizing: border-box;display: inline-block;width: 45px;height: 35px;text-align: center;vertical-align: top;border:1px solid #ddd;background: none;outline: none;transition: all .2s;}
.spage-number input:focus{border-color: #23B9A9;}



