.#{$prefix}form-checkboxgroup-body {
    padding: $form-checkboxgroup-body-padding;
}

.#{$prefix}form-invalid {
    .#{$prefix}form-checkboxgroup-body {
        border: 1px solid $form-field-invalid-border-color;
        @if not is-null($form-field-invalid-background-image) {
            background-image: theme-background-image($form-field-invalid-background-image);
            background-repeat: $form-field-invalid-background-repeat;
            background-position: $form-field-invalid-background-position;
        }
    }
}

.#{$prefix}check-group-alt {
    background: $form-checkboxgroup-alt-background;
    border-top: $form-checkboxgroup-alt-border-top;
    border-bottom: $form-checkboxgroup-alt-border-bottom;
}

.#{$prefix}form-check-group-label {
    color: $form-checkboxgroup-label-color;
    padding: $form-checkboxgroup-label-padding;
    margin: $form-checkboxgroup-label-margin;
    border-width: $form-checkboxgroup-label-border-width;
    border-style: $form-checkboxgroup-label-border-style;
    border-color: $form-checkboxgroup-label-border-color;
}

@if $include-rtl {
    .#{$prefix}rtl.#{$prefix}form-check-group-label {
        margin: rtl($form-checkboxgroup-label-margin);
    }
}
