﻿/**
 * 作者:lianghaolv
 * QQ:1948712434
 * 时间:2020-09-26
 * 说明:本css文件为产品列表页面样式，请勿乱用。
 */

/* ********************************* */
#main .position {
	text-align: left;
	color: #999999;
	font-size: 12px;
	padding-top: 20px;
}

/* ***********小栏目************* */
#small_colu {
	margin-top: 30px;
	margin-bottom: 50px;
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
}

#small_colu .cont {
	position: relative;
	width: 305px;
	box-sizing: border-box;
	height: 150px;
	padding: 15px;
	box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
}

#small_colu .cont h3 {
	font-size: 16px;
	margin-bottom: 5px;
}

#small_colu .cont p {
	color: #6F6F6F;
	font-size: 14px;
	display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
}

#small_colu .cont>div {
	width: 130px;
	height: 100%;
}


#small_colu img {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 120px;
	height: 120px;
}

#small_colu .cont .link {
	position: absolute;
	left: 15px;
	bottom: 15px;
	color: #0169CA;
	font-size: 14px;
}


/* *****************************产品列表 */
#product h2 span:after{
	display: inline-block;
    content: "";
    vertical-align: middle;
    margin-left: 5px;
    width: 45px;
    height: 17px;
    background-image: url(/template/khw/img/title_logo_1.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#product h2 span {
	border-bottom: 3px solid #0169CA;
	padding-bottom: 5px;
	font-size: 20px;
}

/* 筛选栏 */
#product .filter_bar {
	width: 100%;
	background-color: #F5F5F5;
	margin-top: 30px;
}

#product .filter_top,
#product .filter_bottom {
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
	padding: 20px 20px 5px 20px;
	box-sizing: border-box;
	border-bottom: 1px dotted #BBBBBB;
}

#product .filter_bottom {
	border-bottom: 0;
}

#product .filter_top>div,
#product .filter_bottom>div {
	color: #6F6F6F;
	font-size: 14px;
	width: 90px;
	line-height: 28px;
}

#product .filter_top ul,
#product .filter_bottom ul {
	top: 20px;
	right: 60px;
	width: 1100px;
	overflow: hidden;
}

#product .filter_bar li {
	float: left;
	margin-bottom: 15px;
}

#product .filter_bar a {
	display: inline-block;
	font-size: 14px;
	padding: 5px 15px;
	border-radius: 25px;
}

#product .filter_bar a.on {
	background-color: #3894FF;
	color: #fff;
}


#product .more {
	width: 70px;
	font-size: 14px;
	color: #0169CA;
	border: 0;
	outline: none;
	height: 30px;
	background-color: transparent;
	cursor: pointer;
}


/* 产品列表 */
#product .list_box {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #BBBBBB;
	padding: 20px;
	margin-top: 50px;
	margin-bottom: 50px;
	overflow: hidden;
	text-align: center;
}

#product .list_item {
	width: 225px;
	height: 240px;
	box-sizing: border-box;
	border: 1px solid #BBBBBB;
	margin-right: 20px;
	margin-bottom: 22px;
	float: left;
	border-radius: 5px;
	padding: 8px;
}

#product .list_item:nth-child(5n + 5) {
	margin-right: 0;
}

#product .img_link {
	display: block;
	width: 100%;
	height: 150px;
}

#product img {
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: 100%;
}

#product h3 {
	font-size: 16px;
	margin-top: 7px;
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#product p {
	font-size: 14px;
	color: #6F6F6F;
	line-height: 22px;
	display: -webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow: hidden;
}

#product .shuoming {
	font-size: 14px;
	text-align: center;
	color: #101010;
}

/*分页*/
#product .page_bar{
	margin-top: 30px;
	font-size: 14px;
}

#product .page_bar a{
	background-color: #F0F2F5;	
	padding: 5px 15px;
	margin: 0 5px;
}
