/* 高度盒子 最外侧 */
.header {
  width: 100%;
  height: 1rem;
  background: #ffffff;
  box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0, 0, 0, 0.15);
  border-radius: 0rem 0rem 0rem 0rem;
}

/* 内容盒子撑满高度 */
.header > .flex-box,
.header .header_logo,
.header .header_menu,
.header_menu_item {
  height: 100%;
}
.header_menu_item:last-child{
    min-width: 1.5rem;
}
/* 左侧logo盒子 */
.header .header_logo {
  width: 2.88rem;
}

.header .header_logo > a {
  height: 0.44rem;
}

/* 右侧导航盒子 */
.header_menu_item {
  position: relative;
  padding: 0.38rem 0.2rem;
  background: #fff;
  transition: var(--m_tran) background;

}

.header_menu_item:nth-child(1){
    margin-left: 0.4rem;
}

.header_menu_item:nth-child(4){
        min-width: 1.15rem;
        
}
.header_menu_item:nth-child(4) .header_level_1{
    width: 100%;
}
.header_menu_item:nth-child(4) > .header_level_1 > a{
    text-align: center;
}
/* 一级导航划过背景动画 */
.header_menu_item:hover {
  background: #357fdb;
}

/* 一级导航文本样式 */
.header_menu_item > .header_level_1 > a {
  font-size: 0.18rem;
  color: #000000;
  transition: var(--m_tran) color, font-weight;
  text-align: center;
}

/* 一级导航划过文本样式动画 */
.header_menu_item:hover > .header_level_1 > a {
  font-weight: bold;
  color: #fff !important;
}

/* 二级菜单项 */
.header .header_level_2 {
  position: absolute;
  overflow: hidden;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
  width: 100%;
  /*min-width: 1.5rem;*/
  background: #2b66b0;
  z-index: 9;
  transition: var(--m_tran) height;
}

/* 二级菜单项的样式 */
.header .header_level_2_item {
  text-align: center;
  transition: var(--m_tran) background;
}

/* 二级菜单项动画 */
.header .header_level_2_item:hover {
  background: #357fdb;
}

/* 二级菜单项文本样式 */
.header .header_level_2_item > a {
      /*background: #2b66b0;*/
        display: flex;
    align-items: center;
    justify-content: center;
  font-size: 0.18rem;
  color: #ffffff;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  line-height: 0.30rem;
}

/* 搜索按钮 */
.header .header_search_item {
  margin: 0 0.07rem 0 0.27rem;
}

.header_search {
  width: 0.2rem;
  height: 0.2rem;
}

/* 语言选择 */
.header .lang_icon {
  width: 0.2rem;
  height: 0.2rem;
}

.header_lang .arrow {
  display: block;
  width: 0.11rem;
  height: 0.06rem;
}

.header_lang_item .lang_icon img,
.header_lang_item .arrow img,
.header_search_item img {
  transition: var(--m_tran) filter;
}

.header_lang_item:hover .lang_icon img,
.header_lang_item:hover .arrow img,
.header_search_item:hover img {
  filter: brightness(0) invert(100%);
}

.header_lang > a {
  margin: 0 0.12rem;
  width: auto;
}

.header_lang_item .header_level_2_item {
  text-align: left;
  padding-left: 0.07rem;
}

.header_lang_item .header_level_2_item img {
  width: 0.27rem;
  height: 0.18rem;
  margin-right: 0.04rem;
  vertical-align: middle;
  display: inline;
}

.space {
  width: 0rem;
  height: 0.22rem;
  border: 0.01rem solid #afafaf;
  margin-right: 0.11rem;
}


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


.header-logo-box-phone{
  display: flex;
  align-items: center;
}
.header.active{
	background: none;
	color: white;
}
.header.active .header-logo>img:nth-of-type(1), .header.active .language>img:nth-of-type(1){
	display: none !important;
}
.header.active .header-logo>img:nth-of-type(2), .header.active .language>img:nth-of-type(2){
	display: block !important;
}
.header.active .header-menu-item.active::after{
    display: none !important;
}
.header{
	height: 1rem;
	transition: 0.5s;
	color: #313131;
	position: fixed;
	background: white;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
}
.header-row{
	padding: 0 0.16rem;
	width: 100%;
	box-sizing: border-box;
	height: 100%;
	margin: 0 auto;
}

@media (min-width: 1200px) {
    .header-row{
        max-width: 95%;
    }
}

@media (min-width: 1600px) {
    .header-row{
        max-width: 90%;
    }
}

@media (min-width: 1920px) {
    .header-row{
        max-width: 70%;
    }
}


.header-logo>img{
	display: block;
	width: 1.64rem;
}

.language>img{
	display: block;
	width: 0.18rem;
	cursor: pointer;
}
.header-logo>img:nth-of-type(2), .language>img:nth-of-type(2){
	display: none;
}
.header-menu{
    height: 100%;
}
.header-menu-item.active{
	font-weight: bold;
}
.header-menu-item.active::after{
	content: '';
	width: 100%;
	background: #0F3475;
	height: 0.022rem;
	position: absolute;
	bottom: 0.3rem;
	left: 0;
	transition: 0.5s;
}
.header.active .header-menu-item.active::after{
	background: white;
}
.header-menu-item:last-child{
	margin-right: 0;
}
.header-menu-item:hover{
	font-weight: bold;
}
.header-menu-item:hover .menu-wapper{
	display: flex;
}

.header-menu-item{
	font-size: 16px;
	cursor: pointer;
	margin-right: 1rem;
	position: relative;
	line-height: 1rem;
	text-align: center;
	height: 100%;
}
.header-menu-item-a{
    line-height: 1rem;
    font-size: 16px;
}
.menu-wapper{
	position: absolute;
	top: 115%;
	left: 50%;
	transition: 0.5s;
	background: white;
	transform: translateX(-50%) scale(1.2);
	border-radius: 0.0787rem;
	box-shadow: 0px 0 0.0562rem 0.011rem rgba(0,0,0,0.16);
	font-weight: normal;
	display: none;
}
.menu-wapper.more{
	padding: 0.303rem 0.27rem 0.563rem 0.494rem;
	align-items: flex-start;
	color: black;
}
.menu-wapper.normal{
	padding: 0.1rem 0.27rem;
	flex-wrap: wrap;
}
.menu-normal:hover, .menu-txt:hover{
	color: #0F3475;
}
.menu-normal{
	line-height: 0.4rem;
	border-bottom: 0.01rem solid #dedede;
	white-space: nowrap;
	width: 100%;
	color: black;
}
.menu-normal:last-child{
	border: 0;
}
.menu-item{
	margin-right: 0.35rem;
	font-size: 0.146rem;
}
.menu-item:last-child{
	margin-right: 0;
}
.menu-title{
	min-width: 2.587rem;
	font-weight: bold;
	padding-bottom: 0.15rem;
	border-bottom: 0.01rem solid #dedede;
	white-space: nowrap;
}
.menu-txt{
	margin-top: 0.15rem;
}
.menu-txt:hover{
	color: #0F3475;
}


.common-phone-header,
.side-wrap{
    display: none;
}
@media only screen and (max-width: 1024px) {
    .header{
        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: 28px;
        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%;
        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: 100%;
        }
    }
    .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: 28px;
        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;
    }
}

