*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
ul li{
  list-style: none;
}
/* 置顶顶部 */
.fixed-item{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    height: 80px;
    line-height: 80px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 1px 1px 8px #ccc;
}
.wrapper{
    width: 1140px;
    margin: 0 auto;
    padding:0;
    overflow: hidden;
}
@media (min-width:1200px){
    .wrapper{
        width: 1140px;
    }
}
.course-nav{
    display: inline-block;
}
.course-nav-tabs{
    height: 80px;
    line-height: 60px;
    border-bottom: none;
    padding: 0;
}
.course-nav-tabs li{
    margin-right:15px;
    position: relative;
    float: left;
    cursor: pointer;
}
.course-nav-tabs .active a,
.course-nav-tabs li a:hover {
    color: #56a8ff;
}
.course-nav-tabs li.active:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -14px;
    content: "";
    background: #56a8ff;
    display: inline-block;
    width: 32px;
    height: 2px;
}
.course-nav-tabs li a{
    display: inline-block;
    padding: 0 15px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}
.preview-icon{
    display: inline-block;
    height: 22px;
    line-height: 22px;
    border: 1px solid #56a8ff;
    padding: 0 6px;
    border-radius: 4px;
    color: #56a8ff;
    font-size: 12px;
    font-weight: normal;
    margin: 9px 5px 0;
}


/* 课程banner */
.courseList-banner{
    width: 100%;
    min-width: 1140px;
    min-height: 400px;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgb(28 31 33 / 10%);
    padding-bottom: 18px;
}
.wrapper-index{
    width: 1140px;
    margin: 0 auto;
    padding: 30px 0;
    overflow: hidden;
}

@media (min-width: 1200px){
    .wrapper-index{
        width: 1140px;
    }
}
@media (min-width: 1300px){
    .wrapper-index{
        width: 1240px;
    }
}
.head-nav{
    margin-bottom: 25px;
    font-size: 14px;
}
.head-nav a{
    color: #666;
    opacity: 1;
    transition: color .1s linear 0s;
}
.head-nav a:hover{
    color: #56a8ff;
}
.banner-content{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}
.banner-left{
    /* float: left; */
    position: relative;
}
.cover-img{
    position: relative;
}
.cover-img img{
    display: block;
    width: 460px;
    height: 278px;
    background-color: #f5f5f5;
    border-radius: 4px;
}
.course-tip{
    /* position: absolute;
    bottom: -30px; */
    font-size: 14px;
    color: #666;
}
.course-tip li{
    display: inline-block;
    margin-right: 10px;
}
.Collection{
    position: absolute;
    bottom: -30px;
    right: 0;
    color: #9D9D9D;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;  
}
.banner-right{
    position: relative;
    margin-left: 20px;
    min-height: 278px;
}
.course-name{
    font-size: 26px;
    font-weight: 500;
}
.banner-meta{
    margin-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
    width: fit-content;
}
.banner-meta .meta{
    display: flex;
    align-items: center;
}
.banner-meta .meta span{
    display: inline-block;
    font-size: 14px;
    color: #666;
}
.i-line{
    display: inline-block;
    width: 1px;
    height: 18px;
    background-color: #bbb;
    margin: 0 10px;
    vertical-align: middle;
}
.course-price{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}
.priceBox{
    display: flex;
    align-items: center;
    font-size: 26px;
    color: #56a8ff;
}
.showPrice{
    display: flex;
    align-items: baseline;
    margin-right: 15px;
}
.showPrice span{
    position: relative;
}
.banner-foot{
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
}

.banner-foot .warning-btn{
    margin-left: 10px;
}

.login-btn:hover{
    opacity: 0.9;
}

/* 中心区域 */
.courseList-content{
    padding:15px 0 25px;
    background: #f6f7f9;
}
.autoBox{
    width: 1140px;
    margin: 0 auto;
    padding: 25px 0;
    overflow: hidden;
}
@media (min-width: 1200px){
    .autoBox{
        width: 1140px;
    }
}
@media (min-width: 1300px){
    .autoBox{
        width: 1240px;
    }
}
.courseList-left{
    position: relative;
    float: left;
    width: 834px;
    background-color: #fff;
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
    min-height: 884px;
    margin-right: 15px;
}
@media (min-width: 1200px){
    .courseList-left{
        width: 834px;
    }
}
@media (min-width: 1300px){
    .courseList-left{
        width: 934px;
    }
}
.courseList-nav .nav-tabs{
    height: 50px;
    line-height: 50px;
    padding: 0px 25px 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}
