@charset "utf-8";

/**
 * @created :   2018/04/11
 * @author  :   Changbb
 * @version :   v1.0
 * @desc    :   课程详情
 */
html,body{
    /*height: 100%;*/
    background-color: #f0f3f5;
}
.main-box{
    padding-bottom: 70px;
}
/* @top-box   上面盒子
----------------------------------------------------------------*/
.top-box{
    height: 150px;
    position: relative;
}
.top-box img{
    width: 100%;
    height: 100%;
}
/**title-box**/
.title-box{
    width: 55%;
    position: absolute;
    left: 50%;
    top: 40%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform:translate(-50%,-50%);
}
.top-box .title{
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
}
.title-box hr{
    border: none;
    background-color: #fff;
    width: 48%;
    height: 1px;
    margin: 0 auto;
}
/* @course-des   课程简介
----------------------------------------------------------------*/
.course-des{
    width: 90%;
    margin: 0 auto;
    /*margin-top: -32px;*/
    background-color: #fff;
    padding: 4px 3%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    top: -32px;
    box-sizing: border-box;
    -webkit-box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
    -moz-box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
    box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
}
.course-des h3{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #000;
}
.course-des p{
    font-size: 14px;
    color: #353535;
    line-height: 20px;
    margin-bottom: 11px;
}
/*附加信息*/
.des-msg{
    height: 32px;
    border-top: 1px solid #eee;
}
.des-msg li{
    color: #d6d6d6;
    height: 18px;
    margin-top: 7px;
    float: left;
    font-size: 11px;
    border-right: 1px solid #eee;
    box-sizing: border-box;
}
/*1*/
.des-msg li.f1{
    width: 31%;
}
/*2*/
.des-msg li.f2{
    width: 33%;
    text-align: center;
}
/*星星*/
.des-msg li.f3{
    width: 36%;
    text-align: right;
    border-right: none;
}
.des-msg li.f3 .x{
    float: left;
    margin-left: 8%;
}
.des-msg li.f3 .star-box{
    float: left;
    width: 71px;
    height: 12px;
    margin-top: 1px;
}
/*0星*/
.des-msg li.f3 .star-box.star0{
    background: url("/depend/duilv2.0/images/score-star-0.png") no-repeat left center;
    background-size: 100%;
}
/*1星*/
.des-msg li.f3 .star-box.star1{
    background: url("/depend/duilv2.0/images/score-star-1.png") no-repeat left center;
    background-size: 100%;
}
/*2星*/
.des-msg li.f3 .star-box.star2{
    background: url("/depend/duilv2.0/images/score-star-2.png") no-repeat left center;
    background-size: 100%;
}
/*3星*/
.des-msg li.f3 .star-box.star3{
    background: url("/depend/duilv2.0/images/score-star-3.png") no-repeat left center;
    background-size: 100%;
}
/*4星*/
.des-msg li.f3 .star-box.star4{
    background: url("/depend/duilv2.0/images/score-star-4.png") no-repeat left center;
    background-size: 100%;
}
/*5星*/
.des-msg li.f3 .star-box.star5{
    background: url("/depend/duilv2.0/images/score-star-5.png") no-repeat left center;
    background-size: 100%;
}
/* @course-main   课程内容
----------------------------------------------------------------*/
.course-main{
    width: 90%;
    margin: 0 auto;
    position: relative;
    top: -17px;
    /*margin-bottom: 80px;*/
}
/**block-box**/
.block-box h2{
    text-align: left;
    height: 44px;
    line-height: 44px;
    padding-left: 3%;
    font-size: 15px;
    color: #333;
}
.list{
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 3%;
    margin-bottom: 13px;
}
.list.active{
    -webkit-box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
    -moz-box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
    box-shadow: 12px 5px 15px  rgba(46,46,46,0.07);
}
/*小标题*/
.list-title{
    font-size: 15px;
    height: 38px;
    line-height: 38px;
    color: #666;
    position: relative;
}
.list.active > .list-title{
    color: #ff0000;
}
.list-title i{
    display: block;
    position: absolute;
    right: 0;
    top:50%;
    width: 13px;
    height: 8px;
    margin-top: -4px;
    background: url("/depend/duilv2.0/images/arow-down.png") no-repeat center;
    background-size: 100%;
}
.list.active > .list-title > i{
    background: url("/depend/duilv2.0/images/arow-up.png") no-repeat center;
    background-size: 100%;
}
/*内容*/
.list-content{
    display: none;
    padding-bottom: 13px;
}
.list-content p{
    color: #bfbfbf;
    font-size: 13px;
    line-height: 25px;
    overflow: hidden;
}
/*图片*/
.list-content p img{
    width: 30%;
    height: 72px;
    margin: 10px 1.66667%;
    float: left;
    margin-bottom: 0;
}
/* @buy-box   联系购买
----------------------------------------------------------------*/
.buy-box{
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    border: 1px solid #d2d2d2;
    box-sizing: border-box;
}
.buy-left{
    float: left;
    width: 65%;
    background-color: #fff;
    height: 50px;
    padding: 0 4%;
    box-sizing: border-box;
    position: relative;
}
.buy-left p{
    color: #bfbfbf;
    font-size: 11px;
    position: absolute;
    width: 92%;
    top:50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform:translateY(-50%);
}
.buy-right{
    float: left;
    width: 35%;
    background-color: #ff0000;
    height: 50px;
    color: #fff;
    position: relative;
}
.buy-right p{
    text-align: center;
    position: absolute;
    width: 100%;
    left: 50%;
    top:50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform:translate(-50%,-50%);
    font-size: 12px;
}
.buy-right p span{
    font-size: 15px;
}
/**已购买**/
.has-buy-box{
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    color: #7a7a7a;
    background-color: #dfdfdf;
    letter-spacing: 1px;
}
/**去评分**/
.score-box{
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    color: #fff;
    background-color: #ff0000;
    letter-spacing: 1px;
}
/* @media   媒体查询处理
----------------------------------------------------------------*/
@media screen and (max-width: 320px){
    .des-msg li.f1{
        width: 30%;
    }
    .des-msg li.f3{
        width: 37%;
    }
    .des-msg li.f3 .x{
        margin-left: 7%;
    }
}
@media screen and (max-width: 360px){
    .des-msg li.f1{
        width: 29%;
    }
    .des-msg li.f2{
        width: 31%;
    }
    .des-msg li.f3{
        width: 40%;
    }
    .des-msg li.f3 .x{
        margin-left: 3%;
    }
}