h1, h2, h3, h4, h5, h6, p, ul {
    padding: 0;
    margin: 0;
}
strong{font-weight: normal}
a:hover{color: #333}
.main-content{padding-bottom: 0}
.resource-content {padding-bottom:60px;background-color: white}
.resource-banner{margin-bottom: 50px}
.resourcr-page-nav{margin-bottom: 0!important;}
.w1150 {
    display: flex;
    width: 1150px;
    margin: 0 auto;
    justify-content: space-between;
    /*overflow: hidden;*/
}
.leftdiv{width: 798px}
.rightdiv {width: 316px}

/*----------标题----------*/
.title {
    height: 37px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 5px;
    line-height: 37px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    box-sizing: content-box;
}
.title a.more {
    float: right;
    line-height: 40px;
    font-size: 14px;
    font-weight: normal;
    color: #808080;
}



/*------------------------------公共教材目录资源--------------------------------*/
.public{
    height: 252px;
    overflow: hidden
}


/*----------公共教材目录资源的列表----------*/
.publiclist{
    display: flex;
    height: 186px;
    margin-top: 23px;
    justify-content: space-between;
}

/*列表的儿子*/
.publiclist-child{width: 250px}
.publiclist-child .poster{/*封面*/
    display: block;
    height: 80px;
    font-size: 0;
    background-position: center;
    background-size: cover;
}
.publiclist-child:first-child .poster{background-image: url("/static/banner/resource-icon/publiclist-poster1.png")}
.publiclist-child:nth-child(2) .poster{background-image: url("/static/banner/resource-icon/publiclist-poster2.png")}
.publiclist-child:nth-child(3) .poster{background-image: url("/static/banner/resource-icon/publiclist-poster3.png")}
.publiclist-child>ul{/*学科列表*/
    height: 96px;
    margin-top: 10px;
    overflow: hidden;
}
.publiclist-child>ul li{
    float: left;
    width: 81px;
    height: 30px;
    margin: 3px 0 0 3px;
}
.publiclist-child>ul li:nth-child(3n-2){margin-left: 0}
.publiclist-child>ul li:first-child,
.publiclist-child>ul li:nth-child(2),
.publiclist-child>ul li:nth-child(3){margin-top: 0}
.publiclist-child>ul li:nth-child(3n){width: 82px}
.publiclist-child>ul li a{
    display: block;
    height: 100%;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    background-color: #f5f5f5;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
}
.publiclist-child>ul li a:hover{
    color: #fff;
    background-color: #3c7ef6;
}



/*------------------------------电子教材--------------------------------*/
.electron{
    height: 334px;
    margin-top: 50px
}

/*----------电子教材的头部----------*/
.electron-head {
    display: flex;
    height: 37px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 5px;
    box-sizing: content-box;
    position: relative;
}

/*电子教材头部的标题*/
.electron-head h2 {
    line-height: 37px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/*电子教材头部的列表*/
.electron-head ul {
    display: flex;
    height: 37px;
    margin-left: 60px;
}
.electron-head ul li {
    position: relative;
    width: 100px;
    line-height: 37px;
    text-align: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}
.electron-head ul li:hover {opacity: .85}
.electron-head ul li.active {color: #3C7EF6}
.electron-head ul li.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 0;
    border-bottom: 2px solid #3C7EF6;
    color: #3C7EF6;
}
.electron-head .more{
    position: absolute;
    right: 0;
    top: 10px;
    color: #808080;
}


/*----------电子教材的列表----------*/
.electron-list{
    height: 267px;
    margin-top: 24px;
    overflow: hidden;
}
.electron-list li{
    float: left;
    width: 186px;
    height: 267px;
    margin-left: 18px;
}
.electron-list li:first-child{margin-left: 0}
.electron-list li a{
    display: block;
    height: 100%;
}
.electron-list li a .poster{
    position: relative;
    height: 230px;
    background-position: center;
    background-size: cover;background-color: #f5f5f5;
    overflow: hidden;
}
.electron-list li a .poster.default{
    text-align: center;
    color: #2d74b2;
    background-image: url("/static/banner/resource-icon/electron-poster.png");
    overflow: hidden;
}
.electron-list li a .poster.default em{
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    padding: 0 8px;
    font-size: 14px;
    font-style: normal;
    color: #fff;
    background: rgba(0,0,0,.2);
    justify-content: center;
    align-items: center;
}
.electron-list li a .poster.default h3{
    margin-top: 50px;
    font-size: 28px;
    font-weight: bold;
}
.electron-list li a .poster.default p{
    margin-top: 10px;
    font-size: 16px;
}
.electron-list li a .poster.default strong{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 9px;
    font-size: 12px;
}
.electron-list li a>p{
    height: 37px;
    border: 1px solid #e6e6e6;
    border-top: none;
    padding: 0 7px;
    line-height: 37px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.nodata-electron{
    height: 267px;
    margin-top: 24px;
    line-height: 276px;
    text-align: center;
    font-size: 22px;
}



/*------------------------------名师课堂--------------------------------*/
.teacher{margin-top: 50px}


/*----------名师课堂的列表----------*/
.teacherlist{
    margin-top: 24px;
    overflow: hidden;
}

/*列表的儿子*/
.teacherlist-child{
    float: left;
    width: 250px;
    margin: 24px 0 0 24px;
}
.teacherlist-child:nth-child(3n-2){margin-left: 0}
.teacherlist-child:first-child,
.teacherlist-child:nth-child(2),
.teacherlist-child:nth-child(3){
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 20px;
    margin-top: 0
}
.teacherlist-child>.userinfo{/*用户信息*/
    display: block;
    height: 68px;
    overflow: hidden;
}
.teacherlist-child>.userinfo i{
    float: left;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}
.teacherlist-child>.userinfo p{
    margin: 4px 0 5px 70px;
    font-size: 18px;
    color: #333;
}
.teacherlist-child>.userinfo strong{
    display: block;
    max-height: 34px;
    margin-left: 70px;
    line-height: 17px;
    font-size: 14px;
    color: #808080;
    overflow: hidden;
}
.teacherlist-child .datalist{/*课堂数据*/
    margin-top: 8px;
}
.teacherlist-child .datalist li{
    height: 22px;
    margin-top: 10px;
    overflow: hidden;
}
.teacherlist-child .datalist li:first-child{margin-top: 0}
.teacherlist-child .datalist li a{
    display: block;
    height: 100%;
    line-height: 22px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.teacherlist-child .datalist li a:hover{text-decoration: underline}
.teacherlist-child .datalist li i{
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 3px;
    background-position: center;
    background-size: cover;
    vertical-align: top;
}



/*------------------------------资源上传动态--------------------------------*/
.dynamic{
    height: 636px;
    overflow: hidden
}
.dynamic>div{
    position: relative;
    height: 569px;
    margin-top: 24px;
    overflow: hidden
}


/*----------资源上传动态的列表----------*/
.dynamiclist{position: relative}

/*动态列表的儿子*/
.dynamiclist-child{margin-bottom: 18px}
.dynamiclist-child a{
    display: block;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.dynamiclist-child a:hover{text-decoration: underline}
.dynamiclist-child a i{
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 3px;
    background-position: center;
    background-size: cover;
    vertical-align: top;
}
.dynamiclist-child p{
    display: flex;
    margin-top: 5px;
    font-size: 14px;
    color: #808080;
}
.dynamiclist-child p span:first-child{
    min-width: 60px;
    margin-right: 16px
}


/*------------------------------热门资源--------------------------------*/
.hot{margin-top: 50px}


/*----------热门资源的列表----------*/
.hotlist{margin-top: 24px}

/*热门资源列表的儿子*/
.hotlist-child{margin-bottom: 18px}
.hotlist-child a{
    display: block;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.hotlist-child a:hover{text-decoration: underline}
.hotlist-child a i{
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 3px;
    background-position: center;
    background-size: cover;
    vertical-align: top;
}
.hotlist-child p{
    display: flex;
    margin-top: 7px;
    font-size: 14px;
    color: #808080;
}
.hotlist-child p span:first-child{
    min-width: 60px;
    margin-right: 16px
}
