@charset "utf-8";

/* CSS Document */
/*banner轮播*/
.banner {
	width: 100%;
	height: 510px;
	overflow: hidden;
	position: relative;
}

.banner .pic {
	position: absolute;
	left: 50%;
	margin-left: -960px;
}

/* 下面是前/后按钮代码，如果不需要删除即可 */
.banner .prev,
.banner .next {
	position: absolute;
	left: 3%;
	top: 50%;
	margin-top: -25px;
	display: block;
	width: 32px;
	height: 40px;
	background: url(/skin/baichy/images/slider-arrow.png) -110px 5px no-repeat;
	filter: alpha(opacity=50);
	opacity: 0.5;
}

.banner .next {
	left: auto;
	right: 3%;
	background-position: 8px 5px;
}

.banner .prev:hover,
.banner .next:hover {
	filter: alpha(opacity=100);
	opacity: 1;
}

.banner .prevStop {
	display: none;
}

.banner .nextStop {
	display: none;
}

/*热销产品*/
.main {
	max-width: 1180px;
	margin: 40px auto 0;
}

.main .hot {
	max-width: 1180px;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
}

.main .hot h2 {
	float: left;
	width: 216px;
	position: relative;
	margin-right: 1rem;
}

.main .hot h2 span {
	position: absolute;
	top: 84px;
	left: 40px;
}

.main .hot h2 span a {
	font-size: 20px;
	color: #fff;
}

.main .hot h2 span a img {
	margin: -2px 0 0 20px;
}

.main .hot span a:hover {
	color: #eee;
}

.main .hot ul {
	float: right;
	display: flex;
	justify-content: space-between;
}

.main .hot ul li {
	float: left;
	/* margin-left: 30px; */
	width: 24%;
}

.main .hot ul li img {
	max-width: 100%;
}

.main .hot ul li p {
	text-align: center;
	line-height: 2;
}

/*新闻中心*/

.main .news-use {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.main .news {
	width: 49%;

	margin-top: 40px;
}

.main .news h2 {
	margin-bottom: 12px;
}

.main .news h2 a {
	font-size: 20px;
	color: #e60717;
}

.main .news img {
	float: left;
}

.main .news ul {
	float: left;
	margin-left: 30px;
	line-height: 2;
}

.main .news ul p a {
	margin-left: 30px;
}

.main .news ul li a {
	margin-left: 25px;
}

.main .news ul li span a {
	color: #e60717;
	margin-left: 0;
}

/*研磨物料规格及用途*/
.main .use {
	width: 49%;

	margin-top: 40px;
}

.main .use h2 {
	margin-bottom: 12px;
}

.main .use h2 a {
	font-size: 20px;
	color: #e60717;
}

.main .use img {
	float: left;
}

.main .use ul {
	float: left;
	margin-left: 30px;
	line-height: 2;
}

.main .use ul p a {
	margin-left: 30px;
}

.main .use ul li a {
	margin-left: 25px;
}

.main .use ul li span a {
	color: #e60717;
	margin-left: 0;
}

/*客户案例*/
.main .case {
	max-width: 1180px;
	overflow: hidden;
}

.main .case h2 {
	margin: 40px 0 12px 0;
}

.main .case h2 a {
	font-size: 20px;
	color: #e60717;
}

.main .case ul {
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.main .case ul li {
	position: relative;
	width: 24%;
}

.main .case ul li img {
	max-width: 100%;
	width: 100%;
}

.main .case ul li a {
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	font-size: 16px;
	color: #fff;
	height: 40px;
	line-height: 40px;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.60);
	*background-color: #000;
	*filter: alpha(opacity=60);
	*opacity: 0.6;
}

.main .case ul li a:hover {
	color: #e60717;
}

@media screen and (max-width:1200px) {
	.main .hot {
		padding: 0 1rem;
	}

	.main .hot h2 {
		display: none;
	}

	.main .hot ul {
		width: 100%;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.main .hot ul li {
		margin-left: 0;
		width: 24%;
	}

	.main .hot ul li img {
		max-width: 100%;
	}

	.main .img-ul {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
}

@media screen and (max-width:1080px) {
	.main .img-ul {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media screen and (max-width:900px) {
	.main .case ul li {
		width: 49%;
	}

	.main .case ul li:nth-child(1),
	.main .case ul li:nth-child(2) {
		margin-bottom: 2%;
	}

	.main .case ul li img {
		width: 100%;
	}
}

@media screen and (max-width:768px) {
	.main .hot ul li {
		width: 49%;
	}

	.main .hot ul li img {
		width: 100%;
	}
}

@media screen and (max-width:500px) {

	.main .news,
	.main .use {
		width: 100%;
	}

	.main .news ul,
	.main .use ul {
		margin-left: 0;
	}

	.main .case ul li {
		width: 100%;
	}

	.main .case ul li:nth-child(3) {
		margin-bottom: 2%;
	}
}