/*课程详情 扩展样式*/
.course-img {
    width: 100%;
}

/*单行文本溢出*/
.text-ellip{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/*2行文本超出隐藏 2行*/
.text_towellip {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.layui-row-flexrow{
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    justify-items: center;
}

.layui-row-flexrow:after{
    /* content: ""; width: 32%; display: block; height:0; width:31%; */
    flex: auto;
    content: "";
}

.layui-course-span{
    line-height: 25px;
    color: #23b8ff;
    border: 1px solid #23b8ff;
    box-sizing: border-box;
    line-height: 25px;
    display: inline-block;
    padding: 0 10px;
    cursor: pointer;
    margin: 0 5px 5px 0;
}

.layui-row-item{
    margin-top: 10px;
}

.layui-row-btn{
    margin-top: 10px;
}

.course-class-info{
    border: 1px solid #ececec;
    position: relative;
    color: #333;
    font-family: "Hiragino Sans GB","Microsoft Yahei",arial,\5b8b\4f53,"Helvetica Neue",Helvetica,STHeiTi,sans-serif;
}

.course-class-title{
    position: absolute;
    clip: inherit;
    top: -15px;
    font-size: 16px;
    background: #fff;
    line-height: 25px;
    padding: 0 5px;
    left: 30px;
}
.course-class-date{
    margin-left: 20px;
    line-height: 40px;
}

/*课程详情文字*/
.layui-row-container{
    display: flex;
    padding: 0px 15px 0px 15px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
}
.layui-row-title{
    font-size: 22px;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
    font-family: "Hiragino Sans GB","Microsoft Yahei",arial,\5b8b\4f53,"Helvetica Neue",Helvetica,STHeiTi,sans-serif;
}
.layui-row-item-title{
    width: 75px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-family: "Hiragino Sans GB","Microsoft Yahei",arial,\5b8b\4f53,"Helvetica Neue",Helvetica,STHeiTi,sans-serif;
}
.layui-row-item-text{
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-family: "Hiragino Sans GB","Microsoft Yahei",arial,\5b8b\4f53,"Helvetica Neue",Helvetica,STHeiTi,sans-serif;
}

.item-tt{
  line-height: 23rpx;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.layui-course{
    padding: 7px 7px 10px;
    border: 1px solid #ececec;
}

/*右上角角标*/
.layui-sub{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.layui-sub-flexcolumn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
}
.subscript{
    color: #fff;
    font-weight: 600;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    width: 120px;
    position: absolute;
    top: 5px;
    left: -35px;
    text-align: center;
    -moz-transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    transform:rotate(-45deg);
}


.label-default {
    background-color: #777;
}
.label-info {
    background-color: #5bc0de;
}
.label-primary {
    background-color: #1E9FFF;
}
.label-success {
    background-color: #5cb85c;
}
.label-warning {
    background-color: #f0ad4e;
}
.label-danger {
    background-color: #d9534f;
}


/* display: flex;
flex-direction: row;
justify-content: space-between;
align-content: center;
align-items: center;
overflow: hidden;
position: relative; */