﻿header {
    width: 100%;
    background: rgba(255, 255, 255, .8);
}

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

.logo {
    width: 2.09rem;
    height: .55rem;
    display: flex;
}

.header_nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav1_box {
    margin-left: 1.07rem;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav1_box a {
    font-size: 0.2rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #333333;
    position: relative;
}

.search_box {
    margin-left: .9rem !important;
}

.search_box,
.search {
    width: .2rem;
    height: .2rem;
    display: flex;
}

.active_nav {
    color: #004098 !important;
}

.active_nav::after {
    content: '';
    position: absolute;
    width: 0.36rem;
    height: 0.03rem;
    background: #004098;
    border-radius: .03rem;
    left: 50%;
    top: calc(100% + .07rem);
    transform: translateX(-50%);
}

.nav2_box{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    display: none;
}

.nav2_box a{
    display: block;
    min-width: 2rem;
    height: .4rem;
    margin:  0 .1rem;
    text-align: center;
    line-height: .4rem;
    border-bottom: 0.01rem solid #EEEEEE;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 0.16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #666666;
}

.nav2_box a:hover{
    margin: 0 ;
    padding: 0 .1rem;
    background: #004098;
    color: #FFFFFF;
    border-bottom: 0.01rem solid #004098;
}


.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;
        display: block;
    }
    .header-logo-phone {
        height: 30px;
        width: auto;
        display: block;
    }
    .header-search-phone {
        height: 30px;
        width: auto;
        display: block;
    }
    .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;
        display: block;
    }
    .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: 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;
        display: block;
    }
    .side-close {
        width:.48rem;
    }
    .side-bottom {
        padding:  0 .48rem 0 .72rem;
    }
    .nav-item-inner {
        width: 100%;
        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;
    }
    
    .nav-item{
        display: flex;
    }
}