body {
    background: url(/imgs/home-banner.jpg) no-repeat scroll center top;
    background-size: cover;
    background-attachment: fixed;
}

#center {
    background-color: transparent; 
}

/**头部样式**/
 .header {
    width: 100%;
    height: 80px;
    position: relative;
    z-index: 99;
}

.header-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    /*background-color:#fff;*/
}

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

.header_container .logo {
    position: absolute;
    width: 154px;
    height: 45px;
    top: 18px;
    left: 0px;
    z-index: 1;
}

.header_container .logo img {
    width:100%;
}

.header_container .nav {
    height: 80px;
    line-height: 80px;
    width: 100%;
    padding-left: 210px;
    box-sizing: border-box;
    position: relative;
    padding-right: 190px;
}

.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;
}

#menu {
    margin-top: 22px;
    float:right;
}

#menu li {
    float: left;
    position: relative;
    margin-left: 30px;
}

#menu li > a {
    display: block;
    padding: 0 20px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border:2px solid transparent;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    position: relative;
}

#menu li:hover > a, #menu .on a {
    color: #fff;
    background-color: rgba(147, 13, 20, .4);
    border-color: #930d14;
}

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

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

.nav .user-btns a {
    margin-left: 10px;
    padding: 6px 14px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
}

.nav .user-btns a.login-btn{
    background-color: #fff;
    color: #2a2e33;
}

#user-info {
    position:absolute;
    right:0;
    top: 0;
    height:65px;
    cursor: pointer;
}

#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;
    vertical-align: middle;
    color: #fff;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

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

.login-wrap {
    position: absolute;
    top: 65px;
    right: 0;
    background: #fff;
    padding: 10px 20px;
    z-index: 999;
    border-radius: 6px;
}

.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 #eee;
}

.login-wrap:after {
    top:-9px;
    border-bottom:10px solid #fff;
}

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

.login-wrap ul li:hover a {
    color:#f42225;
}

.login-wrap ul li a {
    display: block;
    color: #333;
    width: 80px;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
}

.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;
}

@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;
    }
    
.logo {
        display: none;
    }
    
.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;
        background: #fff;
        top: 52px;
        background: #f9f9f9;
        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;
    }
    
#menu li > a .iconfont {
        display: block;
    }
    
#menu .on > a {
        border-bottom: 1px solid #eee;
        color: #d22800;
    }
    
#user-info {
        height: 52px;
    }
    
.login-wrap {
        top: 52px;
    }
}