/* 导航菜单样式 */
.header.normal {
  position: static;
}

/* 头部背景 */
.header {
  /*background-color: var(--bg);*/
   position: relative;
  z-index: 999;
  width: 100vw;
  transition: 0.3s;
}

.light {
  --color: #333;
  --bg: #fff;
  --filter: brightness(0) invert(0);
  --border-color: #d6d6d6;
}

.dark {
  --color: #fff;
  --bg: rgba(0, 0, 0, 0.2);
  --filter: brightness(0) invert(1);
  --border-color: #fff;
}

/* 头部高度 */
.header_height {
  height: 1rem;
}
.header{
    /*position: relative;*/
}
/* 头部logo */
.header .logo_wrap>a {
  display: block;
  width: 2.18rem;
  height: 0.31rem;
}

.logo_wrap {
    flex: 0; 
}

.header .logo_wrap>a img{
    width: 1.6rem;
    height: auto;
}
.onemenu-con a{
    display: block;
}
.onemenu-list{ 
    width: 2.21rem;
    margin-right: 0.74rem;
}
.onemenu-list:last-child{
    margin-right: 0;
}
.onemenu-title{
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 0.2rem;
    color: #000000;
    line-height: 0.34rem;
    padding-bottom: 0.14rem;
    border-bottom: 0.01rem solid #D5D5D5;
    margin-bottom: 0.3rem;
}
.onemenu-one{
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 600;
    font-size: 0.16rem;
    color: #000000;
    line-height: 0.45rem;
        width: fit-content;
}
.onemenu-con .active:hover{
    border-bottom: none;
}
.onemenu-two{ 
    display: none;
}
.onemenu-twok{
    font-family: Microsoft YaHei, Microsoft YaHei; 
font-weight: 400;
font-size: 0.14rem;
color: #B2B2B2;
line-height: 0.25rem;
}
.onemenu-twok:hover{
    color: #030303;
     border-bottom: 0.01rem solid #030303;
}
.onemenu-one:hover{
    border-bottom: 0.01rem solid #000000;
}
.onemenu-box{
    display: none;
    left: 0;
    position: absolute;
    background: #F7F7F7;
    width: 100%;
    padding-top: 0.65rem;
    padding-bottom: 1.61rem;
}
.nav_down {
  padding: 0.65rem 0 1.6rem;
  
  
}
.nav_downbox{
     display: none;
  width: 100%;
    background-color: #F7F7F7;
  position: absolute;
  left: 0;
  top: 1rem;
 
}
.nav_second {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1.72rem;
}
.nav_second a{
    border-bottom: 0.01rem solid #d5d5d5;
  width: 2.205rem;
  padding-bottom: 0.14rem;
      margin-bottom: 0.68rem;
}
.nav_second_item {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-size: 0.2rem;
  color: #000000;
  line-height: 0.34rem;
  font-weight: 400;
  

}

.nav_second a:hover {
  border-bottom: 0.01rem solid #000;
}
.onemenu-warp{
        max-width: 14rem;
    width: 72.92%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}
.main-nav>ul>li {
  padding: 0 0.3rem;
}

.main-nav>ul>li>a {
  height: 100%;
  text-decoration: none;
  font-size: 0.18rem;
  color: var(--color);
  line-height: 0.34rem;
  position: relative;
  transition: 0.3s;
}

.main-nav>ul>li>a::after{
    content:'';
    width: 0;
    height: 0.02rem;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #c7000b;
    z-index: 10;
    transition: 0.3s;
}
.main-nav>ul>li:hover a,
.main-nav>ul>li.active a{
    font-weight: bold;
}
.main-nav>ul>li:hover a::after,
.main-nav>ul>li.active a::after{
    width: 100%;
    left: 0;
}

/* 二级菜单样式 */
.submenu_wrap {
  height: auto;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  /* 设置宽度为屏幕宽度 */
  z-index: 9;
  background-color: #fff;
  border-top: 0 solid #f4f4f4;
  display: none;
}

.submenu_wrap .content_width {
  padding: 0.65rem 0 1.06rem;
}

.submenu_wrap .content_width>div .submenu {
    flex-direction: column;
  /*width: 4.45rem;*/
  width: 100%;
  margin-top: 0.14rem;
      align-items: flex-start;
  border-top: 0.02rem solid #d5d5d5;
}

