

.banner{
	margin-top: 140px;
}

.Access{
	position: fixed;
	top: 80px;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 18px;
	color: #666;
	background-color: #f9f9f9;
}

.classify{
	display: inline-block;
	margin-right: 60px;
	cursor: pointer;
}

.tabs{
	/*width:500%;*/
}
.category{
	display: flex;
	justify-content: space-between;
	flex-wrap:wrap;
	width: 100%;
	height: auto;
	padding-bottom: 60px;
}
.category_box{
	position: relative;
	width: 580px;
	height: 600px;
	border: 1px solid #e3e3e3;
	box-sizing:border-box;
	margin-top: 50px;
	/*background-color: rgb(206,0,0);*/
	cursor: pointer;
}

.category_top,.category_right,.category_bottom,.category_left{
	position: absolute;
	z-index: 2;
	background-color: rgb(206,0,0);
}
.category_top,.category_bottom{
	width: 0;
	height: 1px;
}
.category_right,.category_left{
	width: 1px;
	height: 0;
}
.category_top{
	top: -1px;
	left: -1px;
}
.category_right{
	top: -1px;
	right: -1px;	
}
.category_bottom{
	bottom: -1px;
	right: -1px; 
}
.category_left{
	bottom: -1px;
	left: -1px;
}

.category_img{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.category_img img{
	display: block;
	width: 100%;
	height: 100%;
	transition:all 2s;
}
.category_box:hover img{
	transform: scale(1.3,1.3);
	-ms-transform: scale(1.3,1.3);
	-webkit-transform: scale(1.3,1.3);
}
.category_box:hover{
	box-shadow: 0 0 10px #b6b6b6;
}
.ebook{
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 160px;
	background-color: rgba(255,255,255,.7);
}
.ebook_title{
	height: 50px;
	box-sizing:border-box;
	font-size: 20px;
	padding: 15px 20px;
	overflow: hidden; /*自动隐藏文字*/
	text-overflow: ellipsis;/*文字隐藏后添加省略号*/
	white-space: nowrap;/*强制不换行*/

	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}
.category_box:hover .ebook_title{
	cursor: pointer;
	color: rgb(206,0,0);
	text-indent: 15px;
}
.ebook_tag{
	font-size: 15px;
	height: 50px;
	padding:0 20px 20px 20px;
	overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	box-sizing:border-box;
}
.ebook_text{
	height: 40px;
	box-sizing:border-box;
	font-size: 15px;
	padding:0 20px 10px 20px;
	overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.tabs_btn{
	margin: 60px auto;
}
.category_title{
	display: block;
	width: 100%;
	text-align: center;
	font-size: 30px;
	padding: 60px 0;
}
.category_tag,.category_text{
	display: block;
	width: 100%;
	font-size: 18px;
	text-align: left;
}
.category_tag{
	padding-bottom: 30px;
}
.category_text{
	padding-bottom: 60px;
}
.category_img{
	width: 100%;
	height: 600px;
	/*background-color: rgb(206,0,0);*/
}
.category_img img{
	display: block;
	width: 100%;
	height: 100%;
}








/*窗口宽度大于768px小于1200px*/
@media screen and (min-width:768px) and (max-width:1200px){

.banner{
	margin-top: 124px;
}
.Access{
	top: 4rem;
}
.Access .center{
	display: flex;
	justify-content: space-between;
	flex-wrap:nowrap;
}
.classify{
	display: inline-block;
	margin-right:0;
	font-size: 1rem;
}
.category_box{
	width: 350px;
	height: 362px;
	background-color: #fff;
}
.category_img{
	height: 100%;
}

.ebook{
	background-color: rgba(255,255,255,.8);
}





}





/*******************手机***********************/
@media screen and (max-width:767px){



.banner{
	margin-top: 54px;
}
.Access{
	position: static;
	height:auto;
}
.Access .center{
	padding: 0.5rem;
}
.classify{
	display: block;
	margin-right: 0.625rem;
	font-size: 1rem;
	line-height: 1.875rem;
}
.category_box{
	width: 100%;
	height: 21.875rem;
	background-color: #fff;
	margin-top: 1.875rem;
}
.category_img{
	height: 100%;
}
.ebook{
	background-color: rgba(255,255,255,.8);
}
.category{
	padding-bottom: 1.875rem;
}
.category_title{
	font-size: 1.25rem;
	padding: 1.25rem 0;
}
.category_tag{
	font-size: 1rem;
	padding-bottom: 1rem;
}
.category_text{
	font-size: 0.85rem;
}



}
