.header{
    width: 100%;
    height: 1.68rem;
    padding-bottom: 0.48rem;
    position: relative;
    z-index: 999;
}
.header .head_top{
    width: 100%;
    height: 1.2rem;
    background: url(../img/head_bg.png) center no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .head_top::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(239,236,229,0.1);
    z-index: -1;
}
.header .head_bottom{
    width: 100%;
    height: 0.48rem;
    background: url(../img/border_bg.png);
        background-size: cover;
}
.header .head_top .main{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .head_top .head_logo{
    width: auto;
    height: 1rem;
}
.header .head_top .head_logo img{
    width: auto;
    height: 100%;
    object-fit: contain;
}
.header .head_top .head_box{
    display: flex;
}
.head_nav{
    display: flex;
    align-items: center;
    column-gap: 0.64rem;
}
.head_nav .navItem{
    position: relative;
    padding: 0.17rem 0;
    box-sizing: border-box;
}
.head_nav .navItem>a{
    font-weight: 600;
    font-size: 0.18rem;
    color: #000000;
    cursor: pointer;
    position: relative;
}
.head_nav .navItem>a::before{
    content: "";
    position: absolute;
    width: 0.48rem;
    height: 0.48rem;
    background: url(../img/nav_bg.png) center no-repeat;
    background-size: cover;
    top: -0.22rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.head_nav .navItem.act>a{
    color: #017143;
}
.head_nav .navItem.act>a::before{
    display: block;
}
.head_nav .navBox{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: 1.7rem;
    background: url(../img/nav_border.png) center no-repeat;
    background-size: 100% 100%;
    display: none;
    padding: 0.2rem 0.06rem;
    box-sizing: border-box;
}
.head_nav .navBox a{
    width: 100%;
    height: auto;
    text-align: center;
    font-weight: 400;
    font-size: 0.16rem;
    color: #333333;
    padding: 0.09rem 0;
    box-sizing: border-box;
}
.head_nav .navBox a:hover{
    color: #007143;
    background: #E0D4BB;
}
.loginBtn{
    margin-left: 0.69rem;
    display: flex;
    align-items: center;
}
.loginBtn .search{
    width: 0.18rem;
    height: 0.16rem;
    margin-right: 0.4rem;
}
.loginBtn .search img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.loginBtn .login,
.loginBtn .register{
    width: auto;
    height: auto;
    font-weight: 500;
    font-size: 0.16rem;
    color: #000000;
    position: relative;
}
.loginBtn .register{
    margin-left: 0.22rem;
}
.loginBtn .register::before{
    content: "";
    position: absolute;
    width: 0.01rem;
    height: 0.16rem;
    background: #8E8E8E;
    left: -0.11rem;
    top: 50%;
    transform: translateY(-50%);
}







.menu,
.navmore{
    display: none;
}

@media screen and (max-width: 1043px){
    body{
        overflow: hidden;
    }
    .head_nav{
        position: fixed;
        display: block;
        background: #fff;
        width: 100%;
        height: calc(100% - 1.2rem);
        right: -100%;
        bottom: 0;
        padding: 0.4rem;
        box-sizing: border-box;
        transition: all 0.5s;
    }
    .header .head_top .head_box{
        align-items: center;
    }
    .loginBtn{
        margin-left: 0;
        margin-right: 0.4rem;
    }
    .loginBtn .register::before{
        height: 0.3rem;
    }
    .menu{
        width: 0.44rem;
        height: 0.44rem;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-content: space-around;
        cursor: pointer;
    }



    .menu .icon-bar { display: block; width: 0.44rem; height: 0.04rem; border-radius: 0.02rem }
    .menu .icon-bar { background-color: #606060 }
    .menu .icon-bar { position: relative }
    .menu .icon-bar + .icon-bar { margin-top: 0.12rem }
    .menu .icon-bar:nth-child(2) { background: #606060 }
    .menu .icon-bar:nth-child(1) { top: 0 }
    .menu .icon-bar:nth-child(3) { top: 0 }

    .menu .icon-bar:nth-child(1), 
    .menu .icon-bar:nth-child(3) { top: 0; -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; -moz-transition: top .3s ease .4s, -moz-transform .3s ease; -o-transition: top .3s ease .4s, -o-transform .3s ease; -webkit-transition: top .3s ease, -webkit-transform .3s ease; -webkit-transition-delay: .4s, 0s; transition: top .3s ease .4s, transform .3s ease }
    
    .menu.act .icon-bar + .icon-bar { margin-top: 0.06rem }
    .menu.act .icon-bar:nth-child(2) { -moz-transition: background .3s ease .4s; -o-transition: background .3s ease .4s; -webkit-transition: background .3s ease; -webkit-transition-delay: .4s; transition: background .3s ease .4s; background-color: #606060 }
    .menu.act .icon-bar:nth-child(2) { -moz-transition: background .3s ease 0s; -o-transition: background .3s ease 0s; -webkit-transition: background .3s ease; -webkit-transition-delay: 0s; transition: background .3s ease 0s; background: transparent }
    .menu.act .icon-bar:nth-child(1), .menu.act .icon-bar:nth-child(3) { -moz-transition: top .3s ease, -moz-transform .3s ease .4s; -o-transition: top .3s ease, -o-transform .3s ease .4s; -webkit-transition: top .3s ease, -webkit-transform .3s ease; -webkit-transition-delay: 0s, .4s; transition: top .3s ease, transform .3s ease .4s }
    .menu.act .icon-bar:nth-child(3) { top: -0.16rem; -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg) }
    .menu.act .icon-bar:nth-child(1) { top: 0.16rem; -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg) }
    





    .head_nav.show{
        right: 0;
    }
    .head_nav .navmore{
        position: absolute;
        width: 0.32rem;
        height: 0.2rem;
        background: url(../img/more_icon.png) center no-repeat;
        background-size: cover;
        transform: rotate(-90deg);
        right: 0;
        top: 0.5rem;
        display: block;
        transition: all 0.5s;
    }
    .head_nav .navItem.on .navmore{
        transform: rotate(0deg);
    }
    .head_nav .navItem{
        padding: 0.34rem 0;
        border-bottom: 0.01rem solid #eee;
    }
    .head_nav .navItem>a{
        font-size: 0.34rem;
        width: fit-content;
    }
    .head_nav .navItem>a::before{
        display: none !important;
    }




    .head_nav .navBox{
        width: fit-content;
        left: 0;
        transform: none;
        position: relative;
        background: none;
    }
    .head_nav .navBox a{
        font-size: 0.32rem;
        text-align: left;
        padding: 0.2rem;
        position: relative;
    }
    .head_nav .navBox a::before{
        content: "";
        position: absolute;
        width: 0.1rem;
        height: 0.1rem;
        background: #017143;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}


@media screen and (max-width: 769px){
    .loginBtn .search{
        width: 0.36rem;
        height: 0.36rem;
    }
    .loginBtn .login, .loginBtn .register{
        font-size: 0.32rem;
    }
}


