/* logo+搜索框 */
.top-box {
	position: relative;
}

.logo {
	float: left;
	max-width: 300px;
	height: 100%;
	margin-right: 10px;
}

.logo img {
	max-width: 100%;
	max-height: 100px;
	margin-top: 12px;
}

.company-txt p {
	color: #4a4a4a;
	font-size: 20px;
	display: block;
	padding: 24px 0 6px 0;
	padding-top: 36px;
	font-weight: bold;
}

.search-box .search-form {
	overflow: hidden;
}

.search-box .search-form .search-input {
	float: left;
	height: 37px;
	border: 1px solid #ccc;
	width: 248px;
	color: #696868;
	border-radius: 0;
	font-size: 12px;
    padding: .375rem .75rem;;
}

.search-box .search-form .search-btn {
	width: 47px;
	height: 37px;
	background: url(imgs/sbtn.png) no-repeat;
	border: 0;
}

/* 导航栏 */
#nav {
	clear: both;
	background: #000;
	box-shadow: 1px 5px 20px #c9c7c7;
}

#nav li {
	position: relative;
	z-index: 999;
	display: inline-block;
	border-right: 1px solid #5c5b5b;
	background: #000;
}

#nav li a {
	font-size: 14px;
	font-weight: 600;
	color: #fefefe;
	line-height: 64px;
	display: block;
	padding: 0 28px;
	text-align: center;
}

#nav li ul {
	display: none;
	float: left;
	width: auto;
	position: absolute;
	top: 64px;
	left: 0;
	background: #000;
	padding-left: 0;
	opacity: .9;
	filter: alpha(opacity=90);
	z-index: 9999999;
}

#nav li:hover ul {
	display: block;
}

#nav li:hover ul li {
	display: block;
	width: 100%;
	height: 30px;
	border-bottom: 1px solid #bdbcb8;
	clear: both;
	min-width: 120px;
	background: #000;
}

#nav li:hover ul li a {
	display: block;
	color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	padding: 0 10px;
	line-height: 30px;
	text-align: left;
	text-transform: none;
	border-top: 0;
}

#nav li a.active {
	background: rgba(255, 255, 255, .1) url(./imgs/btbg.png) bottom repeat-x !important;
	z-index: -1;
}

.inmenu {
	background: #000;
	vertical-align: middle;
	position: relative;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	transform: translateZ(0);
	transition-property: color;
	transition-duration: .3s;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition-duration: .3s;
	-webkit-transition-property: color;
	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden
}

.inmenu::before {
	background: rgba(255, 255, 255, .1) !important;
	transform-origin: 50% 50%;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border-bottom: 6px solid #ff0204;
	position: absolute;
	z-index: -1;
	content: "";
	transform: scaleX(0);
	transition-property: transform;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: .3s;
	-webkit-transition-property: transform;
	-webkit-transform: scaleX(0);
	-webkit-transform-origin: 50%
}

.inmenu:hover::before {
	transform: scaleX(1);
	-webkit-transform: scaleX(1)
}

.inmenu:focus::before {
	transform: scaleX(1);
	-webkit-transform: scaleX(1)
}

.inmenu:active::before {
	transform: scaleX(1);
	-webkit-transform: scaleX(1)
}



@media screen and (min-width: 1004px) {
	.top-box .fl {
		min-width: 690px;
		overflow: hidden;
	}

	.top-box .fr .search-box {
		clear: both;
		padding-top: 50px;
	}
}
