﻿#wrapper {
    padding: 70px 0 0 0;
    /* 存在transform属性， fixed会失效 */
    transform: unset;
    -webkit-transform: unset;
    -moz-transform: unset;
    -o-transform: unset;
    -ms-transform: unset;
    background: #ffffff;
}

.main-content {
    padding: 0;
}

.top-introduction {
    width: 100%;
    height: 300px;
    background: url("../image/top_bg_package.jpg") no-repeat;
    text-align: center;
}

.top-introduction .top-intro-desc {
    padding-top: 100px;
    padding-bottom: 20px;
    font-size: 46px;
    color: #ffffff;
}

.top-introduction .top-intro-btn {
    width: 130px;
    height: 40px;
    color: #ffffff;
    background-color: #1E6AF2;
}

.package-container {
    padding: 70px 100px 120px 20px;
}

.package-choose-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.package-table {
    width: fit-content;
    width: -moz-fit-content;
    font-size: 0;
    min-height: 400px;
    margin: 40px auto auto auto;
    background-color: #FFFFFF;
}

.package-item {
    font-size: 13px;
    width: auto;
    min-width: 250px;
    display: inline-block;
    vertical-align: bottom;
    white-space: nowrap;
    position: relative;
}

.package-item.package-title {
    min-width: 150px;
}

.package-param-item {
    width: 100%;
    height: 50px;
    line-height: 48px;
    border-right: 1px solid #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
    text-align: center;
}

.package-param-item.package-desc {
    padding: 10px;
    border-right: 1px solid transparent;
}

.package-desc {
    height: 150px;
    line-height: 38px;
    color: #FFFFFF;
    background-color: #b7bdc9;
}

.package-title .package-desc {
    background-color: #FFFFFF;
}

.package-desc .package-desc-name {
    font-size: 24px;
}

.package-desc .package-desc-short {
    max-width: 200px;
    height: 29px;
    white-space: pre-wrap;
    overflow: hidden;
    margin: auto;
}

.package-desc .package-desc-price {
    margin-top: 10px;
}

.package-desc-price span.package-price {
    font-weight: bold;
    font-size: 26px;
}

.package-param-item.package-action {
    height: 100px;
    line-height: 80px;
}

.package-btn-get {
    min-width: 100px;
    color: #fff;
    background: #01c2c3;
    border-color: #1b6d85;
}

.package-btn-get:hover {
    color: #fff;
}

.package-btn-get:focus {
    color: #fff;
}

.package-table li.package-item.package-item-active .package-param-item {

}

.package-table li.package-item.package-item-active .package-desc {
    background-color: #1E6AF2;
    border-bottom: 1px solid transparent;
}

.package-table li.package-item.package-item-active:not(.package-trial-used) .package-action .package-btn-get {
    background-color: #1E6AF2;
}

.package-table li.package-item.package-item-active:not(.package-trial-used) .package-action .package-btn-get:hover {
    background-color: #1E6AF2 !important;
}

.package-table li.package-item.package-item-active {
    transform: scale(1, 1.02);
    -webkit-transform: scale(1, 1.02);
    -moz-transform: scale(1, 1.02);
    -o-transform: scale(1, 1.02);
    -ms-transform: scale(1, 1.02);
    background: #FFFFFF;
    z-index: 1000;
}

.package-item.package-trial-used .add-free {
    opacity: 0.5;
    cursor: auto;
}

.package-item .recommend-item {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
}

.package-list {
    background-color: #fff;
    text-align: center;
    padding: 90px 0;
    position: relative;
}

.section-package-list {
    margin-top: 30px;
}

.package-table {
    width: 100%;
}

.package-3 .package-item {
    width: 32%;
    margin-right: 2%;
}

.package-4 .package-item {
    width: 24%;
    margin-right: 1%;
}

.package-item:last-child {
    margin-right: 0;
}

.package-item {
    border-radius: 8px;
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
}

