.header{
    width: 100%;
    height: 54px;
    line-height: 54px;
    background: #111;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.12);
    display: flex;
    justify-content:space-between;
    align-items:center;
    padding: 0 20px;
    box-sizing:border-box;
}

.header .logo a{
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.header .login span,
.header .login span a{
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
}

.header .login,
.header .user,
.header .unlogin{
    display: flex;
}

.header .unlogin{
    display: flex;
    align-items:center;
}

.header .unlogin input{
    height: 52%;
    padding: 4px 4px;
}

.header .unlogin span{
    font-size: 12px;
    color: #fff;
-moz-user-select:none; /* Firefox私有属性 */
-webkit-user-select:none; /* WebKit内核私有属性 */
-ms-user-select:none; /* IE私有属性(IE10及以后) */
-khtml-user-select:none; /* KHTML内核私有属性 */
-o-user-select:none; /* Opera私有属性 */
user-select:none; /* CSS3属性 */
}

.header .login .user{
    display: flex;
    align-items: center;
}

.header .login .user img{
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.header .gl{
    position: relative;
    margin: 0 0 0 10px;
    padding: 0 0 0 28px;
    background: url(../images/xcx_icon.png) no-repeat 0px center;
    background-size: 22px 22px;
    cursor: pointer;
}

.header .gl p{
    font-size: 12px;
    color: #fff;
}

.header .gl img{
    position: absolute;
    top: 50px;
    right: 0;
    width: 180px;
    background: #fff;
    display: none;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}

.header .gl:hover img{
    display: block;
}