/**头部样式**/
 .header {
    width: 100%;
    height: 60px;
    position: relative;
    z-index: 99;
    top: 50px;
    left: 0;
    /*background: #1C141C url(/images/banner-bg.jpg) no-repeat;*/
    /*background-size: 100% auto;*/
    /*background-position: top;*/
}

.header-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    /*background: #0046af;*/
    opacity: 0.6;
}

.header_container {
    width:100%;
    height:100%;
    margin:0 auto;
    position: relative;
}

.header_container .logo {
    position: absolute;
    height: 50px;
    top: 5px;
    left: 80px;
    z-index: 1;
    width:150px;
}
.header_container .logo img{
    width:100%;
}
.header_container .nav {
    height: 60px;
    line-height: 60px;
    width: 100%;
    padding: 0 300px;
    box-sizing: border-box;
    position: relative;
}

.m-menu-icon {
    display: none;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #ddd;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    color: #666;
    cursor: pointer;
    border-radius: 2px;
}
.m-menu-icon i{
    color:#fff;
}
#menu {
    width: 100%;
    text-align: center;
}

#menu li {
    position: relative;
    margin-left: 10px;
    display: inline-block;
}

#menu li > a {
    display: block;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    height: 38px;
    line-height: 38px;
    text-align: center;
    padding: 0 20px;
    border-radius: 10px;
    box-sizing:border-box;
}


#menu .on a,#menu li:hover > a {
    background-color: #1594FF;
    background-image: linear-gradient(to right, #1594FF , #00E6F7);
}

#menu li > a .iconfont {
    display: none;
    float: right;
    color: #fff;
}

.nav .user-btns {
    position:absolute;
    right:0;
    height:65px;
    margin-right: 55px;
}

.nav .user-btns a {
    margin-left: 10px;
    padding: 6px 12px;
    color: #fff;
    background:url(/images/header-register-bg.png) no-repeat;
    background-size:100% 100%;
}

.nav .user-btns .login-btn {
    background-image:url(/images/header-login-bg.png);
}

.nav-right{
    position: absolute;
    right: 80px;
    top: 0;
    width: 220px;
    height: 60px;
}
#user-info {
    position:absolute;
    right:0;
    height:65px;
    cursor: pointer;
    margin-right: 55px;
}

#user-info > .iconfont {
    font-size:25px;
    vertical-align:middle;
    color: #fff;
}

#user-info > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#user-info .uname {
    padding-left:5px;
    color: #fff;
    vertical-align: middle;
    max-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}

#user-info:hover .login-wrap {
    display:block;
}

.login-wrap {
    width: 100px;
    padding: 8px 0;
    background-color: rgba(0,0,0,.4);
    border: 1px solid #7FD9FF;
    border-radius: 5px;
    position: absolute;
    top: 65px;
    right: 0;
    z-index: 999;
}

.login-wrap:before, .login-wrap:after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    margin:auto;
    width:0;
    height:0;
    border-left:10px solid transparent;
    border-right:10px solid transparent;
}

.login-wrap:before {
    top:-10px;
    border-bottom:10px solid #7FD9FF;
    z-index: 1;
}

.login-wrap:after {
    border-bottom: 9px solid rgb(0 0 0 / 80%);
    border-left-width: 9px;
    border-right-width: 9px;
    top: -9px;
    z-index: 2;
}

.login-wrap ul li {
    height: 30px;
    line-height: 30px;
}

.login-wrap ul li:hover a {
    color:#7FD9FF;
    text-decoration: none;
}

.login-wrap ul li a {
    display:block;
    color:#dee8f1;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.login-wrap ul li a .iconfont {
    margin-right: 5px;
}

#user-info span a {
    color: #666;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius:3px;
}

#changeLang{
    float:right;
    color:#41EEF9;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
    body {
        padding-top: 52px;
    }
    
#north {
        position: fixed;
        top: 0;
        width: 100%;
        left: 0;
        height: 52px;
        z-index: 999;
    }
    
.header {
        height: 52px;
        border-bottom: 1px solid #eee;
        top:0;
    }
    
.logo {
        display: none;
    }
    .nav-right{
        right:0;
    }
.nav .user-btns {
        right: 10px;
        height: 52px;
        line-height: 54px;
    }
    
.header_container .nav {
        padding-left:0;
        height: 52px;
        line-height: 52px;
    }
    
.m-menu-icon {
        display: block;
    }
    
#menu {
        max-width: 100%;
        position: absolute;
        top: 52px;
        border-top: 1px solid #eee;
        width: 100%;
        z-index: 9999;
        display: none;
    }
    
#menu li {
        float: unset;
        width: 100%;
        margin: 0;
    }
    
#menu li > a {
        height: 42px;
        line-height: 42px;
        border-bottom: 1px solid #eee;
        padding: 0 10px;
        border-radius: 0;
    }
    
#menu li > a .iconfont {
        display: block;
    }
    
#menu .on > a {
        border-bottom: 1px solid #eee;
        color: #d22800;
    }
    
#user-info {
        height: 52px;
    }
    
.login-wrap {
        top: 52px;
    }
}