
header .header-tool,
header .header-nav,
header .header-search {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

header .header-tool {
    border-bottom: 1px solid #eee;
    height: 30px;
    /*font-weight: bold;*/
}

    header .header-tool .content .tool-right {
        flex-shrink: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

        header .header-tool .content .tool-right .tool-btn {
            margin-right: 20px;
        }

            header .header-tool .content .tool-right .tool-btn:last-child {
                margin-right: 0;
            }
.content {
    width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.nav {
    width: 1390px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-content {
    margin: 20px 0 10px 30px;
    width: 230px;
    height: 75px;
}

.logo-content img {
    width: 230px;
    height: 75px;
}

.nav-inner {
    display: flex;
    align-items: center;
}

.nav-item {
    font-size: 17px;
    color: #1A4FED;
    /* background-color: yellow; */
    padding: 10px 14px;
    margin: 0 10px;
}

.login-regist {
    display: flex;
    align-items: center;
}

.login-btn {
    font-size: 17px;
    color: #1A4FED;
    margin-right: 30px;
}

.regist-btn {
    background-color: rgba(26, 79, 237, 1);
    width: 90px;
    height: 40px;
    font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 17px;
    border-radius: 5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pointer {
    cursor: pointer;
}

.control-btn {
    background-color: #0550ff;
    height: 35px;
    padding: 0 10px;
    color: #fff !important;
    font-weight: normal;
    font-size: 14px;
    border-radius: 6px;
    line-height: 35px;
    cursor: pointer;
    margin-right: 14px;
}

.logout-text {
    font-weight: normal;
    color: #0550ff;
    margin-right: 14px;
    cursor: pointer;
    line-height: 29px;
    border-radius: 2px;
    display: inline-block;
    width: 40px;
    height: 30px;
    text-align: center;
}

.avatar-inner {
    height: 40px;
    display: flex;
    position: relative;
    cursor: pointer;
}

.avatar-name-wrapper {
    z-index:9;
    display: none;
    position: absolute;
    width: 190px;
    padding-top: 10px;
    right: 20px;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    bottom: -80px;
    border-radius: 4px;
    /* box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.5), 2px 0px 10px rgba(0, 0, 0, 0.5), 0px 2px 10px rgba(0, 0, 0, 0.5); */
}

.avatar-name-inner {
    display: flex;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 10px;
    flex-direction: column;
    font-size: 14px;
    font-weight: normal;
    position: relative;
}

.avatar img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.header-username {
    display: inline-block;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #98a4b7;
    margin-left: 16px;
}

.avatar-inner:hover .avatar-name-wrapper {
    display: block;
}

.avatar-name-inner span {
    /* height: 26px; */
    line-height: 26px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    cursor: pointer;
    color: #98a4b7;
}

.supplier-pic img {
    width: 100%;
    height: 100%;
}

#control-btn, #bussiness-btn {
    display: none;
}