.form-group {
    margin-bottom: 1rem;

    .col-form-label {
        @include own-col();
        @include own-col-width(sm, 3);
        @include own-col-width(xl, 2);

        font-size: $default-font-size;
        @include display-flex();
        align-items: center;
        padding-bottom: 0;
        padding-top: 0;

        min-width: 200px;
    }

    .input-wrapper {
        @include own-col();

        font-size: $default-font-size;
        @include display-flex();
        align-items: center;

        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        max-width: 100%;
        -ms-flex-positive: 1 !important;
        flex-grow: 1 !important;

        .form-check:not(:first-child) {
            margin-left: 20px;
        }
    }

    .form-control {
        font-size: $default-font-size;
        height: $form-control-height;
    }

    .static-text {
        display: block;
        width: 100%;
        font-size: $default-font-size;
        height: $form-control-height;
        padding: 0.375rem 0.75rem;
        line-height: 1.5;
    }

    .short {
        max-width: 200px;

        @include media-breakpoint-up(xl) {
            max-width: 300px;
        }
    }

    &.has-error {
        .col-form-label {
            color: $form-error-color;
        }

        .input-wrapper {
            input {
                border-color: $form-error-color;
            }

            .error-info {
                color: $form-error-color;
            }
        }
    }
}

.form-wrapper {
    @media (min-width: 576px) {
        margin-left: 3rem !important;
        margin-right: 3rem !important;
    }
}

table,
.table {
    font-size: $default-font-size;

    .table-input {
        height: 32px;
    }

    th,
    td {
        white-space: nowrap;
    }
}

dl.dl {
    font-size: $default-font-size;

    dt {
        font-weight: 500;
        padding-top: 5px;

        &::after {
            content: ":";
        }
    }

    dd {
        padding-top: 5px;
    }

    @include media-breakpoint-up(sm) {
        dt {
            float: left;
            width: 180px;
            overflow: hidden;
            clear: left;
            text-align: left;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        dd {
            margin-left: 200px;
        }
    }
}