/*
 * @Author: 天吾
 * @Date: 2019-01-23 16:29:55
 * @Last Modified by: 天吾
 * @Last Modified time: 2019-04-27 19:55:52
 */
/*
    size 统一用  sm base lg  表示,  对于不能满足的情况, 仿照衣服尺寸加上 x(EXTRA) 比如  font-size-xlg 表示特大
*/
.gd-header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  position: relative;
}
.gd-header-search__content {
  margin: auto;
  margin-top: 22px;
}
.gd-header-search .gd-header-search__input {
  width: 260px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  border: solid 1px #cccccc;
  outline: 0;
}
.gd-header-search .gd-icon {
  cursor: pointer;
  color: #999999;
  font-size: 16px;
}
.gd-header-search__options {
  overflow-y: auto;
  margin-top: 2px;
  width: 260px;
}
ul {
  list-style: none;
  margin: 4px 0;
  padding: 0;
}
ul b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
  font-weight: 400;
}
li {
  cursor: pointer;
  list-style: none;
}
.gd-header-search__option {
  line-height: 38px;
  padding: 0 20px;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gd-header-search__option--active {
  color: #000;
  background: #F0F3F4;
}
.gd-header-search__keyword {
  font-weight: normal;
}
.gd-header-search__title {
  height: 41px;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
  color: #999;
  font-size: 12px;
  line-height: 48px;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
.gd-header-search__title p {
  margin: 0;
  height: 41px;
  display: inline-block;
}
.gd-header-search__clear-history {
  cursor: pointer;
}
.gd-header-search__clear-history:hover {
  color: #000;
}
.gd-header-search__historys .gd-header-search__option {
  display: flex;
  justify-content: space-between;
  padding-right: 0px;
}
.gd-header-search__historys .gd-header-search__option span {
  font-weight: 400;
}
.gd-header-search__historys .gd-header-search__del-btn {
  padding: 10px 20px;
  background: none;
  border: 0;
  box-sizing: border-box;
  height: 38px;
}
.gd-header-search__historys .gd-header-search__del-btn::before {
  content: "";
  display: inline-block;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg t='1545589369089' class='icon' style='' fill='%23000' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2535' xmlns:xlink='http://www.w3.org/1999/xlink' width='200' height='200'%3E%3Cdefs%3E%3Cstyle type='text/css'/%3E%3C/defs%3E%3Cpath d='M597.795527 511.488347 813.564755 295.718095c23.833825-23.833825 23.833825-62.47489 0.001023-86.307691-23.832801-23.832801-62.47489-23.833825-86.307691 0L511.487835 425.180656 295.717583 209.410404c-23.833825-23.833825-62.475913-23.833825-86.307691 0-23.832801 23.832801-23.833825 62.47489 0 86.308715l215.769228 215.769228L209.410915 727.258599c-23.833825 23.833825-23.833825 62.47489 0 86.307691 23.832801 23.833825 62.473867 23.833825 86.307691 0l215.768205-215.768205 215.769228 215.769228c23.834848 23.833825 62.475913 23.832801 86.308715 0 23.833825-23.833825 23.833825-62.47489 0-86.307691L597.795527 511.488347z' p-id='2536'/%3E%3C/svg%3E");
  background-size: contain;
  margin: -22px 5px 0 0;
  height: 16px;
  width: 16px;
  vertical-align: middle;
}
.gd-header-search__hot-icon {
  background: none;
  border: 0;
  box-sizing: border-box;
  height: 38px;
}
.gd-header-search__hot-icon::before {
  content: "";
  display: inline-block;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='14' height='14' xmlns='http://www.w3.org/2000/svg' fill='%23FF4343'%3E%3Cpath d='M5.761 13.125S.466 11.93 2.833 5.999c0 0 .537.66.463.976 0 0 .421-1.497 1.33-2.39.781-.77 1.574-2.93.843-3.71 0 0 3.623.78 4.026 4.685 0 0 .464-1.244 1.415-1.367 0 0-.292.684 0 1.71 0 0 3.001 5.27-2.17 7.051 0 0 1.55-1.806-1.739-4.905 0 0-.775 1.66-1.238 2.245-.002 0-1.295 1.488-.002 2.831z' fill='%23FF4343' fill-rule='nonzero'/%3E%3C/svg%3E");
  background-size: contain;
  margin: 1px 5px 5px 2px;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}