.submenu_wrap .content_width>div:nth-of-type(1) {
  margin-right: 0.74rem;
  display: flex;
}
.submenu_wrap .content_width>div:nth-of-type(1) .top{
    width: 2.21rem;
    margin-right: 0.74rem;
}
.submenu_wrap .content_width>div:nth-of-type(2) {
  margin-right: 0.33rem;
  display: flex;
  align-items: flex-start;
}

.submenu_title {
  font-size: 0.21rem;
  color: #000000;
  line-height: 0.34rem;
}

.submenu>li>a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.15rem;
  color: #000;
}

.submenu>li:not(.has-submenu-2)>a:not(.technology-level-1):hover,
.subdivide>li>a:hover {
  text-decoration: underline;
  color: #000;
}

.submenu a.technology-level-1 {
  font-weight: bold;
  font-size: 0.17rem;
  color: #000000;
  padding-bottom: 0.18rem;
}

.subdivide>li>a {
  font-size: 0.15rem;
  color: #333333;
  line-height: 0.3rem;
}

.technology>.top {
  margin-bottom: 0.69rem;
}

.technology>.bottom,
.training>.bottom {
  width: 2.71rem;
}

.technology>.bottom>.submenu,
.training>.bottom>.submenu {
  width: 100% !important;
}

.close-button {
  width: 0.22rem;
  height: 0.22rem;
  border: none;
  background: transparent;
}

.search{
  padding: 0 0.3rem;
}

.search>img {
  /*filter: var(--filter);*/
  width: 0.27rem;
  height: 0.27rem;
  margin-left: 0.04rem;
}

.space {
  width: 0rem;
  height: 0.16rem;
  border: 0.01rem solid #adadad;
}

.lang>span {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 0.16rem;
    color: #838383;
    margin-left: 0.09rem;
}

.lang>img {
  width: 0.16rem;
  height: 0.16rem;
}

.la_down_logo{
    width: 0.08rem !important;
    height: 0.04rem !important;
    margin-left: 0.11rem;
}

.la_down_list{
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    background: #F7F7F7;
    padding: 0.98rem 0 1.54rem 0;
    z-index: 9999;
    display: none;
}

.la_down_list_main{
    width: 95%;
    max-width: 14rem;
    margin: 0 auto;
}

.la_down_list_p1{
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 0.25rem;
    color: #000000;
    margin-bottom: 0.53rem;
}

.la_down_list_flex{
    display: flex;
    flex-wrap: wrap;
    gap: 0.41rem 0.15rem;
}

.la_down_list_box{
    display: block;
    width: 2.68rem;
    position: relative;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 0.18rem;
    color: #555555;
    transition: 0.3s;
}

.la_down_list_box::after{
    content: '';
    position: absolute;
    left: -0.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.06rem;
    height: 0.11rem;
    background-image: url('/assets/bantai/img/index/la_icon.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0;
    transition: 0.3s;
}

.la_down_list_box:hover,
.la_down_list_box_active{
    padding-left: 0.21rem;
    font-weight: bold;
    color: #000000;
}

.la_down_list_box:hover::after,
.la_down_list_box_active::after{
    opacity: 1;
    left: 0;
}

.web_info {
  height: 0.33rem;
  border-radius: 0.15rem;
  border: 0.01rem solid var(--border-color);
  padding: 0.07rem 0.11rem;
}

.web_info>span {
  font-size: 0.14rem;
  color: var(--color);
  line-height: 0.34rem;
  margin-right: 0.2rem;
}

.web_info>img {
  width: 0.09rem;
  height: 0.05rem;
  filter: var(--filter);
}

.search_lang{
    height: 1rem;
}

.submenu_wrap {
  border-top: 0.02rem solid #f4f4f4 !important;
}

.header:hover{
    background: #fff;
}

.header:hover .main-nav>ul>li>a,
.header:hover .web_info>span{
    color: #000 !important;
}
.header:hover .web_info{
    border-color: #BABABA;
}
@media only screen and (max-width: 1024px) {
.header{
  display: none !important;
}
.logo_wrap{
  display: none;
}

}