#autoComplete_wrapper {
  position: relative;
  display: inline-block;
}

#autoComplete {
  box-shadow: 0 2px 15px 0 rgba(0,0,0,.13);
  position: relative;
  padding: 0 2rem 0 3.5rem;
  height: 4.1rem;
  width: 100%;
  font-size: 15px;
  outline: none;
  border-radius: 3px;
  border: 0.05rem solid rgba(255, 122, 122, 0);
  caret-color: #898F95;
  color: rgba(255, 255, 255, 0);
  background-image: url(./images/magnifier.svg);
  background-repeat: no-repeat;
  background-size: 1.7rem;
  background-origin: border-box;
  background-position: center;
  transition: all 0.4s ease;
  -webkit-transition: all -webkit-transform 0.4s ease;
  text-overflow: ellipsis;
  margin-bottom: 0px;
}

#autoComplete::placeholder {
  color: rgba(255, 122, 122, 0);
  transition: all 0.3s ease;
}

#autoComplete:hover::placeholder {
  color: rgba(255, 122, 122, 0.3);
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete:focus::placeholder {
  padding: 0 2rem 0 3.5rem;
  font-size: 15px;
  color: rgba(255, 122, 122, 0.3);
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete::selection {
  color: transparent;
}

#autoComplete:focus::selection {
  color: #fff;
  background-color: #2d3067;
}

#autoComplete:hover {
  padding: 0 2rem 0 3.5rem;
  color: #2d3067;
  width: 100%;
  background-image: url(./images/magnifier.svg);
  background-size: 1.7rem;
  background-position: right 1.05rem top 1.1rem;
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete:focus {
  padding: 0 2rem 0 3.5rem;
  color: #2d3067;
  height: 4.1rem;
  width: 100%;
  border: 0.05rem solid rgba(255, 122, 122, 0);
  background-image: url(./images/magnifier.svg);
  background-size: 1.7rem;
  background-position: right 1.05rem top 1.1rem;
  box-shadow: rgba(255, 122, 122, 0.1) 0px 0px 20px 5px;
}

#autoComplete_list {
  position: absolute;
  z-index: 1000;
  padding: 0;
  left: 0;
  right: 0;
  /* margin-top: 0; */
  margin-top: -8px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.1s ease-in-out;
  -webkit-transition: all -webkit-transform 0.1s ease;
  width: 100%;
  box-shadow: 0 14px 15px -3px rgba(0,0,0,.13);
}

.autoComplete_result {
  margin: 0px auto;
  padding: 10px;
  max-width: 100%;
  border-bottom: 0.05rem solid #e3e3e3;
  list-style: none;
  text-align: left;
  font-size: 1.1rem;
  color: rgb(123, 123, 123);
  transition: all 0.1s ease-in-out;
  background-color: #fff;
}

.autoComplete_result::selection {
  color: rgba(#ffffff, 0);
  background-color: rgba(#ffffff, 0);
}

.autoComplete_result:last-child {
  border-radius: 0rem;
}

.autoComplete_result:hover {
  cursor: pointer;
  background-color: #ffffff;
  border-left: 2px solid #2d3067;
  border-right: 2px solid #2d3067;
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
}

.autoComplete_result:focus {
  outline: none;
  background-color: #ffffff;
  border-left: 2px solid #2d3067;
  border-right: 2px solid #2d3067;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.no_result {
  margin: 0px auto;
  padding: 10px;
  max-width: 100%;
  border-bottom: 0.05rem solid #e3e3e3;
  list-style: none;
  text-align: left;
  font-size: 1.1rem;
  color: rgb(123, 123, 123);
  transition: all 0.1s ease-in-out;
  background-color: #fff;
}

.autoComplete_highlighted {
  opacity: 1;
  color: #2d3067;
  font-weight: bold;
}

.autoComplete_highlighted::selection {
  color: rgba(#ffffff, 0);
  background-color: rgba(#ffffff, 0);
}

.autoComplete_selected {
  cursor: pointer;
  background-color: #ffffff;
  border-left: 2px solid #2d3067;
  border-right: 2px solid #2d3067;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

@media only screen and (max-width: 600px) {
  #autoComplete {
    width: 100%;
  }

  #autoComplete:focus {
    width: 100%;
    background-size: 1.7rem;
    background-position: right 1.05rem top 1.1rem;
  }

  .autoComplete_result:first-child {
    border-radius: 0px;
  }

  .autoComplete_result:last-child {
    border-radius: 0px;
  }

  .autoComplete_result:only-child {
    border-radius: 0px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #autoComplete {
    border-width: 1px;
  }

  #autoComplete:hover {
    border-width: 1px;
  }

  #autoComplete:focus {
    border-width: 1px;
  }
}

@-moz-document url-prefix() {
  #autoComplete {
    border-width: 1px;
    background-size: 1.2rem;
    background-origin: border-box;
    background-position: center;
  }

  #autoComplete:hover {
    border-width: 1px;
  }

  #autoComplete:focus {
    border-width: 1px;
    background-position: right 1.05rem top 1.1rem;
  }
}
