/* 
*
*样式初始化
*
*/
html,
head,
body,
div {
  margin: 0;
  padding: 0;
}

a,
a:hover {
  text-decoration: none;
  color: #333;
}

b {
  font-weight: normal;
}

input {
  border: 0;
  padding: 0;
  margin: 0;
}

.web-type-content li a,
.web-type-content li a:hover {
  text-decoration: none;
}

s {
  text-decoration: none;
}

/* 内容区样式 */
.tmpl-container {
  width: 100%;
  background-color: #f8f8f8;
  padding-bottom: 20px;
}

/* banner图 */
.tmpl-container .banner-box {
  width: 100%;
  height: 178px;
}

.tmpl-container .banner-box img {
  width: 100%;
}

.tmpl-wrap .search-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
  padding: 10px 20px;
  padding-bottom: 15px;
  background-color: #fff;
  border: 1px solid #eeeeee;
}

.search-wrap .tmpl-type {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  padding: 12px 0 12px;
}

.tmpl-type .tmpl-type-title {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333;
}

.tmpl-type .tmpl-type-content {
  display: flex;
}

.tmpl-type .tmpl-type-content li {
  cursor: pointer;
  width: 130px;
}

.tmpl-type .tmpl-type-content li .active {
  background-color: #ff6600;
  color: #fff;
  border-radius: 1px;
}

.tmpl-type .tmpl-type-content li .active a {
  color: #fff;
}

.tmpl-type-content li a {
  display: inline-block;
  width: 100px;
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666;
  text-align: center;
}

.search-wrap .app-type {
  display: flex;
  justify-content: flex-start;
  /* border-bottom: 1px solid #f1f1f1; */
  padding: 8px 0 8px;
}

.app-type .app-type-title {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333;
}

.app-type .app-type-content {
  display: flex;
  flex-wrap: wrap;
}

.app-type .app-type-content li {
  cursor: pointer;
  margin: 0 5px;
  line-height: 30px;
}

.app-type .app-type-content li:first-child {
  margin: 0;
}

.app-type .app-type-content li .active {
  background-color: #ff6600;
  color: #fff;
  border-radius: 1px;
}

.app-type .app-type-content li .active a {
  color: #fff;
}

.app-type-content li a {
  display: inline-block;
  padding: 0 15px;
  /* width: 56px; */
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666;
  text-align: center;
}

.app-type .tmpl-type-more {
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #003333;
}

.tmpl-type-more a s {
  color: #999;
}

/* 站点选择 */
.search-wrap .web-type {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  padding: 8px 0 8px;
}

.web-type .web-type-title {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333;
}

.web-type .web-type-content {
  display: flex;
}

.web-type .web-type-content li {
  cursor: pointer;
  width: 120px;
}

.web-type .web-type-content li .active {
  background-color: #ff6600;
  color: #fff;
  border-radius: 1px;
  padding-left: 4px;
  white-space: nowrap;
}

.web-type .web-type-content li .active a {
  color: #fff;
}

.web-type-content li a {
  display: inline-block;
  width: 85px;
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666;
  text-align: center;
  margin: 0 5px;
}

/* 色系选择 */
.search-wrap .color-type {
  display: flex;
  align-items: center;
  /* border-bottom: 1px solid #f1f1f1; */
  padding: 12px 0 12px;
}

.color-type .color-type-title {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333;
}

.color-type .color-type-content {
  display: flex;
}

.color-type .color-type-content li {
  cursor: pointer;
  width: 50px;
}

.color-type .color-type-content li a {
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  margin-top: 1.2px;
  margin-left: 1.5px;
  border: 2px solid #ddd;
}

.color-type .color-type-content li .color_act {
  border-color: #ff6600;
}

.color-type-content a img {
  display: block;
  border-radius: 50%;
}

.color-type-content a .color-box {
  width: 19px;
  height: 19px;
  border-radius: 50%;
}

.color-type-content a .red {
  background-color: #ff0000;
}

