.form-horizontal {
  .form-group {
    margin-left: 0;
    margin-right: 0;

    &-label {
      padding-right: 0;
      margin-bottom: 0;
    }

    .help-block {
      margin-bottom: 0;
    }

    .control-label {
      padding-right: 0;
    }
  }

  .form-group-label .control-label {
    width: 100%;
  }

  .col-input {
    .input {
        &-checkbox,
        &-range {
            padding-top: (@padding-base-vertical + 1)
        }
    }
    .toggle.btn-xs {
        top: (@padding-base-vertical - @padding-xs-vertical)
    }
    .toggle.btn-sm {
        top: (@padding-base-vertical - @padding-small-vertical)
    }
  }
}

.form-editor-container {
  margin-top: 15px;
}

.form-error-container {
  &-bottom {
    margin-top: 20px;
    margin-bottom: -20px;
  }
}

.form-horizontal .col-input {
  min-height: @input-height-base;
}

.form-collection-actions {
  margin-bottom: 15px;
}

.input-checkbox {
  display: inline-block;
  margin-right: 4px;
}

.form-horizontal .input-checkbox {
  display: block;
  margin-right: 0;
}

.form-control-nested-form {
  .select2-choice, .select2-choices {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.form-static {
  .form-group {
    margin-bottom: 0;
  }

  .control-label {
    margin-bottom: 0;
  }

  &:not(.form-horizontal) .form-control-static {
    padding-top: 0;
  }
}

#form-group-fields-to-be-updated {
    margin-bottom: 0;

    hr {
        margin-top: 15px;
        margin-bottom: 15px;    
    }

    .select2-choices {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
    }

    .input-group-addon {
        cursor: pointer;
    }
}

.form-add-another-record {
    margin-top: 20px;
}

.form-tabs-container {
    margin: 0 5px 20px 5px;
}

.signature-pad {
  height: auto;
  position: relative;
    
  canvas {
    border: 1px solid @input-border;
    border-radius: @input-border-radius;
  }
}

.pgui-toggle-checkbox {
  display: none;
}

