/**组件样式*/
.flex{display:flex;justify-content:space-between;flex-wrap:wrap;}
.wp{
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;}

#nav{    width: calc(100% - 750px);}

#nav > ul {
  font-size: 0;
  margin-top: 50px;
  padding-right: 20px;}
#nav li{
    position: relative;}
#nav li .search-btn{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;}
#nav li .search-btn img{
    display: block;
    width: 18px;}
#nav li .search-btn .img2{
    display: none;}
#nav li h2{
    font-size: 18px;
    color: #fff;
    line-height: 48px;}
#nav li h2 a{
    display: block;
    color: #fff;}
#nav ul li h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transition: .6s;
    width: 0;
    height:4px;
    background: #fff;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;}

#nav ul li.on h2:after, #nav ul li:hover h2:after {
    opacity: 1;
    visibility: visible;
    width: 38px;
    margin-left: -19px;}
/*#nav ul li.on h2, #nav ul li:hover h2{
    color: #0771A3;
}*/
#nav ul li .sub {
    position: absolute;
    top: 100%;
    min-width: 140px;
    left: 50%;
    z-index: 10000;
    transform: translateX(-50%) scaleY(0);
    visibility: hidden;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    transition: .5s;
    transform-origin: top;}

#nav ul li .sub .box {
    padding: 0;
    background: #f9f9f9;
    text-align: center;
    box-shadow: 0 0 60px rgba(0,0,0,.1);}

#nav ul li .sub a {
    padding: 12px 10px;
    line-height: 1.375;
    transition: .6s;
    font-size: 14px;
    color: #666666;
    text-align: center;
    white-space: nowrap;
    display: block;
    width: 100%;
    border-bottom: rgba(0,0,0,.02) 1px solid;}

#nav ul li .sub a:hover {
    color: #fff;
    background: #2a73be;}

#nav ul li:hover .sub {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1);}