.color-type-content a .orange {
  background-color: #ffa500;
}

.color-type-content a .yellow {
  background-color: #ffe400;
}

.color-type-content a .green {
  background-color: #008000;
}

.color-type-content a .blue {
  background-color: #0000ff;
}

.color-type-content a .light-blue {
  background-color: lightblue;
}

.color-type-content a .white {
  background-color: #ffffff;
}

.color-type-content a .gray {
  background-color: #888;
}

.color-type-content a .black {
  background-color: #000000;
}

.color-type-content a .purple {
  background-color: purple;
}

.color-type-content a .brown {
  background-color: brown;
}

/* 功能选择 */
.search-wrap .func-type {
  display: flex;
  align-items: center;
  padding: 20px 0 16px;
}

.func-type .func-type-title {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333;
}

.func-type .func-type-content {
  display: flex;
}

.func-type .func-type-content li {
  cursor: pointer;
  width: 100px;
}

.func-type .func-type-content li .func_act {
  border-radius: 1px;
  border: 1px solid #ff6600;
  background-color: #fff;
  color: #ff6600;
}

.func-type .func-type-content li .func_act a {
  color: #ff6600;
}

.func-type-content li a {
  display: inline-block;
  width: 72px;
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666;
  text-align: center;
}

/* 中间搜索记录和搜索框 */
.mid-search-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  position: relative;
}

.mid-search-wrap .mid-search-tips {
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666666;
}

.mid-search-tips b {
  font-size: 14px;
  color: #ff7c19;
}

.mid-search-wrap .search-box .search-warn {
  margin-right: 15px;
  font-family: Microsoft YaHei;
  font-size: 14px;
  font-weight: 400;
  color: #ff7c19;
}

.mid-search-wrap .search-box input {
  width: 189px;
  height: 25px;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding-left: 10px;
}

.mid-search-wrap .search-box input::-webkit-input-placeholder {
  font-size: 11px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #999999;
}

.mid-search-wrap .search-box input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  font-size: 11px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #999999;
}

.mid-search-wrap .search-box input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  font-size: 11px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #999999;
}

.mid-search-wrap .search-box input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-size: 11px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #999999;
}

.mid-search-wrap .search-box img {
  position: absolute;
  top: 37%;
  right: 30px;
  cursor: pointer;
}

/* 模板列表内容 */
.template-content {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.template-content .template-item:nth-child(1),
.template-content .template-item:nth-child(2),
.template-content .template-item:nth-child(3),
.template-content .template-item:nth-child(4) {
  margin-top: 12px;
}

.template-content .template-item {
  margin-top: 18px;
  /* width: 280px; */
  /* height: 302px; */
  background: #ffffff;
  border: 1px solid #eeeeee;
  margin-left: 10px;
  margin-right: 15px;
  padding-bottom: 10px;
}

.template-content .template-item:nth-child(4n) {
  margin-left: 10px;
}

.template-content .template-item-img {
  width: 278px;
  height: 209px;
  background-color: lightblue;
  position: relative;
  cursor: pointer;
}

.template-content .template-item-img:hover .template-img-bg {
  display: block;
}

.template-img-bg {
  display: none;
  width: 278px;
  height: 216px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.template-img-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 32px;
  margin-left: -21px;
  margin-top: -16px;
}

.tmpl-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 30px;
  margin-left: -100px;
  margin-top: -15px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.select-tmpl {
  width: 40%;
  height: 30px;
  line-height: 30px;
  background-color: #ff6600;
  color: #fff;
  cursor: pointer;
  text-align: center;
  border-radius: 5px;
}

.read-tmpl {
  width: 40%;
  height: 30px;
  line-height: 30px;
  background-color: #fff;
  color: #ff6600;
  cursor: pointer;
  text-align: center;
  border-radius: 5px;
}

.read-tmpl:hover {
  background-color: #ff6600;
  color: #fff;
}

.template-item-img .mb-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 15px;
}

