.remote-search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* padding: 10px;  */
  /* margin: 10px; */
  font-family: Arial, Helvetica, sans-serif;
}

.remote-search-box input {
  border: 1px solid lightgray;
  height: 1.5rem;
  font-size: 1.2rem;
  padding-block: 0.2rem;
  padding-left: 0.7rem;
  /* this serves to also give the space for the spinner */
  padding-right: 2.5rem;
  border-radius: 0.3rem;
  box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
}

.remote-search-box input:focus {
  outline: none;
}

.remote-search-box > .list-box {
  background-color: white;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  border: 1px solid lightgray;
  z-index: 9999;
  border-radius: 0.2rem;
  box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 7px 8px 8px -8px rgba(0, 0, 0, 0.75);
}

.remote-search-box > .list-box > ul {
  list-style-type: none;
  padding: 0;
  margin: 0.3rem 0.3rem;
}

.remote-search-box > .list-box > ul > li {
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.remote-search-box > .list-box > ul > li:not(:last-child) {
  /* padding-bottom: 0.7rem; */
}

.remote-search-box > .list-box > ul > li:hover {
  background-color: rgb(230, 230, 230);
}


.remote-search-highlight-match {
  text-decoration: underline;
  font-weight: bold;
}

/* SPINNER when loading results */

.remote-search-box > .input-box > .loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgb(107, 107, 107);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.remote-search-box .loader.hide {
  display: none;
}

.remote-search-box .list-box.hide {
  display: none;
}
