body { background-color: #ffffff !important; }
.detail { margin: 0; padding:0 0 120px 0; width: 100%; }
.detail .top-bar { position: absolute;
    top:0;
    left:0; }
.detail .top-bar a.back-btn {
    color: #fff;
    font-weight:bold;
    line-height: 50px;
    text-align: center;
    font-size: 26px;
    display: inline-block;
    width: 50px;
    height: 50px;
    font-family:courier new,Courier,monospace;
    transform:scaleX(1.1);
    transform:scaleY(1.5);
}
.detail .img-banner { width: 100% !important;
    height:auto; }

.detail .class-title {
    background-color: #fff;
    padding: 15px;
}
.detail h1 { font-size: 18px; }
.detail .class-title p { font-size: 12px; color: #999; line-height: 1.6; }

.detail .class-buy {
    position: fixed;
    height: 50px;
    width: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.detail .class-buy .row {
    width: 100%;
    text-align: center;
}
.detail .class-buy .col-sm-2 {
    width: 16.666%;
    float: left;
}
.detail .class-buy .col-sm-3 {
    width: 25%;
    float: left;
}
.detail .class-buy .col-sm-4 {
    width: 33.333%;
    float: left;
}
.detail .class-buy .col-sm-5 {
    width: 41.666%;
    float: left;
}
.detail .class-buy .col-sm-6 {
    width: 50%;
    float: left;
}
.detail .class-buy .row:before,
.detail .class-buy .row:after {
    clear: both;
    display: block;
    content: '';
}
#buyButton { display: block; width: 90%; text-align: center; border: 1px solid #ccc; margin: 15px 0; cursor: pointer; }
#buyButtonAlt { display: block; width: 90%; text-align: center; margin: 15px 0; }

.detail .img-banner img { width: 100% !important; }
#class-contents img { width: 100% !important; }
.package-list { list-style: none; margin: 8px 0 0; padding: 0; }
.package-list li {
    list-style: none;
    margin:0;
    padding:0;
    display: inline-block;
}
.package-list li a { background-color: #f2f2f2;
    display: block; border-radius: 4px; padding: 2px 6px; font-size: 10px; line-height: 14px !important;
    color: #1B87FF;
    margin: 0 5px;
}
.package-list li a.active {
    color: #444;
    background-color: #ddd;
}

.class-desc { border-top: 5px solid #f2f2f2; }
.nav.nav-tabs { list-style: none; margin: 0;
    padding:0;font-size: 0; }
.nav.nav-tabs li {
    list-style: none;
    display: inline-block;
    font-size: 0;
    width: 25%;
    text-align: center;
    height: 50px;
}
.nav.nav-tabs li a { font-size: 14px;
    display: block; text-align: center; line-height: 50px; height: 50px; color: #999; }
.nav.nav-tabs li.active a { color: #000; }

#catalog {
    display: none;
}
#catalog .class_list {
    list-style: none;
}
#catalog .class_list h3 {
    margin: 0;
    padding: 18px 0 14px 6px;
    font-size: 15px;
}
#catalog .class_list li {
    height: 50px;
    position: relative;
    width: 100%;
}

#catalog .class_list li:nth-child(even) {
    background-color: #efefef;
}
#catalog .class_list li .num {
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    display: inline-block;
    width: 50px;
    position: absolute;
    left:0;
    text-align: center;
}
#catalog .class_list li .play-btn {
    height: 50px;
    display: inline-block;
    width: 80px;
    position: absolute;
    right:0;
    text-align: center;
    line-height: 50px;
    padding: 0;
    margin: 0;
    font-size: 12px !important;
}
#catalog .class_list li .title {
    height: 50px;
    display: inline-block;
    width: auto;
    position: absolute;
    left: 50px;
    right: 90px;
}
#catalog .class_list li .title .sub-title {
    height: 24px;
    margin: 8px 0 0;
    padding: 0;
    line-height: 24px;
    font-size: 12px;
}
#catalog .class_list li .title .tips {
    height: 14px;
    margin:0;
    padding: 0;
    line-height: 14px;
    font-size: 10px;
    color: #999;
}



/***===========================****/
/***=====  新版修改列表样式  ====****/
/***===========================****/

#class-contents {
    font-size: 0.3rem;
}
#class-contents .desc {
    text-align: center;
}

