/* 资源 */
.clearfloat:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}
.clearfloat {
  zoom: 1;
}
.res-loading,
.gallery {
  background: #fff url(../images/resource/sw_bg.png);
}
.resource-box {
  width: 60rem;
  margin: 3rem auto;
  box-shadow: .2rem .2rem .5rem .4rem #F2F2F2;
  padding: 2rem;
  background: #fff;
}
.resource-box .container-res {
  width: 56rem;
}
.gallery.resource-box .container-res {
  width: 60rem;
}
.container-box {
  width: 100%;
  box-sizing: border-box;
}
.container-box li {
  background-color: #F8F8F8;
  padding: 2.2rem 0;
  margin-bottom: .8rem;
  border-radius: 1.5rem;
}
.down-resources:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}
.down-resources {
  zoom: 1;
}
.container-box li .down-resources-img {
  float: left;
  width: 20%;
}
.container-box li img {
  width: 8rem;
  height: 8rem;
  border-radius: 1rem;
}
.container-box li .down-resources-text {
  /* float: right; */
  margin-left: 20%;
}
.container-box li .down-resources-text h4 {
  color: #353535;
  font-size:.9rem;
}
.container-box li .down-resources-text p {
  margin-top: 1.15rem;
  font-size: .7rem;
  color: #B1B1B1;
  padding-right: 5rem;
  height: 1.3rem;
  line-height: 1.3rem;
}
.container-box li .down-resources-text > a {
  display: inline-block;
  margin-top: 2.3rem;
  font-size: .8rem;
  color: #fff;
  padding: .5rem 1.7rem;
  background: #FFBB00;
  box-shadow: .1rem .1rem .05rem #ffbb00;
  border-radius: .9rem;
  text-decoration: none;
}
/* 开源教材 */
.teachmaterial {
  padding: 1.5rem !important;
}
.teachmaterial a.down-resources {
  text-decoration: none;
}
/* .resource-box .teachmaterial-list {
    margin-left: 0;
} */
.teachmaterial-box {
  background: #fff;
}
.resource-box .teachmaterial-list li {
  background: #fff;
  width: 48%;
  padding: 0;
}
.resource-box .teachmaterial-list > li:nth-child(odd) {
  margin-right: 2.24rem;
}
.resource-box .teachmaterial-list li .down-resources-img {
  width: 100%;
  float: inherit;
}
.resource-box .teachmaterial-list > li img {
  width: 28.25rem;
  height: 18rem;
  border-radius: inherit;
}
.teachmaterial .container-box li .down-resources-text {
  margin: 0;
  padding-top: .3rem;
}
.teachmaterial .container-box li .down-resources-text h4 {
  height: 2rem;
  line-height: 2rem;
  color: #616161;
  font-size: .8rem;
  font-weight: normal;
}
/* 精选专题 详情页 */
.gallery {
  padding: 0 !important;
  box-shadow: inherit;
}
/* .gallery .resource-box {
    box-shadow: inherit;
} */
.galllery-title {
  height: 4rem;
  line-height: 3rem;
  padding-left: .6rem;
}
.teachmaterial a.down-resources,
.gallery a.down-resources {
  text-decoration: none;
}
/* .resource-box .teachmaterial-list {
    margin-left: 0;
} */
.gallery-box {
  background: #fff url(../images/resource/sw_bg.png);
}
.resource-box .gallery-list {
  /* margin-left: -15px; */
  margin: 0;
}
.resource-box .gallery-list li {
  background: #fff;
  /* width: 28%; */
  padding: .5rem .5rem .5rem .7rem;
  margin-right: 0;
  z-index: 0;
  border-radius: .7rem;
}
.resource-box .gallery-list li:hover {
  box-shadow: .2rem .2rem .3rem .3rem #F5F5F5;
  z-index: 999;
}
/* .resource-box .gallery-list>li:nth-child(1) {
    margin-right: 2.5rem;
}

.resource-box .gallery-list>li:nth-child(2) {
    margin-right: 2.5rem;
} */
.resource-box .gallery-list li .down-resources-img {
  width: 100%;
  float: inherit;
}
.resource-box .gallery-list > li img {
  width: 18.8rem;
  height: 12rem;
  border-radius: .5rem;
}
.gallery .container-box li .down-resources-text {
  margin: 0;
  padding-top: .3rem;
}
.gallery .container-box li .down-resources-text h4 {
  height: 2rem;
  line-height: 2rem;
  color: #616161;
  font-size: .8rem;
  font-weight: normal;
}
.gallery .container-box li .down-resources-text p {
  margin: 0;
}
.res-loading .resource-box {
  padding: 0;
  box-shadow: inherit;
}
.res-loading .resource-box .container-res {
  width: 60rem;
}
.res-loading .resource-box .container-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-items: flex-start;
  align-items: center;
  width: 60rem;
}
.res-loading .resource-box .container-box li {
  box-sizing: border-box;
  width: 14.25rem;
  height: 17rem;
  margin-right: 1rem;
  text-align: center;
  background: #F1F4F9;
  /*border-radius: .45rem;*/
  border-radius:1rem;
  border: 2px solid transparent;
}
.res-loading .resource-box .container-box li .down-resources-img {
  width: 100%;
}
.res-loading .resource-box .container-box li .down-resources-img img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: .65rem;
}
.res-loading .resource-box .container-box li .down-resources-text {
  margin-left: 0;
  width: 100%;
  font-weight: normal;
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  // white-space: nowrap;
}
.res-loading .resource-box .container-box li .down-resources-text h4 {
  height: 3.5rem;
  line-height: 3.5rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  // white-space: nowrap;
}
.res-loading .resource-box .container-box li .down-resources-des{
	color:#666;
	font-size: .8rem;
	line-height: 1.2rem;
	font-weight: normal;
	text-align:left;
	padding: 0 .3rem;
	text-indent:1rem;
}
.res-loading .resource-box .container-box li .down-resources .down_a {
  display: inline-block;
  font-size: .8rem;
  color: #FFBB00;
  padding: .5rem 1.7rem;
  border: 1px solid #FFBB00;
  background: #F1F4F9;
  border-radius: .9rem;
  text-decoration: none;
}
.res-loading .resource-box .container-box li:hover {
  border: 2px solid #F8DD94;
  text-decoration:none;
}
.res-loading .resource-box .container-box li a:focus{
	text-decoration:none;
}
.res-loading .resource-box .container-box li:hover .down_a {
  color: #fff;
  background: #FFBB00;
  text-decoration:none;
  cursor:pointer;
}
.res-loading .resource-box .container-box li:hover a{
  text-decoration:none;
}
.res-loading .resource-box .container-box li:nth-child(4),.res-loading .resource-box .container-box li:nth-child(8),.res-loading .resource-box .container-box li:nth-child(12),.res-loading .resource-box .container-box li:nth-child(16),.res-loading .resource-box .container-box li:nth-child(20){
  margin-right: 0;
}
.res-loading .resource-box .container-res-teach {
  width: 60rem;
}
.res-loading .resource-box .container-res-teach .container-box li a {
  padding: 0;
  border: 1px solid #F1F4F9;
  background: #F1F4F9;
  border-radius: inherit;
  text-decoration: none;
}
.res-loading .resource-box .container-res-teach .container-box li .down-resources-text h4 {
  height: 6.5rem;
  line-height: 6.5rem;
}

