.cm-form{
  &.cm-form-inline{
    .cm-form-group{
      display: inline-block;
    }
  }
  &.cm-form-stack{
    .cm-form-label{
      margin-bottom: 5px;
    }
    .cm-tooltip-helper{
      display: block;
      width: 100%;
    }
    .cm-select,
    .cm-datetime,
    .cm-upload,
    .cm-input{
      width: 100%;
    }
    .cm-spinner{
      width: 100%;
      margin: 0;
    }
    .cm-radio-group,
    .cm-checkbox-group{
      line-height: 26px;
    }
    .cm-select .cm-select-value{
      max-width: 100%;
    }
    .cm-form-group-inputnumber,
    .cm-form-group-radio,
    .cm-form-group-checkbox{
      .cm-tooltip-helper{
        display: inline-block;
        width: auto;
      }
    }
  }
  &.cm-form-stack-inline{
    .cm-form-group{
      position: relative;
    }
    .cm-form-label{
      position: absolute;
      height: 100%;
      line-height: 25px;
      left: 0;
    }
    .cm-tooltip-helper{
      display: inline-block;
      width: 100%;
    }
    .cm-select,
    .cm-datetime,
    .cm-upload,
    .cm-input{
      width: 100%;
    }
    .cm-spinner{
      width: 100%;
      margin: 0;
    }
    .cm-radio-group,
    .cm-checkbox-group{
      line-height: 26px;
    }
    .cm-select .cm-select-value{
      max-width: 100%;
      min-width: auto;
    }
    .cm-form-group-inputnumber,
    .cm-form-group-radio,
    .cm-form-group-checkbox{
      .cm-tooltip-helper{
        display: inline-block;
        width: auto;
      }
    }
    .cm-form-group.cm-form-group-stick .cm-form-label{
      position: absolute;
      top: 0;
    }
  }

  .cm-form-row{
    margin-bottom: 10px;
    .cm-form-group{
      margin-bottom: 0;
    }
  }
}