.detail .class-title {
    padding: 0 0.3rem;
}
.detail .class-title h1 {
    font-size: 0.45rem;
    color: #3e3e3e;
    margin: 0 0 0.2rem 0;
    padding: 0;
}
.detail .class-title p {
    line-height: 0.5rem;
    margin: 0;
    padding: 0;
}
.detail .class-title .item-title {
    font-size: 0.22rem;
    color: #aaaaaa;
    margin-right: 0.15rem;
    vertical-align: middle;
}
.detail .class-title .item-desc {
    font-size: 0.24rem;
    color: #3e3e3e;
    vertical-align: middle;
}

.related-class {
    font-size: 0;
    margin: 0.15rem 0 0.35rem 0;
}
.related-class .item-title {
    line-height: 0.45rem;
    display: block;
    float: left;
}
.package-list {
    margin: 0 0 0 1.05rem;
    padding: 0;
}
.package-list li {
    margin: 0 0 0.12rem 0;
    padding: 0;
    display: block;
    float: left;
}
.package-list li a {
    background-color: transparent;
    /*border-radius: 0.1rem;*/
    border: 0.015rem solid #cccccc;
    color: #3e3e3e;
    font-size: 0.22rem;
    display: block;
    line-height: 0.4rem !important;
    padding: 0 0.1rem;
    margin: 0 0.05rem;
}
.package-list li a.active {
    color: #ffffff;
    background-color: #f77a25;
    border: 0.015rem solid #f77a25;
}
.related-class:before,
.related-class:after {
    display: block;
    clear: both;
    content: "";
}

.detail .top-bar {
    margin:  0;
    font-size: 0;
}

.class-desc {
    border-top: 0.16rem solid #f3f6f7;
}
.nav.nav-tabs {
    border-bottom: 0.015rem solid #f2f2f2;
}
.nav.nav-tabs li {
    height: 1rem;
}
.nav.nav-tabs li a {
    font-size: 0.3rem;
    color: #aaaaaa;
    display: block;
    height: auto;
}
.nav.nav-tabs li.active a {
    color: #3e3e3e;
    background: url("/static/h5/images/icon-underline-2x.png") 50% 0.64rem no-repeat;
    background-size:0.94rem 0.22rem;
}
.detail .class-buy {
    height: auto;
    font-size: 0;
}
.class-buy .price {
    margin-top: 0.18rem;
}
.class-buy .price .unit {
    font-size: 0.3rem;
    color: #f25221;
}
.class-buy .price .digit-price {
    font-size: 0.55rem !important;
    color: #f25221 !important;
}
.class-buy .count-user {
    font-size: 0.16rem;
    color: #aaaaaa;
}
.class-buy .ask {
    padding: 0.35rem 0.3rem 0 0.4rem;
    display: block;
    cursor: pointer;
    position: relative;
}
.class-buy .qq-icon {
    width: 0.3rem;
    height: auto;
}
.class-buy .ask-text {
    font-size:0.16rem;
    color: #aaaaaa;
    display:block;
    text-align: center;
    padding-top: 0.05rem;
}
.class-buy .v_line {
    position: absolute;
    border-left: 0.02rem solid #ddd;
    display: block;
    top: 0.4rem;
    right: 0.4rem;
    vertical-align: middle;
    height: 0.35rem;
}
#buyButton {
    background-color: #f77a25;
    border-radius: 0.1rem;
    border: 0;
    color: #ffffff;
    font-size: 0.3rem;
    line-height: 0.8rem;
    margin: 0.2rem 0 0.15rem 0;
    box-shadow: 0 5px 10px #ddd;
    -moz-box-shadow: 0 5px 10px #ddd;
    -webkit-box-shadow: 0 5px 10px #ddd;
    cursor: pointer;
}
#buyButtonAlt {
    background-color: #eeeeee;
    border-radius: 0.1rem;
    border: 0;
    color: #aaaaaa;
    font-size: 0.3rem;
    line-height: 0.8rem;
    margin: 0.2rem 0 0.15rem 0;
    box-shadow: 0 5px 10px #ddd;
    -moz-box-shadow: 0 5px 10px #ddd;
    -webkit-box-shadow: 0 5px 10px #ddd;
}

