.transition,
.autocomplete,
.showAll-transition,
.autocomplete ul,
.autocomplete ul li a {
  transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
}

.autocomplete ul {
  position: absolute;
  list-style: none;
  background: #f8f8f8;
  padding: 10px 0;
  margin: 0;
  display: inline-block;
  min-width: 15%;
  margin-top: 10px;
}

.autocomplete ul:before {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  width: 0;
  border: 10px solid transparent;
  border-bottom: 10px solid #f8f8f8;
  right: 46%;
  top: -20px
}

.autocomplete ul li a {
  text-decoration: none;
  display: block;
  background: #f8f8f8;
  color: #2b2b2b;
  padding: 1px;
  padding-right: 10px;
}

.autocomplete ul li a:hover,
.autocomplete ul li.focus-list a {
  color: white;
  background: #2F9AF7;
}

.autocomplete ul li a span {
  display: block;
  margin-top: 3px;
  color: grey;
}

.autocomplete ul li a:hover span,
.autocomplete ul li.focus-list a span {
  color: white;
}

.showAll-transition {
  opacity: 1;
  height: 30px;
  overflow: hidden;
}

.showAll-enter {
  opacity: 0.3;
  height: 0;
}

.showAll-leave {
  display: none;
}