.res-loading .resource-box .container-box li.res-item{
	/*width: 28.5rem;*/
  width: 29rem;
	/*height:13rem;*/
  height:17rem;
	padding:0;
}
.res-loading .resource-box .container-box li.res-item>a{
	display:block;
	padding:2rem 0 0;
	height:100%;
}
.res-loading .resource-box .container-box li .down-resources-img-b{
	width:45%;
	/*margin-top:1rem;*/
  margin-top:2.3rem;
}
.res-loading .resource-box .container-box li .down-resources-text{
	width:55%;
}
.res-loading .resource-box .container-box li .down-resources-text-b{
	text-align:left;
}
.res-loading .resource-box .container-box li .down-resources-img-b img{
	// width:9.5rem;
	// height:9.5rem;
}
.res-loading .resource-box .container-box li .down-resources-text h4.title{
	font-size:1.5rem;
	line-height:2.1rem;
	height:2.1rem;
	text-align:left;
}
.res-loading .resource-box .container-box li .down-resources-text div.down-line{
	text-align:left;
	margin-top:.5rem;
}
.res-loading .resource-box .container-box li .down-resources-text div.down-line span{
	display:inline-block;
	width:3rem;
	border:.1rem solid #FFBB00;
	border-radius:0.5rem;
}
.res-loading .resource-box .container-box li .down-resources-des-b{
	text-indent: 0;
	text-align:left;
	height:3.2rem;
	// font-weight:bold;
	/*font-size:1rem;*/
  font-size:0.8rem;
	margin-top:.8rem;
}
.res-loading .resource-box .container-box li .down-resources .down_a-b{
	/*margin-top:.8rem;*/
  margin-top:4.6rem;
}