/*
 * 课程样式
 *
 * */
.coursecart{
    width: 256px;
    height: 280px;
    float: left;
    font-size: 12px;
    /*margin-right: 20px;*/
    transition: box-shadow 0.5s;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
}
.coursecart a{
    display: block;
    width: 100%;
    height: 100%;
}
.coursecart:hover{
    box-shadow: 0 3px 6px  rgba(0,0,0,0.2);
}
.coursecart:hover .coursemessage{
    border-color: #e5e5e5;
}
.courseimg{
    width: 255px;
    height: 144px;
    overflow: hidden;
    position: relative;
}
.courseimg img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    height: auto;
    min-height: 100%;
    border-radius: 3px;
}
.courseimg .selectedimg{
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 24px;
    min-height: 24px;
    display: none;
}
.coursemessage{
    width: 100%;
    height: 136px;
    padding-left: 20px;
    border: 1px solid #fff;
    border-top: 0;
    color: #b4b6b7;
    background: #fff;
    overflow: hidden;
}
.coursename{
    font-size: 16px;
    line-height: 28px;
    color: #1d1d1d;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.courseteabox{
    width: 100%;
    height: 24px;
    line-height: 24px;
}
.coursetea{
    width: auto;
    max-width: 50%;
    padding-right: 6px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #979797;
    position: relative;
    text-indent: 6px;
}
.coursetea p{
    width: 1px;
    height: 12px;
    background: #979797;
    position: absolute;
    right: 0;
    top: 6px;
}
.coursetea-border{
    text-indent: 0;
}

.courseinfor{
    width: 100%;
    height: 34px;
    line-height: 34px;

}
.coursecredit{
    float: left;
    text-indent: 30px;
    margin-right: 20px;
    background: url('//image.zhihuishu.com/zhs/ablecommons/demo/201902/06266d28bb6e498784c0c158f4432675.png') no-repeat left center;
    background-size:14px; 
}
.coursehour{
    float: left;
    text-indent: 30px;
    background: url('//image.zhihuishu.com/zhs/ablecommons/demo/201902/9d753923c436400b9a3d6c7828260491.png') no-repeat left center;
    background-size:15px; 
}
.selectschool{
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spanword{
    margin-left: 6px;
    color: #1d1d1d;
}

/*
 * 课程样式
 *
 * */


/*
小屏幕样式
 * */
@media only screen and (max-width: 765px) {
    .coursecart{
        width: 100%;
        height: 2rem;
        margin: 0!important;
        padding: 0.1rem 0;
    }
    .courseimg{
        width: 2.6rem;
        height: 1.5rem;
        float: left;
    }
    .coursecredit{
        text-indent: 0.5rem;
    }
    .coursemessage{
        width: 4.46rem;
        height: auto;
        float: left;
        padding-left: 0.2rem;
    }
    .coursename{
        font-size: 0.32rem;
        line-height: 0.4rem;
        margin-top: 0;
    }
    .coursetea,.courseinfor,.selectschool{
        height: 0.4rem;
        line-height: 0.4rem;
        font-size: 0.24rem;
    }
    .coursecart:hover{
        box-shadow: none;
    }
    .coursehour{
        margin-left: 0.2rem;
    }
    .coursecart:hover .coursemessage{
        border-color: #fff;
    }
    .courseimg .selectedimg{
        width: 1.6rem;
        height: 0.48rem;
        min-height: 0.48rem;
    }
}
/*
小屏幕样式
 * */
