/* 首页的样式 */
.swiper-container{
    width: 100%;
    height: 360px;
    text-align: center;
}

.swiper-container:hover .swiper-button-prev,.swiper-container:hover .swiper-button-next{
    opacity: .5 !important;
}
.swiper-slide{
    display: flex;
    justify-content: center;
    overflow: hidden;
}
 
.my-swiper-pagination{
 
    
    margin: 0 auto;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next,.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
    background: rgba(0, 0, 0, .6);
    color: #fff;
    height: 40px !important;
    width: 40px !important;
    border-radius: 50%;
}
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after,.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after{
    color: #fff;
    font-size: 20px !important;
}
.swiper-button-prev,.swiper-button-next{
    opacity:  0 !important;
    transition: all .5s !important;
}

.swiper-pagination-bullet{
    width:30px;
    height: 4px;
    border-radius: 0;
}

.swiper-pagination-bullet-active{
    background: #fff;
}

.recent_study{
    background:#f2fafa url(../img/study_bg.png) no-repeat center top ;
    padding: 25px 0;
}

.user_box{
    padding: 20px;
    padding-top: 10px;
    background: rgba(255, 255, 255, .7);
}

.user_box_top .userimg{
    height: 80px;
    width: 80px;
    margin-right: 20px;
}

.user_box_top span{
    display: block;
    font-size: 16px;
    padding-bottom: 15px ;
}
.user_box_top {
    border-bottom: solid #ddd 1px;
    padding-bottom: 10px;
}
.user_study_count{
    margin-top: 15px;
}
.usc_item{
    width: calc(50% - 10px);
    border-radius: 10px;
    background: #e5f4f5;
    padding: 20px;
    height: 66px;
}
.usc_title{
    text-align: center;
}
.usc_item span{
    color: #00979c    ;
    display: block;
}
.usc_item:last-child{
    background: #fdeee6;
}
.usc_item:last-child span{
    color: #ef580a;
}
.usc_num{
    font-family: 'DIN Condensed';
    font-size: 32px;
    color: #476985;
}
.recent_course{
    margin-top: 20px;
}
.recent_course .box{
    padding: 15px;
    width: calc(33.3333% - 20px);
    height: 160px;
}

.recent_course img{
    width: 100px;
    height: 70px;
}

.recent_course .course_info{
    padding-left: 15px;
    width: calc(100% - 80px);
}
.recent_course .course_info em{
    font-size: 13px;
    color: #666;
    display: block;
    padding-top: 10px;
}

.study_process{
    padding-top: 15px;
}

.study_process .study_time{
    padding-left: 18px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: block;
    background: url(../img/icon_time.png) no-repeat left center;
}

.process_bar_bg,.process_bar{
    height: 6px;
    border-radius: 3px;
    width: 200px;
    background: #e1f3f4;
}

.process_bar{
    background: #00979c;
}
.process_percent{
    color: #00979c;
}

.hot_course{
    padding: 20px 0;
}

.hot_course h2 em{
    background: url(../img/title_bg.png) no-repeat left center;
    color: #fff;
    font-weight: bold;
    width: 150px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    padding-left: 10px;
}

  h2 i{
    font-weight: normal;
    font-size: 16px;
    color: #666;
    font-style: normal;
    padding-left: 10px;
}
.hot_course_list{
    padding: 20px 0;
}

.hot_course_list .box{
    width: calc(25% - 22.5px);
    overflow: hidden;
}
.hot_course_list .box .cover{
    height: 140px;
    width: 100%;
    vertical-align:bottom;
    overflow: hidden;
}
.item_course_info{
    position: relative;
    padding: 15px 20px;
    border-top: solid #00979c 4px;
}
.item_course_info span{
    padding-bottom: 10px;
    display: block;
}

.item_course_info em{
    color: #666;
    font-size: 13px;
}


.item_course_info em{
    width: 160px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.hot_range{
    position: absolute;
    color: #fff;
    font-family: 'DIN Condensed';
    font-size: 14px;
    background: url(../img/range_bg.png) no-repeat left top;
    padding-left: 30px;
    width: 64px;
    height: 26px;
    top: -15px;
        left: 20px;
    line-height: 30px;
}

.hardware_course{
    background: url(../img/course_bg.jpg) no-repeat center;
    background-size: cover;
    padding: 40px 0;
}

.hardware_course_list{
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
}

.hc_item{
    width: calc(25% - 22.5px);
    padding-bottom: 15px;
}

.hc_item .item_course_info{
    border: none;
    padding: 10px 0;
}

.hc_item .cover{
    width: 100%;
    height: 142px;
    border-radius: 6px;
    vertical-align: bottom;
}

.non_hardware_course{
    padding: 60px 0;
    align-items: flex-start;
}
.nhc_title{
    width: calc(25% - 22.5px);
    background: #00979c url(../img/course_bg_2.png) no-repeat center top;
    border-radius: 6px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 424px;
    color: #fff;
    flex-shrink: 0;
}
.nhc_title h2{
    padding-bottom: 10px;
}
.nhc_title div span{
    display: block;
    font-size: 16px;
    padding-top: 8px;
}
.nhc_title .btn{
    border: solid #fff 2px;
    width: 100%;
}
.nhc_list{
    flex-grow: 1;
    padding-left: 30px;
    flex-wrap: wrap;
}
.nhc_list .hc_item{
    width: calc(33.3333% - 20px);
}

.slogan{
    background:#f2f7f6 url(../img/bottom_bg.png) no-repeat top center;
    text-align: center;
    color: #00979c;
    font-size: 16px;
    padding: 10px 0;
}

.slogan_text{
    background: url(../img/wheat.png) no-repeat center;
    padding: 30px 0;
    
}

.slogan_text span{
    display: block;
    font-size: 20px;
    padding-bottom: 10px;
   
}



@media only screen and (max-width : 750px){
	/* ≤750宽度的代码 */
    .recent_course .box{
        width: 100%;
        margin-bottom: 15px;
    }
    .hot_course{padding:20px 15px ;}
    .recent_course,.hot_course_list{
        flex-wrap: wrap;
    }
    .hot_course_list .box{
        width: calc(50% - 7px);
        margin-bottom: 15px;
    }
    .item_course_info .flex_between{
        flex-direction: column;
        align-items: flex-start;
    }
    .nhc_title{
        width: 100%;
        background-size: cover;
        height: 240px;
        margin-bottom: 15px;
    }
    .nhc_list{
        padding: 0;
    }
    .hc_item,.nhc_list .hc_item{
        width: calc(50% - 7px);
    }
    .non_hardware_course{
        padding: 30px 15px;
        flex-direction: column;
    }
    .swiper-container{
        width: 100%;
        height: 200px;
         
    }
    .recent_study{
        padding-top: 10px;
    }
    .swiper-container .swiper-slide .mobile_only{
        height: 200px;
    }
}
