.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
.hide {
    display: none;
}
.show {
    display: block;
}
.p10{
    padding: .5rem;
}
body {
    background: #eee;
}
header.bar {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 10;
    height: 2.2rem;
    padding-right: 3%;
    padding-left: 3%;
    /*rgba(0,153,255,1)*/
    background-color: rgba(45, 45, 45, .1);
    color: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 20;
}
.bar .icon {
    position: relative;
    z-index: 20;
    padding: .5rem .1rem;
    font-size: 1rem;
    line-height: 1.2rem;
}
.bar .title {
    position: absolute;
    display: block;
    width: 70%;
    padding: 0;
    margin: 0 12%;
    font-size: .85rem;
    font-weight: 500;
    line-height: 2.2rem;
    color: #fff;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content {
    padding-bottom: 2.2rem;
    background: #fff;
}
#course-img{
    min-height: 3rem;
}
.buttons-tab {
    width: 100%;
    height: 2rem;
    border-bottom: 1px solid #F3F3F3;
    background: #fff;
}
.content.fixed .buttons-tab {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}
.tab-content {
    background-color: #ECF0F3;
}
.content.fixed .tab-content {
    margin-top: 2rem;
}
.buttons-tab .button {
    width: 33.33%;
    float: left;
    color: #5f646e;
    font-size: .75rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.buttons-tab .button.active {
    color: #0894ec;
    border-color: #0894ec;
    z-index: 100;
}


.detail-header,.detail-content,.course-comment{
    padding-top: .8rem;
    margin-bottom: .5rem;
    background-color: #fff;
}
.detail-header .course-title{
    margin-bottom: .5rem;
    font-size: .9rem;
    color: #010101;
}
.detail-header{
    position: relative;
    overflow: hidden;
}
.ribbon{
    position: absolute;
    right: -110px;
    top: 10px;
    width: 280px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: rgb(50, 215, 158);
    color: #fff;
    font-size: 13px;
    transform:rotate(40deg);
    -ms-transform: rotate(40deg);       /* IE 9 */
    -webkit-transform: rotate(40deg);   /* Safari and Chrome */
    -o-transform: rotate(40deg);        /* Opera */
    -moz-transform: rotate(40deg);
}
.detail-header .assist{
    margin-bottom: .5rem;
    font-size: .65rem;
    color: #696969;
}
.detail-header .assist .sep{
    vertical-align: middle;
    display: inline-block;
    width: 1px;
    height: .55rem;
    margin: 0 .5rem;
    background-color: #ddd;
}
.stars i{
    color: #ccc;
    font-size: .7rem;
}
.stars i.off{
    color: #ccc;
}
.stars i.on{
    color: #ffb200;
}
.detail-header .price{
    font-size: .9rem;
    color: #F4520F;
}
.detail-header .price.free{
    color: #70A914;
}
.detail-header .price small{
    font-size: 10px;
    color: #ccc;
    margin-left: 5px;
    vertical-align: middle;
    border: 1px solid #ccc;
    padding: 1px 2px;
}
.detail-content h3,.course-comment h3{
    padding-left: .5rem;
    margin-bottom: .8rem;
    font-size: .8rem;
    border-left: 3px solid #ff5b00;
}
.detail-content p{
    font-size: .7rem;
    color: #696969;
    line-height: 1.5;
    text-align: justify;
}


.course-comment h3 small{
    font-size: .75rem;
    color: #6F6F6F;
}
.course-comment h3 .more{
    font-size: .65rem;
    color: #6F6F6F;
}
.course-comment h3 .more i{
    vertical-align: middle;
}
.comment-list .item{
    padding: 1rem .3rem .5rem;
    position: relative;
}
.comment-list .item:first-child{
    margin: 0 -.5rem;
    padding: 1rem .8rem .5rem;
}
.comment-list .item:last-child{
    padding-bottom: 0;
}
.comment-list .user-info{
    margin-bottom: .5rem;
}
.comment-list .user-info img{
    margin-right: .5rem;
    width: 2.5rem;
    vertical-align: middle;
    border-radius: 100%;
}
.comment-list .user-info .username{
    margin-right: .3rem;
    font-size: .65rem;
}
.course-comment .comment-content{
    margin-bottom: .5rem;
    font-size: .75rem;
    line-height: 1.3;
}
.course-comment .conmment-time{
    text-align: right;
    color: #B2B2B2;
    font-size: .65rem;
}

/*课时列表页面----课时列表*/

.lessons {
    height: auto;
    padding: 0 0 5.2rem 0;
    background-color: #fff;
}

.lessons .active {
    background-color: #f2f2f2
}

.lessons .chapter {
    padding: .3rem .3rem .3rem .6rem;
    margin: 0;
    font-size: .7rem;
    line-height: 1.6rem;
    height: auto;
    background-color: #f7f9fc;
}

.lessons .chapter:first-child {
    margin-top: 0;
}

.lessons .unit {
    margin-left: .1rem;
    padding: .3rem .3rem .3rem .6rem;
    font-size: .75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6f6f6f;
}

.lessons .section {
    padding: .3rem .3rem .3rem .6rem;
    margin-left: .1rem;
    margin-bottom: .1rem;
    line-height: 1.5rem;
    font-size: .7rem;
    color: #5f646e;
    position: relative;
}
.lessons .section.active{
    color: #09f;
}

.lessons .section .iconfont {
    /*vertical-align: middle;*/
    font-size: 1rem;
    color: #0099FF;
    margin-right: .2rem;
}
.lessons .section .iconfont.icon-enter{
    margin-right: 0;
}

.lessons .section span {
    display: inline-block;
    padding-top: .2rem;
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.lessons .section .icon-enter {
    color: #b2b2b2;
}


.recommend-course{
    min-height: 15rem;
    background-color: #fff;
}
.recommend-course .txt{
    padding-bottom: .2rem;
    font-size: .9rem;
    color: #010101;
}
.recommend-course .course-list .item{
    position: relative;
    padding-left: 8rem;
}
.recommend-course .course-list .item:first-child:after{
    height: 0;
}
.recommend-course .course-list .left{
    position: relative;
    overflow: hidden;
    margin-left: -7.5rem;
    border-radius: 3px;
    width: 7rem;
    height: 4rem;
}
.recommend-course .course-list .left .persons{
    position: absolute;
    left: 0;
    bottom: 0rem;
    padding-left: .5rem;
    width: 100%;
    height: 1rem;
    line-height: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: .6rem;
}
.recommend-course .course-list .right{
    position: relative;
    height: 4rem;
}
.recommend-course .course-list .right .title{
    font-size: .8rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.recommend-course .course-list .right .suixue{
    margin-top: .3rem;
    color: #b2b2b2;
    font-size: .6rem;
}
.recommend-course .price{
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: .9rem;
    color: #F4520F;
}
.recommend-course .price.free{
    color: #70A914;
}
.footer.course {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2.2rem;
    color: #fff;
    z-index: 999;
    border: none;
}
.footer .tab {
    font-size: .75rem;
    height: 100%;
    line-height: 2.2rem;
    text-align: center;
}
.footer .left {
    width: 30%;
    background-color: #EFF3F6;
    color: #2F363F;
}
.footer .left a{
    color: #2F363F;
    text-decoration: none;
}
.footer .right {
    width: 70%;
    background-color: #0099FF;
}

.pay-wrapper,.pay-way{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    color: #333;
}
.pay-way{
    z-index: 1001;
}

.payZhao,.pay-way-zhao {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
}

.payTip,.pay-way-content {
    width: 100%;
    height: 260px;
    background-color: #fff;
    z-index: 200;
    position: fixed;
    bottom: 0;
    left: 0;
}
.pay-way-content{
    display: flex;
    height: 100px;
}
.pay-way-item{
    flex: 1;
    text-align: center;
    padding-top: 12px;
}
.pay-way-item .img{
    border-radius: 100%;
    overflow:hidden; 
    margin-bottom: 7px;
}
.pay-way-item .img img{
    width: 50px;
}
.pay-way-text{
    font-size: 12px;
}
.pay-way-item.disabled img{
    opacity: 0.4;
}
.pay-way-item.disabled .pay-way-text{
    color: #ccc;
}

.payTip .courseInfo {
    padding: 20px 40px 16px 8px;
}

.courseInfo .infoTitle {
    max-height: 54px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.courseInfo .infoPrice {
    color: orange;
    margin-top: 10px;
}

.payTip .courseDiscount {
    padding: 16px 8px 16px 8px;
    font-size: 14px;
}

.courseDiscount .discountContent {
    margin-left: 30px;
    margin-top: 10px;
}
.courseDiscount .sku-tip small{
    font-size: 10px;
    color: #ccc;
    margin-left: 5px;
}

.payButton {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #26a2ff;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: .8rem;
    text-align: center;
}

.course-sku-list{
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.course-sku-item{
    display: inline-block;
    padding: 4px 12px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.course-sku-item.active{
    background-color: #09f;
    border-color: #09f;
    color: #fff;
}