.package-desc {
    height: 110px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.package-func-symbol {
    display: inline-block;
}

.package-func-desc {
    display: inline-block;
    min-width: 25%;
    max-width: 100px;
}

.package-func-symbol img {
    max-width: 15px;
    max-height: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 400;
    color: #444444;
}

.section-subtitle {
    font-size: 18px;
    color: #999999;
}

@media (max-width: 1200px) {
    .package-container {
        padding: 50px 0 30px 0;
    }

    .package-table {
        width: 100%;
    }
}

@media (max-width: 992px) {
    #wrapper {
        padding: 0 0 30px 0;
    }

    .package-item.package-title {
        min-width: 90px;
        width: 20%;
    }

    .package-item {
        width: calc(80% / 3);
        min-width: inherit;
    }
}

@media (max-width: 768px) {
    .package-item {
        width: calc(calc(80% / 3) - 5px);
        min-width: inherit;
    }

    .package-desc .package-desc-name {
        font-size: 16px;
    }

    .package-desc-price span.package-price {
        font-size: 14px;
    }

    .package-desc .package-desc-short {
        white-space: nowrap;
    }

    .package-item .recommend-item {
        width: 45px;
    }

    .package-btn-get {
        min-width: inherit;
    }
}
@media screen and (max-width: 450px){
    .top-introduction .top-intro-desc{
        font-size: 24px;
    }
    .section-title{
        font-size: 28px;
    }
    .package-list{
        padding-top: 20px;
    }
    .section-subtitle{
        font-size: 16px;
    }
    .package-3 .package-item{
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
@media (max-width: 400px) {
    .package-item.package-title {
        min-width: 80px;
    }

    .package-desc .package-desc-name {
        font-size: 16px;
    }

    .package-desc-price span.package-price {
        font-size: 12px;
    }

    .package-desc .package-desc-short {
        white-space: nowrap;
    }

    .package-item .recommend-item {
        width: 35px;
    }

    .package-btn-get {
        min-width: inherit;
    }
}

@media (max-width: 320px) {
    .package-item {
        width: calc(calc(80% / 3) - 8px);
        min-width: inherit;
    }

}

/*-————————————————————————————*/
/* 小程序模板列表页面             */
/*-————————————————————————————*/
.applet-introduction {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    background: rgb(237, 237, 237);
    background-size: cover;
}

.applet-introduction .intro-step-wrapper {
    width: 400px;
    margin: 0 auto;
}

.intro-step-wrapper .intro-inner {
}

.intro-step-wrapper .intro-inner .intro-desc  {
    color: rgb(51, 51, 51);
    font-size: 14px;
}

.intro-step-wrapper .step-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.step-inner .step-item {
    position: relative;
}

.step-inner .step-item .step-num {
    font-size: 30px;
    margin-bottom: 5px;
}

.step-item:not(:last-child) .step-num:after {
    content: '';
    position: absolute;
    top: 25px;
    border: 1px dashed #A7A8AA;
    width: 132px;
    height: 1px;
    left: calc(50% + 21px);
}

.intro-step-wrapper .intro-inner .intro-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.container.applet-container {
    padding-right: 0;
    position: relative;
}

/* 左侧导航 */
.applet-container.nav-fixed .template-nav {
    position: fixed;
    top: 70px;
}

.applet-container.nav-fixed .template-list-wrapper {
    margin-left: 239px;
}

.template-list {
    font-size: 14px;
    padding: 0 20px;
    min-height: 820px;
    /*background-color: #f5f7fa;*/
    margin: 20px 0;
}

/* 左侧导航 */
.template-list .template-nav {
    background: #fff;
    padding: 0 20px;
    font-size: 16px;
    width: 200px;
    display: inline-block;
    vertical-align: top;
    margin-top: 15px;
    margin-right: 30px;
    color: #333;
    position: absolute;
    border-right: 1px solid #ebebeb;
}
.template-list .template-nav.scroll-fixed{
    position:fixed;
    top: 80px;
}
/* 顶部搜索 */
.template-nav .search-template-wrapper {

}

.search-template-wrapper .search-content {
    position: relative;
}

.search-template-wrapper .search-content img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.search-template-wrapper .search-template {
    width: 100%;
    height: 32px;
    opacity: 1;
    padding: 0 25px 0 10px;
    font-size: 12px;
    border: 0.5px solid rgb(207, 207, 207);
}

.search-template-wrapper .summary-template-content {
    padding: 20px 25px;
    border-bottom: 1px solid #ebebeb;
}

.summary-template-content .summary-item {
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #333333;
}

.summary-template-content .summary-item.active, .summary-template-content .summary-item:hover {
    color: #1E6AF2;
}

.summary-template-content .summary-item:last-child {
    margin-bottom: 0;
}

/* 行业分类 */
.template-nav .template-category-wrapper {
    padding: 20px 10px;
}

.template-category-wrapper .template-title {
    margin-bottom: 15px;
    font-size: 14px;
    color: #333333;
}
.template-category-wrapper .template-category-list {
    padding-left: 15px;
}

.template-category-list .top-category {
    margin-bottom: 5px;
}

.template-category-list .top-category:first-child .sub-category {
    display: block;
}

.template-category-list .top-category .category-name {
    cursor: pointer;
}

.template-category-list .top-category.active .category-name {
    text-align: left;
    color: #1E6AF2;
    cursor: pointer;
    padding-left: 0;
}

.template-category-list .top-category .sub-category {
    font-size: 14px;
    margin-top: 10px;
    padding-left: 15px;
    display: none;
}

.sub-category .category-item {
    margin-bottom: 3px;
    cursor: pointer;
    display: block;
    color: #333333;
}
.sub-category .category-item span{
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.sub-category .category-item span:after{
    content: ' ';
    display: block;
    height: 2px;
    background-color: #1E6AF2;
    width: 100%;
    position: absolute;
    transition: transform .5s ease;
    transform: translateX(-100%);
    left: -1px;
    bottom: 0;
}
.sub-category .category-item.active,.sub-category .category-item:hover {
    color: #1E6AF2;
}
.sub-category .category-item.active span:after,.sub-category .category-item span:hover:after{
    transform: translateX(0);
}

.sub-category .category-item:last-child {
    margin-bottom: 0;
}

/* 模板列表 */
.template-list-wrapper {
    width: calc(100% - 220px);
    display: inline-block;
    vertical-align: top;
    min-height: 350px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 220px;
}

.template-list-content {
    min-height: 360px;
    overflow: hidden;
}
.template-list-content:after {
    clear: both;
}

.template-list-content .template-item {
    display: inline-block;
    vertical-align: top;
    position: relative;
    padding: 15px;
    width: 25%;
    border-radius: 4px;
    float: left;
    margin-bottom: 0px;

    opacity: 0;
    transform:translateY(40px);
    transition: all 0.3s ease-in-out 0s;
}
.template-list-content .template-item.active {
    opacity: 1;
    transform:translateY(0);
}

.template-list-content .template-item:after {
    clear: both;
}
.template-list-content .template-item:nth-child(3n) {
    margin-right: 0;
}
.template-list-content .template-item .item-content {
    border: 1px solid #ebecf0;
    position: relative;
}
.template-list-content .template-item .item-content .item-content-overlay{
    transition: .3s;
}
.template-list-content .template-item .template-image-content {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 490px;
}

.template-list-content .template-image-content .template-image {
    height: 100%;
    width: 100%;
}
.template-list-content .template-image-content .template-image .template-img-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}
.template-list-content .template-image-content .template-image .template-img-wrapper img{
    width: 100%;
    position: absolute;
}

.template-list-content .template-image-content .template-modal {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.6);
}

.template-image-content .template-modal .template-actions {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 13px;
}

.template-list-content .template-info {
    padding: 7px 10px;
    transition: .3s;
    /*display: none;*/
    position: absolute;
    width: 100%;
    top: 50%;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    z-index: 10;
    transform: translateY(-50%);
}
.template-list-content .template-info a{
    color: #ffffff;
}
.template-list-content .template-info a:hover{
    text-decoration: none;
}

.template-list-content .template-info .template-name {
    margin: 10px 0 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
}

.template-list-content .template-info .template-desc {
    /*height: 36px;*/
    font-size: 14px;
    line-height: 22px;
    width: 90%;
    margin: 0 auto;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*display: -webkit-box;*/
    /*-webkit-line-clamp: 2;*/
    /*-webkit-box-orient: vertical;*/
}
.template-list-content .template-info .template-tip {
    margin: 20px;
    font-size: 14px;
}

.template-list-content .template-option {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
    font-size: 12px;
    background-color: #ffffff;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #777777;
}

.template-option .template-actions {
    display: flex;
    align-items: center;
}

.template-option .preview-template-btn {
    display: inline-block;
    width: 50px;
    height: 24px;
    appearance: none;
    border: 1px solid rgb(214, 214, 214);
    text-align: center;
    line-height: 24px;
    margin-right: 8px;
    color: #777777;
}


.template-option .buy-template-btn {
    width: 50px;
    height: 24px;
    display: inline-block;
    border: 1px solid rgb(214, 214, 214);
    color: #777777;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.template-list-wrapper .no-more {
    text-align: center;
    margin-top: 20px;
}
.template-list-content .template-item .item-content:hover {
    box-shadow: 0 4px 7px 0 rgba(0,0,0,0.12);
}
.template-list-content .template-item .item-content:hover .item-content-overlay{
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    z-index: 10;
    opacity: 1;
}
.template-list-content .item-content:hover .template-info {
    z-index: 11;
}
.template-list-content .item-content:hover .template-option {
    background:transparent;
    color: #ffffff;
    z-index: 11;
}
.template-list-content .item-content:hover .preview-template-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;;
}
.template-list-content .item-content:hover .buy-template-btn{
    color: #222222;
    background-color: #ffffff;
}
.template-list-content .template-option .preview-template-btn:hover {
   border-color: #d8d8d8;
}
.template-list-content .template-option .buy-template-btn:hover {
    background-color: #d8d8d8;
}
.template-list-content .template-item .item-content:hover .template-info{
    /*display: block;*/
    opacity: 1;
}

