[class^=ais-] {
  box-sizing: border-box !important;
}

#hits,
#pagination,
#clear-refinements {
  width: 100%;
}

#clear-refinements {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  flex-direction: column;
  align-items: center;
}

.ais-Hits-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

button[type="submit"] {
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  min-width: 191px;
  cursor: pointer;
  text-align: center;
  padding: 10px 15px;
}

button.ais-RefinementList-showMore {
  background-image: linear-gradient(#f7f8fa, #e7e9ec);
  border-color: #adb1b8 #a2a6ac #8d9096;
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  box-shadow: rgba(255, 255, 255, .6) 0 1px 0 inset;
  box-sizing: border-box;
  color: #0f1111;
  cursor: pointer;
  display: inline-block;
  height: 29px;
  font-size: 13px;
  outline: 0;
  overflow: hidden;
  padding: 0 11px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  margin-top: 10px;
}

button.ais-RefinementList-showMore:active {
  border-bottom-color: #a2a6ac;
}

button.ais-RefinementList-showMore:active:hover {
  border-bottom-color: #a2a6ac;
}

button.ais-RefinementList-showMore:hover {
  border-color: #a2a6ac #979aa1 #82858a;
}

button.ais-RefinementList-showMore:focus {
  border-color: #0075ff;
  box-shadow: rgb(0 117 255) 0 0 3px 2px;
  outline: 0;
}

/** Searchbox */
#searchbox,
.keyword-search-holder .ais-SearchBox-form {
  width: 100%;
}

.ais-SearchBox-form input[type="search"] {
  flex: 1;
  margin-bottom: 0;
}

.ais-SearchBox-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.ais-SearchBox-input {
  height: 48px;
  border-radius: 4px;
  border: 1px solid #cecece;
  background-color: #fff;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 200;
  width: 100%;
  margin-bottom: 24px;
  outline: none;
}

.ais-SearchBox-reset {
  order: 1;
  position: relative;
  left: -30px;
}

.ais-SearchBox-submit {
  order: 2;
  display: block;
  margin: 0 0 0 24px;
  width: auto;
  height: 48px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  vertical-align: top;
  border-radius: 5px;
  background-color: #ffce11;
}

.ais-RefinementList-count {
  padding: 1px 5px;
  font-size: 11px;
  color: #000;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #ccc;
}

/** Checkboxes */
.ais-RefinementList-label,
.ais-NumericMenu-label {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
}

.ais-RefinementList-labelText,
.ais-NumericMenu-labelText {
  font-size: 16px;
  color: #737373;
  font-weight: 600;
  padding-left: 20px;
  width: 100%;
}

.result-type span,
.project-info li:last-child > span {
  display: block;
}

.result-type span {
  display: inline-block;
}

.result-type span:first-letter,
.ais-NumericMenu-labelText:first-letter,
.ais-RefinementList-labelText:first-letter,
.project-info li:last-child > span:first-letter {
  text-transform: capitalize !important;
}

.ais-RefinementList-checkbox,
.ais-NumericMenu-radio {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #cecece;
  background-color: #fff;
}

/** Pagination */
.ais-Pagination-item--selected a.ais-Pagination-link {

}

.ais-Pagination-item--disabled {
  display: none;
}

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

.ais-RefinementList-searchBox {
}

