.input-comp.search-autocomplete {
  position: relative;
}

.input-comp.search-autocomplete.active {
  height: calc(inherit - 4px);
  border: solid 2px #fdc502;
  z-index: 10;
}

.input-comp.search-autocomplete > .bg {
  margin-right: 11px;
}

.xw-autocomplete {
  border: 0px;
  height: 100%;
  flex-grow: 1;
  font-size: 15px;
}

.autocomplete-opt {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: -2px;
  min-width: calc(100% + 4px);
  width: 400px;
  background-color: white;
  z-index: 10;
  max-height: 360px;
  overflow-y: auto;
  border: solid 1px #ccc;
  border-top: none;
}

.autocomplete-opt > * {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  min-height: fit-content;
  min-height: -moz-fit-content;
  min-height: intrinsic;
  padding: 11px 20px;
  border-bottom: solid 1px #ccc;
  font-size: 15px;
  cursor: pointer;
  min-width: 100%;
  width: 400px;
}

.autocomplete-opt > *:last-child {
  border-bottom: 0px;
}

.autocomplete-opt > *:hover,  .autocomplete-opt > *.active{
  background-color: #f5f5f5;
}

.autocomplete-opt > * > div:nth-child(1) {
  display: flex;
  align-items: center;
}

.autocomplete-opt > * > div:nth-child(1) img {
  margin-right: 14px;
}

.autocomplete-opt > * > div:nth-child(1) .subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.autocomplete-opt > * > div:nth-child(1) .subtitle .area-name {
  text-align: left;
  font-weight: 600;
}

.autocomplete-opt > * > .area-type {
  border: solid 1px #fdc502;
  color: #fdc502;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0px 20px;
  font-weight: 600;
}

@media only screen and (max-width: 1006px) {
  .xw-autocomplete {
    max-width: calc(100% - 17px);
  }
}

@media only screen and (max-width: 636px) {
  .xw-autocomplete {
    max-width: 100%;
  }
}

@media only screen and (max-width: 550px) {
  .xw-autocomplete {
    max-width: calc(100% - 17px);
  }
}

@media only screen and (max-width: 543px) {
  .autocomplete-opt > * {
    font-size: 10px;
  }

  .autocomplete-opt > * > div:nth-child(1) .subtitle .area-name {
    font-weight: 600;
    font-size: 11px;
  }
}

@media only screen and (max-width: 430px) {
  .autocomplete-opt {
    max-width: calc(100vw - 30px)
  }

  .autocomplete-opt > * {
    max-width: 100%;
  }
}

@media only screen and (max-width: 410px) {
  .xw-autocomplete {
    max-width: 100%;
  }
}