/* 空列表 */
.empty-list-wrapper {
    display: flex;
    min-height: 700px;
}

.empty-list-wrapper .empty-list-content {
    margin: auto;
    text-align: center;
}

.empty-list-content img {
    margin-bottom: 20px;
}

/* 首页查看更多模板 */
.view-action-wrapper {
    text-align: center;
    clear: both;
}

.view-action-wrapper .view-more-template {
    width: 200px;
    border-radius: 25px;
}

.view-more-template i {
    margin-left: 10px;
}

/* 分页区域 */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*链接添加下划线动画*/
@media (min-width: 1400px) {
    .template-list .container {
        width: 1400px;
    }
}
@media  (max-width: 1200px) {
    .package-list .package-tab {
        text-align: center !important;
    }
    .template-list-content .template-item {
        width: 33%;
    }
    .container.applet-container{
        width: 100%;
    }
}

@media  (max-width: 995px) {
    .applet-introduction .intro-step-wrapper {
        width: 375px;
        text-align: center;
    }
    .step-item:not(:last-child) .step-num:after {
        left: calc(50% + 18px);
    }
    .template-list .template-nav {
        margin-right: 0;
        top: 0 !important;
        border: none;
        padding: 0 15px;
    }
    .template-list-wrapper {
        display: block;
    }
    .search-template-wrapper .summary-template-content{
        padding: 20px 0px;
    }
    .container.applet-container{
        width: 100%;
    }
    .template-list-content .template-item {
        width: 50%;
    }
}
@media  (max-width: 768px){
    .summary-template-content .summary-item{
        margin-bottom: 0px;
        display: inline-block;
        padding: 0 10px;
    }
    .sub-category .category-item{
        display: inline-block;
        padding: 0px 4px;
        margin-bottom: 10px;
    }
    .template-category-list .top-category .sub-category{
        padding-left: 0;
    }
    .template-category-list .top-category{
        margin-bottom: 10px;
        display: inline-block;
        margin-right: 10px;
    }
    .template-nav .template-category-wrapper {
        padding: 20px 10px 10px 10px;
    }
    .container.applet-container {
        padding:0 10px;
    }
    .template-list {
        min-height:500px;
        margin-top: 20px;
        padding:0;
    }
    .empty-list-wrapper {
        min-height: 200px;
    }
    .template-list-content {
        min-height: inherit;
    }
    .template-list-wrapper {
        min-height: inherit;
    }
    .intro-step-wrapper .intro-inner .intro-title {
        font-size: 26px;
        font-weight: normal;
    }
    .intro-step-wrapper .intro-inner .intro-desc{
        margin-top: 10px;
    }
    .template-list-content .template-item {
        width: 50%;
    }
    .template-list .template-nav {
        display: block;
        width: 100%;
        margin-right: 0;
        position: relative !important;
        top: 0 !important;
        border: none;
        padding: 0 10px;
    }
    .template-list-wrapper {
        display: block;
        width: 100%;
        margin-left: 0 !important;
    }
    .item-content .item-content-overlay{
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.4);
        z-index: 10;
    }
}

