/* Smartbar */
.smartBar {
  position: relative;
  cursor: text;
  text-align: left;
}
.smartBar .confirmed:empty {
  display: none;
}
.smartBar .confirmed {
  display: flex;
  position: absolute;
  top: -4rem;
}
.smartBar .confirmed .id {
  display: none;
}
.smartBar .confirmed .item {
  display: flex;
  align-items: center;
  height: auto;
  line-height: 28px;
  background: var(--color-olive);
  padding: 0px 8px;
  margin: 1px;
  color: #fff;
  font-size: 0.85em;
  font-weight: 300;
}
.smartBar .confirmed .item .name {
  display: inline-block;
  vertical-align: middle;
}
.smartBar .confirmed .item .remove {
  position: relative;
  width: 14px;
  height: 14px;
  font-size: 0;
  margin-left: 6px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.smartBar .confirmed .item .remove::before,
.smartBar .confirmed .item .remove::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #fff;
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove:hover::before,
.smartBar .confirmed .item .remove:hover::after {
  background: var(--color-red);
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove::before {
  transform: rotate(45deg);
}
.smartBar .confirmed .item .remove::after {
  transform: rotate(-45deg);
}
.smartBar input.smartAreaSearch {
  font-family: var(--font-sans);
  border: none;
  outline: none;
  /* width: 100% !important; */
  height: 5rem;
  line-height: 5rem;
  margin: 0;
  border: 0;
  color: var(--color-red);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
}
.smartBar .popup {
  display: none;
  position: absolute;
  z-index: 101;
  width: 100%;
  max-height: 320px;
  top: 51px;
  left: 0;
  right: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #fbfbfb;
  border-width: 6px 0;
  border-radius: 4px;
}
.smartBar .popup > li {
  display: none;
  color: var(--color-text);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  padding: 7px 30px 7px 10px;
  transition: all 0.3s ease-in;
}
.smartBar .popup.visible,
.smartBar .popup > li.visible {
  display: block;
}
.smartBar .popup > li:hover,
.smartBar .popup > li.active {
  color: var(--color-cream);
  background: var(--color-olive);
}
.smartBar .popup > li:before,
.smartBar .popup > li i {
  display: none;
}

.smartBar .popup > div.active:hover {
  background: rgba(158, 125, 102, 0.88);
  color: #fff;
}

.smartBar .popup i {
  color: #a2a2a2;
  font-size: 0.9em;
}
