.header{
    position: fixed;
    top: 0.5rem;
    left: 0;
    width: 100%;
    height: auto;
    /* background: rgba(0, 0, 0, 0.5); */
    /* box-shadow: 0rem 0rem 0.08rem 0.01rem rgba(8,3,4,0.58); */
    z-index: 99;
    transition: all 0.3s;
}
.header_center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 14.6rem;
    height: 1rem;
    margin: 0 auto;
    background: #B20000;
    border-radius: 0.15rem;
    box-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, .12);
    transition: all 0.3s;
}
/* logo */
.header_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 100%;
    background: white;
    border-radius: 0.15rem 0 0 0.15rem;
    transition: all 0.3s;
}
.header_logo img {
    height: 0.67rem;
    object-fit: contain;
}


/* right */
.head_boxr {
    display: flex;
    align-items: center;
    justify-content: end;
    flex: 1;
}
.head_boxr .navs {
    display: flex;
    align-items: center;
}
.head_boxr .navs .item {
    position: relative;
    height: 0.8rem;
    margin: 0 0.22rem;
    cursor: pointer;
}
.head_boxr .navs .item::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 0.02rem;
    background: rgba(255,255,255,0.5);
    transform: translateX(-50%);
    transition: all 0.5s;
}
.head_boxr .navs .one {
    font-size: 0.16rem;
    color: #FFFFFF;
    line-height: 0.8rem;
}
.head_boxr .navs .item:hover::after {
    width: 120%;
}
/* 活动导航 */
.head_boxr .navs .active > a {
    font-weight: bold;
}
/* 二级导航 */
.head_boxr .navs .two {
    position: absolute;
    left: 50%;
    top: 100%;
    background: rgba(255,255,255,1);
    border-radius: 0.02rem;
    transform: translateX(-50%);
    /*transition: all 0.5s;*/
    display: none;
}
.head_boxr .navs .two > a {
    position: relative;
    display: block;
    width: fit-content;
    padding: 0.1rem 0.6rem;
    white-space: nowrap;
}
.head_boxr .navs .two > a::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 0.02rem;
    background: rgba(255,255,255,0.5);
    transform: translateX(-50%);
    transition: all 0.5s;
}
.head_boxr .navs .two > a:hover {
    color: rgba(178, 0, 0, 1);
}
.head_boxr .navs .two > a:hover::after {
    width: 90%;
    background: rgba(178, 0, 0, 1);
}


/* 白色竖线 */
.head_boxr .white-line {
    width: 0.01rem;
    height: 0.23rem;
    margin-left: 0.4rem;
    margin-right: 0.5rem;
    background: white;
}


/* 搜索、微信、电话 */
.head_boxr .others {
    display: flex;
    align-items: center;
}
.head_boxr .others img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.head_boxr .search {
    display: block;
    width: 0.17rem;
    height: 0.19rem;
    margin-right: 0.18rem;
}
.head_boxr .wechat {
    display: block;
    width: 0.23rem;
    height: 0.19rem;
    margin-right: 0.18rem;
}
.head_boxr .phone {
    display: flex;
    align-items: center;
    margin-right: 0.74rem;
}
.head_boxr .phone img {
    width: 0.29rem;
    height: 0.29rem;
    margin-right: 0.1rem;
}
.head_boxr .phone .txt {
    font-size: 0.25rem;
    font-weight: bold;
    color: #FFFFFF;
}



/* head-active */
.head-active {
    top: 0;
}
.head-active .header_center {
    justify-content: center;
    width: 19.2rem;
    height: 0.8rem;
    /*line-height: 0.5rem;*/
    border-radius: 0;
}
.head-active .header_logo {
    width: 6rem;
    border-radius: 0;
}
.head-active .head_boxr {
    justify-content: space-evenly;
}



.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;
        width: auto;
    }
    .header-logo-phone {
        height: 30px;
        width: auto;
    }
    .header-search-phone {
        height: 30px;
        width: auto;
    }
    .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;
    }
    .header{
        display: none;
    }
    @keyframes ani_side{
        from {
            display: none;
            width: 3rem;
        }
        to {
            display: block;
            width: 6.4rem;
        }
    }
    .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 {
        height: 30px;
        width: auto;
    }
    .side-close {
        width:.48rem;
    }
    .side-bottom {
        padding:  0 .48rem 0 .72rem;
    }
    .nav-item-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        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: .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;
    }
}










