/*
    #369ffb 蓝色
    #ff6b95 粉色
*/
.course-report-view{
    width: 100%;
    height: 600px;
    position: relative;
    background: rgb(229, 230, 231);
}
/**************************1.头部搜索框*/
.header{
    display: flex;
    justify-content: flex-end;
    margin: 10px 10px;
}
.header .search-course{
    border: solid 1px rgb(205, 206, 207);
    width: 120px;
    width: 15%;
    background: white;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    justify-content: space-between;
}
.search-course input{
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 13px;
    width: calc(100% - 30px);
}
.search-course img.search{
    width: 20px; 
    cursor: pointer;
}
.header .back{
    height: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    display: none;
}

/**********************2.初始课程列表*/
.search-courses-list{
    display: flex;
    flex-wrap: wrap;
    padding-top: 1%;
    padding-left: 0;
    width: 100%;
    display: none;
}
.courses{
    width: 100%;
    /*height: 100%;*/
    /*background: rgb(229, 230, 231);*/
    display: flex;
    flex-wrap: wrap;
    width: 98%;
    padding-left: 2%;
    padding-left: 4%;
    width: 96%;
    padding-top: 1%;
    /*min-height: 100%;*/

    padding-left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.empty-courses{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    display: none;
}
.category-courses{
    width: 100%;
    padding-left: 4%;
    display: flex;
    flex-wrap: wrap;
}
.course{
	width: calc(92% / 4);
    /*background: white;*/
    margin-right: 2%;
    margin-bottom: 2%;

    display: inline-flex;
    align-items: center;
    flex-direction: column;
    /*height: 150px;*/
    padding: 10px;
    width: calc(92% / 4 - 20px);
    margin-right: 4%;
    margin-bottom: 4%;
    width: calc(95% / 4 - 20px - 2px);
    /*height: 154px;*/
    border:solid 1px #d2d2d2;

    position: relative;
}
.course{
    cursor: pointer;  
    transition: all 0.6s;
}
.course:hover{
    transform: scale(1.2); 
}
.course.open{
    background: white;
    color: black;
}
.course.unopen{
    background: #e1e1e1;
    color: #7e7e7e;
}
.course.select{
    background: #6bcdff;
    color: white;
}
.course .status{
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
}
.course .like{
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: rgb(250, 80, 131);
}
.course .like img{
    height: 20px;
    margin-bottom: 5px;
}
.course h3{
	font-size: 15px;
    margin-bottom: 10px;
    margin-top: 0;
    height: 20px;
    line-height: 20px;

    overflow: hidden;
    text-align: center;
}
.course .avatar{
	height: 60px;
	margin-bottom: 10px;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.course .avatar img{
    width: 60%;
}
.course .desc{
   height: 50px;

   /*display: -webkit-box;
   display: -moz-box;*/
   overflow: hidden;
   text-overflow: ellipsis;
   /*word-break: break-all;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 3;*/
   text-align: justify;
   width: 100%;
}

/***************************3.课程分类*/
.category-view{
    padding-right: 4%;
    padding-left: 4%;
    margin-bottom: 2%;
    /*margin-top: 1%;*/
    width: 100%;
}
.category-view .desc{
    color: #a6a6a6;
    line-height: 25px;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    width: 100%;
}
.category-view .cer{
    text-align: center;
    color: white;
    display: none;
}
.category-view .cer .look-cer{
    padding: 3px 8px;
    background: orange;
    display: inline-block;
    border-radius: 5px;
    cursor:pointer;
}
/* 课程分类分割线*/
.category{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: black;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}
.category .line{
    width: 90%;
    background-image: url(../../images/line.png);
    background-size: 100%;
    background-position: center;
    height: 1px;

    position:absolute;
    left: 5%;
    top: 19.5px;
}
.category .title{
    /*position: absolute;*/
    padding-left: 10px;
    padding-right: 10px;
    background: red;
    background: rgb(229, 230, 231);

    z-index: 10000;
}

/**********************4.详情/目录弹框*/
.course-detail-catalogs-shadow-view{
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10001;
    display: none;
}
.course-detail-catalogs-shadow-view .course-detail-catalogs-view{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.ui-catalogs-view{
    width: 50%;
    background: #efefef;
}
.course-detail-catalogs-view .close{
    background: #369ffb;
    height: 35px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
}
.course-detail-catalogs-view .close img{
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.course-detail-catalogs-view .tabs{
    display: flex;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}
.tabs .tab{
    flex: 1;
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
}
.tab.unselect{
    background: rgb(211,211,211);
    color: rgb(134,134,134);
}
.tab.select{
    background: #efefef;
    color: rgb(59,59,59);
}

.ui-border-bottom-radius{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
/*************************课程详情*/
.course-detail-view{
    /*display: none;*/
}
.course-detail-view .top-view{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* width: 100%; */
    margin-top: 15px;
}
.course-detail-view .top-view .avatar{
    height: 60px;
    margin-bottom: 15px;
}
.course-detail-view .top-view h3{
    font-size: 16px;
    height: 20px;
    line-height: 20px;
}
.course-detail-view .desc-view{
    margin: 15px;
    color: #333;
    font-size: 13px;
    line-height: 20px;
    text-align: justify;
    max-height: 80px;
    overflow: auto;
}
.course-detail-view .bottom-view{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
    margin-left: 15%;
    margin-right: 15%;
}
.course-detail-view .bottom-view .start,
.course-detail-view .bottom-view .continue,
.course-detail-view .bottom-view .restart{
    background: #369ffb;
    color: white;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 13px;
}


/**********************课程目录*/
.course-catalogs-view{
    display: none;
}
.course-catalogs-view .catalogs{
    color: #333;
    font-size: 13px;
    padding: 15px;
    justify-content: space-between;
    display: inline-flex;
    flex-wrap: wrap;
    max-height: 120px;
    overflow: auto;
}
.course-catalogs-view .catalogs .catalog{
    width: calc(50%);
    height: 30px;
    line-height: 30px;
}
/********************开始学习/重新学习*/
.bottom-view{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*margin-bottom: 15px;*/
    margin-left: 15%;
    margin-right: 15%;
    padding-bottom: 15px;
    padding-top: 15px;
}
.bottom-view .start,
.bottom-view .continue,
.bottom-view .restart{
    background: #369ffb;
    color: white;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
}

.lessonReport{
    width: 100%;
    height: 100%;
    display: none;
}
/***************** yyy *********************/
.home-nav .home-nav-active {
    /*background-color: #e9a31c;*/
}
.nav-list li:hover{
    /*background-color: #e9a31c;*/
}
.nav-list a:hover{
    color: #F98E2B;
}