/* 搜索整体 */
.search-and-result {
  position: absolute;
  top: 30px;
  left: 15%;
  z-index: 1000;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  width: 250px;
  height: 20px;
  padding: 5px;
  color: #fff;
  border: 2px solid #3385ff;
  border-radius: 2px;
  background-color: rgba(20, 99, 169, 0.85);
}

.search-bar input::placeholder {
  color: #cccccc;
}

.search-bar img {
  width: 24px;
  padding: 5px;
  cursor: pointer;
  background-color: #3385ff;
}

/* 结果列表 */
.search-result {
  list-style: none;
  padding: 0 5px;
  margin-top: 5px;
  font-size: 13px;
  color: #cacaca;
  border-radius: 3px;
  background-color: rgba(20, 99, 169, 0.85);
  max-height: 200px;
  overflow-y: auto;
  display: none;
  border: 2px solid #3385ff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.search-result li {
  position: relative;
  padding-left: 20px;
  line-height: 25px;
  cursor: pointer;
}

.search-result li.active,
.search-result li:hover {
  background-color: rgba(27, 115, 247, 0.85);
}

.search-result li:before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  content: "";
  background: url("../../img/publicService/search-gray.png") no-repeat center /
    contain;
}

.place-city {
  margin-left: 10px;
  font-size: 11px;
}

.highlight {
  color: #fff;
}
