/* top部分 */
.top {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  width: 100%;
  height: 64px;
}

.top h1 {
  background: url(../images/logo.png) no-repeat;
  background-position: left;
  background-size: contain;
  width: 260px;
  text-indent: -999px;
  height: 100%;
}

.top h1 a {
  display: block;
  width: 100%;
  height: 100%;
}

.top .search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.top .search form {
  width: 300px;
  height: 32px;
  position: relative;
}

.top .search form input {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding-left: 10px;
  border: 1px solid var(--primary-100);
}

.top .search form input:focus {
  border-radius: 10px 10px 0 0;
}

.top .search form input:focus ~ .dropdown {
  display: block;
  z-index: 1;
}

.top .search form button {
  position: absolute;
  right: 1px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-top: 1px;
  background-color: transparent;
  cursor: pointer;
}

.top .search form button i {
  font-size: 20px;
}

.top .search form .dropdown {
  border: 1px solid var(--primary-100);
  background-color: #fff;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  border-top: none;
  position: absolute;
  left: 0;
  top: 31px;
  width: 100%;
  display: none;
}

.top .search .mobile {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  position: relative;
  height: 100%;
}

.top .search .mobile:hover .erweima {
  display: block;
  z-index: 1;
}

.top .search .mobile .erweima {
  display: none;
  position: absolute;
  right: 0;
  top: 64px;
  text-align: center;
  background-color: #fff;
}

.top .search .mobile .erweima img {
  width: 100px;
}

/* 导航 */
.nav {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav a {
  font-size: 15px;
  color: #334e68;
  margin-left: 50px;
  /* padding: 5px 20px; */
}

/* .nav a:last-child {
    position: absolute;
    right: 0;
    background: url(../images/allBrand.svg) no-repeat;
    background-size: 50% 50%;
    background-position: -10% 50%;
    padding-left: 50px;
    margin-right: 0;
}

.nav a:last-child:hover {
    background-image: url(../images/allbrandhover.svg);
}

.nav a:last-child.active {
    background-image: url(../images/allbrandhover.svg);
} */

/* .nav a:hover {
    background-color: var(--bg-100);
    color: var(--text-100);
    border-radius: 20px;
} */
.nav a:hover {
  color: #0865e8;
  font-weight: 600;
  border-bottom: 2px solid #0865e8;
}

/* .nav a.active {
  background-color: var(--bg-100);
  color: var(--text-100);
  border-radius: 20px;
} */

.nav a.active {
  color: #0865e8;
  font-weight: 600;
  border-bottom: 2px solid #0865e8;
}

/* 底部 */
.foot {
  /* margin-top: 22px; */
  padding: 22px 0;
  color: #777;
}

.foot .footerimg2 {
  border-bottom: 1px solid #333;
  padding: 22px 0;
}

.footerimg1 img,
.footerimg2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foot .websiteindex {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 11px;
}

.foot .websiteindex .item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.foot .websiteindex .item img {
  width: 40px;
  height: 40px;
}

.foot .websiteindex .item p {
  white-space: nowrap;
}

.foot .links {
  display: flex;
  justify-content: center;
  margin-top: 11px;
}

.foot .links a {
  padding: 0 6px;
}

.foot ul {
  text-align: center;
}

.foot ul li {
  margin-top: 6px;
}

.foot .noice img {
  width: 25px !important;
  height: 25px !important;
}

.foot .blogo {
  text-align: center;
  margin-top: 11px;
}
