


.search-wrap {
  background: url(/assets/images/search-bar.png) no-repeat center;
  background-size: cover;
  margin-top: 90px;
}
.search-wrap .container {
  padding-top: 25px;
  padding-bottom: 60px;
}
.search-bar {
  background: #FFFFFF;
  border-radius: 4px;
  display: flex;
}
.search-bar .input-wrap {
  flex: 1;
  height: 54px;
  border-color: #fff;
}
.search-bar .search-btn {
  background: var(--main-color);
  width: 60px;
  height: 54px;
  border-radius: 0px 4px 4px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
  cursor: pointer;
}
.search-bar .search-btn:hover {
  background: var(--hover-color);
}
.category {
  display: none;
}
.category li + li {
  margin-left: 2%;
}
.category li {
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #4D4D4D;
  line-height: 73px;
  cursor: pointer;
  position: relative;
}
.category li.active {
  color: var(--main-color);
}
.category li.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 23px;
  height: 4px;
  background: var(--main-color);
  border-radius: 2px;
}
.search-result {
  padding-bottom: 81px;
}
.search-result .row {
  margin: 0 -30px;
}
.search-result .rc-wrap {
  display: block;
  padding: 39px 30px;
  border-bottom: 1px solid #E6E6E6;
  transition: all .3s ease;
}
.search-result .rc-wrap:hover {
  background: rgba(245, 245, 245, 0.5);
}
.search-result .rc-wrap span {
  color: #E80000;
}
.search-result .rc-wrap:hover h2 {
  color: var(--main-color);
}
.search-result .rc-wrap h2 {
  font-size: 24px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
  transition: color .3s ease;
}
.search-result .rc-wrap small {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #808080;
  line-height: 1.7;
}
.search-result .empty {
  text-align: center;
  padding: 120px 0;
}
.search-result img {
  width: 240px;
  transform: translateX(-10px);
}
.search-result h2 {
  font-size: 64px;
  color: #999;
}


@media screen and (max-width: 666px) {
  .category li {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    height: 70px;
  }
  .category li + li {
    margin-left: 5vw;
  }
  .search-result {
    width: 100%;
    overflow: hidden;
  }
  .search-result .rc-wrap h2 {
    margin: 0 0 15px;
  }
  .search-result .rc-wrap {
    padding: 30px ;
  }
  .search-result .empty {
    text-align: center;
    padding: 120px 0;
  }
  .search-result img {
    width: 120px;
    transform: translateX(-10px);
  }
  .search-result h2 {
    font-size: 32px;
    color: #999;
  }
}
