/* 
 *刘义 
 *编辑于 2022年3月25日
 */

/* 顶部导航 */
.header-top {
	padding: 0.95rem 0;
	background: #4EA54A;
}

.header .header-box {
	max-width: 1420px;
	margin: 0 auto;
}

.header-top p,
.header-top a {
	font-size: 16px;
	color: #fff;
}

.header-top-left-phone {
	width: 0.875rem;
	height: 1.437rem;
	margin-right: 0.625rem;
}

.header-top-left-phone+a,
.header-top-left-phone+p {
	padding-right: 3.75rem;
}


.header-top-left-email {
	width: 1.312rem;
	height: 0.812rem;
	margin-right: 0.625rem;
}

.header-top-right p:nth-child(2) {
	margin: 0 0.2rem;
}

.header-nav {
	padding: 1.125rem 0;
}

.header-nav .logo {
	width: 14.75rem;
	height: 2.75rem;
}

.header-nav ul li {
	position: relative;
	padding: 0 1.562rem;
}

.header-nav ul li::after {
	position: absolute;
	right: 0;
	top: 0;
	content: "/";
}

.header-nav ul li:first-child {
	padding-left: 0 !important;
}

.header-nav ul li:last-child {
	padding-right: 0 !important;
}

.header-nav ul li:last-child::after {
	content: '';
}

.header-nav ul li>a {
	font-size: 1rem;
	color: #000;
}

.header-nav ul li.header-nav-active>a,
.header-nav ul li>a:hover {
	color: #4EA54A;
}

.header-nav ul li:hover .header-sub-nav {
	display: block;
}

/* 子导航 */
.header-sub-nav {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	min-width: 120px;
	background: #4EA54A;
	z-index: 99;
	padding-bottom: 25px;
	display: none;
}

.header-sub-nav div {
	width: 100%;
	height: 29px;
	background: #fff;
}

.header-sub-nav a {
	padding: 0 17px;
	font-size: 14px;
	color: #fff;
	margin-top: 10px;
}



.header-sub-nav a:hover {
	color: #007AFF;
}

.header-mobile {
	width: 44px;
	height: 46px;
	background: #4EA54A;
	display: none;
}

.header-mobile img {
	width: 22px;
	height: 18px;
}

/* 顶部导航 移动端 */
.mobile {
	position: fixed;
	left: -100%;
	top: 45px;
	width: 100%;
	height: calc(100vh - 45px);
	background: rgba(0, 0, 0, 0.59);
	z-index: 999;
	display: grid;
	grid-template-columns: 280px auto;
	transition: all 0.5s;
	opacity: 0;
}

.mobile-content {
	width: 280px;
	background: #fff;
	height: 100%;
}

.mobile-nav-close {
	width: 18px;
	height: 18px;
	margin-left: 3rem;
	margin-top: 1.812rem;
}

.mobile-content-logo {
	padding: 18px 17px;
	box-shadow: 0px 4px 4px 0px rgba(51, 51, 51, 0.1);
}

.mobile-content-logo img {
	width: 187px;
	height: 36px;
}

/* 移动端导航 */
.mobile-nav-list {
	padding-top: 20px;
	height: calc(100vh - 45px - 72px);
	overflow-y: auto;
}

.mobile-nav-list>ul>li>div {
	width: 100%;
	height: 50px;
	padding: 0 45px 0 20px;
	font-size: 16px;
}

.mobile-nav-list-text {
	color: #000;
}

.mobile-nav-list img {
	width: 13px;
	height: 7px;
}

.mobile-nav-list-text+img+img {
	display: none;
}

/* 选中状态 */
.mobile-nav-active {
	background: #4EA54A;
}

.mobile-nav-active .mobile-nav-list-text {
	color: #fff;
}

.mobile-sub-nav-active>img:nth-child(2) {
	display: none;
}

.mobile-sub-nav-active>img:nth-child(3) {
	display: block;
}

.mobile-sub-nav-active>p {
	color: #4EA54A;
}

/* 移动端子导航 */
.mobile-sub-nav-active+.mobile-sub-nav {
	display: block;
}

.mobile-sub-nav {
	background: #fff;
	padding-left: 38px;
	display: none;
}

