/*首页*/
.banner-item{
    display: inline-block;
    margin: 0 auto;
    border-radius: 0;
    width: 100%;
}
.section-title{
    overflow: hidden;
}
.section-title .title-name{
    float: left;
    font-weight: 700;
    line-height: 26px;
    font-size: 26px;
    color: #333;
}
.section-title .more{
    float: right;
    line-height: 36px;
    color: #6D7278;
    transition: all .2s;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 16px;
}
.icon-title{
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/train/icon-title.svg")no-repeat center;
    background-size: 100%;
    vertical-align: -2px;
}
.section-wrap{
    margin-top: 18px;
}
/*列表*/
.template-wrap{
    margin-bottom: 20px;
}
.template-wrap a{
    transition: all .2s;
}
.template-item{
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #ececec;
    transition: all .2s;
    overflow: hidden;
    border-radius: 6px;
    padding-bottom: 10px;
}
.template-item:hover{
    border: 1px solid #83aec2;
}
.template-item .template-img{
    width: 100%;
    height: 400px;
    background-image: url("/static/images/icons/icon-empty-img.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: center;
    background-color: #f2f6f9;
    color: #fff;
    border-radius:  6px 6px 0 0;
    overflow: hidden;
}

.template-item .template-img img{
    width: 100%;
    height: 100%;
}
.template-item .template-img .status{
    position: absolute;
    top: 9px;
    left: 9px;
    text-align: center;
    font-size: 14px;
    line-height: 26px;
    border-radius: 6px 0 11px 0;
    padding: 0 5px;
    height: 26px;
    background-color: #44A4F8;
    color: #fff;
}
.template-item .template-title{
    margin:12px 8px 8px;
    height: 18px;
    font-size: 14px;
    color: #333;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.template-item .template-property{
    bottom: 8px;
    color: #9199A1;
    font-size: 12px;
    padding: 0 8px;
}
.template-property .left{
    float: left;
}
.template-property .left .layui-icon{
    vertical-align: -1px;
}
.template-property .left span{
    padding-right: 6px;
    margin-right: 2px;
    border-right: 1px solid #eaeaea;
}
.template-property .left span:last-child{
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    font-size: 12px;
}
.template-property .right{
    font-size: 12px;
    float: right;
}
/*list.html*/
.template-list{
    margin-top: 18px;
}
.recommend-item{
    overflow: hidden;
    padding: 12px 0;
}
.template-recommend{
    margin-top: 0;
    min-height: 280px;
}
.recommend-item{
    display: flex;
    border-bottom: 1px dashed rgba(43,51,59,0.1);
}
.template-recommend .template-img{
    float: left;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    margin-right: 12px;
    overflow: hidden;
}
.template-recommend .template-img img{
    height: 60px;
    transform: translateX(-20%);
}
.template-recommend .template-info{
    float: left;
    flex: 1;
}
.template-recommend .template-describe{
    padding: 0;
    margin-bottom: 6px;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.template-recommend .template-property{
    padding: 0;
}
.template-recommend .template-title{
    text-align: center;
    color: #fff;
    line-height: 60px;
    font-weight: bold;
}
/*view.html*/
.layui-btn-xs{
    line-height: 21px;
}
.goHome{
    display: block;
    position: absolute;
    right: 0;
    top: 18px;
    color: rgba(255,255,255,0.5);
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
}
.goHome:hover{
    color:#fff;
    border: 1px solid #fff
}
.template-view{
    width: 100%;
}
.template-view-header{
    width: 100%;
    min-height: 200px;
    /*background: url("/static/images/train/banner-view.png") no-repeat center;*/
    background: linear-gradient(to top right, #bbdcb1 0%, #5bc3c0 25%, #6690ff 100%);
    background-size: cover;
    /*  color: #fff;*/
    padding-bottom: 12px;
    overflow: hidden;
}
.view-header-box{
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}
.view-header-box .title{
    width: 70%;
    font-size: 24px;
    margin: 16px 0;
    color: #fff;
}
.view-header-box .intro{
    width: 70%;
    color: #fff;
    margin-bottom: 34px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.view-header-box .template-info{
    color: #fff
}
.view-header-box .template-breadcrumb a,.view-header-box .template-breadcrumb{
    color: rgba(255,255,255,0.6);
}
.template-info-menu{
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #fff;
}
.template-menu div{
    position: relative;
    display: block;
    float: left;
    margin-right: 56px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.template-menu  div.active,.template-menu  div:hover{
    color: #ff5722;
}
.template-menu div.active:after{
    position: absolute;
    content: '';
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 36px;
    border-radius: 3px;
    height: 3px;
    background: #ff5722;
}
.template-info-img{
    display: inline-block;
    margin: -9px 6px 0 0;
    float: left;
    width: 36px;
    height: 36px;
    background: url("/static/images/avatar/default.png")no-repeat center;
    background-size: 100%;
}
.template-info-item{
    display: inline-block;
    float: left;
    margin: 0 12px 14px 0;
    padding-right: 12px;
    line-height: 18px;
    border-right: 1px dashed rgba(255,255,255,0.3);
    color: #fff;
}
.template-info-img img{
    display: inline-block;
    width: 36px;
}
.template-info-wrap {
    position: relative;
}
.template-info-left{
    overflow: visible;
    margin-right: 330px;
    padding: 0 18px;
    background-color: #fff;
}
.info-main-item{
    line-height: 28px;
    padding: 20px 20px 20px 0;
    background: #fff;
    min-height: 600px;
}
.chapter{
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eaeaea;
}
.chapter h3 {
    margin-bottom: 10px;
    color: #1c1f21;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.chapter h4 {
    color: #666666;
}
.chapter .video {
    padding-top: 16px;
}
.template-chapters .chapter .video li {
    position: relative;
    padding-left: 12px;
    height: 48px;
    line-height: 48px;
    list-style: none;
}
.template-chapters .chapter .video li a {
    color: #1c1f21;
    display: block;
    overflow: hidden;
    word-break: break-all;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 14px;
    line-height: 48px;
}
.template-info-right{
    position: absolute;
    right: 0;
    float: right;
    top: -150px;
    width: 320px;
}
.template-info-right .learn-box{
    width: 320px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    min-height: 160px;
    z-index: 901;
    background-color: #fff;
    border-radius: 12px;
}
.learn-box .layui-btn span{
    margin-right: 6px;
}
.original{
    margin: 6px auto;
    width: 100%;
    text-align: center;
    color: #666;
    font-size: 16px;
}
.template-info-tip{
    font-size: 14px;
}
.template-info-tip dt{
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
}
.template-info-tip dd{
    line-height: 16px;
    color: #545c63;
    white-space: pre-line;
}
.template-info-right .learn-info{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}
.template-info-right .layui-progress {
    margin: 12px 0;
}
.template-info-right .layui-btn {
    margin: 12px 0;
    width: 100%;
    border-radius: 24px;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
}
/* 详情 */
.template-view {
    background-color: #ffffff;
    padding: 5px;
}
.view-header-title {
    color:#333;
    font-size:24px;
    font-weight:normal;
    word-break:break-all;
    padding: 5px 0;
}
.view-header-title .is-vip{
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    font-style: normal;
    padding: 0 6px;
    height: 20px;
    background: linear-gradient(90deg, #fee2b6, #fec86e);
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    color: #a26b0f;
    overflow: hidden;
}
.view-header-title .file-type {
    display:inline-block;
    vertical-align: middle;
    width:36px;
    height:28px;
    border-radius:2px;
    text-align:center;
    line-height:27px;
    font-size:12px;
    font-weight:bold;
    border:1px solid #eaeaea;
    overflow:hidden;
}
.view-header-property {
    padding-bottom: 10px;
    overflow: hidden;
}
.view-header-property p {
    padding:12px 14px 0 0;
    font-size:12px;
    display:inline-block;
    color:#333;
}
.view-header-property p span {
    color:#999;
}

.content-padding {
    margin-top: 10px;
}
.view-download-btn {
    position:relative;
    display: flex;
    clear: both;
    height: 50px;
}
.view-download-btn a {
    display: block;
    float: right;
    width: 50%;
    height: 50px;
    padding: 15px;
    text-align: center;
    color: #ffffff;
    background-color: #1E9FFF;
    cursor: pointer;
}
.view-download-btn a.wide {
    width: 100%;
}
.likeCount {
    cursor: pointer;
}
.view-download-btn.fixed{
    position: fixed;
    top: 32px;
    z-index: 999;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.2);
    min-width: 292px;
    background-color: #fff;
}
/*详情页右侧推荐*/
.other-template-list {
    overflow:hidden;
}
.other-template-list li{
    margin-bottom:16px;
    position:relative;
    box-sizing:border-box;
}
.other-template-list li:last-child{
    margin-bottom: 8px;
}
.other-template-list li a {
    display:inline-block;
    vertical-align:middle;
    max-width:100%;
    font-size:14px;
}
.other-template-list li a .list-img{
    float: left;
    width: 100px;
    height: 60px;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f2f2f2;
}
.other-template-list li a .list-img img{
    width: 100%;
    max-width: 100px;
    min-height: 60px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.other-template-list li a .list-title{
    float: left;
    width: 145px;
    height: 55px;
    overflow: hidden;
}