@charset "UTF-8";
/*顶部导航栏*/
.head {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 6;
    background-color: #fff;
}

.bulletin-board {
    height: 3rem;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--main_btn);
}

.bulletin-board > span {
    font-size: 20px;
    color: var(--main_btn_text);
}

.nav-bar {
    display: flex;
    height: 9.5rem;
    align-items: center;
    padding: 1.25rem 2.5rem;
    justify-content: space-between;
    max-width: 80vw;
    margin: 0 auto;
    width: 100%;
    z-index: 6;
}

.nav-left, .nav-right {
    width: calc(50% - 180px);
}

.nav-left {
    overflow: hidden;
}

.nav-left > div {
    display: inline-block;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 100%;
}

.logo img {
    max-height: 100%;
    max-width: 100%;
}

.nav-left > div > span {
    padding: 0 3px;
}


.nav-left > div > span > a {
    padding: 7px 10px;
    display: inline-block;
}

.nav-left > div > span > a:hover, .nav-label-selected {
    background-color: var(--main_btn);
    color: var(--main_btn_text);
    border-radius: 4px;
    cursor: pointer;
}

.nav-right > a {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.nav-left-m > i {
    font-size: 22px;
    cursor: pointer;
}

.nav-left-m {
    display: none;
    width: calc(50% - 180px);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    display: none;
    z-index: 2;
}

.menu-content {
    width: 30rem;
    background-color: #fff;
    position: relative;
    top: 0;
    left: 0;
    height: 100vh;
    max-width: 80vw;
}


.menu-list {
    width: 100%;
}

.menu-list > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.menu-list > li:first-child {
    padding: 15px;
}

.menu-list > li.close-menu {
    text-align: right;
}

.menu-list > li.close-menu > i {
    font-size: 1.2rem;
    padding: 15px;
    position: relative;
    right: -15px;
}

.menu-list > li.close-menu > i:hover {
    background-color: var(--main_btn);
    color: var(--main_btn_text);
}


.menu-list > li:not(.close-menu)::after {
    display: block;
    content: "";
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.menu-list > li a {
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 15px;
    word-break: break-all;
}

.menu-list > li:hover:after {
    height: 100%;
    width: 100%;
    background-color: var(--main_btn);
}

.menu-list > li:hover a {
    color: var(--main_btn_text);
}

@media (min-width: 1200px) {
    .menu-list > li:not(.close-menu)::after {
        transition: width 0.3s linear;
    }
}

@media (max-width: 1024px) {
    .nav-bar {
        max-width: 100%;
        height: 72px;
        padding: 15px 12px;
    }

    .nav-left {
        display: none;
    }

    .nav-left-m {
        display: block;
    }
}
