/* 英文默认字体 */

@font-face {
	font-family: poppins;
	src: url('../fonts/poppins.woff2')
}

* {
	font-family: 微软雅黑, Arial, Helvetica, sans-serif;
}

html, body {
	font-size: 16px;
	background-color: #fff;
}

body, div, a, li, ul, ol, dl, img, span, input {
	padding: 0px;
	margin: 0px;
	list-style: none;
	border: 0px;
}

a:link {
	color: #000;
	text-decoration: none;
}

a:visited {
	text-decoration: none;
	color: #000;
}

a:hover {
	text-decoration: none;
	color: #000;
}

a:active {
	text-decoration: none;
	color: #000;
}

/* 外边距和后台一致 */

p {
	margin: 5px 0;
}

ul {
	list-style-type: none;
}

img {
	max-width: 100%;
}

.clear {
	clear: both;
}

.f-l {
	float: left;
}

.f-r {
	float: right;
}

.after:after {
	content: '';
	display: block;
	clear: both;
}

.mr-0 {
	margin-right: 0px!important;
}

.this-1200 {
	margin: 0 auto;
	width: 1200px;
}

/* 头部 */

#header {
	background: url(../images/wuyan.png) repeat-x top;
}

#header .logo {
	margin-top: 50px;
}

#header .phone {
	margin-top: 100px;
	font-size: 20px;
	font-weight: bold;
	color: #FF000B;
}

/* 导航 */

#nav {
	background-color: #9A0309;
}

#nav a {
	line-height: 42px;
	color: #fff;
	padding: 0 85px;
	float: left;
}

#nav a:hover {
	background-color: #1E3627;
}

#nav a.active {
	background-color: #1E3627;
}

/* 首页 */

#banner {
	position: relative;
	z-index: 0;
	font-size: 0;
	box-shadow: 5px 5px 30px rgba(0, 0, 0, .2);
}

#banner img {
	width: 100%;
}

/* 系列组件 */

.series::after {
	content: "";
	clear: both;
	display: block;
}

.series {
	font-size: 0;
	margin: 30px auto;
}

.series .list {
	width: calc(100% - 20px);
	background-color: #ECDDC8;
	margin-top: 10px;
}

.series .list a {
	float: left;
	width: 130px;
	font-size: 16px;
	margin-right: 90px;
	margin-left: 27px;
	text-align: center;
	background-size: 100%;
	line-height: 28px;
	padding: 15px 0;
	background-repeat: no-repeat;
	background-position: center;
}

.series .list a:last-child {
	margin-right: 0;
}

.series .list a:hover {
	background-image: url(../images/left1.png);
	color: #fff;
}

.series .list a.active {
	background-image: url(../images/left1.png);
	color: #fff;
}

/* 首页公共部分 */

#home {
	margin-top: -50px;
	background-image: url(../images/bj.png);
	background-size: cover;
	padding-top: 50px;
}

/* 首页 */

#home .pic-contact {
	margin-top: 50px;
	padding-bottom: 40px;
}

#home .pic-contact .pic {
	width: calc(40% - 50px);
}

#home .pic-contact .contact {
	width: calc(60% - 50px);
	margin-left: 100px;
}

/* 关于我们 */

#home .about .body {
	padding: 10px 0;
}

#home .about .body .left, #home .about .body .right {
	width: calc(50% - 30px);
	float: left;
}

#home .about .body .left {
	margin-right: 60px;
}

/* 产品页面 */

#home .products {
	padding: 40px 0;
	text-align: center;
}

#home .products a {
	display: inline-block;
	padding: 0 30px;
	line-height: 40px;
	border-radius: 4px;
	font-size: 14px;
	background-color: #666;
	color: #fff;
	margin-right: 20px;
}

#home .products a.active {
	background-color: #990309;
}

/* 客户案例 */

#home>.pic {
	padding: 50px 0;
}

#home>.pic .list {
	margin: 20px 0;
}

#home>.pic .list a {
	float: left;
	width: calc(25% - 15px);
	margin-right: 20px;
}

#home>.pic .list a .img {
	height: 0;
	padding-top: 100%;
	width: 100%;
	background-size: 60%;
	border: 1px solid #990309;
	background-position: center;
	background-repeat: no-repeat;
}

#home>.pic .list a p {
	margin: 0;
	line-height: 40px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
}

#home>.pic .list a:nth-of-type(4n) {
	margin-right: 0;
}

