/**
 * Copyright [yyyy] [name of copyright owner]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.autoComplete_wrapper {
  display: block;
  position: relative;
}

.autoComplete_wrapper > input {
  height: 42px;
  width: 100%;
  /* width: 370px; */
  margin: 0;
  padding: 0 30px 0 50px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-size: 15px;
  text-overflow: ellipsis;
  color: #00397c;
  outline: none;
  border-radius: 25px;
  border: 2px solid #00397c;
  background-image: url(./images/search.svg);
  background-size: 1.4rem;
  /* background-position: left 1.05rem top 0.8rem; */
  background-position: 15px center;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-color: #fff;
  transition: all 0.4s ease;
  -webkit-transition: all -webkit-transform 0.4s ease;
}

.autoComplete_wrapper > input::placeholder {
  color: #00397c;
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:hover::placeholder {
  /* color: #112f7a0f; */
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:focus::placeholder {
  padding: 0.1rem 0.6rem;
  font-size: 14px;
  color: #00397c;
}

.autoComplete_wrapper > input:focus::selection {
  background-color: #00397c;
}

.autoComplete_wrapper > input::selection {
  background-color: #00397c;
}

.autoComplete_wrapper > input:hover {
  /* color: #003a7c31; */
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:focus {
  color: #00397c;
  /* border: 0.06rem solid #00397c; */
}

.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: 0.6rem; */
  background-color: #fff;
  border: 1px solid #767676;
  box-shadow: 0 3px 10px rgba(149, 157, 165, 1);
  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;
}

.autoComplete_wrapper > ul[hidden],
.autoComplete_wrapper > ul:empty {
  display: block;
  opacity: 0;
  transform: scale(0);
}

.autoComplete_wrapper > ul > li {
  /* margin: 0.3rem; */
  padding: 5px 10px;
  text-align: left;
  font-size: 15px;
  color: #212121;
  /* border-radius: 0.35rem; */
  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: #00397c;
  font-weight: bold;
}

.autoComplete_wrapper > ul > li:hover {
  cursor: pointer;
  color: #fff;
  background-color: #1E90FF;
}

.autoComplete_wrapper > ul > li[aria-selected="true"] {
  background-color: #00397c;
}

/* @media only screen and (max-width: 600px) {
  .autoComplete_wrapper > input {
    width: 18rem;
  }
} */
