@charset "utf-8";

#header{
	width: 100%;
	background: #ccc;
	background: rgba(142,142,142,0.7);
	height: 41px;
	position: fixed;
	z-index: 1;	
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#header .logo{
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 10px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#header .logo .icon-logo{
	position: relative;
    z-index: 9;
    display: block;
    width: 44px;
    height: 36px;
    margin-top: -5px;
    background: url(../img/logo.png) no-repeat left top;
    background-size: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    filter: grayscale(100%);
    /*filter: sepia(100%)*/
}
#header .menu{
	text-align: center;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#header .menu ul li{
	display: inline-block;
	line-height: 0;
	position: relative;
}

#header .menu ul li a span.en{
	position: relative;
	z-index: 2;
	display: inline-block;
	color: #fff;
	font-weight: 600px;
	padding:0 25px;
	height: 41px;
	line-height: 41px;
	overflow: hidden;
	font-size: 16px;
	margin: 0;
}
#header .menu ul li:hover{
	background:rgba(142,142,142,0.7);
}
#header .menu ul li a:hover span.en{
	color: #fff;
	height: 41px;
}

	#header .nav{
		height: 0;
		overflow: hidden;
		background: #999;
		background:rgba(142,142,142,0.9);
		position: absolute;
		z-index: 1;
		left: 0;
		top: 41px;
		border-top: 0;
		
	}
	#header ul li.product:hover .nav{
		height: auto;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;		
	}	
	#header .nav .con{
		display: flex;
		padding: 10px 0;
		flex-direction:column;
		flex-wrap:wrap;
	}
	#header .nav .con a{
		font-size: 14px;
	    text-align: left;
	    padding-right: 25px;
	    padding-left: 25px;
	    display: inline-block;
	    color: #fff;
	    width: 100%;
	    line-height: 30px;
	    overflow: auto;
	    min-width: 127px;
	}
	#header .nav .con a:hover{
	}
	#header .nav .con a span{
		color: #ccc;
	}

#header .search{
	position: absolute;
	right: 10px;
	top: 3px;
}
#header .search input{
	height: 26px;
	line-height: 26px;
	padding-left:6px;
	border:0;
	width: 160px;
}
#header .search button{
	position: absolute;
	right: 0px;
	top: 2px;
	width: 26px;
	height: 26px;
	background: url(../img/search.png) no-repeat center center;
	background-size: 22px;
	border:0;
}

@media screen and (max-width: 768px) {
#header{
}
#header .logo{
	z-index: 9;
	margin-top: 3px;
	margin-left: 10px;
	float: left;
}
#header .logo .icon-logo{
	position: relative;
	z-index: 9;
	display: block;
    width: 46px;
    height: 39px;
    margin-top: -9px;
	background: url(../img/logo.png) no-repeat left top;
	background-size: 100%;
}
#header .menu{
	position: absolute;
	right: 0;
	top: 0;
	margin-top:0;
}
#header .menu .menu-btn{
	display: block;
	width: 36px;
	height: 36px;
	background: url(../img/icon.png) no-repeat -695px -44px;
	opacity: 0.5;
	cursor: pointer;
	position: absolute;
	top: 3px;
	right: 10px;
}
#header .menu ul.menu-con{
	padding: 0;
	position: fixed;
	background: #f1f1f1;
	background: rgba(142,142,142,0.8);
	z-index: 9;
	width: 100%;
	height: 100vh;
	left: 100%;
	top: 41px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;	
}
#header .menu ul.open{
	left: 0;
}
#header .menu ul li{
	float: none;
	display: block;
	/*margin:0 25px;*/
	width: 100%;
	text-align: left;
	line-height: 0;
	padding-left: 10px;
	border-bottom: 1px solid #aaa;
	position: static;
}

#header .menu ul li a span.en{
	position: relative;
	z-index: 2;
	display: inline-block;
	color: #fff;
	font-weight: 600px;
	padding:0 25px;
	height: 51px;
	line-height: 51px;
	overflow: hidden;
	font-size: 16px;
	margin: 0;
}
#header .menu ul li:hover{
	background:rgba(120,120,120,0.9);
}
#header .menu ul li a:hover span.en{
	color: #fff;
	height: 51px;
}

	#header .nav{
		height: 100%;
		overflow: hidden;
		background: #999;
		background:rgba(142,142,142,0.9);
		position: absolute;
		z-index: 1;
		width: 500px;
		left: 100%;
		top: 0;
		border-top: 0;
		
	}
	#header ul li.product:hover .nav{
		left: 50%;
		height: 100%;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;		
	}	
	#header .nav .con{
		height: 100%;
		display: flex;
		padding: 10px 0;
		flex-direction:column;
		flex-wrap:wrap;
	}
	#header .nav .con a{
		font-size: 14px;
		text-align: left;
		padding-left: 25px;
		display: block;
		color: #fff;
		width: 100%;
		line-height: 40px;
	}
	#header .search{
		position: absolute;
		right: 55px;
		top: 7px;
	}
}