/*
category
------------------------------------------------------*/
#category main{
	margin: auto auto 100px;
	width: 100%;
	border-top: solid 1px #ccc;
}
#category main .page-header{
	margin: 30px auto;
	width: 100%;
	max-width: 1024px;
}
#category main .page-header h2{
	margin: 30px auto;
	padding: 0 0 10px;
	width: 100%;
	max-width: 1024px;
	font-size: 30px;
	line-height: 1;
	text-align: left;
	font-weight: bold;
	border-bottom: solid 1px #000;
}
#category main ul{
	margin: auto auto 45px;
	width: 1024px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
#category main ul li{
	margin: 0 21px 30px 0;
	width: 240px;
	height: 350px;
	background: #f3f3f3;
	position: relative;
}
#category main ul li:nth-child(4n){margin-right: 0;}
#category main ul li a{
	text-decoration: none;
	color: inherit;
	display: block;
}
#category main ul li a:hover{opacity: 0.6;}
#category main ul li figure{
	display: block;
}
#category main ul li figure img{
	width: 100%;
	height: auto;
}
#category main ul li .cate{
	height: 34px;
	background: #000;
	color: #fff;
	text-align: center;
	font-size: 15px;
	line-height: 34px;
}
#category main ul li .text{
	padding: 20px 20px 0;
	font-size: 16px;
	line-height: 1.8;
	height: 132px;
	display: -webkit-box;
	word-break: break-all;
	word-wrap: break-word;
	overflow: hidden;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}
#category main ul li time{
	line-height: 1;
	font-size: 12px;
	color: #aaa;
	text-align: right;
	position: absolute;
	right: 20px;
	bottom: 20px;
}
#category main ul li .new{
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #eb8428;
	color: #fff;
	font-size: 13px;
	text-align: center;
	line-height: 52px;
	position: absolute;
	left: -16px;
	top: -16px;
}

#category main .cate_list{
	margin: 2em auto;
	width: 100%;
	max-width: 1024px;
	text-align: center;
}
#category main .cate_list > p{
	margin: auto 1em;
	display: inline-block;
}
#category main .cate_list > p a{
	padding: 0.5em 1em;
	display: block;
	background: #F3F3F3;
	color: inherit;
	text-decoration: none;
}


#category main > div{
	margin: auto auto 20px;
	width: 100%;
	max-width: 1024px;
	text-align: center;
}
#category main .nav-links{
	font-size: 16px;
	line-height: 1;
}
#category main .nav-links span,
#category main .nav-links a{
	margin: auto 0.15em;
	padding: 0.5em;
	display: inline-block;
	border:solid 1px #ccc;
	color: inherit;
	text-decoration: none;
}
#category main .nav-links span.current{
	border:none;
}

@media screen and (max-width:768px){
	#category main .page-header{
		margin: 3.3333vw auto;
		width: 90%;
	}
	#category main ul{
		margin: auto auto 9.3333vw;
		width: 90vw;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#category main ul li{
		margin: 0 auto 4vw 0;
		width: 42.6666vw;
		height: 75.6vw;
	}
	#category main ul li:nth-child(2n){
		margin-right: 0;
	}
	#category main ul li .cate{
		height: 8vw;
		font-size: 3.7333vw;
		line-height: 8vw;
	}
	#category main ul li .text{
		padding: 2.6666vw 2.6666vw 0;
		font-size: 3.6vw;
	}
	#category main ul li time{
		font-size: 2.9333vw;
		right: 2.6666vw;
		bottom: 2.6666vw;
	}
	#category main ul li .new{
		width: 10.6666vw;
		height: 10.6666vw;
		font-size: 2.8vw;
		line-height: 10.6666vw;
		left: -2.8vw;
		top: -2.8vw;
	}
	#category main ul li figure img{
		width: 100%;
		height: auto;
	}
	#category main .cate_list{
		margin: 2em auto auto;
		padding: 0 3%;
		text-align: left;
	}
	#category main .cate_list > p{
		margin: auto 0.5em 1em;
		display: inline-block;
	}
	#category main .cate_list > p a{
		padding: 0.5em 1em;
		display: block;
		background: #F3F3F3;
		color: inherit;
		text-decoration: none;
	}

}