.template-content .template-item-info {
  padding: 12px 15px 0;
}

.template-content .template-item-info p {
  margin-bottom: 5px;
}

.template-item-info .price-btn-wrap {
  display: flex;
  justify-content: space-between;
}

.template-item-info .tmpl-item-num {
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666666;
}

.tmpl-item-num .tmpl-item-id {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333333;
}

.template-item-info .tmpl-version {
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666666;
}

.tmpl-version .tmpl-version-info {
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #333333;
}

.price-btn-wrap .tmpl-btn-1 {
  width: 67px;
  height: 24px;
  line-height: 24px;
  background: #ff6600;
  border-radius: 3px;
  font-size: 12px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}

.price-btn-wrap .tmpl-item-price {
  font-size: 13px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #666666;
}

.price-btn-wrap .tmpl-price {
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #ff6600;
}

/* 手机模板样式 */
.shipei {
  margin-left: 40px;
}

/* 分页展示 */
.showPage {
  max-width: 1200px;
  width: 100%;
  height: 50px;
  margin: 25px auto;
  display: flex;
}

.showPage #page {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.m-mb-phone {
  display: none;
}

.mb-banner-img {
  display: none;
}

.chakan {
  display: flex;
  margin: 130px auto;
  width: 120px;
  justify-content: space-between;
}

.chakan p {
  padding: 6px 10px;
  background: #f60;
  color: #fff;
  border-radius: 3px;
}

.chakan p a {
  color: #fff;
}
.zzc {
  left: 67px !important;
}
@media (max-width: 1500px) {
  .tmpl-container .banner-box {
    height: 0;
    padding: 1% 0 10%;
  }
}

@media (max-width: 900px) {
  .zzc {
    left: 91px !important;
  }

  .tmpl-container .banner-box {
    height: 0;
  }

  .banner-box a img {
    width: 100%;
  }

  .search-wrap .web-type {
    width: 100%;
  }

  .web-type {
    flex-wrap: wrap;
  }

  .web-type-content {
    margin-top: 5px;
  }

  .color-type {
    flex-wrap: wrap;
  }

  .color-type-content {
    display: flex;
    flex-wrap: wrap;
  }

  .color-type-content ul {
    margin-top: 10px;
  }

  .search-wrap .app-type {
    flex-wrap: wrap;
    position: relative;
  }

  .tmpl-type-more {
    position: absolute;
    top: 10px;
    right: -4%;
  }

  .showPage {
    width: 100%;
    padding: 0 10px;
  }

  .caption a img {
    padding-top: 8% !important;
    padding-left: 41% !important;
    width: 59% !important;
  }

  .caption .tmpl_number h5 {
    margin-left: 37%;
  }

  .caption .shipei {
    margin-left: 40%;
  }

  .template-content {
    width: 100%;
    padding: 0 48px;
  }

  .mid-search-wrap .mid-search-tips {
    font-size: 9px;
  }
}

