.form-title {
    margin-bottom: 25px;
}

.flex-item,
.flex-error {
    color: #333333;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-item {
    margin-bottom: 15px;
}

.flex-full-width-error,
.flex-full-width-item {
    flex: 1 1 auto;
    max-width: 790px;
}

.flex-full-width-item {
    margin-bottom: 15px;
}

.flex-item > label,
.upload-file-label,
.past-transfer-label {
    font-style: italic;
}

.flex-error > label,
.flex-item > label {
    flex: 0 1 180px;
    text-align: right;
    padding-right: 10px;
}

.flex-item > input:not([type='checkbox']),
.flex-item > textarea {
    flex: 1 1 auto;
    max-width: 600px;
    border-radius: 3px;
    border: 1px solid #919191;
    padding: 2px 2px 2px 2px;
    background-color: #f9f9f9;
}

.flex-item > input[type='checkbox'] {
    flex: 0 0 auto;
    max-width: 600px;
    padding: 2px 2px 2px 2px;
}

.full-width-table {
    flex: 1 1 auto;
    width: 100%;
}

.reduce-form-field-width {
    width: 200px !important;
    max-width: 200px !important;
}

.flex-item > textarea {
    resize: none;
}

.flex-error > div {
    flex: 1 1 0;
    max-width: 600px;
}

.button-array {
    flex: 1 1 auto;
    max-width: 600px;
}

.field-error {
    color: red;
}

.help-icon {
    margin-left: 10px;
}

.red-border {
    border-color: red !important;
    transition: 120ms ease-in;
}

.red-text-strikethrough {
    color: red !important;
    text-decoration: line-through;
    transition: 120ms ease-in;
}

#file-dropzone {
    min-height: 250px;
    background-color: #f9f9f9;
    border-radius: 3px;
    border: 1.5px dashed #919191;
}

.dz-progress {
    /* Move file progress bar below the file name */
    margin-top: 20px !important;
}

.dz-message-table {
    /* Center table in dropzone */
    margin: auto;
}

.dz-submit-disabled {
    box-shadow: 0px 0px 7px red;
}

.custom-dropzone {
    margin-top: 10px;
}

.required-field:after {
    content: "  *";
    color: #d00;
    font-weight: bold;
    font-size: 1.1em;
}

@media (max-width: 600px) {
    .flex-item > label,
    .flex-error > label {
        flex: 1 1 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    .flex-item > input,
    .flex-error > div {
        flex: 1 1 100%;
    }
}