.header{
    font-size: 18px;
    position: fixed;
    top: 0;
    z-index:11999;
    left: 0;
    width: 90px;
    height: 100%;
    background: rgba(250, 250, 250, .9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header.collapsed{
    width: 160px;
    background: rgba(250, 250, 250, .8);
}

.header:not(.collapsed) .header_top ul li:hover a span{ 
   display: inline-block;
}

.header:not(.collapsed)  ul li a span{
     display: none;
}

.header:not(.collapsed) .header_top li a{
    padding-left: 0;
    text-align: center;
}

.header_top > ul > li:hover  >.second-nav{
    display: block;
}

.second-nav > ul > li:hover .second-nav{
     display: block;
}


.second-nav{
    position: absolute;
    right: 0;
    top: 0;
    display: none;
    transform: translateX(100%);
}

.second-nav ul li{
    padding: 0 30px;
    line-height: 1;
    background: #404040;
}

.header:not(.collapsed) .header_top ul li:hover img{
   display: none;
}

.header:not(.collapsed) .header_top ul li:hover .img1{
     opacity: 0;

}
.header:not(.collapsed) .header_top ul li:hover .img2{
     opacity: 0;
}


.header:not(.collapsed) .header_top ul li .img1,
.header:not(.collapsed) .header_top ul li .img2{
    opacity: 1;
}

/*.header:not(.collapsed) .header_top li a{
    transform: translateX(-30px);
}*/

.header .header_top li{
    position: relative;
}
.header .header_top li,
.header .header_bottom li{
    white-space: nowrap;
}

.header_top li:hover{
    background-color:#aa2724;
}

.header .header_top li:hover .img2{
    display: inline-block;
}

.header .header_top li:hover .img1{
    display: none;
}

.header .header_top li.on {
    background-color:#aa2724;
}

.header .header_top li .img2{
    display: none;
}

.header .header_top li .img1{
    display: inline-block;
}

.header .header_top li.on .img1{
    display: none;
}

.header .header_top li.on .img2{
    display: inline-block;

}




.header.collapsed .header_top li a span,
.header.collapsed .header_bottom li a span{
    opacity: 1;
}



.header .logo img:last-of-type{
     display: none;
}


.header.collapsed .logo img:last-of-type{
     display: inline-block;
}

.header.collapsed .logo img:first-of-type{
     display: none;
}

.header .logo{
    text-align: center;
    line-height: 90px;
    background-color: #aa2724;
}

.header_nav a:hover{
      color: #ea433f !important;
}

.header_bottom{
    margin-bottom: 30px;
}

.header .mask{
    display: none;
}
.header_bottom ul li{
    position: relative;
    padding: 14px 0;
    padding-left: 30px;
}
.header_bottom ul li:hover .second{
    display: block;
}


.header_bottom ul li .second-x, 
.header_bottom ul li .second{
    position: absolute;
    display: none;
    width: auto;
    padding: 10px;
    background: #333333;
    right:20px;
    top: 50%;
    transform: translate(100%,-50%);
}
.header_bottom ul li .second img{
    background: #fff;
}
.header_bottom ul li .second button{
    font-size: 14px;
    background: #aa2724;
    line-height: 30px;
    color: #fff;
    padding: 0 10px;
}
.header_bottom ul li .second input{
    padding: 0 10px;
    line-height: 30px;
}
.header_bottom ul li .second dl{
    display: flex;
}
.header_bottom ul li .second dl dd{
    margin-right: 5px;
}
.header_bottom ul li .second:after,
.header_bottom ul li .second-x:after{
    content: "";
    display: block;
    left:-14px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    border: 6px solid transparent;
    border-right: 8px solid #333333;
    width: 0;
    height: 0px;
}

.header .header_top li:last-child .img4{
    display: none;
} 


.header.collapsed .header_top li:last-child .img3{
    display: none;
} 
.header.collapsed .header_top li:last-child .img4{
    display: inline-block;
} 


.header.collapsed .header_bottom ul li:last-child{
    padding-left: 60px;
}

.bl-item .on{
   display: none;
}

.bl-item.on .off{
    display: none;
}
.bl-item.on .on{
   display: inline-block;
}
.header_nav > ul > li .second-list{
    height: auto;
    box-shadow:0 0 10px 1px rgb(0 0 0 / 10%);
}

.header .logo img{
    width: auto;
}

#on .off{
    display: none;
}

#off .on{
    display: none;
}

.header_w  .form{
    display: inline-block;
}

.header img{
    width: 30px;
}

.header_w  .form a{
    color: #fff;
}


.header_w{
    
    text-align: left;
    width: 100%;
    position: relative;
}

.header_top li a{
    line-height: .6rem;
    display: block;
    padding-left: 30px;
}

.header_top li.on a{
    color: #fff;
}
.header_top li:hover a{
    color: #fff;
}

@media screen and (min-width:769px) {
    .pc-element{
        display: block;
    }
    .web-element{
        display: none;
    }
    .header_bottom ul li:hover .second-x{
        display: block;
    }
}


@media screen and (max-width: 768px){
    .pc-element{
        display: none !important;
    }
    body{
        top: 0 !important;
    }
    .header.collapsed .mask{
        z-index: -1;
        display: block;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 1rem;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .6);
    }
    
    .header .logo{
        padding: 0 0.2rem;
        line-height: 1rem;
    }
    .header_bottom{
       margin-bottom: 0;
       padding-right: 4%;
    }
    .header img{
        width: 26px;
    }
    .header .header_bottom li{
        margin-right: 10px;
    }

    .header .header_top li a span, 
    .header .header_bottom li a span{
        opacity: 1;
    }
    .header_top li a{
        padding-right: 0.3rem;
        padding-left: 0.3rem;
        line-height: 1rem;
    }
    .header_top{
        height: calc(100vh - 1rem);
        transform: translateX(-100%);
        font-size: 0.24rem;
        position: fixed;
        left: 0;
        transition: all .3s;
        background: #fff;
    }
    .header.collapsed{
        background: #fff;
    }
    .header.collapsed .logo img:first-of-type{
        display: inline-block;
    }
    .header.collapsed .logo img:last-of-type{
        display: none;
    }
    .header.collapsed .header_top{
      transform: translateX(0%);
    }
    .web-element{
      display: block;
    }
    .header.collapsed{
       width: 100%;

    }
    .header{
        box-shadow: 0 0 2px 0 rgba(0, 0, 0, .1);
          flex-direction: row;
      height: 1rem;
      width: 100%;
      background: #fff;
      align-items: center;
    }
    .header_w{
        width: auto;
    }
    .header_bottom li:last-of-type{
        display: block;
    }
    .header_bottom ul li{
        padding: 0;
        display: none;
    }
    .header.collapsed .header_top{
       display: block;
    }
    #on .off{
       display: inline-block;
    }
    #on .on{
        display: none;
    }
    #off .off{
        display: none;
    }
    #off .on{
       display: inline-block;
    }
    
    .header.collapsed .header_bottom ul li:last-child{
        padding-left: 0px;
    }
    .header.collapsed .header_bottom li a span{
        display: none;
    }

    .header .header_bottom ul li:nth-child(3){
        display: block;
        margin-left: 10px;
    }
    .header .header_bottom ul li:nth-child(2){
        display: block;
    }
    .header_bottom ul{
        align-items: center;
        display: flex;
    }
    .skiptranslate{
        display: none;
    }

}



