@charset 'utf-8';

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    font-size: 18px;
    /* overflow-x: scroll; */
}

ul,ol {
    list-style: none;
}

body {
    min-height: 500px;
    background-color: white;
    font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', '微软雅黑', 'PingFang SC', '苹方-简', 'Heiti SC', 'Helvetica', 'Arial', '黑体-简', 'SimHei', '黑体', sans-serif;
    overflow-y: hidden;
    color: #000000;
    overflow-x: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

#top-conent {
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.06);
}

/* header */
#header-content {
    width: 1181px;
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header-left {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: bolder;
}

#header-left>div {
    margin-left: 8px;
}

#header-left #slogan {
    font-size: 16px;
    font-weight: 400;
}

#header-left img {
    width: 64px;
}

#header-right {
    display: flex;

}

.header-button {
    width: 88px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
}

.header-button div {
    width: 80px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 2px;
    border: 1px solid #FFFFFF;
}

#enterprise-entrance {
    background: #DE1620;
}

#person-entrance {
    background: #333333;
    color: #EEB47F;
    margin-left: 24px;
}

#person-entrance div {
    border: 1px solid #EEB47F;
}

/* header */
/* nav */
#nav-box {
    width: 100%;
    position: relative;
}

#nav-content {
    width: 1181px;
    margin: 0 auto;
}

#nav-content>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-content .nav-item {
    font-size: 16px;
    font-weight: 400;
    position: relative;
    padding: 28px 0;
}


#nav-content .subnav-parent::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 32px;
    width: 6px;
    height: 6px;
    border-left: 1px solid #000000;
    border-top: 1px solid #000000;
    transform: rotate(225deg);
    transition: transform 0.3s ease-in-out;
}

#nav-content .nav-item:hover,
.subnav-parent-hover {
    color: #DE1620;
}

#nav-content .nav-item:hover:after,
#nav-content .subnav-parent-hover:after {
    border-left: 1px solid #DE1620;
    border-top: 1px solid #DE1620;
    transform: rotate(45deg);
    top: 35px;
}

#subnav-content {
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 76px;
    width: 100%;
    height: 0px;
    background: rgba(245, 245, 245, 0.9);
    color: #000;
    font-size: 16px;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    display: flex;
    z-index: 3;
}

.subnav-content-hover,
#subnav-content.subnav-content-hover {
    height: 240px;
}

#subnav-content>div:nth-child(1) {
    margin-left: 0;
}

#subnav-content .subnav {
    padding-top: 30px;
    margin-left: 90px;
}

#subnav-content .subnav-title {
    font-weight: bold;
}

#subnav-content .subnav-item {
    margin-top: 20px;
    cursor: pointer;
    position: relative;
}

#subnav-content .subnav-item:hover {
    color: #DE1620;
}

#subnav-content .subnav-item:hover:before {
    display: block;
}

#subnav-content .subnav-item::before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    left: -14px;
    top: 5px;
    display: none;
    background-image: url('../../images/index2/subnav-hover.png');
}

#header-left-login {
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
}

#header-left-login #first-name {
    font-size: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #333333;
    color: #EEB47F;
    text-align: center;
    line-height: 48px;
    margin-right: 10px;
    user-select: none;
}

#header-left-login .hidden{
    opacity: 1;
    pointer-events: all;
}

#header-left-login ul {
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    position: absolute;
    right: 0;
    top: 66px;
    width: 180px;
    text-align: center;
    z-index: 5;
    overflow: hidden;
    pointer-events:none;
    opacity: 0;
    transition: opacity 0.3s;
}

#header-left-login ul li,
#header-left-login ul div {
    padding: 14px 0;
}

#header-left-login ul div {
    color: #999999;
    letter-spacing: 1px;
    border-bottom: 1px solid #E0E0E0;
}

#header-left-login ul li:hover{
    color: #DE1620;
    font-weight: bolder;
    background: #FFF2F3;
    cursor: pointer;
}
/* nav */