/* Search box */

#sidebar > .active {
  color: rgb(32 38 210 / var(--tw-text-opacity));
  font-weight: 600;
}
.ais-SearchBox-form {
  display: flex !important;
  gap: 7px;
}
.ais-SearchBox-input {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 28px 6px 52px !important;
  border-radius: 8px !important;
  position: relative;
  height: 50px;
  width: 100%;
  position: left;
  padding-left: 10px;

  background-image: url(https://website-assets.atlan.com/img/search-icon.svg);
  border: 1px solid #a9a9a9;
  background-position: 4%;
  background-repeat: no-repeat;
}

.ais-SearchBox-submit {
  display: none;
}
.ais-SearchBox-reset {
  display: none;
}
.ais-SearchBox-loadingIndicator {
  display: none;
}

.ais-SearchBox-input::placeholder {
  color: #9d9db6;
  font-size: 16px !important;

  opacity: 1; /* Firefox */
}

.ais-SearchBox-input::-webkit-search-cancel-button {
  /* Remove default */
  -webkit-appearance: none;

  /* Add own custom styles */
  height: 17px;
  width: 17px;
  display: block;
  background-image: url(https://website-assets.atlan.com/img/cross.png);
  /* setup all the background tweaks for our custom icon */
  background-repeat: no-repeat;
  cursor: pointer;
  /* icon size */
  background-size: 16px;
}

/* Hits */

.ais-Hits-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  row-gap: 10px;
}

.hit {
  color: #21243d;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: 150px;
}

.hit h1 {
  font-size: 16px;
  margin-top: 30px;
}

.hit-category {
  color: #21243d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.7;
  text-transform: uppercase;
}

.hit-description {
  margin-top: 2px;
}

.hit-info-container {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* .hit-image {
  height: auto;
  max-height: 100%;
  max-width: 100%;
} */

.hit-em {
  color: #e2a400;
  font-size: 11px;
  font-weight: 600;
}

.hit-rating {
  border: 1px solid rgba(226, 164, 0, 0.5);
  border-radius: 4px;
  margin-left: 4px;
  padding: 0 4px;
}

.hits-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 300px;
}

.hits-empty-state-title {
  font-family: "Avenir", Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
  text-align: center;
}

.hits-empty-state-description {
  color: rgba(35, 37, 51, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

.ais-Highlight > .ais-Highlight-highlighted {
  background-color: #dee0fa !important;
}
.ais-Highlight-highlighted {
  background: #dee0fa !important;
}
.ais-InfiniteHits-loadMore {
  margin-left: 37%;
  color: #2026d2;
  margin-bottom: 5%;
}
