
.create-record-type-modal, .create-record-entry-modal {
    width: 900px;
    /*height: 500px; needs height, auto-overflow, etc. */
}

.create-question-widget + .create-question-widget {
    margin-top: 30px;
}

/** Line Matrix */
.line-matrix-row-inputs {
    /*display: table-row;*/
    display: flex;
    width: 100%;
}

.line-matrix-row-cell {
    /*display: table-cell;*/
    flex-grow: 1;
    /*width: 20%;*/
    vertical-align: top;
}
.line-matrix-question-container {

}

/** Cascading */
.cascading-row-inputs {
    /*display: table-row;*/
    /*display: flex;*/
    /*width: 100%;*/
}

.cascading-row-cell {
    /*display: table-cell;*/
    /*flex-grow: 1;*/
    /*width: 20%;*/
    /*vertical-align: top;*/
}
.cascading-question-container {
    /** Todo: improve the styling, make look like a panel? or make into a panel? */
    border: 1px black solid;
}

/**
 */

.cascading-line-display {
    display: flex;
    width: 100%;
}
.record-value-display-line-container {
    width: 100%;
}
.field-input-row-actions-cell {
    width: 100px;
}
.display-record-value-row {
    /*display: table-row;*/
    display: flex;
    width: 100%;
}

.display-record-cell {
    /*display: table-cell;*/
    flex-grow: 1;
    /*width: 20%;*/
    vertical-align: top;
    flex-basis: 0;
    min-height: 40px;

    box-shadow:
            2px 0 0 0 #ccc,
            0 2px 0 0 #ccc,
            2px 2px 0 0 #ccc,   /* Just to fix the corner */
            2px 0 0 0 #ccc inset,
            0 2px 0 0 #ccc inset;
}
.display-record-cell.display-subrecord-cell-array {
    flex-grow: 2 !important;;
}
.display-record-cell:not(.display-subrecord-cell-array) {
    padding: 5px;
}

/** Workflows adjustment for wider containers*/
.workflows-page .container-xl {
    max-width: 1460px !important;
}
.create-document-page .container-xl, .create-document-widget-xl {
    max-width: 1460px !important;
}
/*
.line-matrix-row-cell .container, .line-matrix-row-cell .small-margins, .line-matrix-row-cell .form-control {
    margin: 0 !important;
    padding: 0 !important;
}*/


/** Todo: **/
.record-display-row-edit-modal-container:first-child {
    margin-bottom: 0 !important;
}
.record-display-row-edit-modal-container + .record-display-row-edit-modal-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.record-display-row-edit-modal-container:last-child {
    /*margin-bottom: 30px !important;*/
}

/** Field Input Inline Edit Array **/
.field-input-inline-edit-array-container {

}
.field-input-inline-edit-array-record-form-container {
    border: 2px #ccc solid;
    border-radius: 4px;
}