﻿@charset "utf-8";

header {
	position: relative;
	z-index: 9999;
	height: 65px;
	box-sizing: border-box;
	border-bottom: 1px solid #515659;
  	background-color: #373D41;
 	width:100%;
}

.wrap {
	width: 1200px;
	margin: 0 auto;
}

#nav {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.logo {
	overflow: hidden;
	height: 65px;
	max-width: 197px;
}

.logo a {
	display: block;
}

.logo a img {
	height: 18px;
	margin-top: 25px;
}

ul.navItems {
	display: inline-flex;
	flex: 1;
	padding-left: 20px;
}

li.nav-item {
	flex: 1;
	margin: 0;
}

li.nav-item:hover>.subMenu{
	display:block
}

li.nav-item>a {
	display: block;
	text-align: center;
	line-height: 65px;
	font-size: 14px;
	position: relative;
	color: #fff;
}

li.nav-item>a::before{ 
  display: none; 
  content: ''; 
  position: absolute; 
  left: 50%; 
  bottom: 0; 
  transform: translateX(-50%); 
  position: absolute;
  width: 80%;
  height: 3px;
  background-color: #2d99eb;
  border-radius: 10px;
} 

li.nav-item:hover>a ,li.nav-item.active>a {
	color: #2d99eb;
}

li.nav-item:hover>a::before,li.nav-item.active>a::before {
	display: block;
}

header .telephone {
	height: 100%;
	line-height: 65px;
	float: right;
	font-size: 14px;
  color: #fff;
  margin-left: 30px;
}

header .telephone>i {
	display: inline-block;
	width: 25px;
	height: 25px;
	background: url(../images/icon-phone.png) no-repeat center;
	background-size: 25px;
	margin-right: 5px;
	vertical-align: middle;
}


/* 二级菜单 */
.subMenu {
	display: none;
	position: absolute;
	top: 65px;
	left: 0;
  width: 100%;
  background-color: #373D41;
  padding-bottom: 50px;
}

.subMenu>ul {
  padding-top: 50px;
}

.subMenu>ul>a{
	width: 20%;
	border: 1px solid transparent;
	height: 150px;
	box-sizing: border-box;
	float: left;
	font-size: 13px;
	color: #999;
	text-align: center;
	border-radius: 3px;
}

.subMenu>ul>a>p{
  margin-top: 30px;
}

.subMenu>ul>a>img:nth-child(2){
	display: none;
}

.subMenu>ul>a:hover>img:first-child{
	display: none;
}

.subMenu>ul>a:hover{
	color: #fff;
	border: 1px solid #fff;
}

.subMenu>ul>a:hover>img:nth-child(2){
	display: inline-block;
}

.subMenu>ul>a>p{
  color: #999;
font-size:13px;
}

.subMenu>ul>a:hover>p{
  color: #fff;
}

.subMenu>ul>li>a:hover {
	color: red
}