@media screen and (max-width: 450px){
    #wrapper{
        padding: 0px;
    }
    .template-list{
        font-size: 13px;
    }
    .template-list-content .template-item{
        margin-bottom: 0px;
        width: 50%;
        padding: 5px !important;
    }
    .template-list-content .template-image-content .template-image .template-img-wrapper{
        height: 140px;
    }
    .template-option .buy-template-btn{
        width: 50%;
        height: 32px;
        line-height: 30px;
    }
    .template-option .preview-template-btn{
        width: 50%;
        height: 32px;
        line-height: 30px;
    }
    .template-list-content .template-item .template-image-content{
        height: 320px;
    }
    .template-list-content .template-option{
        display: block;
        padding: 5px;
        height: auto;
    }
    .template-option .template-actions{
        justify-content: flex-end;
    }
    .template-list-content .template-option .fee-desc {
        padding-bottom: 3px;
    }
}

@media screen and (max-width: 390px){
    .intro-step-wrapper .intro-inner .intro-title{
        font-size: 24px;
    }
    .step-inner .step-item .step-num{
        font-size: 24px;
    }
    .step-item:not(:last-child) .step-num:after{
        top:18px;
    }
    .intro-step-wrapper .step-inner{
        justify-content: space-around;
    }
    .step-item:not(:last-child) .step-num:after {
        width: 60px;
    }
    .template-list{
        margin-top: 20px;
        margin-bottom: 0px;
    }

}

@media screen and (max-width: 325px){
    .intro-step-wrapper .step-inner{
        padding: 0 15px;
    }
    .step-item:not(:last-child) .step-num:after{
        left: calc(50% + 13px);
    }
    .step-inner .step-item .step-num{
        font-size: 18px;
    }
    .step-item:not(:last-child) .step-num:after {
        top:14px;
    }
    .template-list-content .template-info .template-name{
        margin: 5px 0 5px;
    }
    .template-list-content .template-info{
        padding: 2px 10px;
    }
    .template-option .buy-template-btn{
        width: 40px;
    }
    .template-option .preview-template-btn{
        width: 40px;
    }
}