/*导航条样式开始*/
/*
导航响应式：
三块的宽度
左侧图片
最右侧的按钮：pc 平板隐藏 移动端显示

*/
.nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 66px;
    background-color: #88c5e1;
    border-bottom: 5px solid #54abd4;
}

/*百分比相对于父元素nav*/
.wrap {
    width: 87%;
    margin: 0 auto;
}

.logo, .search, .nav-bar {
    height: 66px;
    float: left;
}

.search {
    position: relative;
}

.ipt {
    width: 100%;
    height: 40px;
    border: 1px solid #f5f5f5;
    background-color: #f5f5f5;
    box-sizing: border-box;
    padding-left: 10px;
    outline: none;
    border-radius: 2px;
    margin-top: 13px;
    transition: all .2s;
}
.ipt:hover{
    background-color: #fff;
    border-color: #54abd4;
}

.search button {
    position: absolute;
    right: 2px;
    top: 16px;
    width: 40px;
    height: 34px;
    background-color: #f5f5f5;
    color: #54abd4;
    font-weight: 900;
}
.nav-bar>ul{
    float: right;
}
.nav-bar li{
    float: left;
    padding: 10px;
    margin: 12.5px 0 0 8px;
}
.nav-bar a{
    color: #fff;
}
.nav-active{
    border-bottom: 2px solid #fff;
}
.nav-bar li:hover,.form li:hover{
    border-bottom: 2px solid #fff;
}

/*导航条样式结束*/
/*登录样式开始*/
/*
响应式部分：
大容器的总高
内容距上面的距离
左右两个容器的百分比

*/
.login{
    width: 100%;
    margin-top: 71px;
    background: url("../images/homeImg.png") no-repeat;
    background-size: 100% 100%;
}
.mi-logo,.form{
    float: left;
}
.form a{
    color: #fff;
}
.form li{
    float: left;
    padding: 10px 0 3px;
    margin-right: 15px;
}
.rem{
    padding: 15px 0;
    text-align: left;
    color: #fff;
    font-size: 12px;
}
.rem>a{
    float: right;
}
.rem>a:hover{
    text-decoration: underline;
}
.rem>input{
    /*自己小范围移动*/
    position: relative;
    /*相对于自己原位置往下移动2px*/
    top: 2px;
    margin-right: 10px;
}
.submit{
    width: 100%;
    height: 44px;
    background-color: #88c5e1;
    box-shadow: 0 8px #54abd4;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    border-radius: 6px;
}
.submit:hover{
    transform: translateY(3px);
    box-shadow: 0 5px #54abd4;
}
/*登录样式结束*/
/*新课速递样式开始*/
.home-item{
    background-color: #fff;
    box-shadow: 0 14px 10px -10px rgba(0,0,0,.1);
    margin-bottom: 20px;
    /*变为BFC格式 块级格式上下文 变为独立的一块 布局不受子元素影响*/
    overflow: hidden;
}
.new-course{
    margin-top: 40px;
}
.home-wrap{
    margin: 0 auto;
    width: 93%;
}
.title{
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    padding: 8px 16px;
    margin: 40px 0 36px;
    border-left: 3px solid #54abd4;
}
/*外层的容器 布局*/
.new-course-box>div{
    width: 50%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}
/*内层的容器  显示  内容容器之间的距离是外层容器的padding*/
.new-course-box>div>div{
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 0 0 4px 4px;
    box-shadow: 1px 1px 2px #ddd;
}
.new-course-box img{
    width: 100%;
}
.new-course-box p{
    line-height: 80px;
    color: #999;
}

/*新课速递样式结束*/
/*热门课程开始*/
.title>a{
    color: #7d7d7d;
    font-size: 12px;
}
.title>a:hover{
    color: #54abd4;
    text-decoration: underline;
}
.hot-course-box>div{
    float: left;
    padding: 7px;
    box-sizing: border-box;
}
.hot-course-box>div>div{
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    padding: 52px 16px;
    box-sizing: border-box;
}
.hot-img{
    width: 46px;
}
.hot-name{
    color: #333;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hot-name:hover{
    color: #54abd4;
    text-decoration: underline;
}
.hot-info{
    margin-top: 15px;
}
.anchor{
    display: inline-block;
    background-color: #88c5e1;
    /*行内元素设置margin和padding的上下不生效*/
    padding: 3px 5px;
    margin: 0 4px 4px 0;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
}
.anchor:hover{
    background-color: #54abd4;
}
.hot-score{
    margin: 10px 0 5px;
    color: #f8ce38;
    font-size: 12px;
}
.hot-score>img{
    width: 12px;
    position: relative;
    top: 2px;
}
.hot-comment{
    color: #7d7d7d;
    font-size: 12px;
}
.hot-comment>a{
    color: #7d7d7d;
}
.hot-comment>a:hover{
    color: #54abd4;
    text-decoration: underline;
}
.hot-course-box{
    padding-bottom: 30px;
    overflow: hidden;
}
/*热门课程结束*/
/*热门标签样式开始*/
.hot-box{
    text-align: left;
    margin-bottom: 18px;
}
.hot-box>h5{
    font-weight: 400;
    margin: 8px 0 16px;
    color: #666;
}
/*热门标签样式结束*/










