@import 'variables';

.search-bar {
  -webkit-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
  -moz-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
  box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
  border: 1px solid $gray-lighter;
  padding: 10px;
  border-radius: 5px;
  height:48px;
}
.search-bar:focus-within {
  border: 2px solid $brand-color-2;
}
.input-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.input-container button {
  height: 24px;
  width: 24px;
  border: none;
  background-color: $gray-light;
  -webkit-mask-image: url('/static/images/icons/Search.svg');
  mask-image: url('/static/images/icons/Search.svg');
}
.input-container input {
  cursor: text;
  font-family: $font-family-sans-serif-bold;
  font-weight: $font-weight-sans-serif-bold;
  width: 100%;
  height: 24px;
  margin-left: 12px;
  font-size: 16px;
  background-color: transparent;
  border: none;
}
.input-container input:focus {
  outline: none;
}

.subtext {
  color: $gray-light;
  font-size: 14px;
  margin-top: 8px;
  height: 32px;
}

.error {
  color: red;
}
