html,
body {
  width: 100%;
  height: 100%;
}
body {
  box-sizing: border-box;
}
header {
  padding: 2.4% 9%;
  display: flex;
  align-items: center;
  border-bottom: 0.0625rem solid rgba(205, 205, 205, 0.5);
}
header .logo {
  width: 12.3%;
}
header .logo img {
  width: 100%;
}
header nav {
  margin-left: 4.6%;
  margin-right: 6.8%;
  width: 40%;
  display: flex;
  align-items: center;
}
header nav ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1.375rem;
  font-weight: 350;
  color: #282c30;
  font-family: 思源黑体 CN;
}
header nav ul .active {
  position: relative;
}
header nav ul .active a {
  color: #ed1c24;
}
header nav ul .active::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 0.25rem;
  bottom: -3.6rem;
  background: #ed1c24;
  border-radius: 2.625rem;
}
header nav ul li {
  position: relative;
}
header nav ul li .lit {
  display: none;
  position: absolute;
  flex-direction: column;
  top: 275%;
  z-index: 9999;
  background-color: #fff;
  white-space: nowrap;
  font-size: 1rem;
  padding: 0 1rem;
  min-width: 130%;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
header nav ul li .lit a {
  width: 120%;
  text-align: center;
  padding: 10%;
  color: #000;
  font-weight: 400;
}
header nav ul li .lit a:hover {
  background-color: #ed1c24;
  color: #fff;
}
header nav ul li::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 300%;
  top: 78%;
  background: #ed1c24;
  border-radius: 2.625rem;
  opacity: 0;
}
header nav ul li:hover > .lit {
  display: flex;
}
header nav ul li:hover > a {
  color: #ed1c24;
}
header .search {
  height: 3.5rem;
  margin-right: 6.8%;
  width: 28%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0.1875rem;
  border: 0.03125rem solid #cdcdcd;
  border-radius: 0.25rem;
}
header .search input {
  margin: 0.75rem 0;
  height: 50%;
  margin-left: 1rem;
  color: #282c30;
  font-family: PingFang SC;
  font-size: 1.25rem;
  font-weight: 400;
  width: 82%;
}
header .search input::placeholder {
  color: #a9abac;
}
header .search button {
  width: 18%;
  background: #ed1c24;
  border-radius: 0.1875rem;
  height: 100%;
}
header .search button img {
  width: 22%;
}
header .convert {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 3.5rem;
  /* position: relative; */
  width: 3.8%;
}
header .convert .cn {
  /* display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0; */
  width: 65%;
}
header .convert .en {
  /* display: inline-block;
  position: absolute;
  top: 0;
  right: 0; */
  width: 65%;
}
header .phone {
  display: none;
}
.convert {
  cursor: pointer;
  position: relative;
}
.convert .fix {
  position: absolute;
  display: none;
  top: 100%;
  right: 0;
  width: 153px;
  text-align: left;
  background: #f3f3f3;
  z-index: 10200;
  box-shadow: 0 0 2px #666;
}
.convert .img11 {
  width: 32px;
  /* margin-right: 5px; */
}
.convert .fix li {
  padding: 13px 17px;
  background: #fff;
  line-height: normal;
  display: flex;
  flex-direction: column;
}
.convert .fix li a {
  font-size: 14px;
  color: #6d6d6d;
  margin: 0 5px;
  margin-bottom: 10px;
}
.convert .fix li a:hover {
  color: #ed1c24;
}
.convert .fix li a:last-child {
  margin-bottom: 0;
}
.convert:hover .fix {
  opacity: 1;
  display: block;
}
/* 窗口宽度<960,设计宽度=768 */
@media screen and (max-width: 959px) {
  .htmleaf-container {
    display: block !important;
  }
  header {
    padding: 0;
  }
  .logo,
  .nav,
  .convert,
  .search {
    display: none !important;
  }
  .phone {
    display: flex !important;
    width: 100%;
    flex-direction: column;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  }
  .phone .topmost {
    margin: 4% 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .phone .topmost .logo {
    display: block !important;
    width: 25%;
  }
  .phone .topmost .logo img {
    width: 100%;
  }
  .phone .topmost .convert {
    width: 8%;
    display: flex !important;
  }
  .convert span {
    display: none;
  }
  .convert .img11 {
    width: 32px;
    margin-right: 0px;
  }
  .phone .below {
    padding: 2.4% 4%;
    background: #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .phone .below img {
    width: 8%;
  }
  .phone .below .search {
    border-radius: 4px;
    padding: 2px;
    background-color: #fff;
    display: flex !important;
    width: 85%;
    height: 12.3rem;
    justify-content: space-between;
    margin-right: 0;
  }
  .phone .below .search input {
    margin: 0;
    margin-left: 8px;
    color: black;
    width: 85%;
    height: 100%;
    font-family: "acumin-pro", Arial, sans-serif;
    font-size: 14px;
  }
  .phone .below .search button {
    border-radius: 4px;
    display: flex;
    width: 15%;
  }
  .phone .below .search button img {
    margin: auto;
    width: 40%;
  }
  .phone #elementToHide {
    z-index: 99999;
    position: absolute;
    top: 0;
    background: #333;
    width: 100vw;
    height: 100vh !important;
  }
  .phone #elementToHide .header {
    padding: 4%;
    display: flex;
    justify-content: space-between;
  }
  .phone #elementToHide .header span {
    color: #fff;
    font-size: 4.3rem;
  }
  .phone #elementToHide .header img {
    height: 100%;
  }
  .phone #elementToHide nav {
    padding: 4%;
    box-sizing: border-box;
    margin: 0;
    display: flex !important;
    background-color: #fff;
    flex-direction: column;
    width: 100%;
  }
  .phone #elementToHide nav ul {
    flex-direction: column;
  }
  .phone #elementToHide nav ul li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid;
    align-items: center;
    font-size: 8rem;
    margin-bottom: 2%;
  }
  .phone #elementToHide nav ul li img {
    width: 5%;
    height: 3.7rem;
  }
  .phone #elementToHide nav ul li > ::before {
    position: absolute;
    content: "";
    display: none !important;
  }
  .phone #elementToHide nav ul li:hover > ::before {
    opacity: 1;
  }
  .phone #elementToHide nav ul li:hover > a {
    color: #000;
  }
}
