.auto-search-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.auto-search-wrapper input {
  font-size: 16px;
  width: 100% !important;
  box-shadow: none;
  box-sizing: border-box;
  padding: 3px 25px 3px 5px;
  float: unset !important;
  line-height: 1;
  min-height: auto;
}
.auto-search-wrapper input:focus {
  border: 1px solid #858585;
  outline: none;
}
.auto-search-wrapper input::-ms-clear {
  display: none;
}
.auto-search-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px;
  overflow: auto;
}
.auto-search-wrapper ul li {
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 10px;
  overflow: hidden;
}
.auto-search-wrapper ul li:not(:last-child) {
  border-top: none;
}
.auto-search-wrapper ul li[disabled] {
  pointer-events: none;
  opacity: 0.5;
  background: #ececec;
}
.auto-search-wrapper .auto-expanded {
  border: 1px solid #858585;
  outline: none;
}
.auto-search-wrapper.loupe:before {
  filter: invert(60%);
}
.auto-is-loading:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0px;
  bottom: 0;
  margin: auto;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #808080;
  border-left-color: #d9d9d9;
  border-top-color: #d9d9d9;
  animation: auto-spinner 0.6s linear infinite;
}
.auto-is-loading .auto-clear {
  display: none;
}
@keyframes auto-spinner {
  to {
    transform: rotate(1turn);
  }
}
li.loupe:before {
  top: 15px;
  bottom: auto;
}
.loupe input {
  padding: 12px 45px 12px 40px;
}
.loupe:before {
  position: absolute;
  content: "";
  width: 17px;
  height: 17px;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
  background-image: var(--loupe-icon);
}
.auto-selected:before {
  opacity: 1;
}
.auto-clear {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  right: -10px;
  margin: auto;
  width: 40px;
  height: auto;
  cursor: pointer;
  background-color: transparent;
  border: none;
}
.auto-clear:before {
  content: var(--close-button);
  line-height: 100%;
  height: 24px;
  width: 24px;
}
.auto-clear span {
  display: none;
}
.auto-results-wrapper {
  display: none;
  border: 1px solid #858585;
  border-top: none;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #fff;
}
.auto-results-wrapper ul > .loupe {
  padding-left: 40px;
}
.auto-results-wrapper.auto-is-active {
  display: block;
  position: absolute;
  width: 100%;
  z-index: 99999;
}
.auto-selected {
  background-color: #e6e6e6;
}
.auto-selected + li:before {
  border-top: none;
}
.auto-error {
  border: 1px solid #ff3838;
}
.auto-error::placeholder {
  color: #ff6666;
  opacity: 1;
}
.hidden {
  display: none;
}
.leaflet-search {
  width: 17px;
  height: 17px;
  margin: 0 3px;
}
.leaflet-autocomplete {
  background: #fff;
  padding: 5px;
  width: 26px;
  height: 26px;
  border: 1px solid #ccc;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  transition: width 200ms ease-in;
}
.leaflet-autocomplete svg {
  width: 17px;
}
.leaflet-autocomplete .auto-search-wrapper {
  display: none;
  padding-left: 5px;
}
.leaflet-autocomplete .loupe:before {
  left: 0;
  top: 4px;
  width: 15px;
  background-repeat: no-repeat;
}
.leaflet-autocomplete .auto-search-wrapper ul li {
  padding: 5px;
  border-top: 1px solid rgb(240, 240, 240);
  font-size: 14px;
}
.leaflet-autocomplete .auto-search-wrapper ul li p {
  margin: 0;
  padding: 0;
}
.leaflet-autocomplete.active-autocomplete {
  width: 295px;
}
.leaflet-autocomplete.active-autocomplete .auto-results-wrapper.auto-is-active {
  margin-top: 9px;
  border-top: 1px solid #858585;
  border-radius: 0 0 5px 5px;
}
.leaflet-autocomplete.active-autocomplete .auto-search-wrapper {
  display: block;
}
.leaflet-touch .leaflet-autocomplete {
  padding: 2px;
}
.leaflet-touch .leaflet-autocomplete svg {
  width: 20px;
  left: 5px;
  top: 5px;
}