@media (max-width: 900px) {
  .tmpl-container .banner-box {
    padding: 1% 0 4%;
  }

  .app-type .app-type-content-list {
    height: 150px;
    overflow-y: scroll;
  }

  .tmpl-type .tmpl-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
  }

  .app-type .app-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
    margin-bottom: 5px;
  }

  .app-type .tmpl-type-more {
    padding: 0;
    font-size: 12px;
    font-family: PingFang SC;
  }

  .app-type-content li:first-child a {
    padding: 0 10px;
  }

  .app-type-content li a {
    padding: 0 5px;
    font-size: 12px;
    font-family: PingFang SC;
    height: 22px;
    line-height: 22px;
  }

  .app-type {
    position: relative;
  }

  .tmpl-type-more {
    position: absolute;
    top: 10px;
    right: -4%;
  }

  .tmpl-type-more a {
    color: #999999;
  }

  .web-type .web-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
  }

  .web-type-content {
    padding-left: 0;
    padding-right: 10px;
  }

  .web-type-content li a {
    font-size: 13px;
    font-family: PingFang SC;
    margin: 0;
  }

  .color-type .color-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
    margin-bottom: 5px;
  }

  .color-type-content a .color-box {
    width: 16px;
    height: 16px;
  }

  .color-type .color-type-content li {
    width: 35px;
  }

  .color-type .color-type-content li a {
    width: 20px;
    height: 20px;
  }

  .color-type-content a img {
    width: 16px;
    height: 16px;
  }

  .color-type {
    padding: 0;
  }

  .search-wrap .tmpl-type {
    padding: 15px 0 10px;
  }

  .tmpl-type-content li a {
    font-size: 12px;
    font-family: PingFang SC;
  }

  .tmpl-wrap .search-wrap {
    margin-top: 25%;
    padding: 0 2% 1%;
    margin-bottom: 10px;
    width: 94%;
  }

  .mid-search-wrap {
    background-color: #f8f8f8;
    padding: 2% 3% 1%;
  }

  .template-content .template-item-img {
    width: 100%;
  }

  .template-content {
    width: 94%;
    padding: 0;
    background-color: #fff;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .template-content .template-item {
    margin-right: 0;
    margin-left: 1%;
    width: 32%;
  }

  .pc-mb-phone {
    display: none;
  }

  .m-mb-phone {
    display: block;
  }

  .mid-search-wrap .search-box input {
    width: 160px;
  }

  .template-item-img .mb-phone {
    border-radius: 7px;
  }

  .template-img-bg {
    width: 160px;
    height: 125px;
  }

  .template-item-info .tmpl-item-num {
    font-size: 12px;
  }

  .tmpl-item-num .tmpl-item-id {
    font-size: 12px;
  }

  .template-content .template-item-info {
    padding: 6px 7px 0;
  }

  .template-item-info .tmpl-version {
    font-size: 12px;
  }

  .tmpl-version-info i {
    display: none;
  }

  .tmpl-version-info {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .price-btn-wrap .tmpl-item-price {
    font-size: 12px;
  }

  .price-btn-wrap .tmpl-price {
    font-size: 13px;
  }

  .price-btn-wrap .tmpl-btn-1 {
    width: 52px;
    height: 20px;
    line-height: 18px;
  }

  .pc-banner-img {
    display: none;
  }

  .mb-banner-img {
    display: block;
  }

  .template-content .template-item:nth-child(2n) {
    margin-left: 1%;
  }

  .showPage {
    background-color: #fff;
    margin: 0 auto;
    padding: 25px 10px 100px;
  }

  .col-xs-10 {
    width: 100%;
    padding: 0;
  }

  .template-content.template-item:nth-child(1),
  .template-content .template-item:nth-child(2),
  .template-content .template-item:nth-child(3),
  .template-content .template-item:nth-child(4) {
    margin-top: 15px;
  }
}

