.fixed {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
}
.header-guide {
  width: 100%;
  height: 43px;
  background: #990000;
  line-height: 43px;
}
.header-guide ul {
  display: flex;
  justify-content: end;
}
.header-guide ul li::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 11px;
  background-color: #dba6a6;
  position: relative; /* 或 absolute */
  margin: 0 10px; /* 调整与文本的距离 */
  vertical-align: middle; /* 垂直对齐方式 */
}
/* 最后一个元素不显示伪元素 */
.header-guide ul li:last-child::after {
  display: none;
}
.header-guide ul li span {
  color: #dba6a6;
  font-size: 14px;
}
.header-guide ul li img {
  width: 23px;
  height: 21px;
  margin-top: 10px;
}

.header {
  background-color: #990000;
  -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  height: 120px;
  margin: auto;
  position: absolute;
  top: 43px;
  left: 0;
  right: 0;
  z-index: 9999;
  line-height: 58px;
}
.header .container {
  position: relative;
  padding: 0 8%;
}
a:hover,
.header-nav .dropdown-menu {
  text-decoration: none;
}
.header-nav .dropdown-menu li {
  list-style: none;
}

.language {
  font-size: 18px;
  color: #fff;
}
.language span {
  position: relative;
  left: 15px;
}
.wap-icon {
  display: none;
}
.searchMo {
  position: relative;
  /* padding-bottom: 0.55rem; */
  display: flex;
}
.searchMo input {
  width: 92%;
  height: 0.69rem;
  border-radius: 0.06rem;
  margin: 0.15rem 0.3rem 0.15rem 0.3rem;
  padding-left: 0.43rem;
  font-size: 0.34rem;
  color: #898989;
}
.searchMo span a {
  width: 1.24rem;
  height: 0.69rem;
  display: inline-block;
  background-color: #bd6200;
  border-radius: 0 0.06rem 0.06rem 0;
  display: flex;
  padding-left: 0.34rem;
  padding-top: 0.16rem;
  box-sizing: border-box;
  margin-top: 0.15rem;
  margin-left: -1.5rem;
  position: relative;
  z-index: 4;
}
.searchMo span a img {
  width: 0.4rem;
  height: 0.4rem;
  display: block;
}
.summarize {
  margin: 0 0.3rem;
}
.summarize li {
  line-height: 0.76rem;
  display: inline-block;
}
.summarize li a {
  font-size: 0.3rem;
  color: #fff;
  padding: 0.1rem 0.14rem;
}
.summarize li a.active {
  background: #bd6200;
}

/* 主菜单样式 */
.has-submenu .submenu {
  display: block; /* 让动画生效，改为始终占位但不可见 */
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  left: 40%;
  top: 100%;
  transform: translateX(-50%) translateY(20px); /* 初始下移 */
  /* min-width: 157px; */
  width: max-content;
  background: #fdf6f0;
  z-index: 100;
  padding: 0;
  margin: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0); /* 回到正下方 */
  border-top: solid 4px #9a0000;
}

.has-submenu:hover > .submenu::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px; /* 与文字间距，可调整 */
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #9a0000;
  position: absolute;
  top: -9px;
  left: 50%;
}

/* 二级菜单项样式 */
.submenu li {
  list-style: none;
  padding: 0 18px;
  box-sizing: border-box;
}

.submenu li a {
  display: block;
  padding: 20px 28px 9px 28px;
  color: #2e2e2e;
  text-decoration: none;
  font-size: 16px;
  line-height: 28px;
  border-bottom: 1px solid #e0dcd9;
  background: #fdf6f0;
  transition: background 0.2s, color 0.2s;
}
.submenu li:last-child {
  padding-bottom: 22px;
}

.submenu li a:hover {
  color: #9a0000;
}

/*.header-nav*/

