@charset "UTF-8";
/* DereK_Ysx 于2020-12-24编写 */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

header.rfixed {
  background-color: #fff;
  position: static;
}

header.rfixed .h-logo .img-1 {
  display: none;
}

header.rfixed .h-logo .img-2 {
  display: inline-block;
}

header.rfixed .h-li-title {
  color: #333;
}

header.rfixed .h-search .img-1 {
  display: none;
}

header.rfixed .h-search .img-2 {
  display: inline-block;
}

header.rfixed .h-menu .img-1 {
  display: none;
}

header.rfixed .h-menu .img-2 {
  display: inline-block;
}



header.fixed {
  position: fixed;
  background-color: #fff;
}

header.fixed .h-logo .img-1 {
  display: none;
}

header.fixed .h-logo .img-2 {
  display: inline-block;
}

header.fixed .h-li-title {
  color: #333;
}

header.fixed .h-search .img-1 {
  display: none;
}

header.fixed .h-search .img-2 {
  display: inline-block;
}

header.fixed .h-menu .img-1 {
  display: none;
}

header.fixed .h-menu .img-2 {
  display: inline-block;
}

.h-a {
  width: 18rem;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.h-opa {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.h-logo {
  width: 1.42rem;
  padding-top: .2rem;
  padding-bottom: .2rem;
  cursor: pointer;
}

.h-logo img {
  width: 100%;
}

.h-logo .img-2 {
  display: none;
}

.h-container {
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.h-ul {
  width: auto;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.h-li {
  width: auto;
  height: 100%;
  position: relative;
}

.h-li-title {
  width: auto;
  height: 100%;
  padding: 0 .4rem;
  /* line-height: 1.5; */
  font-family: SourceHanSansCN-Normal;
  color: #fff;
  cursor: pointer;
  /* display: block; */
  display: flex;
  align-items: center;
}

.h-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.h-item {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 20px;
  padding: 10px 3px;
  text-align: center;
  -webkit-transition: background-color .3s;
  transition: background-color .3s;
  cursor: pointer;
}

.h-item:hover {
  background-color: #c5996e;
  color: #fff;
}

.h-search {
  margin-left: .7rem;
  width: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
}

.h-search img {
  width: 100%;
}

.h-search .img-2 {
  display: none;
}

.h-menu {
  width: 30px;
  height: 30px;
  display: none;
}

.h-menu img {
  width: 100%;
  height: 100%;
}

.h-menu .img-2 {
  display: none;
}

.h-sch {
  display: none;
  width: 260px;
  height: 80px;
  padding: 25px;
  position: fixed;
  top: 46px;
  right: 50%;
  -webkit-transform: translate(50%, 0);
          transform: translate(50%, 0);
  z-index: 150;
  background-color: #fff;
}

.h-sch .h-form {
  width: 100%;
  background-color: transparent;
  position: relative;
  padding-right: 2.64em;
  overflow: hidden;
}

.h-sch .h-text {
  width: 180px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #ccc;
  border-right: none;
  vertical-align: top;
  background-color: transparent;
  font-size: 14px;
  color: #595757;
  padding: 0 10px;
}

.h-sch .h-smt {
  position: absolute;
  right: 0;
  top: 0;
  background-image: url(../images/5.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: transparent;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background-color: transparent;
}

.h-sch.show {
  display: block;
}

.h-li:hover .h-li-title {
  background-color: rgba(197, 153, 110, .5);
}

@media (max-width: 900px) {
  header.fixed .h-li-title {
    color: #333;
  }
  .h-a {
    height: 50px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    padding: 0 20px;
  }
  .h-a.show .h-ul {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  .h-opa {
    display: none;
  }
  .h-logo {
    padding: 0;
    width: auto;
    height: .5rem;
  }
  .h-logo img {
    width: auto;
    height: 100%;
  }
  .h-menu {
    display: inline-block;
    margin-left: 20px;
  }
  .h-ul {
    width: 260px;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background-color: #fff;
    overflow: auto;
    z-index: 100;
    padding-top: 10px;
    -webkit-transform: translate(100%, 0);
            transform: translate(100%, 0);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .h-li {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0;
  }
  .has-nav:after {
    content: '+';
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    color: #333;
  }
  .has-nav.show:after {
    content: '-';
  }
  .h-li-title {
    width: 3rem;
    color: #333;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    padding-left: 20px;
  }
  .h-box {
    position: static;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .h-item {
    text-align: left;
    padding: 0;
    padding-left: 30px;
    height: 40px;
    line-height: 40px;
  }
}

/*# sourceMappingURL=header.css.map */