.profession-header {
    height: 64px;
    background: url(../images/header_bg.png) no-repeat top center;
    position: relative;
    font-size: 0;
    background-size: auto 64px;
}

.profession-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc((100vw - 1920px) / 2);
    height: 64px;
    background: url(../images/header_bg_left.png) repeat-x left top;
    z-index: -1;
}

.profession-header:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc((100vw - 1920px) / 2);
    height: 64px;
    background: url(../images/header_bg_right.png) repeat-x right top;
    z-index: -1;
}

.profession-header .wrap1200 {
    display: flex;
    justify-content: space-between;
}
.profession-header h1 {
    float: left;
    cursor: pointer;
}
.profession-header h1 img {
    height: 40px;
    margin-top: 12px;
}
.profession-header h1 img.logo_img {
    height: 40px !important;
    margin-top: 11px !important;
    float: left;
    border: 1px solid #ffffff;
    border-radius: 50%;
    margin-right: 12px;
}
.profession-header h1 .title_text {
    float: left;
    margin-top: 10px;
    font-family: 'PingFang SC';
    font-size: 28px;
    font-weight: bold;
    line-height: 44px;
    color: #ffffff;
}
.profession-header .after_login,
.profession-header .before_login {
    float: right;
    font-size: 14px;
    color: #d8eaff;
}

/* 登录前 */
.profession-header a {
    line-height: 64px;
    font-size: 18px;
    color: #fff;
    white-space: nowrap;
}
.profession-header a:hover {
    color: #fff;
}

/* 登陆后 */
.profession-header a.userName span {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
.profession-header a.userName {
    display: flex;
    align-items: center;
}
.profession-header a.userName::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 8px;
}
.profession-header .after_login a.exitBtn {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/exit_icon.png) no-repeat center;
    background-size: 16px 16px;
}
.profession-header .after_login a.exitBtn:hover {
    background-image: url(../images/exit_hover_icon.png);
}
.profession-header .after_login a.news {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/icon_bell_default.png) no-repeat 0 0;
    background-size: 16px 16px;
    position: relative;
    vertical-align: middle;
    margin-right: 40px;
}
.profession-header .after_login a.news:hover {
    background-image: url(../images/icon_bell_hover.png);
}
.profession-header .after_login a.news span {
    min-width: 20px;
    position: absolute;
    left: 8px;
    top: -17px;
    background: #ff4433;
    border: 1px solid #ffffff;
    border-radius: 17px;
    min-height: 20px;
    line-height: 20px;
    white-space: nowrap;
    padding: 0 6px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}
/* 注册按钮 */
.loginBtn {
    position: relative;
}

/* 外部链接 */
.profession-header .link-outer {
    width: 108px;
    height: 48px;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 500;
    font-family: 'PingFang SC';
    text-align: center;
    line-height: 18px;
    background: url(../images/link-outer_bg.png) 0 no-repeat;
    background-size: cover;
    display: inline-block;
    text-decoration: none;
    padding: 6px 0;
    box-sizing: border-box;
    margin-right: 20px;
    margin-top: 8px;
}

.profession-header .link-outer_public {
    background: url(../images/link-outer_bg2.png) 0 no-repeat;
    background-size: cover;
    margin-right: 16px;
}
.profession-header .after_login {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

/* 08-04修改用户信息样式 */
.header-right {
    display: flex;
    align-items: center;
}
.headerUserInfoBtn {
    background: url('../images/user-bg.png') center no-repeat;
    background-size: 160px 38px;
    width: 160px;
    height: 38px;
    line-height: 38px !important;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-weight: 600;
    text-align: center;
    position: relative;
    margin-right: 15px;
}
.headerUserInfoBtn::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 8px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}
.headerUserInfoBtn:hover {
    background: url('../images/user-bg-hover.png') center no-repeat;
    background-size: 160px 38px;
}
.headerUserInfoBtn img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 2px;
    margin-top: -2px;
}
