/*通用css*/
.btg{
	border-bottom: 1px solid #ddd;
}
.fr{
	float: right;
}
.fl{
	float:left;
}



.content{
	margin-top: 10px;
	margin-bottom: 10px;
}
.textcenter{
	text-align: center;
}

.clearfix:after{/*伪元素是行内元素 正常浏览器清除浮动方法*/
	content: "";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}
.clearfix{
	*zoom: 1;/*ie6清除浮动的方式 *号只有IE6-IE7执行，其他浏览器不执行*/
}
.line2{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;

}
.line1{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;

}
.line3{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;

}
.line4{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;

}
.animate{
    transition-duration:0.6s;
}
.animate:hover{
    transform: scale(1.3);
}
.page404{
	padding-top:30px;
}
/*顶部样式*/
.topBox{
	width:100%;
	background-color: #f0f2f5;
}
.top{
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	line-height: 2.2;
	color:#333;
	
}
.top_links a{
	margin-right: 10px;
}

/*导航栏*/
.topNav .layui-nav{
	background-color:#fff;
	padding-left: 0;
	padding-right: 0;
}

.topNav .layui-nav .logo a{
	padding:0;
	font-weight: bold;
	letter-spacing: 1px;
}
.topNav .layui-nav .logo img{
	max-width:200px;
	max-height: 50px;
}
.topNav .layui-nav .layui-nav-item a{
	color:#333;
}
.topNav .layui-nav .layui-nav-item a:hover{
	color:#0c7ff2;
}
.topNav .layui-nav-child{
	top:56px;
	border-top:none;
}
.topNav .startSearch{
	color:#0c7ff2; 
	padding-right:30px;
	cursor:pointer;
	height:60px;
}
.topNav .startSearch .searchBox{
	display: flex;
	height: 100%;
	align-items: center;
}

/* 首页 */
/* banner */
#topbanner img{
	width: 100%;
	height: 100%;
}
.staticBanner img{
	height: 145px;
	width:100%;
}
.staticBanner_top{
	margin-bottom:10px;
	overflow: hidden;
}
.staticBanner_bottom{
	overflow: hidden;
}
/* ad */
.da1{
	padding-top:10px;
	padding-right:10px;
}
.da1 img{
	width:100%;
}

/* 文章列表项 */
.articleList.layui-tab-content {
	padding-left:0;
	padding-right:0;
}
.articleListImgBox{
	height:150px;
	overflow: hidden;
}
.articleListImgBox img{
	width:100%;
}
.articleItem{
	padding: 15px;
	border-bottom: 1px #eee solid;
	cursor: pointer;
	position: relative;
	height: 150px;
}
.articleItem:hover{
	box-shadow: #a9a9a9 0 0 20px;
}
.articleListTitle{
	font-size: 22px;
	margin-bottom: 8px;
}

.articleListInfo{
	position: absolute;
	right: 15px;
	bottom: 15px;
	font-size: 12px;
}
.articleListInfo span{
	margin: 0 10px;
}
/*栏目列表项*/
.cateList li{
	margin: 8px 0;
}
/*侧边栏*/
.sidebarItem{
	margin-bottom:5px;
}
.sidebarItem legend{
	font-weight: bolder;
}
.hotTags a{
	display: inline-block;
    height: 30px;
    line-height: 30px;
    color: #838383;
    font-size: 14px;
    background-color: #ededed;
    padding: 0 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    margin-right: 5px;
}
.hotTags a:hover{
	opacity: .8;
}
.newcommentBox{
	display: flex;
}
.newcommentImg{
	margin-right: 10px;
	max-width: 60px;
	max-height: 60px;
}
.newcommentCont{
	flex-grow: 1;
}
.newcomments li{
	padding: 15px 0;
	border-bottom: 1px solid #ddd;
}
.newcomments li:first-child{
	padding-top:0;
}
.newcomments li:last-child{
	border:none;
	padding-bottom:0;
}
.sidebarDa img{
	width: 100%;
}

/*友情链接*/
.links li{
	display: inline-block;

	line-height: 1.5;
	margin: 0 12px;
}
.links .layui-elem-field legend {
	font-size: 14px;
}

/*底部*/
.footerNavBox{
	padding: 30px 0;
	color:#ccc;
}
.footerNavItem{
	padding: 0 20px;
}
.footerNavBox ul li{

	line-height: 1.8;
}
.footerNavBox ul li a{
	color:#ccc;
}
.footerNavBox ul li a:hover{
	opacity:.7;
}
.footerweixinBox{
	text-align: center;
	border-left: 1px solid #484848;
	border-right: 1px solid #484848;
}
.weixinContent{
	display: flex;
	justify-content: space-between;
}
.weixinImbBox{
	flex-grow: 1;
	width:60%;
	background-color: #fff;
	padding:5px;
	margin: 15px auto;
}
.weixinImbBox img{
	width:100%;
}

.footerBox{
	padding: 20px 0;
	color: #838383;
}
.footerBox a{
	color: #838383;
}

/*列表页*/
.cate{
	margin-top: 20px;
}
.cate .articleListTitle{
	font-weight: bold;	
}
/*分页*/
.pagebar{
	padding: 20px 0;
	display: flex;
	justify-content: flex-end;
}
.pagebar .page{
	display: inline-block;
	padding: 5px 10px;
	margin: 0 3px;
	border:1px solid #f0f0f0 ;
}

.pagebar .now-page{
	border:none;
	background-color:#4284E2;
	color:#eee;
}

/*文章页*/
.breadcrumb{
	line-height: 3;
}
.articleBox{
    border:1px solid #e6e6e6;
    border-radius: 8px;
    padding: 15px;
    margin-top:10px;
    margin-bottom: 20px;
}
.articleBox h1{
	font-weight: bold;
}
.articleBox .articleInfo{
    padding-top:10px;
    margin-bottom: 5px;
    color: #666;
}
.articleBox .articleInfo span{
    margin-right: 15px;
}
.articleBox .articleTags a{
    margin-left: 10px;
}
.nextArticle{
	margin-bottom: 10px;
}
.nextArticle div{
    margin-top: 12px;
    line-height: 1.5;
}
.moreArticle li{
    margin-bottom: 8px;
}
.moreArticle li:last-child{
    margin-bottom: 0;
}
.articleBox img{
    max-width: 100%;
}
.articleContent{
	padding-top:15px;
    overflow: hidden;
}
.articleContent p{
	color:#111;
	margin-bottom:8px;
	line-height: 1.6;
}
.moreArticle{
	margin-bottom:10px;
}
.moreArticle ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.moreArticle li{
	width: 45%;
	flex-grow: 0;
}

/*评论*/
#postcmt .layui-inline{
	margin-right: 0;
}

#postcmt .layui-input-inline{
	margin-right: 0;
	width: 100%;
}

#postcmt .inputList{
	display: flex;
	justify-content: space-between;
}
#postcmt .layui-inline{
	width: 30%;
	flex-grow: 0;
}

.commentlist{
	margin-top:10px;
	border:1px solid #e6e6e6;
	padding:10px;
	border-radius: 6px;
}

.commentlist .comment{
	display: flex;
}
.commentlist .comment .commentImg{

	margin-right: 5px;
}
.commentlist .comment .commentImg img{

	border-radius: 8px;
}
.commentlist .comment .commentBody{
	flex-grow: 1;
	padding-top:5px;
}
.reply{
	cursor:pointer;
	color:#009688;
}
.reply:hover{
	opacity: .7;
}
.commentContent{
	padding: 5px;
	line-height: 1.6;
}





