#page .gform_wrapper {
    max-width: 570px;
    margin-left: auto;
}
#page .gform_fields {
    flex-wrap: wrap;
    row-gap: 20px;
}

#page .gfield {
    --custom-theme-flex-span: 12;
}
#page .gfield--width-half {
    --custom-theme-flex-span: 6;
}
#page .gfield_required {
    display: none;
}
#page .gfield_label {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 10px;
}
#page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
#page select,
#page textarea,
#page .select2-container .select2-selection--single {
    border: 1px solid var(--wp--preset--color--grey);
    border-radius: 0;
    box-shadow: none;
    font-size: 0.9375rem;
    padding: 0 23px;
    height: auto;
}
#page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
#page select:focus,
#page textarea:focus,
#page .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: currentColor;
    outline: 0;
}
#page .gfield [type="checkbox"] {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}


#page textarea {
    resize: none;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 220px;
}
#page select {
    max-width: 100%;
}
#page .select2-container {
    max-width: 100%;
}
#page .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    justify-content: space-between;

}
#page .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

#page .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 18px;
    height: 10px;
    position: static;
}
#page .select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: static;
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 18 10" width="18" height="10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17 1 9 9 1 1" stroke="%23635E58" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/></svg>') 0 0 / contain no-repeat;
}

#page .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {

}
#page .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {

}
#page .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {

}

.select2-container .select2-dropdown {

}
.select2-container .select2-dropdown.select2-dropdown--below {

}
.select2-container .select2-dropdown.select2-dropdown--above {

}
.select2-container .select2-results__option {

}
.select2-container .select2-results__option--selected,
.select2-container .select2-results__option--highlighted.select2-results__option--selectable {

}

#page .gfield--type-consent {
    margin-top: 7px;
}
#page .gfield_consent_label {
    display: flex;
    gap: 11px;
    margin-left: 0;
    font-size: 0.875rem;
}
#page .gfield_consent_label::before {
    content: '✓';
    background: #FFF;
    width: 20px;
    height: 20px;
    border: 1px solid var(--wp--preset--color--grey);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    color: #FFF;
}
#page input:checked + .gfield_consent_label:before {
    color: inherit;
}

#page .gfield_radio {
    display: flex;
}
#page .gfield_radio > div {
    margin-right: 20px;
    position: relative;
}
#page .gfield_radio label {
    display: flex;
    align-items: flex-start;
    max-width: none;
}
#page .gfield_radio label:before {
    content: '';
    background: #FFF;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#page .gfield_radio input:checked + label:before {
    content: '✓';
}

#page .gfield_checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 7px;
}
#page .gchoice {
    display: block;
}
#page .gchoice .gform-field-label {
    margin-left: 0;
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid;
    transition: 0.3s ease-out;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.3125;
}
#page .gchoice input:checked + .gform-field-label {
    background: var(--wp--preset--color--black-like);
    color: #FFF;
}

#page .gfield--type-fileupload {
    margin-top: 6px;
}
#page .gfield--type-fileupload > .gfield_description:not(.gfield_validation_message) {
    background: url('data:image/svg+xml;utf8,<svg width="23" height="23" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.837 10.992a.72.72 0 0 1 0 1.016l-7.372 7.368a5.032 5.032 0 0 1-7.116-7.117l8.918-9.049a3.594 3.594 0 1 1 5.086 5.08l-8.92 9.05a2.16 2.16 0 1 1-3.054-3.055l7.484-7.602a.72.72 0 1 1 1.024 1.008L7.402 15.3a.718.718 0 1 0 1.013 1.02l8.919-9.044a2.158 2.158 0 1 0-3.049-3.054L5.37 13.268a3.595 3.595 0 0 0 5.079 5.087l7.373-7.367a.719.719 0 0 1 1.016.004Z" fill="currentColor"/></svg>') 0 center no-repeat;
    padding-left: 31px;
    text-decoration: underline;
    font-size: 0.75rem;
    color: inherit;
    pointer-events: none;
    margin-bottom: 0;
    height: 23px;
    line-height: 20px;
}
#page .ginput_container_fileupload {
    position: relative;
    z-index: 1;
    margin-top: -18px;
}
#page .ginput_container_fileupload input {
    opacity: 0;
    height: 18px !important;
}

#page .gform_button {
    min-width: 300px;
    text-align: center;
    padding: 11px 40px 13px;
    font-size: 1rem;
    border: 1px solid var(--wp--preset--color--blue);
    background: var(--wp--preset--color--blue);
    color: #FFF;
    text-decoration: none;
    border-radius: 45px;
    display: block;
    transition: 0.3s ease-out;
}
#page .gform_button:hover {
    background: #FFF;
    color: var(--wp--preset--color--blue);
}

#page .gform_footer {
    margin-top: 35px;
}

#page .gform_confirmation_message {
    font-weight: bold;
}

@media screen and (max-width: 1279px) {
    #page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    #page select,
    #page textarea,
    #page .select2-container .select2-selection--single,
    #page .gfield--type-fileupload > .gfield_description:not(.gfield_validation_message) {
        font-size: 1rem;
    }
}

@media screen and (max-width: 991px) {
    #page .gform_wrapper {
        max-width: none;
    }
}
@media screen and (max-width: 767px) {
    #page .gform_button {
        min-width: 0;
        width: 100%;
    }
}

