body{
    position: relative;
}

.header {
    width: 100%;
    height: 1rem;
    /*position: absolute;*/
    position: fixed;
    top: 0;
    z-index: 99;
    border-bottom: 0.01rem solid rgba(255,255,255,0.1);
    transition: all 0.5;
}

.header .main {
    max-width: 17.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_logo {
    width: 4.26rem;
    height: 0.59rem;
}

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

.head_logo .head_logo2 {
    display: none;
}

.head_fr {
    display: flex;
    align-items: center;
}

.head_nav {
    display: flex;
    column-gap: 0.45rem;
}
.head_nav .nav_item .nav_url {
    font-family: SC-Regular;
    font-weight: 400;
    font-size: 0.2rem;
    color: #FFFFFF;
    line-height: 1rem;
    position: relative;
}
.head_nav .nav_item .nav_url::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0.01rem;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition:all .5s;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	-o-transition:all .5s;
}
.head_nav .nav_item .nav_url::after{
    content: "";
    position: absolute;
    width: 0.93rem;
    height: 0.58rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: url(../img/head_icon1.png) center no-repeat;
    background-size: cover;
    display: none;
}
.head_nav .nav_item.act .nav_url,
.head_nav .nav_item:hover .nav_url{
    font-weight: bold;
}
.head_nav .nav_item.act .nav_url::before,
.head_nav .nav_item:hover .nav_url::before{
    width: 0.38rem;
    background: #fff;
}
.head_nav .nav_item.act .nav_url::after,
.head_nav .nav_item:hover .nav_url::after{
    display: block;
}
.head_search {
    display: flex;
    align-items: center;
    margin-left: 0.69rem;
}
.head_search .search {
    width: 0.26rem;
    height: 0.26rem;
    /*background: rgba(255,255,255,0.8);*/
    background: url(../img/search_icon2.png) center no-repeat;
    background-size: contain;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.head_search .search img{
    width: 0.13rem;
    height: 0.13rem;
    object-fit: contain;
    display: none;
}





.header.sty,
.header:hover{
    background: #FFFFFF;
    box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0,0,0,0.05);
}
.header:hover .head_logo1,
.header.sty .head_logo1{
    display: none;
}
.header:hover .head_logo2,
.header.sty .head_logo2{
    display: block;
}
.header:hover .head_nav .nav_item .nav_url,
.header.sty .head_nav .nav_item .nav_url{
    color: #000;
}
.header:hover .nav_item:hover .nav_url,
.header.sty .nav_item:hover .nav_url{
    color: #D00000;
}
.header:hover .nav_item:hover .nav_url::before,
.header.sty .nav_item:hover .nav_url::before{
    background: #D00100;
}
.header:hover .head_nav .nav_item.act .nav_url, 
.header:hover .head_nav .nav_item:hover .nav_url,
.header.sty .head_nav .nav_item.act .nav_url, 
.header.sty .head_nav .nav_item:hover .nav_url{
    color: #D00000;
}

.header:hover .head_nav .nav_item .nav_url::after,
.header.sty .head_nav .nav_item .nav_url::after{
    background: url(../img/head_icon.png) center no-repeat;
    background-size: cover;
}
.header:hover .head_search .search,
.header.sty .head_search .search{
    background: #0042B4;
}
.header:hover .head_search .search img,
.header.sty .head_search .search img{
    display: block;
}





/* 二级栏目 */
.nav_head2{
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #F8F8F8;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    transition:all .5s;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	-o-transition:all .5s;
}
.nav_item:hover .nav_head2{
    height: 4.15rem;
}
.nav2_body{
    max-width: 16rem;
    width: 94%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 0.67rem;
}
.nav2_body .nav2_list{
    width: calc(100% - 4.22rem);
}
.nav2_body .nav2_list .nav2_name{
    font-family: SC-Bold;
    font-weight: bold;
    font-size: 0.25rem;
    color: #000;
    width: 100%;
    margin-bottom: 0.5rem;
}
.nav2_body .nav2_list .nav2_li{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.58rem;
    row-gap: 0.32rem;
}
.nav2_body .nav2_list .nav2_li a{
    max-width: 2.3rem;
    font-family: SC-Regular;
    font-weight: 400;
    font-size: 0.18rem;
    color: #5C5C5C;
    position: relative;
}
.nav2_body .nav2_list .nav2_li a::before{
    content: "";
    position: absolute;
    width: 0.24rem;
    height: 0.15rem;
    background: url(../img/head_icon2.png) center no-repeat;
    background-size: contain;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}
.nav2_body .nav2_list .nav2_li a.act,
.nav2_body .nav2_list .nav2_li a:hover{
    color: #D00000;
    font-weight: bold;
}
.nav2_body .nav2_list .nav2_li a.act::before,
.nav2_body .nav2_list .nav2_li a:hover::before{
    display: block;
}
.nav2_body .nav2_img{
    width: 4.22rem;
    height: 2.73rem;
    border-radius: 0.2rem;
    overflow: hidden;
}
.nav2_body .nav2_img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}









