.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.2);
    /* box-shadow: 0rem 0rem 0.08rem 0.01rem rgba(8,3,4,0.58); */
    border-bottom: 0.02rem solid transparent;
    z-index: 99;
    transition: all 0.3s;
}

.header_center {
    width: 15rem;
    height: 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* logo */
.header_logo {
    width: 1.34rem;
    height: 0.6rem;
}

.header_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header_logo .logo2 {
    display: none;
}


/* right */
.head_boxr {
    display: flex;
    align-items: center;
}

.head_boxr .navs {
    margin-right: 1.35rem;
    display: flex;
    align-items: center;
}

.head_boxr .navs .item {
    position: relative;
    height: 1rem;
    margin: 0 0.25rem;
    /* padding: 0 0.25rem; */
}

.head_boxr .navs .item>a {
    font-size: 0.2rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1rem;
}

.head_boxr .navs .item:hover>a {
    font-weight: bold;
}

/* 活动导航 */
.head_boxr .navs .active>a {
    font-weight: bold;
}

/* 二级导航 */
.head_boxr .two_class {
    position: fixed;
    left: 50%;
    top: 1.02rem;
    width: 100%;
    height: auto;
    transform: translateX(-50%);
    background-image: url('../images/common/two_bgc.png');
    background-size: cover;
    display: none;
}

.head_boxr .two_class .center {
    width: 15rem;
    margin: 0 auto;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_boxr .two_class .left_nav {
    width: fit-content;
}

.head_boxr .two_class .title {
    font-size: 0.24rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    color: #333333;
}

.head_boxr .two_class .a_box {
    width: fit-content;
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: nowrap;
}

.head_boxr .two_class .a_nav {
    width: fit-content;
    min-width: 1.5rem;
    min-height: 0.5rem;
    height: auto;
    padding: 0.1rem 0.2rem;
    margin-top: 0.2rem;
    margin-right: 0.2rem;
    line-height: 1.2;
    font-size: 0.16rem;
    color: #333333;
    background: #FFFFFF;
    border-radius: 0.06rem;
    border: 0.01rem solid #CCCCCC;
    display: flex;
    align-items: center;
}

.head_boxr .two_class .a_nav:nth-child(-n+2) {
    margin-top: 0;
}

.head_boxr .two_class .a_nav:nth-child(2n) {
    margin-right: 0;
}

.head_boxr .two_class .a_nav::before {
    content: "";
    display: block;
    width: 0.05rem;
    height: 0.05rem;
    margin-left: 0.3rem;
    margin-right: 0.1rem;
    background: #333333;
    border-radius: 50%;
    flex-shrink: 0;
}

/*hover state*/
.head_boxr .two_class .a_nav:hover {
    border: 0.01rem solid #0059AB;
    color: #0059AB;
}

.head_boxr .two_class .a_nav:hover::before {
    background: #0059AB;
}

/*选中状态*/
.head_boxr .two_class .a_nav_active {
    border: 0.01rem solid #0059AB;
    color: #0059AB;
}

.head_boxr .two_class .a_nav_active::before {
    background: #0059AB;
}

.head_boxr .two_class .picture {
    width: 4.8rem;
    height: 2.8rem;
    overflow: hidden;
}

.head_boxr .two_class .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* icons */
.head_boxr .oa {
    display: block;
    width: 0.3rem;
    height: 0.26rem;
    font-size: 0.16rem;
    font-weight: 400;
    color: #0059AB;
}


.head_boxr .icons {
    display: flex;
    align-items: center;
}

.head_boxr .icons .icon {
    width: 0.26rem;
    height: 0.26rem;
    margin-left: 0.18rem;
}

.head_boxr .icons .icon:first-child {
    margin-left: 0;
}

.head_boxr .icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.head_boxr .icons .i2 {
    display: none;
}

/* 微信 */
.head_boxr .wechat {
    position: relative;
}

.head_boxr .wechat .qrcode {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.1rem);
    transform: translateX(-50%);
    width: 1.2rem;
    height: 1.2rem;
    padding: 0.05rem;
    background: white;
    border: 0.01rem solid #dddddd;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.head_boxr .wechat .qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.head_boxr .wechat:hover .qrcode {
    visibility: visible;
    opacity: 1;
    top: calc(100% + 0.2rem);
}


/* isActive */
.isActive {
    background: #FFFFFF;
    box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0, 0, 0, 0.16);
    border-bottom: 0.02rem solid #0059AB;
}

