form.contactProfForm .gfield_radio {
    flex-direction: row !important;
}

form.contactProfForm .gform-field-label {
    font-size: 16px !important;
    color: #fff !important;
}

form.contactProfForm .gform_fields input {
    text-align: left;
    border: none;
}

form.contactProfForm .gfield input[type="submit"] {
    text-align: center !important;
    font-size: 16px !important;
    padding: 12px 8px !important;
    width: 100%;
    background-color: var(--primary) !important;
}
form.contactProfForm .gform-button{
    margin: 0 auto;
    width: 50% !important;
}

form.contactProfForm .gfield input[type="text"] {
    max-width: 350px !important;
    min-height: 42px !important;
    border-radius: 4px !important;

}

form.contactProfForm label.gfield_label {
    flex-direction: row !important;
}

form.contactProfForm .gfield_required {
    font-size: 14px !important;
    color: #E82727 !important;
    box-shadow: none !important;
}

form.contactProfForm fieldset .gfield_label {
    width: auto !important;
    display: flex !important;
    align-items: flex-end !important;
    flex-direction: row !important;
}

form.contactProfForm .ginput_container_radio {
    width: auto !important;
}

form.contactProfForm fieldset {
    display: flex !important;
    justify-content: center !important;
    column-gap: 20px !important;
}

form.contactProfForm .gfield {
    margin-bottom: 0;
    margin-top: 0 !important;;
    display: flex !important;;
    align-items: center !important;;
    justify-content: center !important;;
    width: 100% !important;
    flex-wrap: wrap;
}

form.contactProfForm .gform_fields {
    display: flex !important;
    row-gap: 16px !important;
    flex-wrap: wrap !important;

}

.gform_validation_errors {
    border-radius: 4px;
    background: #FAD4D4 !important;
    color: #E82727 !important;
    margin: 16px 0px !important;
}

.validation_message {
    width: 100%;
    text-align: left !important;
    color: #E82727;
}

form.contactProfForm .validation_message {
    padding-top: 5px;
}

form.contactProfForm label.gfield_label {
    justify-content: center;
}

.gform_confirmation_message {
    background-color: #E5F2E9;
    color: #2DBB55;
    padding: 10px 0;
    margin: 16px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    column-gap: 10px !important;
    border-radius: 6px;
}

.gf_browser_chrome.gform_wrapper {
    color: white !important;
    width: 33% !important;
    min-width: 312px;
    margin: 0 auto 30px auto;
}

.gform_required_legend {
    display: none !important;
}

@media screen and (max-width: 768px) {
    form.contactProfForm label.gfield_label {
        width: 100%;
        justify-content: center;
    }

    form.contactProfForm .ginput_container,
    form.contactProfForm fieldset .gfield_label {
        width: 100%;
        justify-content: center;
    }

    form.contactProfForm .gform_wrapper {
        width: auto;
        margin: 32px;
    }

    form.contactProfForm .gfield {
        font-size: 15px;
    }

    form.contactProfForm .gfield_radio {
        justify-content: center;
    }

    .gform-theme--framework .gform_validation_errors .gform_submission_error {
        display: flex !important;
        flex-direction: row !important;
    }
}

@media (min-width: 640px) {
    .gform-theme--foundation .gform_fields {
        -moz-column-gap: 20px !important;
        column-gap: 20px !important;
    }
}

#field_submit .gform-button {
    border: 1px solid #aaa;
}
