@import "../../scss/mnd-bootstrap/variables/variables";

$font-source-sans-pro: $font-family-sans-serif;

.mnd-ui-c-search-field .has-feedback .form-control {
  padding-right: 0.75rem;
  padding-left: 2.5rem;
}

.mnd-ui-c-search-field .form-control-feedback {
  left: 0;
  z-index: 6;
  line-height: 2.75rem;
}

.mnd-ui-c-search-field {
  margin: 0 0 0.5rem;
}

.mnd-ui-c-search-field input.form-control,
.mnd-ui-c-search-field .input-group .form-control:not(:first-child):not(:last-child) {
  height: 2.75rem;
  border: 1px solid $color-gray-4000;
  border-radius: 0.25rem 0 0 0.25rem;
  background-color: $color-white;
  color: $color-gray-1000;
  font-family: $font-source-sans-pro;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem 1rem;
  padding-left: 2.5rem;
}

.mnd-ui-c-search-field input.form-control:focus,
.mnd-ui-c-search-field .input-group .form-control:not(:first-child):not(:last-child):focus,
.mnd-ui-c-search-field .input-group input.form-control:focus {
  border: 1px solid $color-gray-2000;
  background-color: $color-gray-6000;
  box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

.mnd-ui-c-search-field .btn {
  color: $color-gray-1000;
  font-family: $font-source-sans-pro;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1rem;
  height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mnd-ui-c-form-field__active-field .btn {
  border: 1px solid $color-gray-2000;
}

.mnd-ui-c-search-field .btn:focus {
  outline: none;
}

.mnd-ui-c-form-field__feedback-icon {
  width: 2.5rem;
  text-align: center;
}