/* 客户案例详情 */

#home .pic-view {
	padding: 50px 0;
}

#home .pic-view .body {
	padding: 10px 0;
}

/* 招商加盟 */

#home .to-join {
	padding: 20px 0;
}

/* 底部 */

#footer {
	padding-top: 50px;
	padding-bottom: 15px;
	background-image: url('../images/foot.png');
}

#footer p {
	text-align: center;
	color: #fff;
	font-size: 14px;
}

#footer p a {
	color: #fff;
}

/* 手机版 */

#nav-m {
	display: none;
}

@media screen and (max-width:1200px) {
	.this-1200 {
		width: auto;
	}
	/* 头部 */
	#header, #nav {
		display: none;
	}
	#nav-m {
		height: 50px;
		display: block;
		position: relative;
		z-index: 999;
		font-size: 0;
	}
	#nav-m .logo {
		height: 50px;
		float: left;
	}
	#nav-m .logo img {
		height: 40px;
		margin-left: 10px;
		margin-top: 5px;
	}
	#nav-m>.title {
		font-size: 14px;
		display: inline-block;
		line-height: 50px;
		vertical-align: top;
		margin-left: 10px;
		width: calc(100% - 140px);
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}
	#nav-m .menu {
		position: absolute;
		right: 10px;
		top: 11px;
		width: 22px;
		padding: 5px 10px;
		border: 1px solid #333;
		border-radius: 3px;
	}
	#nav-m .menu span {
		display: block;
		width: 100%;
		margin-bottom: 5px;
		height: 2px;
		background-color: #000;
	}
	#nav-m .menu span:nth-of-type(3) {
		margin-bottom: 0px;
	}
	#nav-m .list {
		background-color: #333;
		display: none;
	}
	#nav-m .list a {
		padding: 0 10px;
	}
	#nav-m .list a, #nav-m .list .more .title {
		height: 45px;
		width: 100%;
		display: block;
		font-size: 14px;
		color: #f1f2f4;
		box-sizing: border-box;
		line-height: 45px;
		border-bottom: 1px solid #777;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	#nav-m .list .more {
		display: inline-block;
		width: 100%;
	}
	#nav-m .list .more i {
		width: 60px;
		height: 45px;
		line-height: 45px;
		float: right;
		font-size: 22px;
		text-align: center;
		color: #fff;
		transition: all 0.3s;
		box-sizing: border-box;
	}
	#nav-m .list .more .title a {
		width: calc(100% - 60px);
		float: left;
		border-right: 1px solid #777;
	}
	#nav-m .list .more .children {
		background-color: #555;
		display: none;
	}
	#banner {
		box-shadow: none;
	}
	/* 系列组件 */
	.series .left {
		display: none;
	}
	.series .right {
		display: none;
	}
	.series .list {
		margin-top: 0;
		width: calc(100% - 20px);
		border-left: 5px solid #653A19;
		border-radius: 5px;
		border-right: 5px solid #653A19;
		box-sizing: border-box;
		padding: 10px 10px;
		margin-left: 10px;
	}
	.series .list a {
		margin: 0;
		width: 33.333%;
		font-size: 12px;
		padding: 5px 0;
	}
	/* 案例模块 */
	#home>.pic {
		padding: 20px 10px;
	}
	#home>.pic .list a {
		width: calc(50% - 15px);
		margin-right: 20px!important;
	}
	#home>.pic .list a:nth-of-type(2n) {
		margin-right: 0px!important;
	}
	/* 案例内页 */
	#home .pic-view {
		padding: 20px 10px;
	}
	/* 加盟模块 */
	#home .to-join {
		padding: 20px 10px;
	}
	/* 首页 */
	#home .about .body {
		padding: 10px;
	}
	#home .about .body td {
		display: block;
		width: 100%;
	}
	#home .pic-contact {
		margin-top: 20px;
	}
	#home .pic-contact .pic, #home .pic-contact .contact {
		width: 100%;
		margin-left: 0;
		padding: 0 10px;
		box-sizing: border-box;
	}
	#home .pic-contact .contact {
		margin-top: 20px;
	}
	#home .about .body .left,	#home .about .body .right{
		width: 100%;
		float: none;
	}
	/* 底部 */
	#footer {
		padding: 0 10px;
		padding-top: 50px;
		padding-bottom: 20px;
		background-size: cover;
	}
	#footer p {
		font-size: 12px;
		line-height: 25px;
	}
}