.autoComplete_wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
  padding-bottom: 1rem;
}

.autoComplete_wrapper>input {
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

.autoComplete_wrapper>input:focus::selection {
  background-color: rgba(255, 122, 122, 0.15);
}

.autoComplete_wrapper>input::selection {
  background-color: rgba(255, 122, 122, 0.15);
}

.autoComplete_wrapper>ul {
  position: absolute;
  max-height: 226px;
  overflow-y: scroll;
  box-sizing: border-box;
  left: 0;
  right: 0;
  margin: 0.5rem 0 0 0;
  padding: 0;
  z-index: 1;
  list-style: none;
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid rgba(33, 33, 33, 0.07);
  box-shadow: 0 0 5px #bdbdbd !important;
  outline: none;
  transition: opacity 0.15s ease-in-out;
  -moz-transition: opacity 0.15s ease-in-out;
  -webkit-transition: opacity 0.15s ease-in-out;
  max-width: 600px;
  min-width: 300px;
  width: auto;
}

.autoComplete_wrapper>ul[hidden],
.autoComplete_wrapper>ul:empty {
  display: block;
  opacity: 0;
  transform: scale(0);
}

.autoComplete_wrapper>ul>li {
  margin: 0.3rem;
  padding: 0.3rem 0.5rem;
  text-align: left;
  font-size: 1rem;
  color: #212121;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.autoComplete_wrapper>ul>li mark {
  background-color: transparent;
  color: rgba(255, 122, 122, 1);
  font-weight: bold;
}

.autoComplete_wrapper>ul>li:hover {
  cursor: pointer;
  background-color: rgba(123, 123, 123, 0.1);
}

.autoComplete_wrapper>ul>li[aria-selected="true"] {
  background-color: rgba(123, 123, 123, 0.1)
}

@media only screen and (max-width: 600px) {
  .autoComplete_wrapper>input {
    width: 100%;
  }
}

/* scrollbar */

.autoComplete_wrapper ::-webkit-scrollbar {
  width: 10px;
}

.autoComplete_wrapper ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.autoComplete_wrapper ::-webkit-scrollbar-thumb {
  margin-top: 2px;
  background: #c1c1c1;
  border-radius: 5px;
}

.autoComplete_wrapper ::-webkit-scrollbar-thumb:hover {
  background: #aaaaaa;
}

.autoComplete_wrapper ul li span:last-of-type {
  text-transform: none !important;
  font-size: 16px !important;
  font-weight: 300 !important;
}

/* dgs / abo shop / tailwind 3 erweiterungen */

#checkout-wrapper.tw-form-wrapper-autocomplete .autoComplete_wrapper {
  padding-bottom: 0;
}


/* bw agrar / yaml erweiterungen */

.ym-fbox .autoComplete_wrapper ul {
  margin-top: 2rem;
}

.ym-fbox .autoComplete_wrapper {
  padding-bottom: 0;
}