@media screen and (min-width: 1000px) {
  .header .header-nav .container {
    position: relative;
    left: 0;
    right: 0;
  }
  .header-nav {
    position: relative;
    background: none;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    top: 3px;
  }
  .header.fixed {
    background: #9e0d14;
  }
  .header.fixed .header-nav {
    height: 145px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #9e0d14;
  }
  .header-nav .logo {
    /* position: absolute;
        top: -25px; */
  }
  .header-nav .logo img {
    width: 16rem;
  }
  .header.fixed .header-nav .logo {
    /* position: absolute;
        top: 20px; */
  }
  .header.fixed .header-nav .logo img {
    width: 16rem;
  }
  .header-nav .nav-con {
    /* position: absolute;
        left: 350px;
        right: 0px; */
  }
  .header.fixed .header-nav .nav-con {
    /* top: 60px; */
  }
  .header-nav .nav {
    display: table;
    width: 56vw;
  }
  .header-nav .nav > li:nth-child(2) {
    display: none;
  }
  .header-nav .nav > li {
    position: relative;
    display: table-cell;
    float: none;
    text-align: center;
    /* background: url(../images/down.png) no-repeat 125px 25px; */
  }
  .header-nav .nav > .open {
  }
  .header-nav .dropdown-menu {
    background-color: rgba(28, 93, 183, 1);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 400px;
    border-radius: 0;
    border: none;
    float: none;
    right: 0;
    padding: 12px 0px 30px;
    margin-top: 1px;
  }
  .header-nav .nav > li > a {
    font-size: 20px;
    display: block;
    border-radius: 0;
    color: #ffffff;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }
  .header-nav .nav > li > a .iconfont {
    margin-left: 5px;
    font-size: 12px;
    display: inline-block;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }
  .header-nav .nav > li > a {
    position: relative;
  }
  .header-nav .nav > li > a:focus,
  .header-nav .nav > li > a:hover,
  .header-nav .nav .open > a,
  .header-nav .nav .open > a:focus,
  .header-nav .nav .open > a:hover {
    text-decoration: none;
    background: none;
    border: none;
  }
  .header-nav .nav > li > a:focus .iconfont,
  .header-nav .nav > li > a:hover .iconfont,
  .header-nav .nav .open > a .iconfont,
  .header-nav .nav .open > a:focus .iconfont,
  .header-nav .nav .open > a:hover .iconfont {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .header-nav .nav > li > a:focus:after,
  .header-nav .nav > li > a:hover:after,
  .header-nav .nav .open > a:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
  }
  .nav-pills > li + li {
    margin-left: 0;
  }

  /*sub-menu*/
  .header-nav .dropdown-menu > .row > li {
    margin-bottom: 10px;
  }
  .header-nav .dropdown-menu .sub-title {
    font-size: 18px;
    display: block;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 7px;
    padding-left: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
    position: relative;
  }
  .header-nav .dropdown-menu .sub-title:hover {
    color: #fac000;
    text-decoration: none;
  }
  .header-nav .dropdown-menu .sub-title:after {
    content: "\e609";
    position: absolute;
    font-family: "iconfont";
    right: 15px;
    font-size: 12px;
    top: 50%;
    margin-top: -3px;
  }
  .header-nav .dropdown-menu .sub-title + ul > li {
    position: relative;
    color: #ccc;
  }
  .header-nav .dropdown-menu .sub-title + ul {
    padding-left: 0;
  }
  .header-nav .dropdown-menu .sub-title + ul > li > a {
    display: block;
    padding: 4px 0;
    color: #ccc;
  }
  .header-nav .dropdown-menu .sub-title + ul > li a:hover {
    color: #fac000;
  }
  .mobile-nav-header {
    display: none !important;
  }
  .mobile-nav-header.show-pc {
    display: block !important;
  }
  .mobile-nav-header.show-pc .back {
    display: none;
  }
  .mobile-nav-header.show-pc .closeIcon {
    text-align: right;
    margin-bottom: 15px;
    cursor: pointer;
  }
}
@media screen and (max-width: 1224px) {
  .header-nav .logo img {
    /* width: 200px; */
  }
  .header.fixed .header-nav .logo img {
    /* width: 200px; */
  }
  .header-nav .logo {
    /* position: absolute;
        top: -25px; */
  }
  .header.fixed .header-nav .logo {
    /* position: absolute;
        top: 35px; */
  }
  .header-nav .nav-con {
    /* position: absolute;
        left: 260px;
        right: 0px; */
  }
  .header-nav .nav > li > a {
    font-size: 16px;
  }
}
/* mobile header-nav*/
@media screen and (max-width: 1000px) {
  .header {
    background-color: #990000 !important;
    position: fixed;
    top: 0.3rem;
    /* top: 0; */
    left: 0;
    right: 0;
    z-index: 99999999;
    background: none;
    -webkit-transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }
  /*div.fixed{
            background:none;
        }*/
  .header.fixed {
    background: #9e0d14;
  }
  .header {
    height: 0.64rem;
    /* line-height: 0.64rem; */
  }
  .header-nav {
    bottom: auto;
    top: 0;
    text-align: left;
  }
  .header-nav .logo {
    margin-top: -0.1rem;
    /* position: absolute;
        left: 20px;
        top: -5px; */
  }
  .header.fixed .header-nav .logo {
    /* position: absolute;
        top: -5px; */
  }
  .header-nav .logo img {
    width: 2.5rem;
    margin-top: 0.18rem;
    /* max-width: 200px; */
  }
  .header.fixed .header-nav .logo img {
    width: 2.5rem;
    /* max-width: 200px; */
  }
  .header-nav .nav {
    float: none;
  }
  .header-nav .nav > li {
    float: none;
    margin-left: -15px;
    margin-right: -15px;
    border-bottom: 1px solid #b23f3f;
  }
  .header-nav .nav > li:first-child {
    border-bottom: 0px solid #b23f3f;
  }

  .header-nav .nav > li.borderNo {
    border-bottom: none;
  }
  .header-nav .nav li .wap-icon {
    padding: 0px 0;
    float: right;
    display: block;
    font-size: 16px;
    color: #fff;
    position: relative;
    top: -33px;
    right: 10px;
  }
  .header-nav .nav > li > a {
    padding: 0 !important;
    font-size: 0.36rem;
    border-radius: 0;
  }
  .header-nav .nav > li > a span {
    padding: 0.15rem 0 0.15rem 0.3rem;
    display: block;
    color: #fff;
    font-weight: bold;
  }
  .header-nav .nav-pills,
  .header-nav .dropdown-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 999;
    width: 100%;
    padding: 30px 15px 50px 15px;
    left: auto;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: url(../images/bg_02.jpg) no-repeat bottom center;
    background-color: #990000;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
  }
  .header-nav .dropdown-menu {
    border: none;
    padding: 15px 0;
    margin-top: 0;
  }
  .header-nav .dropdown-menu > .row {
    padding: 0;
    width: auto;
    margin: 0;
  }
  .header-mobile {
    float: right;
    margin-top: 0.2rem;
    margin-right: -0.4rem;
  }
  .site-mobile .header-nav .nav-pills,
  .site-mobile .dropdown-menu.show {
    left: 0;
  }
  .site-tree-mobile img {
    width: 0.32rem;
    height: 0.25rem;
  }
  /* .site-tree-mobile img {
        width: 100%;
        height: 100%;
      } */
  /* .site-tree-mobile .icon-reorder {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin-bottom: 4px;
      }
      .site-tree-mobile .icon-reorder:last-child {
        margin-bottom: 0;
      } */
  .site-mobile .site-mobile-shade {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  .header-nav .nav .icon-down {
    float: right;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    right: 0;
    text-align: right;
    margin-top: 0px;
    font-size: 12px;
  }
  .header-nav .nav .icon-down:before {
    /*content: "\e609";*/
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 0;
  }
  .header-nav .nav > li > a:focus,
  .header-nav .nav > li > a:hover,
  .header-nav .nav .open > a,
  .header-nav .nav .open > a:focus,
  .header-nav .nav .open > a:hover {
    background: none;
    color: #fff;
    outline: none;
  }
  .header-nav .nav > li > a:focus .icon-down:before,
  .header-nav .nav > li > a:hover .icon-down:before {
    /*content: "\e609";*/
  }
  .mobile-nav-header {
    display: block !important;
    margin-top: -15px;
    height: auto;
    line-height: 60px !important;
    padding: 0 !important;
  }
  .header-nav .back,
  .header-nav .closeIcon {
    /* color: #fff; */
    width: 0.42rem;
    height: 0.42rem;
    /* font-size: 16px; */
    display: inline-block;
    cursor: pointer;
    /* padding: 0 15px; */
    position: absolute;
    right: 0.17rem;
    /* top: 0; */
  }
  .header-nav .back,
  .header-nav .closeIcon img {
    width: 100%;
    height: 100%;
  }
  .header-nav .back {
    text-align: left;
    position: absolute;
    left: 0;
    top: 0;
    right: auto;
    transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
  }
  .header-nav .dropdown-menu > .row > li {
    padding-left: 15px;
    padding-right: 15px;
  }
  .header-nav .dropdown-menu .sub-title {
    padding: 15px 0;
    display: block;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    position: relative;
  }
  .header-nav .dropdown-menu .sub-title + ul {
    padding: 10px 0;
  }
  .header-nav .dropdown-menu .sub-title + ul > li {
    color: #ccc;
  }
  .header-nav .dropdown-menu .sub-title + ul > li > a {
    width: 100%;
    overflow: hidden;
    display: block;
    font-size: 14px;
    padding: 8px 0;
    color: #ccc;
    text-decoration: none;
  }
  .header-nav .dropdown-menu .sub-title span {
    padding: 0px 0px 0px 10px;
  }
  .header-nav .dropdown-menu .sub-title i {
    position: relative;
    top: 0px;
  }
  .dropdown-backdrop {
    display: none;
  }
}
