﻿@charset "utf-8";
/*当页面小于992px的时执行下面的CSS*/
@media screen and (max-width: 992px){
	/*logo*/
	.logo{width:100%!important; overflow:hidden}
	.logo .l_pc{display:none}
	.logo .l_mobile{ float:left; width:80%; height:auto; padding:10px 0; text-indent:15px; overflow:hidden}
	.logo .l_mobile img{max-width:100%; height:auto;}
	
	.logo .r{float:right; width:14%; height:auto;}
	.logo .r>.tel{display:none}
	.logo .r>.donghua_menu{width:30px; height:20px; display:block; margin:0 auto; margin-top:17px}
	
	.dh {width: 100%; height:3px; position: relative;}
	.dh:before {animation: dhxgdhxg 1s linear 0s infinite alternate; position: absolute; left:0; top:0; width: 100%; height:4px; background:#999999; content: ""; display: block; opacity: 0; }
	.dh:nth-child(2):before {animation-delay: 0.5s; margin-top:5px}
	.dh:nth-child(3):before {animation-delay: 0.2s; margin-top:10px}
	@keyframes dhxgdhxg {
		0%{width:30%; opacity: 1;}
		50%{width:100%; opacity:0.5;}
	}
	
	/*首页菜单*/
	.menu{width:100%; height:auto; overflow:hidden; background: #70a2a1; display:none}
	.menu li{
		width:100%;
		height:0.46rem;
		line-height: 0.46rem;
		color: #fff;
		font-size: 0.14rem;
		text-indent:20px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		border-top: 0.5px solid rgba(255, 255, 255, 0.05);
		position:relative
	}
	.menu li a{display: block; color: #fff;}
	.menu li:hover a,.menu li.active a{text-decoration:none; color:#fff; background:linear-gradient(to bottom,#559796,#3e8382);}
	.menu li:before {
		content: "";
		right: 3%;
		top: 18px;
		position: absolute;
		border: 8px solid #FFFFFF;
		border-top:7px solid rgba(0, 0, 0, 0);
		border-bottom:7px solid rgba(0, 0, 0, 0);
		border-right:7px solid rgba(0, 0, 0, 0);
	}
	.allpage_close{ position:fixed; width:14%; height:0.5rem; line-height:0.5rem; top:0px; right:0; z-index:99999; background:#fff url(../images/cl.png) no-repeat right 15px center; display:none}
	
	/*通栏banner*/
	.sub_banner{width:100%; height:150px; position:relative; }
	.sub_banner:before{content: ""; position:absolute; top:0; left:0; width:100%; height:30px; box-shadow:inset 0px 15px 10px -15px #666666}
	.bannerPic{
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		height: 100%;
		transform: translate(-50%,-50%);
		object-fit: cover;
	}
}

/*当页面大于992px时候*/
@media screen and (min-width:992px){
	/*logo*/
	.logo{color:#333; height:100px; overflow:hidden}
	.logo .l_pc{ float:left; width:400px; height:100px; display:flex; align-items:center; overflow:hidden}
	.logo .l_pc img{max-width:100%; height:auto;}
	.logo .l_mobile{ display:none}
	
	.logo .r{ float:right; width:226px; height:100px;}
	.logo .r>.tel{display:block; line-height:100px; text-indent:46px; font-size:23px; color:#BA0E12; background:url(../images/toptel2.png) no-repeat left center}
	.logo .r>.donghua_menu{ display:none}
	
	/*导航菜单start*/
	.menu { display:table; margin:0 auto; overflow:hidden; }
	.menu li{display:inline-block; line-height:100px;}
	.menu li a{display:block; padding:0 23px; font-size:16px; color:#333; font-weight:400; position:relative}
	.menu li:hover a,.menu li.active a,.menu li:hover a:after,.menu li.active a:after{text-decoration:none; color:#fff; background-color:#70a2a1}
	
	.allpage_close{display:none}
	
	/*通栏banner*/
	.sub_banner{width:100%; height:auto; position:relative; text-align: center;}
	.sub_banner:before{content: ""; position:absolute; top:0; left:0; width:100%; height:30px; box-shadow:inset 0px 15px 10px -15px #666666}
	.sub_banner img{max-width:100%; height:auto; object-fit: none; /*保留原有元素内容的长度和宽度，图片不会变模糊*/}
}