﻿/*导航栏*/
.nav_menu3,
.nav_menu3 ul,
.nav_menu3 ul li,
.nav_menu3 ul li a,
.nav_menu3 #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;
}
.nav_menu3 #menu-button { 
    margin-top: 100px;
    background: #F00;
    position: absolute;
    
}
.nav_menu3:after,
.nav_menu3 > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.nav_menu3 #menu-button {
  display: none;
}
.nav_menu3 {
  width: auto;
  line-height: 1;

}
#menu-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: #990B2C;
  -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;
}
.nav_menu3 > ul > li {
  float: left;
}
.nav_menu3.align-center > ul {
  font-size: 0;
  text-align: center;
}
.nav_menu3.align-center > ul > li {
  display: inline-block;
  float: none;
}
.nav_menu3.align-center ul ul {
  text-align: left;
}
.nav_menu3.align-right > ul > li {
  float: right;
}
.nav_menu3.align-right ul ul {
  text-align: right;
}
.nav_menu3 > ul > li > a {    /*主导航*/
  padding: 18px 42px 17px 42px;  /*主导航文字边距*上，右，下，左*/
  text-decoration: none;
  text-transform: uppercase;
  color: #243644;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  border-right:1px solid #E1E2EE;    /*主导航分割线*/
   font-size:14px;
}
.nav_menu3 > ul > li:hover > a {
  color: #ffffff;
  background: #4B5964;   /*主菜单over*/
}
.nav_menu3 > ul > li.nav-has-sub > a {
  padding-right: 42px;  /*等于上面padding:第二个参数*/
}
.nav_menu3 > ul > li.nav-has-sub > a::after {   /*主导航下拉小三角*/
  position: absolute;
  top: 23px;    /*为上面padding:第一个参数加5*/
  right: 20px;   /*靠右边线的距离*/
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #243644;  /*主导航小三角颜色*/
  border-right: 1px solid #243644;
  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;
}
.nav_menu3 > ul > li.nav-has-sub:hover > a::after {
  border-color: #ffffff;  /*主导航小三角over颜色*/
}
.nav_menu3 ul ul {
  position: absolute;
  left: -9999px;
}
.nav_menu3 > ul > li > ul {    
  border-top: 0px solid #FFF;   /*子菜单与主菜单分隔颜色*/
}
.nav_menu3 li:hover > ul {
  left: auto;
}
.nav_menu3.align-right li:hover > ul {
  right: 0;
}
.nav_menu3 ul ul ul {
  margin-left: 100%;
  top: 0;
}
.nav_menu3.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
.nav_menu3 ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
.nav_menu3 ul li:hover > ul > li {
  height: 33px;   /*非最下子菜单高，高已经固定，文字加边距，值太多，将拉大边距，37为标准*/
}
.nav_menu3 ul ul li a {    /*子菜单*/
  padding: 10px 10px;  /*子菜单文字上左边距*/
  width: 140px; 
  background: #E9E9E9;   /*子菜单背景*/
  text-decoration: none;
  color: #333333;     /*子菜单文字颜色*/
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  border-top: 1px solid #999999;  /*子菜单顶部分隔线*/
  border-bottom: 1px solid #999999;  /*子菜单最底线*/
}
.nav_menu3 ul ul li:hover > a,
.nav_menu3 ul ul li a:hover {    /*子菜单over*/
  color: #ffffff;
  background: #4B5964;
  border-top: 1px solid #ffffff;
}
.nav_menu3 ul ul li.nav-has-sub > a::after {     /*子导航下拉小三角*/
  position: absolute;
  top: 15px;    /*为上面padding:第一个参数加5*/
  right: 15px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #333333;   /*子导航小三角颜色*/
  border-right: 1px solid #333333;    /*子导航小三角颜色*/
  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;
}
.nav_menu3.align-right ul ul li.nav-has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
.nav_menu3 ul ul li.nav-has-sub:hover > a::after {
  border-color: #ffffff;  /*子导航小三角over颜色*/
}