/* Smartbar */
.smartBar {
  position: relative;
  cursor: text;
  text-align: left;
  border-radius: 25px;
  border: 1px solid var(--color-beigeLight);
  background: var(--color-white);
}
.smartBar .confirmed:empty {
  display: none;
}
.smartBar .confirmed {
  position: absolute;
  top: 66px;
  display: flex;
  gap: 1rem;
  width: 1300px;
}

#ic-searchform.home .smartBar .confirmed {
  top: 57px;
  width: 450px;
  flex-wrap: wrap;
}
.smartBar .confirmed .id {
  display: none;
}
.smartBar .confirmed .item {
  font-family: "Open Sans", sans-serif;
  background: #eae5d5;
  padding: 2px 10px;
  margin: 1px;
  color: #080808;
  font-size: 1.3rem;
  line-height: 2.6rem;
  font-weight: 400;
  border-radius: 25px;
}

.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: 1px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #0d0d0d;
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove:hover::before,
.smartBar .confirmed .item .remove:hover::after {
  background: var(--color-black);
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove::before {
  transform: rotate(45deg);
}
.smartBar .confirmed .item .remove::after {
  transform: rotate(-45deg);
}
.smartBar input.smartAreaSearch {
  border: none;
  outline: none;
  width: 100% !important;
  height: 50px;
  line-height: 50px;
  margin: 0;
  border: 0;
  padding: 2rem;
  box-shadow: none;
  background-color: transparent;

  color: #080808;
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 400;
}
.smartBar .popup {
  display: none;
  position: absolute;
  z-index: 101;
  width: 100%;
  max-height: 320px;
  top: 53px;
  left: 0;
  right: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  background-color: #fff;
  border-radius: 0px 0px 3px 3px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.smartBar .popup > li {
  display: none;
  color: #080808;
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  cursor: pointer;
  padding: 3px 0px 3px 24px;
  transition: all 0.3s ease-in;
}
.smartBar .popup.visible,
.smartBar .popup > li.visible {
  display: block;
}
.smartBar .popup > li:hover,
.smartBar .popup > li.active {
  background: #eae5d5;
}
.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;
}

@media only screen and (max-width: 1160px) {
  .smartBar .confirmed {
    position: absolute;
    top: -4rem;
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
  }
  #ic-searchform.home .smartBar .confirmed {
    left: -15px;
    top: -16rem;
    width: 100%;
  }
}

@media only screen and (max-width: 766px) {
  #ic-searchform.home .smartBar .confirmed {
    position: initial;
    margin: 1rem 0 0 1rem;
    display: contents;
  }
  .smartBar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    height: auto !important;
    min-height: 50px;
    line-height: normal !important;
    padding: 0.5rem 1rem;
  }

  .smartBar input.smartAreaSearch {
    flex: 100%;
    min-width: 120px;
    width: auto !important;
    height: 32px !important;
    line-height: normal !important;
    border: none;
    outline: none;
    padding: 0.3rem 1rem !important;
    box-shadow: none;
    margin: 0;
  }
}
@media only screen and (max-width: 500px) {
  .smartBar input.smartAreaSearch {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.2rem;
  }
}
