#menu,
#menu ul,
#menu ul li,
#menu ul li a,
#menu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#menu:after,
#menu > ul:after {
  content: ".";
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#menu #menu-button {
  display: none;
}
#menu {
  width: auto;
  line-height: 1;
  height:53px;
  max-width:1200px;
  margin:0 auto;
}
#menu-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: #009ae1;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
#menu > ul{
	height:53px;
	}
#menu > ul > li {
	display:inline-block;
  	position:relative;
	margin-left:-3px;
	height:53px;
	padding-top:19px;
}
#menu > ul > li:first-child {
  margin-left:0;
}
#menu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#menu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#menu.align-center ul ul {
  text-align: left;
}
#menu.align-right > ul > li {
  float: right;
}
#menu.align-right ul ul {
  text-align: right;
}

#menu > ul > li > a {
  font-size: 16px;
  height:17px;
  line-height:17px;
  padding:0 26px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  border-left:#679de4 solid 1px;
  text-align:center;
  vertical-align:middle;
  position:relative;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  
}
#menu > ul > li:first-child > a {
	border-left:none; 
}

#menu > ul > li.curt > a{
	
	color:#7cabe5;
}
#menu > ul > li > a em{
	display:inline-block;
	width:14px;
	height:13px;
	background:url(../images/icon.png) no-repeat scroll 0 -86px;
	vertical-align:middle;
	margin-right:6px;
}
#menu > ul > li:hover > a{
	
	color:#7cabe5;
}
#menu > ul > li:hover > a em,#menu > ul > li.curt > a em{
	background-position:0 -126px;
}

#menu > ul > li.has-sub > a {
	height:40px;
	width:173px;
}
#menu > ul > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#menu > ul > li.has-sub:hover > a::after {
  border-color: #009ae1;
}
#menu ul ul {
  position: absolute;
  left: -9999px;
  z-index:999;
  width:100%;
  top:53px;
}
#menu li:hover > ul {
  left: auto;
}
#menu.align-right li:hover > ul {
  right: 0;
}
#menu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#menu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#menu ul ul li {
  height: 0;
  width:100%;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}


#menu ul li:hover > ul > li {
  height: 35px;
}
#menu ul ul li a {
  height:34px;
  line-height:34px;
  width:100%;
  font-size: 14px;
  background:#3270c3;
  text-decoration: none;
  color: #ffffff;
  border-bottom:rgba(255,255,255,0) solid 1px;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  text-align:center;
  overflow:hidden;
}
#menu ul ul li:hover > a,
#menu ul ul li a:hover {
	background:#fff;
	color:#3270c3;
}

#menu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#menu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#menu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}
