.header {
    width: 19.2rem;
    height: 0.7rem;
    background: rgba(25, 25, 25, 0.6);
    position: relative;
    z-index: 9999;
    margin: 0 auto;
}

.header.active{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}



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

.header .logo {
    width: 1.38rem;
    height: 0.43rem;
    overflow: hidden;
}

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

.header .logo .logo2 {
    display: none;
}

.header .head_fr {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header .head_fr .nav_list {
    display: flex;
}

.header .head_fr .nav_list .nav_li {
    margin-right: 0.57rem;
}

.header .head_fr .nav_li .nav_url {
    line-height: 0.7rem;
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
    white-space: nowrap;
    cursor: pointer !important;
}
.header .head_fr .head_hr {
    width: 0.01rem;
    height: 0.16rem;
    background: rgba(255, 255, 255, 0.51);
    margin-right: 0.27rem;
}
.header .head_fr .head_switch{
    display: flex;
    align-items: center;
    height: 0.7rem;
}
.header .head_fr .head_switch .switch_icon{
    width: 0.17rem;
    height: 0.17rem;
    overflow: hidden;
    margin-right: 0.08rem;
}
.header .head_fr .head_switch .switch_icon img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.header .head_fr .head_switch .switch_icon .icon2{
    display: none;
}
.header .head_fr .head_switch .switch_icon
.header .head_fr .head_switch .switch_txt{
    position: relative;
    display: flex;
}
.header .head_fr .head_switch .switch_txt span{
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}
.header .head_fr .head_switch .switch_txt span i{
    margin-left: 0.12rem;
    width: 0.09rem;
    height: 0.05rem;
    display: block;
    background: url(../img/jiantou4.png) center no-repeat;
}
.header .head_fr .head_switch .switch_txt .switch_list{
    position: absolute;
    bottom: -0.6rem;
    background: #fff;
    padding: 0.1rem;
    border-radius: 0.04rem;
    display: none;
    box-shadow: 0rem 0rem 0.15rem 0.01rem rgba(0,0,0,0.09);
}
.header .head_fr .head_switch .switch_txt .switch_list a{
    font-size: 0.14rem;
    line-height: 1.8;
}
.header .head_fr .head_switch .switch_txt .switch_list a:hover{
    color: #0071FF;
    font-weight: bold;
}
.header .head_fr .head_switch:hover .switch_txt .switch_list{
    display: block;
}





/* 下拉二级栏目 */
.navtab {
    width: 100%;
    display: block;
    position: absolute;
    background: #FFFFFF;
    height: 0;
    z-index: 999;
    top: 0.7rem;
    left: 0;
    overflow: hidden;
    transition: height 0.5s;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.09);
}
.navtab .nav_class2{
    width: 17rem;
    margin: 0 auto;
    padding: 0.43rem 0 0.6rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}
.navtab .nav_class2 .nav_flex{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.navtab .nav_class2 .nav_flex .class2_list{
    width: 16.66%;
}
.nav_list .nav_li:nth-child(4) .navtab .nav_class2 .nav_flex{
    justify-content: flex-start;
}

.class2_list .class2_name{
    font-weight: bold;
    font-size: 0.18rem;
    color: #000000;
    margin-bottom: 0.2rem;
    height: auto;
    display: flex;
    align-items: center;
}
.class2_list .class2_name img{
    width: 0.96rem;
    height: 0.57rem;
    margin-right: 0.2rem;
}
.class2_list .class2_name:hover{
    color: #0071FF;
}
.class2_list .class2_img{
    display: flex;
}
.class2_list .class2_img .class2_li{
    width: 1.39rem;
    height: auto;
    overflow: hidden;
    margin-right: 0.12rem;
}
.class2_list .class2_img .class2_li:last-child{
    margin-right: 0;
}
.class2_list .class2_img .class2_li .class2_pic{
    width: 100%;
    height: 0.82rem;
    overflow: hidden;
    margin-bottom: 0.12rem;
}
.class2_list .class2_img .class2_li .class2_pic img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.class2_list .class2_img .class2_li span{
    width: 100%;
    text-align: center;
    display: block;
    font-weight: 400;
    font-size: 0.16rem;
    color: #333333;
}











.header .head_fr .nav_li.act .nav_url,
.header .head_fr .nav_li:hover .nav_url {
    font-weight: bold;
    background: url(../img/head_icon.png) center bottom no-repeat;
}
/*.header .head_fr .nav_li:hover .navtab{*/
/*    grid-template-rows: 1fr;*/
/*}*/


.header:hover {
    background: #FFFFFF;
}

.header:hover .logo .logo1 {
    display: none;
}

.header:hover .logo .logo2 {
    display: block;
}

.header:hover .head_fr .nav_li .nav_url {
    color: #000000;
}

.header:hover .head_fr .nav_li.act .nav_url {
    color: #0071FF;
    font-weight: bold;
}

.header:hover .head_fr .nav_li .nav_url:hover {
    color: #0071FF;
    font-weight: bold;
}

.header:hover .head_fr .head_hr {
    background: rgba(114, 114, 114, 0.51);
}
.header:hover .head_fr .head_switch .switch_icon .icon2{
    display: block;
}
.header:hover .head_fr .head_switch .switch_icon .icon1{
    display: none;
}
.header:hover .head_fr .head_switch .switch_txt span{
    color: #0F0F0F;
}
.header:hover .head_fr .head_switch .switch_txt span i{
    background: url(../img/jiantou3.png) center no-repeat;
}






@media only screen and (max-width: 1024px) {
    .header{
        display: none;
    }
}


.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;
  }

  .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: 100%;
    width: 70vw;
    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: 70vw;
    }
  }

  .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;
  }
  .header-logo-box-phone{
    display: flex;
    align-items: center;
    width: fit-content;
  }
}

