/* ===========
   Form Elements
 =============*/

label {
  font-weight: 500;
}

.form-control {
  resize: none;
  border: 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(128, 137, 142, 0.8);
  border-radius: 0 !important;
  padding: 7px 12px 7px 0;
  height: 38px;
  max-width: 100%;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all 300ms linear;

  &:focus {
    border-bottom: 1px solid $primary;
    box-shadow: 0 1px 0 $primary;
    outline: 0 !important;
    background-color: transparent;
  }
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: $white;
}

.input-group-addon {
  border-radius: 0;
  border: 0;
  font-size: 18px;
  background-color: transparent;
}

select[multiple], select[size] {
  height: auto;
}


.input-sm {
  height: 30px;
}

.input-group-btn {
  .btn {
    padding: 7px 14px;
  }
}

.has-success {
  .form-control {
    border-color: $success;
    box-shadow: none !important;
  }
}

.has-warning {
  .form-control {
    border-color: $warning;
    box-shadow: none !important;
  }
}

.has-error {
  .form-control {
    border-color: $danger;
    box-shadow: none !important;
  }
}

.input-group-addon {
  border-radius: 2px;
}