.form-group-wrapper { margin-bottom: -12px; }
.form-group {
  margin: 0 0 12px;
  padding: 0;
}

label.control-label {
  color: map-get($forms, 'label-control-color');
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 2px;
  min-height: 18px;
}
.col-inline-label,
.required-label {
  color: map-get($forms, 'label-color');
  font-size: 14px;
  font-weight: normal;
  line-height: 16px;
  padding: 7px 0;
}
.required-label { color: map-get($forms, 'label-required-color'); }

.form-control {
  background: map-get($forms, 'bg');
  color: map-get($forms, 'color');
  border-color: map-get($forms, 'border-color');
  border-width: map-get($forms, 'border-width');
  border-radius: map-get($forms, 'border-radius');

  box-shadow: none !important;
  height: 30px;
  line-height: 20px;
  padding-bottom: 4px;
  padding-top: 4px;
}
.has-error .form-control { border-color: map-get($forms, 'border-error-color') };
.has-success .form-control:focus { border-color: map-get($forms, 'border-success-color') };
.form-control.not-bordered {
  border: 0 !important;
}

.form-control.readonly,
.form-control[readonly] {
  background-color: map-get($forms, 'readonly-bg') !important;
  color: map-get($forms, 'readonly-color') !important;
  opacity: 1;
}

.form-control.disabled,
.form-control[disabled] {
  background-color: map-get($forms, 'disabled-bg') !important;
  color: map-get($forms, 'disabled-color') !important;
  opacity: 1;
}

.form-control-static  {
  color: map-get($forms, 'control-static-color');
  font-size: 12px;
  line-height: 18px;
  min-height: 18px;
  padding: 0;
  &--item { margin-bottom: 5px; }
  em { color: #959595; }
  a {
    color: map-get($forms, 'control-static-color');
    text-decoration: underline;
    &:hover { text-decoration: none; }
  }
}
.next-separate {
  color: #9393a0;
  display: inline-block;
  padding: 0 7px;
}
select.input-sm { line-height: 20px; }

.select-option {
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  padding: 0 2px 1px;
  &.active { background: #f3f3f3; }
}
.is-not-touch-device .select-option:hover { background: #f3f3f3; }
.select-option-text {
  display: inline-block;
  line-height: 16px;
  vertical-align: middle;
  color: #3c3c3c;
  font-size: 14px;
}

.non-edit-value {
  line-height: 30px;
  min-height: 30px;
  .btn + span { margin-left: 5px; }
}
.input-group { width: 100%; }
.input-group .input-group-btn .btn { border-right-width: 0; }

.input-holder { position: relative; }
textarea.textarea-big,
select.textarea-big,
.textarea-big {
  height: 101px;
  overflow-y: auto;
}

.uib-daypicker:focus { outline: none !important; }


@include respond-from(xs) {
  .form-group-wrapper { margin-bottom: -17px; }
  .form-group { margin: 0 0 17px; }
  label.control-label {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .form-control-static  { font-size: 14px; }
}

.inner-addon {
  position: relative;
  .addon {
    height: 30px;
    left: 0;
    line-height: 30px;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 0;
    width: 30px;
    z-index: 1;
    color: map-get($forms, 'addon-color');
  }
  &.addon-left {
    .addon { left: 0; }
    input { padding-left: 30px; }
  }
  &.addon-rigth {
    .addon {
      left: auto;
      right: 0;
    }
    input { padding-right: 30px; }
  }
}
.input-sm { font-size: 14px; }
