header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
}

@media screen and (max-width: 751px) {
  header {
    background-color: #781824;
    height: 1rem;
    position: relative;
    padding: 0.24rem;
  }
  header .mb-menu {
    width: 0.6rem;
    height: 0.6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.2rem;
    background: url("../img/menu.png") no-repeat;
    background-size: 100% 100%;
  }
  header .search {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    background: url("../img/search.png") no-repeat;
    background-size: 100% 100%;
  }
}

header .logo {
  font-size: 0;
  flex-shrink: 0;
  margin-right: 0.24rem;
}

header .logo img {
  height: 0.44rem;
}

header .logo img:first-child {
  margin-right: 0.1rem;
  padding-right: 0.1rem;
  border-right: 1px solid #fff;
}

header .header-right {
  flex: 1;
  margin-left: 0.8rem;
}

@media screen and (max-width: 751px) {
  header .header-right {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 1rem;
    left: 0;
    margin-left: 0;
  }
}

header .header-right .header-right-top {
  width: 100%;
  height: 0.42rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-top {
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 5%;
    border-bottom: 2px solid #781824;
  }
}

header .header-right .header-right-top > a {
  font-size: 0.18rem;
  color: #fff;
  border-left: 1px solid #fff;
  padding-left: 0.1rem;
  margin-left: 0.1rem;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-top > a {
    color: #781824;
    font-size: 0.3rem;
    margin-left: 0;
    width: 40%;
    border: 1px solid #781824;
    text-align: center;
    border-radius: 0.8rem;
    height: 0.6rem;
    line-height: 0.6rem;
    padding: 0;
    margin-bottom: 0.2rem;
  }
}

header .header-right .header-right-top > a img {
  width: 0.24rem;
  height: 0.24rem;
  vertical-align: middle;
}

header .header-right .header-right-top > a:first-child {
  border-left: 0;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-top > a:first-child {
    display: none;
  }
}

header .header-right .header-right-bottom {
  height: 0.6rem;
  padding: 0.12rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom {
    height: auto;
    padding: 10px 5%;
  }
}

header .header-right .header-right-bottom .menus {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus {
    flex-direction: column;
  }
}

header .header-right .header-right-bottom .menus .menu-item {
  font-size: 0;
  position: relative;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus .menu-item {
    width: 100%;
    position: relative;
    padding: 0.16rem 0;
    border-bottom: 1px solid #eee;
  }
}

header .header-right .header-right-bottom .menus .menu-item > a {
  font-size: 0.18rem;
  color: #fff;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus .menu-item > a {
    color: #781824;
    font-size: 0.3rem;
  }
}

header .header-right .header-right-bottom .menus .menu-item .submenu {
  display: none;
  position: absolute;
  padding: 0.08rem;
  background: #fff;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus .menu-item .submenu {
    position: static;
  }
}

header .header-right .header-right-bottom .menus .menu-item .submenu .submenu-item {
  white-space: nowrap;
  margin-bottom: 0.1rem;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus .menu-item .submenu .submenu-item {
    padding: 4px;
  }
}

header .header-right .header-right-bottom .menus .menu-item .submenu .submenu-item > a {
  font-size: 0.16rem;
  color: #333;
  padding: 0.04rem 0.12rem;
}

@media screen and (max-width: 751px) {
  header .header-right .header-right-bottom .menus .menu-item .submenu .submenu-item > a {
    font-size: 0.28rem;
  }
}

header .header-right .header-right-bottom .menus .menu-item .submenu .submenu-item:hover > a {
  color: #fff;
  background-color: #781824;
}

header .header-right .header-right-bottom .menus .menu-item:hover > a {
  font-weight: bold;
}

header .header-right .header-right-bottom .menus .menu-item:hover .submenu {
  display: block;
}

footer {
  width: 100%;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

@media screen and (max-width: 751px) {
  footer {
    flex-direction: column;
    height: 2rem;
    padding: 0.24rem;
  }
}

footer img {
  width: 3.46rem;
  height: 0.6rem;
  flex-shrink: 0;
  margin-right: 0.6rem;
}

@media screen and (max-width: 751px) {
  footer img {
    margin-bottom: 0.24rem;
  }
}

footer p {
  font-size: 0.18rem;
  color: #333;
}

@media screen and (max-width: 751px) {
  footer p {
    display: flex;
    flex-wrap: wrap;
  }
}

footer p span {
  padding-right: 0.24rem;
}

.search-box {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.search-box .search-container {
  width: 80%;
  height: 1.2rem;
  background: #fff;
  position: absolute;
  border-radius: 4px;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  padding: 0.4rem;
}

.search-box .search-container .close {
  position: absolute;
  right: 0.08rem;
  top: 0.08rem;
  width: 0.24rem;
  height: 0.24rem;
  background: url("../img/close.png") no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

.search-box .search-container input {
  width: 100%;
  vertical-align: top;
  height: 0.4rem;
  padding: 0 0.16rem;
  font-size: 0.2rem;
  color: #333;
  border: 1px solid #666;
  border-radius: 0.04rem;
}

.search-box .search-container input:focus-visible {
  outline: none;
  border: 1px solid #666;
}
