.react-autosuggest__container {
  position: relative;
  flex-grow: 1;
}

.react-autosuggest__input {
  border: 1px solid rgb(241, 242, 245);
  border-right-width: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: rgb(39, 40, 51);
  font-weight: 400;
  height: 2.5rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1rem;
  flex-grow: 1;
  width: 100%;
}

.react-autosuggest__input:focus {
  border: 1px solid rgb(0, 80, 158);
}

.react-autosuggest__container--open .react-autosuggest__input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest__suggestions-container {
  display: none;
}

.react-autosuggest__container--open .react-autosuggest__suggestions-container {
  display: block;
  position: absolute;
  top: 40px;
  width: 100%;
  border: 1px solid rgb(241, 242, 245);
  background-color: #fff;
  font-weight: 300;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 10;
}

.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.react-autosuggest__suggestion:not(:first-child) {
  border-top: 1px solid #ddd;
}

.react-autosuggest__suggestion--highlighted {
  background-color: #0c7eaf;
  color: #fff;
}

.suggestion-content {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
}

#ntnu-search-bar .highlight {
  color: #a00;
  background: transparent;
  font-weight: normal;
}

.react-autosuggest__suggestion--focused .highlight {
  color: #120000;
}

.custom-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.result-text {
  font-size: 14px;
  line-height: 20px;
}

.result-item {
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.snurre {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.snurre:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid rgb(241, 242, 245);
  border-color: rgb(241, 242, 245) transparent rgb(241, 242, 245) transparent;
  animation: snurre 1.2s linear infinite;
}
@keyframes snurre {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}