/* 左侧悬浮 */
.nav_fl {
    position: fixed;
    height: auto;
    right: 0.18rem;
    bottom: 1.5rem;
    z-index: 999;
}

.nav_fl .nav_item {
    margin: 0 0 0.07rem auto;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    width: fit-content;
    border-radius: 0.05rem;
    background: #FFFFFF;
    box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0,0,0,0.05);
}
.nav_fl .nav_item .nav_icon{
    width: 0.45rem;
    height: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav_fl .nav_item .nav_icon img{
    width: 0.23rem;
    height: 0.23rem;
    object-fit: contain;
}
.nav_fl .nav_item:hover{
    width: fit-content;
    background: #D00000;
}
.nav_fl .nav_item:hover .nav_icon img{
    filter: brightness(0) invert(1);
}
.nav_fl .nav_item .nav_phone{
    font-family: SC-Regular;
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
    line-height: 0.45rem;
    width: 0;
    height: 0.45rem;
    overflow: hidden;
    transition: all 0.5s;
}
.nav_fl .nav_item .nav_code{
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 0;
    right: 0.53rem;
    box-shadow: 0rem 0rem 0.15rem 0.01rem rgba(0,0,0,0.1);
    display: none;
}
.nav_fl .nav_item:hover .nav_phone{
    width: 1.6rem;
}
.nav_fl .nav_item:hover .nav_code{
    display: block;
}

.nav_fl .goTop{
    margin-top: 0.3rem;
}
.nav_fl .goTop:hover{
    background: #004CCE;
}
.nav_fl .goTop .nav_icon img{
    width: 0.29rem;
    height: 0.18rem;
}








.nav_button,
.nav_content{
    display: none;
}
@media screen and (max-width: 1043px) {
    .header{
        padding: 10px 0;
        box-sizing: border-box;
        border-bottom: 1px solid rgb(0 0 0 / 5%);
        height: auto;
        background: #fff;
        position: fixed;
    }
    .header .head_logo{
        height: 60px;
        max-width: 260px;
        width: auto;
    }
    .head_logo .head_logo2{
        display: block;
    }
    .head_logo .head_logo1,
    .head_nav{
        display: none;
    }
    .head_search{
        margin: 0 20px 0 0;
    }
    .head_search .search{
        width: 30px;
        height: 30px;
        background: #0042B4;
    }
    .head_search .search img{
        width: 50%;
        height: auto;
        display: block;
    }
    .header .nav_button{
        display: block;
        width: 20px;
        height: 20px;
        background: url(../img/nav_menu.png) no-repeat center center;
        background-size: cover;
        cursor: pointer;
    }






    /* 手机版 */
    .nav_content{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: #fbfbfb;
        z-index: 999;
        padding: 20px;
        box-sizing: border-box;
        overflow-y: auto;
        display: none;
    }
    .nav_content .colse_button{
        width: 20px;
        height: 20px;
        background: url(../img/colse.png) no-repeat center center;
        background-size: cover;
        margin: 0 10px 25px auto;
        cursor: pointer;
    }

    .nav_content .level1_item{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px solid rgb(0 0 0 / 5%);
        line-height: 50px;
    }
    .nav_content .level1_item a{
        width: fit-content;
        font-size: 16px;
        line-height: 50px;
        color: #333;
        height: auto;
    }
    .nav_content .level1_item .level_add{
        width: 14px;
        height: 14px;
        margin: 18px 3px 0 0;
        background: url(../img/xiala.png) no-repeat center center;
        background-size: contain;
        transition: all 0.3s;
    }
    .nav_content .level1_item .level_add.active{
        transform: rotate(90deg);
    }
    .nav_content .level1_item .level_ul{
        width: 100%;
        padding: 0 0 0 30px;
        display: none;
    }
    .nav_content .level1_item .level_ul a{
        font-size: 14px;
    }




    /* 左侧悬浮 */
    .nav_fl{
        right: 10px;
        bottom: 15%;  
    }
    .nav_fl .nav_item{
        margin: 0 0 7px auto;
        border-radius: 5px;
    }
    .nav_fl .nav_item .nav_icon{
        width: 40px;
        height: 40px;
    }
    .nav_fl .nav_item .nav_icon img{
        width: 50%;
        height: auto;
    }
    .nav_fl .nav_item .nav_phone{
        font-size: 14px;
        line-height: 40px;
        height: 40px;
    }
    .nav_fl .nav_item:hover .nav_phone{
        width: 140px;
    }
    .nav_fl .nav_item .nav_code{
        width: 120px;
        height: 120px;
        right: 46px;
    }
}