.nav-tabs li{
    position: relative;
    margin-right: 25px;
    cursor: pointer;
}
.nav-tabs li a{
    display: inline-block;
    padding: 0 15px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    border:none;
}
.nav-tabs li.active a{
    color: #56a8ff;
    border:none;
}
.nav-tabs li a:hover{
    border:none !important;
    color:#56a8ff !important;
}
.nav-tabs>li.active>a{
    color: #56a8ff;
    border:none;
}
.nav-tabs li.active::after{
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -14px;
    content: "";
    background: #56a8ff;
    display: inline-block;
    width: 32px;
    height: 2px;
}
.courseList-body{
    padding: 25px;
}
.courseList-item.active{
    display: block;
}
.courseList-item{
    display: none;
}
.courseList-item .courseInfo{
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
    line-height: 1.7;
    color: #333;
    outline: none;
    word-wrap: break-word;
}
.courseList-item .courseInfo h2{
    font-size:20px;
    margin:20px 0 10px;
    font-weight: bold;
}
.courseList-item .courseInfo p {
    word-wrap: break-word;
    margin: 0 0 5px;
    color: #333;
    line-height: 1.7;
}
.chapter-item{
    margin-bottom: 25px;
}
.chapter-item h3{
    position: relative;
    height: 42px;
    line-height: 42px;
    font-size: 15px;
    color: #333;
    background-color: #ededed;
    border-radius: 6px;
    padding-left:15px;
    padding-right: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}
.chapter-item h3 .icon{
    float: right;
    font-size: 20px;
    color: #666;
}
.chapter-box{
    padding-left: 20px;
}
.chapter-box li {
    position: relative;
    height: 40px;
    line-height: 40px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}
.chapter-box li a {
    display: block;
    font-size: 14px;
    color: #333;
    padding-right: 10px;
}
.chapter-box .c-icon{
    font-size: 20px;
    color: #9ca3aa;
    margin-right: 5px;
}
.c-icon-right{
    float: right;
}
.h-item .h-item-list{
    padding: 20px 0;
    border-top: 1px solid #ededed;
}
.userAvater{
    float: left;
    overflow: hidden;
    border-radius: 50%;
}
.user-info{
    overflow: hidden;
    margin-left: 64px;
    font-size: 14px;
    line-height: 1;
}
.user-info .top .username{
    font-weight: 600;
}
.user-info .comment{
    line-height: 1.6;
    margin-top: 16px;
}
.user-info .date{
    font-size: 13px;
    color: #666;
    margin-top: 16px;
}
.cmBox .title{
    font-size: 20px;
    margin-bottom: 10px;
}
.c-container .item{
    display: block;
    margin: 10px 50px 10px 0;
    max-width: 261px;
}
.c-container .item .courseImg{
    position: relative;
    text-align: center;
    background-color: #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.c-container .item .courseImg img{
    display: block;
    width: 100%;
    height: 100%;
}
.c-container .item .info{
    padding: 0 6px;
}
.c-container .item .info .title{
    font-size: 15px;
    font-weight: 600;
    padding-top: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #333;
}
.c-container .item .info .desc{
    display: -webkit-box;
    box-sizing: content-box;
    line-height: 20px;
    height: 40px;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 8px 0 0;
}
.c-container .item .sale .price{
    font-size: 13px;
    color: #56a8ff;
}
.vipTag{
    float: right;
}
.vipTag .tag{
    background-color: #e6dab8;
    color: #4c3b1e;
    padding: 2px 4px;
    font-size: 13px;
    border-radius: 4px;
}
.c-container .c-box{
    width: 33%;
}
.c-container .c-box:hover{
    transform: translateY(-10px);
    transition: all linear 0.2s;  
}
/* 右边区域 */
.courseList-right{
    float: left;
    width: 280px;
}
.orderBox{
    background-color: #fff;
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
    padding: 20px 0;
    margin-bottom: 15px;
    overflow: hidden;
}
.orderBox .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ebebeb;
    padding: 0 20px 10px;
    margin-bottom: 20px;
}
.orderBox .head h2{
    font-size: 18px;
    color: #333;
    font-weight: 600;
}
.orderBox .head .refresh{
    font-size: 12px;
    color: #999999;
    cursor: pointer;
    transition: color .1s linear 0s;  
}
.orderBox .head .refresh:hover{
    color: #56a8ff;
}
.orderBox .head h2::before{
    content: "";
    background: #56a8ff;
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    margin-bottom: 3px;
    vertical-align: middle;
}
.orderBox .c-body{
    padding: 0 20px;
}
.c-body-list li + li{
    margin-top: 15px;
}
.c-body-list .list-img{
    float: left;
    width: 80px;
    height: 50px;
    border-radius: 6px;
    position: relative;
}
.c-body-list .list-img img{
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: none;
    vertical-align: middle;
}
.list-content{
    margin-left: 95px;
    height: 50px;
}
.list-content .list-name{
    display: block;
    font-size: 14px;
    color: #333;
    padding-top: 3px;
    word-wrap: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 5px;
}
.list-content .meta{
    font-size: 12px;
    color: #666;
}
.orderBox .box{
    padding: 0 20px
}
.orderBox .box img{
    width: 100%;
    height: 100%;
}
.courseList-body img{
    max-width: 100%;
}
.warning-btn:hover{
    color:#fff;
    background: #F77E2E;
}
/* 手机端 */
@media (max-width: 768px) {
    .wrapper-index,
    .autoBox{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
    }
    .courseList-banner{
        min-width:100%;
    }
    .cover-img img{
        width: 100%;
    }
    .banner-right{
        /* margin-top:40px; */
    }
    .banner-foot{
        flex-wrap: wrap;
    }
    .banner-foot a{
        margin-top:10px;
    }
    .courseList-right{
        display: none;
    }
    .courseList-nav {
        overflow-x: scroll;
    }
    .courseList-nav .nav-tabs{
        padding:0px;
    }
}