@media (max-width: 750px) {
  .tmpl-container .banner-box {
    padding: 1% 0 4%;
  }

  .app-type .app-type-content-list {
    height: 150px;
    overflow-y: scroll;
  }

  .tmpl-type .tmpl-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
  }

  .app-type .app-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
    margin-bottom: 5px;
  }

  .app-type .tmpl-type-more {
    padding: 0;
    font-size: 12px;
    font-family: PingFang SC;
  }

  .app-type-content li:first-child a {
    padding: 0 10px;
  }

  .app-type-content li a {
    padding: 0 5px;
    font-size: 12px;
    font-family: PingFang SC;
    height: 22px;
    line-height: 22px;
  }

  .app-type {
    position: relative;
  }

  .tmpl-type-more {
    position: absolute;
    top: 10px;
    right: -4%;
  }

  .tmpl-type-more a {
    color: #999999;
  }

  .web-type .web-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
  }

  .web-type-content {
    padding-left: 0;
    padding-right: 10px;
  }

  .web-type-content li a {
    font-size: 13px;
    font-family: PingFang SC;
    margin: 0;
  }

  .color-type .color-type-title {
    padding: 0;
    font-size: 13px;
    font-family: PingFang SC;
    margin-bottom: 5px;
  }

  .color-type-content a .color-box {
    width: 16px;
    height: 16px;
  }

  .color-type .color-type-content li {
    width: 35px;
  }

  .color-type .color-type-content li a {
    width: 20px;
    height: 20px;
  }

  .color-type-content a img {
    width: 16px;
    height: 16px;
  }

  .color-type {
    padding: 0;
  }

  .search-wrap .tmpl-type {
    padding: 15px 0 10px;
  }

  .tmpl-type-content li a {
    font-size: 12px;
    font-family: PingFang SC;
  }

  .tmpl-wrap .search-wrap {
    margin-top: 25%;
    padding: 0 2% 1%;
    margin-bottom: 10px;
    width: 94%;
  }

  .mid-search-wrap {
    background-color: #f8f8f8;
    padding: 2% 3% 1%;
  }

  .template-content .template-item-img {
    width: 100%;
  }

  .template-content {
    width: 94%;
    padding: 0;
    background-color: #fff;
    margin: 0 auto;
  }

  .template-content .template-item {
    margin-right: 0;
    margin-left: 1%;
    width: 48%;
  }

  .pc-mb-phone {
    display: none;
  }

  .m-mb-phone {
    display: block;
  }

  .mid-search-wrap .search-box input {
    width: 160px;
  }

  .template-item-img .mb-phone {
    border-radius: 7px;
  }

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

  .chakan {
    margin: 130px auto 0;
  }

  .template-item-info .tmpl-item-num {
    font-size: 12px;
  }

  .tmpl-item-num .tmpl-item-id {
    font-size: 12px;
  }

  .template-content .template-item-info {
    padding: 6px 7px 0;
  }

  .template-item-info .tmpl-version {
    font-size: 12px;
  }

  .tmpl-version-info i {
    display: none;
  }

  .tmpl-version-info {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .price-btn-wrap .tmpl-item-price {
    font-size: 12px;
  }

  .price-btn-wrap .tmpl-price {
    font-size: 13px;
  }

  .price-btn-wrap .tmpl-btn-1 {
    width: auto;
    height: 20px;
    line-height: 18px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
  }

  .pc-banner-img {
    display: none;
  }

  .mb-banner-img {
    display: block;
  }

  .template-content .template-item:nth-child(2n) {
    margin-left: 1%;
  }

  .showPage {
    background-color: #fff;
    margin: 0 auto;
    padding: 25px 10px 100px;
  }

  .col-xs-10 {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 750px) {
  .caption a img {
    padding-top: 9% !important;
    padding-left: 39% !important;
    width: 61% !important;
  }

  .caption .shipei {
    margin-left: 35%;
  }

  .tmpl_number h5 {
    margin-left: 31%;
  }
}

@media (max-width: 600px) {
  .caption a img {
    padding-top: 12% !important;
    padding-left: 36% !important;
    width: 64% !important;
  }

  .caption .shipei {
    margin-left: 29%;
  }

  .tmpl_number h5 {
    margin-left: 24%;
  }
}

@media (max-width: 500px) {
  .caption a img {
    padding-top: 14% !important;
    padding-left: 34% !important;
    width: 66% !important;
  }

  .caption .shipei {
    margin-left: 22%;
  }

  .tmpl_number h5 {
    margin-left: 15%;
  }
}

@media (max-width: 400px) {
  .caption a img {
    padding-top: 19% !important;
    padding-left: 29% !important;
    width: 71% !important;
  }

  .caption .shipei {
    margin-left: 19%;
  }

  .tmpl_number h5 {
    margin-left: 8%;
  }
}

@media (max-width: 375px) {
  .caption a img {
    padding-top: 21% !important;
    padding-left: 28% !important;
    width: 72% !important;
  }

  .caption .shipei {
    margin-left: 19%;
  }

  .tmpl_number h5 {
    margin-left: 8%;
  }
}