@font-face {
    font-family: 'iconfont';  /* project id 642644 */
    src: url('../fonts/newEnnChina/newEnnChinaIconfont.ttf');
    src: url('../fonts/newEnnChina/newEnnChinaIconfont.ttf?#iefix') format('embedded-opentype'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.woff') format('woff'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.ttf') format('truetype'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.svg#iconfont') format('svg');
}

header {
    width: 100%;
    height: 80px;
    background: #ffffff;
    /*background-size: cover;*/
    border-bottom: 1px solid #e7e7e7;
}

header .header-nav {
    width: 960px;
    height: 100%;
    margin: 0 auto;
}

header .header-nav::after {
    content: '';
    display: block;
    clear: both;
}

header .header-nav .logo {
    position: absolute;
    top: 10px;
    left: 40px;
    float: none;
    height: 60px;
    display: inline-block;
    cursor: pointer;
    color: #e7e7e7;
}

header .header-nav .logo .logo-img {
    width: auto;
    height: 100%;
    display: inline-block;
}

header .header-nav .logo .title {
    position: absolute;
    left: 96%;
    bottom: 7px;
    color: #333;
    white-space: nowrap;
}

header .header-nav .navbar-header {
    float: left;
    margin-left: 200px;
}

header .header-nav .navbar-header li {
    float: left;
    height: 100%;
    font-size: 16px;
    line-height: 70px;
}

header .header-nav .navbar-header li a {
    color: #333;
    display: inline-block;
    cursor: pointer;
    padding: 0 10px;
}

header .header-nav .navbar-header li:hover a {
    color: #1974c1;
}

header .header-nav .navbar-search {
    float: right;
    height: 70px;
}

header .header-nav .navbar-search > .search-box {
    height: 100%;
    float: left;
    padding: 20px 10px;
    font-size: 16px;
    position: relative;
}

header .header-nav .navbar-search > .search-box > input {
    color: #333;
    height: 30px;
    padding: 3px 10px;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    display: inline-block;
    outline: none;
}

header .header-nav .navbar-search > .search-box::after {
    content: '\e617';
    position: absolute;
    right: 10px;
    display: inline-block;
    font-family: iconfont;
    color: #999;
    font-size: 20px;
}

header .header-nav .navbar {
    float: right;
    height: 80px;
}

header .header-nav .navbar > li {
    height: 100%;
    float: right;
    font-size: 16px;
    /* font-weight: bold; */
    position: relative;
    line-height: 80px;
    color: #4d4d4d;
    padding-right: 40px;
}

header .header-nav .navbar > li:hover a {
    color: #1974c1;
}

header .header-nav .navbar > li > a {
    color: #333;
    padding: 0 0 0 10px;
    display: inline-block;
    cursor: pointer;
}

header .header-nav .navbar > li > .second-ul {
    perspective: 400px;
    position: absolute;
    z-index: 100;
    height: 0;
}

header .header-nav .navbar > li:hover > .second-ul {
    height: auto;
}

header .header-nav .navbar > li > .second-ul > li {
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-top-color: transparent;
    opacity: 0;
    transition: opacity 500ms, transform 500ms;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

header .header-nav .navbar > li > .second-ul > li:nth-child(1) {
    transition-delay: 20ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(2) {
    transition-delay: 40ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(3) {
    transition-delay: 60ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(4) {
    transition-delay: 80ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(5) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(6) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(7) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li:hover > .second-ul > li {
    opacity: 1;
    transform: none;
}

header .header-nav .navbar > li > .second-ul > li a {
    font-size: 14px;
    color: #333;
}

header .header-nav .navbar > li > .second-ul > li:hover a {
    color: #1974c1;
}

header .header-nav {
    padding-left: 220px;
}

.message-box {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E4E8EB;
    justify-content: center;
    align-items: center;
}

.user-company-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.company-name {
    font-size: 14px;
    line-height: 1.6;
    color: #353535;
}

.function-name {
    font-weight: 400;
    font-size: 12px;
    color: #9A9A9A;
    line-height: 1.6;
}

header .navbar li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.user-company-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 8px;
    margin-left: 5px;
}

.user-company-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    padding-left: 10px;
}

.user-company-box:after {
    content: " ";
    display: inline-block;
    width: 0;
    height: 0;
    border-width: 4px;
    border-style: dashed;
    border-color: transparent;
    border-bottom-width: 0;
    border-top-color: #9A9A9A;
    border-top-style: solid;
    vertical-align: middle;
    margin-top: -0.2em;
    margin-left: 10px;
}

.header-out-box {
    position: absolute;
    top: 65px;
    right: 0;
    padding-top: 5px;
    line-height: 1.6;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 20px 0 #E4E8EB;
    border-radius: 2px;
}

.header-out-item {
    display: flex;
    padding: 10px 24px;
    align-items: center;
}

@font-face {
    font-family: 'iconfont';  /* project id 642644 */
    src: url('../fonts/newEnnChina/newEnnChinaIconfont.ttf');
    src: url('../fonts/newEnnChina/newEnnChinaIconfont.ttf?#iefix') format('embedded-opentype'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.woff') format('woff'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.ttf') format('truetype'),
    url('../fonts/newEnnChina/newEnnChinaIconfont.svg#iconfont') format('svg');
}

header {
    width: 100%;
    height: 80px;
    background: #ffffff;
    /*background-size: cover;*/
    border-bottom: 1px solid #e7e7e7;
}

header .header-nav {
    width: 960px;
    height: 100%;
    margin: 0 auto;
}

header .header-nav::after {
    content: '';
    display: block;
    clear: both;
}

header .header-nav .logo {
    position: absolute;
    top: 15px;
    left: 40px;
    float: none;
    height: 50px;
    display: inline-block;
    cursor: pointer;
    color: #e7e7e7;
}

header .header-nav .logo .logo-img {
    width: auto;
    height: 100%;
    display: inline-block;
}

header .header-nav .logo .title {
    position: absolute;
    left: 96%;
    bottom: 7px;
    color: #333;
    white-space: nowrap;
}

header .header-nav .navbar-header {
    float: left;
    margin-left: 200px;
}

header .header-nav .navbar-header li {
    float: left;
    height: 100%;
    font-size: 16px;
    line-height: 70px;
}

header .header-nav .navbar-header li a {
    color: #333;
    display: inline-block;
    cursor: pointer;
    padding: 0 10px;
}

header .header-nav .navbar-header li:hover a {
    color: #1974c1;
}

header .header-nav .navbar-search {
    float: right;
    height: 70px;
}

header .header-nav .navbar-search > .search-box {
    height: 100%;
    float: left;
    padding: 20px 10px;
    font-size: 16px;
    position: relative;
}

header .header-nav .navbar-search > .search-box > input {
    color: #333;
    height: 30px;
    padding: 3px 10px;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    display: inline-block;
    outline: none;
}

header .header-nav .navbar-search > .search-box::after {
    content: '\e617';
    position: absolute;
    right: 10px;
    display: inline-block;
    font-family: iconfont;
    color: #999;
    font-size: 20px;
}

header .header-nav .navbar {
    float: right;
    height: 80px;
}

header .header-nav .navbar > li {
    height: 100%;
    float: right;
    font-size: 16px;
    /* font-weight: bold; */
    position: relative;
    line-height: 80px;
    color: #4d4d4d;
    padding-right: 40px;
}

header .header-nav .navbar > li:hover a {
    color: #1974c1;
}

header .header-nav .navbar > li > a {
    color: #333;
    padding: 0 0 0 10px;
    display: inline-block;
    cursor: pointer;
}

header .header-nav .navbar > li > .second-ul {
    perspective: 400px;
    position: absolute;
    z-index: 100;
    height: 0;
}

header .header-nav .navbar > li:hover > .second-ul {
    height: auto;
}

header .header-nav .navbar > li > .second-ul > li {
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-top-color: transparent;
    opacity: 0;
    transition: opacity 500ms, transform 500ms;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

header .header-nav .navbar > li > .second-ul > li:nth-child(1) {
    transition-delay: 20ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(2) {
    transition-delay: 40ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(3) {
    transition-delay: 60ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(4) {
    transition-delay: 80ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(5) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(6) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li > .second-ul > li:nth-child(7) {
    transition-delay: 100ms;
}

header .header-nav .navbar > li:hover > .second-ul > li {
    opacity: 1;
    transform: none;
}

header .header-nav .navbar > li > .second-ul > li a {
    font-size: 14px;
    color: #333;
}

header .header-nav .navbar > li > .second-ul > li:hover a {
    color: #1974c1;
}

header .header-nav {
    padding-left: 220px;
}

.message-box {
	position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E4E8EB;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.message-box span {
    border-radius: 10px;
    box-shadow: 0 0 0 3px #fff;
    min-width: 24px;
    line-height: 20px;
    font-style: normal;
    background-color: #fa5151;
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 0;
    right: -8px;
    padding: 0 2px;
    text-align: center;
}

.user-company-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.company-name {
    font-size: 14px;
    line-height: 1.6;
    color: #353535;
}

.function-name {
    font-weight: 400;
    font-size: 12px;
    color: #9A9A9A;
    line-height: 1.6;
}

header .navbar li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.user-company-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 8px;
    margin-left: 5px;
    cursor: pointer;
}

.user-company-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    padding-left: 10px;
}

.user-company-box:after {
    content: " ";
    display: inline-block;
    width: 0;
    height: 0;
    border-width: 4px;
    border-style: dashed;
    border-color: transparent;
    border-bottom-width: 0;
    border-top-color: #9A9A9A;
    border-top-style: solid;
    vertical-align: middle;
    margin-top: -0.2em;
    margin-left: 10px;
}

.header-out-box {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    padding-top: 5px;
    line-height: 1.6;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 20px 0 #E4E8EB;
    border-radius: 2px;
    z-index: 99999;
}

.header-out-item {
    display: flex;
    padding: 10px 24px;
    align-items: center;
}

.item-icon {
    margin-right: 10px;
}

.header-out-item:hover {
    background: #fafafa;
}
