.jb-search {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;

}

.jb-search--hero {
  background: rgba(217, 30, 46, .70);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.jb-search__title {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.jb-search__title span {
  text-wrap: nowrap;
}


.jb-search__field {
  display: flex;
  align-items: center;
  margin-bottom: .85rem;
  padding: .2rem 0.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}

.jb-search__field:last-child {
  margin-bottom: 0;
}

.jb-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.jb-search__icon i {
  font-size: 1.7rem;
  color: #666;
}

.jb-search__input {
  flex: 1;
}

.jb-search__input input,
.jb-search__input select {

  width: 90%;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  border: none !important;
  outline: 0;
  background: transparent;
  box-shadow: none;
  background-color: none;
  font-size: 1rem;
  font-weight: 700;
}

.jb-search__input input:focus,
.jb-search__input select:focus {
  outline: none;
  box-shadow: none;
}

.jb-search__hint {
  display: block;
  margin-top: .1rem;

  font-size: .72rem;
  color: #777;
}

.jb-search button {
  background-color: white;

  font-weight: bold;
}



.jb-search--horizontal {
  max-width: 990px;
  margin: 0 auto 3rem;
  padding: 0;
  background: rgba(217, 30, 46, .70);
}

.jb-search--horizontal form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.jb-search--horizontal .jb-search__field {
  margin-bottom: 0;
}

.jb-search--horizontal .jb-search__submit {
  min-width: 180px;
  height: 52px;
  white-space: nowrap;
}

@media (max-width:991.98px) {

  .jb-search--horizontal form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .jb-search--horizontal .jb-search__submit {
    width: 100%;
  }

}


@media (max-width:767.98px) {

  .jb-search--horizontal form {
    grid-template-columns: 1fr;
  }

}