.isActive .header_logo .logo {
    display: none;
}

.isActive .header_logo .logo2 {
    display: block;
}

.isActive .navs .item>a {
    /*color: #333333;*/
    color: #0059AB;
}

.isActive .head_boxr .navs .active>a {
    color: #0059AB;
}

.isActive .head_boxr .icons .i1 {
    display: none;
}

.isActive .head_boxr .icons .i2 {
    display: block;
}

/* 移动适配 */
.common-phone-header,
.side-wrap {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .header-wrap {
        display: none;
    }

    .common-phone-header {
        display: block !important;
    }

    .side-wrap {
        display: block !important;
    }



    .common-phone-header {
        position: fixed;
        z-index: 10000;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
    }

    .common-phone-header-inner {
        display: flex;
        height: 50px;
        border-bottom: 1px solid #eee;
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }

    .header-menu-phone {
        height: 30px;
    }

    .header-logo-phone {
        height: 30px;
    }

    .header-search-phone {
        height: 30px;
    }

    .header-search-box-phone {
        display: none;
    }


    .header-search-input-phone {
        border-radius: 20px;
        height: 35px;
        border-width: 1px;
        border: 1px solid #333;
        padding: 0 10px;
        font-size: 14px;
    }




    .side-modal {
        display: none;
        position: fixed;
        z-index: 99999;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(0, 0, 0, .5);
    }

    .side-container {
        display: none;
        position: fixed;
        z-index: 100000;
        left: 0;
        top: 0;
        height: 100vh;
        width: 6.4rem;
        background-color: #fff;
        color: #000;
        border-left: 1px solid #eee;
        animation: ani_side 1s;
    }

    .side-container.shown {
        display: block;
    }




    @keyframes ani_side {
        from {
            display: none;
            width: 3rem;
        }

        to {
            display: block;
            width: 100%;
        }
    }

    .side-wrap {
        width: 100%;
    }

    .side-top {
        display: flex;
        height: 60px;
        padding: 0 20px 0 30px;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
    }

    .side-logo {
        width: 1rem;
    }

    .side-close {
        width: .48rem;
    }

    .side-bottom {
        padding: 0 .48rem 0 .72rem;
        height: calc(100vh - 60px);
        overflow: auto;
    }


    .nav-item-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* padding: .27rem .48rem .27rem .72rem; */
        padding: .27rem 0 .27rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-item-inner span {
        display: flex;
        align-items: center;
        font-size: 14px;
    }


    .nav-item-inner img {
        /* width: .48rem; */
        width: .4rem;
    }

    .side-nav-list .nav-item a {
        color: #000;
        font-size: .26rem;
        width: 100%;
        display: inline-block !important;
    }



    .side-nav-list .side-local-img {
        width: .3rem;
        margin-right: .2rem;
        vertical-align: text-bottom;
    }

    .side-nav-list-sub {
        display: none;
    }

    .side-nav-list-sub .side-back-img {
        width: .3rem;
        margin-right: .2rem;
        vertical-align: text-bottom;
    }



    .side-nav-list-main .nav-item:first-child {
        /*display: none;*/
    }

    .side-nav-list-main .nav-item:last-child {
        /* display: none; */
    }
}

@media only screen and (max-width: 1024px) {
    .header {
        background: transparent;
    }

    .side-container {
        width: 100%;
    }
}