.mobile-sub-nav>li {
	padding: 10px 0;
}

.mobile-sub-nav a,
.mobile-sub-nav p {
	font-size: 14px;
	color: #707070;
}

.mobile-sub-nav img {
	margin-right: 46px;
}

.mobile-sub-nav img:nth-child(3) {
	display: none;
}

.mobile-sub-nav-active>div>p {
	color: #4EA54A;
}
.mobile-end-nav-acitve>div>a,
.mobile-end-nav-acitve>div>p {
	color: #4EA54A;
}

.mobile-end-nav-acitve>div img:nth-child(2) {
	display: none;
}

.mobile-end-nav-acitve>div img:nth-child(3) {
	display: block;
}

/* 移动端 底层导航 */
.mobile-end-nav-acitve .mobile-end-nav {
	display: block;
}

.mobile-end-nav {
	padding-left: 14px;
	display: none;
}

.mobile-end-nav a {
	font-size: 14px;
	color: #707070;
	padding: 15px 0;
	border-bottom: 1px dashed #DDDDDD;
}

.mobile-end-nav .active {
	color: #4EA54A;
}

/* 底部导航 */
footer {
	padding: 3.75rem 5rem;
	background: #F5F5F5;
}

.footer-content {
	display: grid;
	grid-template-columns: 57% auto;
}

.footer-content h3 {
	font-size: 21px;
	color: #222;
	padding-bottom: 1.25rem;
}

.footer-product-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 0.625rem;
	padding-bottom: 2.187rem;
}

.footer-product-list a {
	font-size: 14px;
	color: #666666;
}

.footer-content-left p {
	font-size: 1rem;
	color: #666666;
	cursor: default;
}

.footer-content-left a {
	font-size: 1rem;
	color: #666666;
}

.footer-content-left img {
	height: 15px;
}

.footer-address,
.footer-address+div {
	padding-bottom: 1.25rem;
}

.footer-content-right p {
	font-size: 1rem;
	color: #666666;
	padding-bottom: 1.25rem;
	cursor: default;
}

.footer-content textarea,
.footer-content input {
	display: block;
	width: 100%;
	height: 3.125rem;
	padding: 0.875rem 1.312rem;
	background: #F0F0F0;
	border: none;
	font-size: 1rem;
}

.footer-content-right textarea {
	height: 5.625rem;
}

.footer-input-box {
	padding: 1.25rem 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 1.25rem;
}

.footer-btn {
	width: 100%;
	height: 3.125rem;
	color: #fff;
	background-color: #4EA54A;
	border-radius: 6px;
	font-size: 16px;
	color: #fff;
}

.copyright {
	padding: 16px;
	background: #4EA54A;
	text-align: center;
	color: #fff;
	font-size: 14px;
	cursor: default;
}

.copyright a {
	display: inline;
	color: #fff;
}

.copyright a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 1460px) {
	.header .header-box {
		max-width: 1200px;
	}
}

@media screen and (max-width: 1240px) {
	.header .header-box {
		max-width: 968px;
	}

	.header-nav ul li {
		padding: 0 0.8rem;
	}

	.header-sub-nav {
		left: -10px;
	}

	.header-sub-nav div {
		height: 26px;
	}
}

@media screen and (max-width: 968px) {
	.header .header-box {
		max-width: 750px;
	}

	footer {
		padding: 3.75rem 3rem;
	}
}

@media screen and (max-width: 750px) {
	.header .header-box {
		padding: 0 30px;
	}

	footer {
		padding: 2rem 0;
	}

	.footer-content {
		display: block;
	}

	.footer-content h3 {
		padding-bottom: 0.937rem;
	}

	.footer-content-right {
		padding-top: 1.25rem;
	}

	.header .header-nav ul {
		display: none;
	}

	.header-mobile {
		display: flex;
	}
	.copyright a{
	    display: block;
	}
}

@media screen and (max-width: 648px) {

	.header-top-left-email+a,
	.header-top-left-email {
		display: none;
	}

}

@media screen and (max-width: 414px) {
	.header-top-left-phone+p {
		padding-right: 0.625rem;
	}
}
