.section-form {
    /* color: #fff !important; */
}

.section-form .section-title {
    margin-bottom: var(--tateru-default-padding);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.section-form .gform_wrapper.gravity-theme .gfield_required {
    display: none !important;
}

.section-form .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: calc(var(--tateru-default-padding) / 2);
}

.section-form .gform-footer,
.section-form .gfield--type-checkbox,
.section-form .gfield:not(.gfield--type-checkbox) > .form-field {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
}

.section-form .gfield--type-html .form-field {
    grid-template-columns: 1fr !important;
}

.section-form .gfield:not(.gfield--type-checkbox) > .form-field .gfield_label {
    grid-column: span 4;
}

.section-form .gfield--type-checkbox:before {
    content: '';
    grid-column: span 4;
}

.section-form .gfield:not(.gfield--type-checkbox) > .form-field .ginput_container,
.section-form .gfield--type-checkbox .form-field {
    grid-column: span 8;
}

.section-form .ginput_container {
    position: relative;
}

.section-form .ginput_container:not(.ginput_container_checkbox):after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: var(--tateru-line-width);
    width: 0%;
    background-color: var(--tateru-color-secondary);
    transition: width 500ms;
    transition-timing-function: cubic-bezier(0.83, 0, 0.17, 1);
}

.section-form .ginput_container:not(.ginput_container_checkbox):focus-within:after {
    width: 100%;
}

.section-form .gfield--type-checkbox .gform-field-label {
    font-weight: 400 !important;
}

.section-form .gfield--type-checkbox .gform-field-label.gfield_label_before_complex {
    font-weight: 700 !important;
    padding-bottom: 5px;
}

.section-form .gfield--type-checkbox .gform-field-label.gform-field-label--type-inline {
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.section-form .gform_wrapper.gravity-theme .gfield input,
.section-form .gform_wrapper.gravity-theme .gfield textarea {
    background: none;
    border: none !important;
    border-bottom: #e5e5e5 1px solid !important;
    color: var(--tateru-color-primary) !important;
    outline: 0 !important;
    float: left;
}

.section-form .gfield input {
    height: 40px !important;
    line-height: 40px !important;
    padding-left: 15px !important;
}

.section-form .gfield textarea:focus,
.section-form .gfield input[type="text"]:focus,
.section-form .gfield input[type="email"]:focus {
    /* background-color: #0f0; */
}
.section-form .gfield_checkbox .gchoice {
    display: flex;
    gap: 25px;
}

.section-form .gform_wrapper.gravity-theme .gfield input[type="checkbox"] {
    display: block;
    height: 27.1647px !important;
    width: 27.1647px !important;
    border: 1px solid #e5e5e5 !important;
    font: inherit;
    appearance: none;
    display: grid;
    place-content: center;
    padding: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}


.section-form .gfield input[type="checkbox"]:before {
    content: "";
    background-color: var(--tateru-color-primary);
    width: 13.9625px;
    height: 13.9625px;
    transform: scale(0) translateY(0px) translateX(0px);
    transition: 120ms transform ease-in-out;
    /* box-shadow: inset 1em 1em #fff; */
}

.section-form .gfield input[type="checkbox"]:checked::before {
    transform: scale(1) translateY(0px) translateX(0px);
}

.section-form .gfield .gform-field-label {
    cursor: pointer;
}

.section-form .gfield textarea {
    height: 120px !important;
    padding: 15px !important;
}

.section-form .gfield input::placeholder,
.section-form .gfield textarea::placeholder {
    color: #b7b7b7;
}

.section-form button {
    grid-column: 5 / span 4;
    min-width: 160px;
}


/* .section-form button {
    background-color: #0f0;
    color: #fff;
    margin: 0;
    height: 30px;
    line-height: 30px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    text-align: center;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    grid-column: 5 / span 2;
    justify-self: start;
    min-width: 100px;
    margin-bottom: 0 !important;

    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;

    background-color: var(--tateru-color-white);
    color: var(--tateru-color-primary);
} */

.section-form button:hover {
    opacity: 0.7;
}

.section-form .gfield_checkbox {
    display: flex;
    gap: 50px;
}

.section-form .contact-details {
    display: flex;
    flex-direction: column;
    row-gap: var(--tateru-default-padding);
}

.section-form .contact-details a {
    color: inherit;
    /* font-size: 20px; */
}

.section-form .contact-details a:hover {
    text-decoration: underline;
}

.section-form .contact-details a:hover {
    opacity: 1;
}

.section-form .contact-details a::after {
    content: " ";
    display: block;
}

.section-form .gfield_checkbox .gfield-choice-input+label {
    max-width: 100% !important;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.section-form .gfield_checkbox .gfield-choice-input+label a {
    text-decoration: underline;
    color: inherit;
}

.section-form .gfield_checkbox .gfield-choice-input+label a:hover {
    opacity: 0.7;
}

.section-form .gfield--type-checkbox {
    display: flex;
    justify-content: flex-start;
}

.section-form .col-desktop-7 {
    padding-left: var(--tateru-default-padding);
    border-left: 1px solid #e5e5e5;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    grid-column: 1 / -1;
}

.section-form .gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    position: absolute;
    top: 24px;
}

/* .gform_wrapper.gravity-theme .gform_validation_errors>h2,
.gform_wrapper.gravity-theme .gfield_error .gfield_repeater_cell label, .gform_wrapper.gravity-theme .gfield_error label, .gform_wrapper.gravity-theme .gfield_error legend, .gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message, .gform_wrapper.gravity-theme [aria-invalid=true]+label, .gform_wrapper.gravity-theme label+[aria-invalid=true] {
    color: #fff !important;
} */

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
    border: 0 !important;
    border-bottom: 1px solid #702B2B !important;
}
/* green equivalent of c02b0a is 4caf50 */

.gform_wrapper.gravity-theme .gform_validation_errors {
    background-color: #702B2B !important;
    border-radius: 0 !important;
    padding: 15px 10px !important;
    text-align: center;
    margin-bottom: calc(var(--tateru-default-padding) / 2) !important;
    margin-top: 0 !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    color: #fff !important;
}

.gform_confirmation_wrapper  {
    background: #2B702B;
    color: #fff;
    font-size: 13.2px;
    font-weight: 500;
    line-height: 17.6px;
    margin-block-end: 12px;
    margin-block-start: 0;
    margin-inline: 0;
    text-align: center;
    border-radius: 0 !important;
    padding: 15px 10px !important;
    text-align: center;
    margin-bottom: calc(var(--tateru-default-padding) / 2) !important;
    margin-top: 0 !important;
    border: 1.5px solid #4caf50;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .11), 0 0 4px rgba(18, 25, 97, .0405344);

}

.gform_confirmation_message {
    line-height: 1;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    color: #c02b0a !important;
}

@media screen and (max-width: 1000px) {
    .section-form .col-desktop-7 {
        padding-left: 0;
        border-left: none;
        order: -1;
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: calc(var(--tateru-default-padding) / 2);
    }

    .section-form .gfield input,
    .section-form .gfield textarea {
        width: 100%;
    }

    .section-form .gfield--type-checkbox {
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    .section-form .gfield_checkbox {
        flex-direction: column;
    }
}

@media screen and (max-width: 620px) {
    .section-form .gform-footer, .section-form .gfield--type-checkbox, .section-form .gfield:not(.gfield--type-checkbox) > .form-field {
        display: flex !important;
        flex-direction: column !important;
    }

    .section-form .contact-details {
        row-gap: calc(var(--tateru-default-padding) / 2);
    }
}


.gfield_description {
    grid-column: 1 / -1;
}