/* --------------------------
 * ### SEARCH
 * -------------------------- */

 .search {
  padding: 1em 0;
}
  
.search-form {
  position: relative;
  margin: 0 auto;
}
  
.search input[type="text"] {
  border: none;
  background: red;
  width: 200px;
  margin-left: 1em;
  padding: 0.5em 1em;
  color: black;
}
  
.search-inputContainer.js-is-loading::after {
  animation: expandWidth 0.5s infinite linear alternate-reverse;
}
  
@keyframes expandWidth {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
} 
  
.search input[type="text"]:focus,
.search button:focus {
  outline: none;
}
  
.search-reset,
.search-search {
  position: absolute;
  right: 1em;
  top: 0.55em;
  background: transparent;
  border: none;
  padding: 0;
  -webkit-appearance: none;
}

.search-reset {
  width: 0.85em;
  height: 0.85em;
  top: 0.65em;
}

.search-search {
  width: 1em;
  height: 1em;
}
  
.search-search svg,
.search-reset svg {
  fill: #eee;
  opacity: 1;
  position: relative;
  top: 0.5em;
}
    
.search-results {
  background: #283330;
  opacity: 1;
  transition: all 0.2s linear;
  position: absolute;
  top: 5em;
  right: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100000;
  color: #eee;
}
  
.search-results.js-is-hidden {
  opacity: 1;
}
  
.search-results ul {
  padding: 0;
  margin: 0;
}

.search-results ul li {
  color: #eee;
  display: block;
}
  
.search-results ul li a {
  display: block;
  text-decoration: none;
  color: #eee;
  opacity: 1;
  padding: 1em;
}
  
.search-results li:not(:last-child) {
  border-bottom: 1px solid black;
}
  
.search-results ul li.js-is-active a,
.search-results ul li:hover a,
.search-results ul li a:active {
  border: none;
  color: black;
}
  
.search-results ul li:hover {
  border-bottom: 1px solid black;
  background: #8FB7A5;
}

.search-results ul li:last-child:hover {
  border-bottom: none;
} 



