/*
 * Evo Moduli - foglio di stile proprio.
 * Usa le stesse classi di Gravity Forms 2.9 così continuano a valere anche le regole
 * personalizzate dei temi (Elementor, Avada, CSS aggiuntivo) scritte per Gravity Forms.
 * Tre aspetti: gravity-theme (predefinito), orbital, legacy (vecchio markup).
 */

/* ------------------------------------------------------------------ */
/* Comune                                                              */
/* ------------------------------------------------------------------ */

.gform_wrapper.evo-moduli { max-width: 100%; }
.gform_wrapper.evo-moduli:not(.gravity-theme) { margin: 16px 0; }
.gform_wrapper.evo-moduli *, .gform_wrapper.evo-moduli *::before, .gform_wrapper.evo-moduli *::after { box-sizing: border-box; }
.gform_wrapper.evo-moduli form { position: relative; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .gform_heading { margin-bottom: 18px; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .gform_title { margin: 0 0 8px; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .gform_description { display: block; margin: 0 0 16px; }

.gform_wrapper.evo-moduli .gform_validation_container,
.gform_wrapper.evo-moduli .gfield--type-honeypot,
.gform_wrapper.evo-moduli .admin-hidden-markup,
.gform_wrapper.evo-moduli .gform_hidden,
.gform_wrapper.evo-moduli input.gform_hidden,
.gform_wrapper.evo-moduli input[type="hidden"] { display: none !important; }
.gform_wrapper.evo-moduli .gfield_visibility_hidden { visibility: hidden; position: absolute; left: -9999px; }
.gform_wrapper.evo-moduli .hidden_label > .gfield_label,
.gform_wrapper.evo-moduli .hidden_label > legend.gfield_label { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.gform_wrapper.evo-moduli fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gform_wrapper.evo-moduli legend.gfield_label { float: none; padding: 0; }
.gform_wrapper.evo-moduli:not(.gravity-theme) legend.gfield_label { display: table; }
.gform_wrapper.evo-moduli .gfield_consent_description { max-height: 240px; overflow-y: auto; border: 1px solid #ddd; margin-top: 12px; padding: 6px 8px; font-size: .875em; }
.gform_wrapper.evo-moduli .gfield_description.gfield_consent_description { width: 100%; }
.gform_wrapper.evo-moduli .ginput_recaptcha { min-height: 0; }
.gform_wrapper.evo-moduli .ginput_recaptcha:empty { display: none; }
.gform_wrapper.evo-moduli .gform_delete_file { background: none; border: 0; cursor: pointer; padding: 0 4px; color: inherit; font-size: 1.2em; line-height: 1; vertical-align: middle; }
.gform_wrapper.evo-moduli .gform_delete_file .dashicons { display: none; }
.gform_wrapper.evo-moduli .ginput_preview { display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.gform_wrapper.evo-moduli .ginput_preview .evo-moduli-progresso { flex: 0 0 90px; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.gform_wrapper.evo-moduli .ginput_preview .evo-moduli-progresso > span { display: block; height: 100%; width: 0; background: #204ce5; transition: width .2s; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .gform_fileupload_rules { display: block; font-size: .85em; opacity: .85; }
.gform_wrapper.evo-moduli [id^="gform_multifile_messages_"] li { color: #c02b0a; list-style: none; margin: 4px 0; }
.gform_wrapper.evo-moduli .validation_message--hidden-on-empty:empty { display: none; }
.gform_wrapper.evo-moduli ul.gform-ul-reset { list-style: none; margin: 0; padding: 0; }
.gform_wrapper.evo-moduli .gform_drop_area { border: 1px dashed #c5c9d0; border-radius: 4px; padding: 24px 16px; text-align: center; background: rgba(255, 255, 255, .5); }
.gform_wrapper.evo-moduli .gform_drop_area.evo-moduli-sopra { border-color: #204ce5; background: rgba(32, 76, 229, .06); }
.gform_wrapper.evo-moduli .gform_drop_instructions { display: block; margin-bottom: 8px; }
.gform_wrapper.evo-moduli .gform_button_select_files { cursor: pointer; }
.gform_wrapper.evo-moduli .gform_footer { position: relative; }
.gform_wrapper.evo-moduli.evo-moduli-invio .gform_footer input[type="submit"] { opacity: .6; cursor: progress; }
.gform_wrapper.evo-moduli .evo-moduli-attesa { display: inline-block; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(0, 0, 0, .15); border-top-color: rgba(0, 0, 0, .6); border-radius: 50%; animation: evo-moduli-giro .7s linear infinite; vertical-align: middle; }
@keyframes evo-moduli-giro { to { transform: rotate(360deg); } }
.gform_wrapper.evo-moduli .gfield_contains_required .gfield_required_text,
.gform_wrapper.evo-moduli .gfield_required_custom { font-style: italic; font-weight: 400; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .instruction { font-size: 13px; margin-top: 4px; }
.gform_wrapper.evo-moduli:not(.gravity-theme) .ginput_counter { font-size: 13px; margin-top: 4px; opacity: .8; }

/* ------------------------------------------------------------------ */
/* gravity-theme (Gravity Forms 2.5+ senza Orbital)                    */
/* ------------------------------------------------------------------ */

.gform_wrapper.gravity-theme .gform_fields { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(auto-fill, auto); grid-column-gap: 2%; grid-row-gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.gform_wrapper.gravity-theme .gfield { grid-column: 1 / -1; min-width: 0; }
.gform_wrapper.gravity-theme .gfield.gfield--width-full { grid-column: span 12; }
.gform_wrapper.gravity-theme .gfield.gfield--width-eleven-twelfths { grid-column: span 11; }
.gform_wrapper.gravity-theme .gfield.gfield--width-five-sixths { grid-column: span 10; }
.gform_wrapper.gravity-theme .gfield.gfield--width-three-quarter { grid-column: span 9; }
.gform_wrapper.gravity-theme .gfield.gfield--width-two-thirds { grid-column: span 8; }
.gform_wrapper.gravity-theme .gfield.gfield--width-seven-twelfths { grid-column: span 7; }
.gform_wrapper.gravity-theme .gfield.gfield--width-half { grid-column: span 6; }
.gform_wrapper.gravity-theme .gfield.gfield--width-five-twelfths { grid-column: span 5; }
.gform_wrapper.gravity-theme .gfield.gfield--width-third { grid-column: span 4; }
.gform_wrapper.gravity-theme .gfield.gfield--width-quarter { grid-column: span 3; }
@media (max-width: 640px) {
	.gform_wrapper.gravity-theme .gform_fields { grid-column-gap: 0; }
	.gform_wrapper.gravity-theme .gfield:not(.gfield--width-full) { grid-column: 1 / -1; }
}
/* Regole ricalcate su basic.min.css e theme.min.css di Gravity Forms 2.9, nello stesso ordine (conta per le parità di specificità). */
.gform_wrapper.gravity-theme .gform_drop_area { background: rgba(0, 0, 0, .02); border: 1px dashed #ccc; border-radius: 4px; margin-bottom: 8px; padding: 32px; text-align: center; }
.gform_wrapper.gravity-theme .gform_drop_instructions { display: block; margin-bottom: 8px; }
.gform_wrapper.gravity-theme .gform_delete_file { cursor: pointer; vertical-align: middle; -webkit-appearance: none; appearance: none; background: 0 0; border: none; }
.gform_wrapper.gravity-theme .gfield_fileupload_filesize { padding: 0 6px; }
.gform_wrapper.gravity-theme .ginput_preview { margin: 16px 0; }
.gform_wrapper.gravity-theme .gform_fileupload_rules { display: block; margin-top: 8px; }
.gform_wrapper.gravity-theme .gfield_label { display: inline-block; font-size: 16px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.gform_wrapper.gravity-theme .gfield_required { color: #c02b0a; display: inline-block; font-size: 13.008px; padding-inline-start: .125em; }
.gform_wrapper.gravity-theme .gfield_required .gfield_required_custom,
.gform_wrapper.gravity-theme .gfield_required .gfield_required_text { font-style: italic; font-weight: 400; }
.gform_wrapper.gravity-theme .gform_required_legend .gfield_required { padding-inline-start: 0; }
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea { font-size: 15px; margin-bottom: 0; margin-top: 0; padding: 8px; max-width: 100%; }
.gform_wrapper.gravity-theme .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.gform_wrapper.gravity-theme .ginput_container select,
.gform_wrapper.gravity-theme .ginput_container textarea { width: 100%; }
.gform_wrapper.gravity-theme textarea { width: 100%; }
.gform_wrapper.gravity-theme textarea.small { height: 96px; }
.gform_wrapper.gravity-theme textarea.medium { height: 192px; }
.gform_wrapper.gravity-theme textarea.large { height: 288px; }
@media only screen and (max-width: 641px) {
	.gform_wrapper.gravity-theme input:not([type="radio"]):not([type="checkbox"]):not([type="image"]):not([type="file"]) { line-height: 2; min-height: 32px; }
	.gform_wrapper.gravity-theme textarea { line-height: 1.5; }
}
.gform_wrapper.gravity-theme .gform_validation_errors { background: #fff9f9; border-radius: 5px; border: 1.5px solid #c02b0a; box-shadow: 0 1px 4px rgba(0, 0, 0, .11), 0 0 4px rgba(18, 25, 97, .0405344); margin-block-end: 8px; margin-block-start: 8px; padding-block: 16px; padding-inline-end: 16px; padding-inline-start: 48px; position: relative; width: 100%; }
.gform_wrapper.gravity-theme .gform_validation_errors:focus { outline: 2px solid #c02b0a; outline-offset: 2px; }
.gform_wrapper.gravity-theme .gform_validation_errors > h2 { color: #c02b0a; font-size: 13.2px; font-weight: 500; line-height: 17.6px; margin-block-end: 12px; margin-block-start: 0; margin-inline: 0; }
.gform_wrapper.gravity-theme .gform_validation_errors > h2::before { display: none; }
.gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { align-items: center; display: flex; font-size: 28px; height: 100%; inset-inline-start: 12px; position: absolute; inset-block-start: 0; }
/* L'icona di Gravity Forms è un carattere del suo font a icone, che Evo non carica: stesso cerchio con il punto esclamativo, disegnato in CSS. */
.gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { font-style: normal; font-weight: 400; line-height: 1; }
.gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon--circle-error::before { content: "!"; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: radial-gradient(circle, #c02b0a 11px, transparent 11.5px); color: #fff; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1; }
.gform_wrapper.gravity-theme .gform_validation_errors > h2.hide_summary { margin: 0; padding: 0; }
.gform_wrapper.gravity-theme .gform_validation_errors > ol { padding-inline-start: 20px; }
.gform_wrapper.gravity-theme .gform_validation_errors > ol a { color: #c02b0a; font-size: 13.2px; }
.gform_wrapper.gravity-theme .gform_validation_errors > ol a:focus { outline: 2px solid #c02b0a; outline-offset: 2px; }
.gform_wrapper.gravity-theme .gform_validation_errors > ol li { color: #c02b0a; font-size: 13.2px; list-style-type: disc !important; margin-block-end: 8px; margin-block-start: 0; margin-inline: 0; }
.gform_wrapper.gravity-theme .gform_validation_errors > ol li:last-of-type { margin-block-end: 0; }
.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: #c02b0a; }
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message { background: #fff9f9; border: 1px solid #c02b0a; font-size: 14.992px; margin-block-start: 8px; padding: 12.992px 24px; }
.gform_wrapper.gravity-theme .validation_above .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_above .validation_message { margin-block-end: 16px; }
.gform_wrapper.gravity-theme .gfield_error [aria-invalid="true"] { border: 1px solid #c02b0a; }
.gform_wrapper.gravity-theme .gform_footer { display: flex; }
.gform_wrapper.gravity-theme .gform_footer input { align-self: flex-end; }
.gform_wrapper.gravity-theme .gform_footer .gform_image_button { background-color: transparent; border: none; border-radius: 0; height: auto; padding: 0; width: auto; }
.gform_wrapper.gravity-theme .gform_footer .evo-moduli-attesa { align-self: center; }
.gform_wrapper.gravity-theme .gfield_header_item,
.gform_wrapper.gravity-theme .gform_fileupload_rules,
.gform_wrapper.gravity-theme .ginput_complex label { font-size: 15px; padding-top: 5px; }
.gform_wrapper.gravity-theme .ginput_complex { display: flex; flex-flow: row wrap; }
.gform_wrapper.gravity-theme .ginput_complex fieldset,
.gform_wrapper.gravity-theme .ginput_complex span { flex: 1; }
.gform_wrapper.gravity-theme .ginput_complex .ginput_full { flex: 0 0 100%; }
.gform_wrapper.gravity-theme .ginput_complex .clear-multi { display: flex; }
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .ginput_complex legend { display: block; }
.gform_wrapper.gravity-theme .ginput_complex input,
.gform_wrapper.gravity-theme .ginput_complex select { width: 100%; }
.gform_wrapper.gravity-theme .ginput_container_address { margin-left: -1%; margin-right: -1%; }
.gform_wrapper.gravity-theme .ginput_container_address span { flex: 0 0 50%; padding-left: .9804%; padding-right: .9804%; }
@media (min-width: 641px) {
	.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) fieldset:not([style*="display:none"]):not(.ginput_full),
	.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full) { padding-right: 1%; }
	.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) fieldset:not([style*="display:none"]):not(.ginput_full) ~ span:not(.ginput_full),
	.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full) ~ span:not(.ginput_full) { padding-left: 1%; padding-right: 0; }
	.gform_wrapper.gravity-theme .ginput_container_address span,
	.gform_wrapper.gravity-theme .ginput_full:not(:last-of-type) { margin-bottom: 8px; }
	.gform_wrapper.gravity-theme .ginput_container_address { margin-bottom: -8px; }
}
@media (max-width: 640px) {
	.gform_wrapper.gravity-theme .ginput_complex span { flex: 0 0 100%; margin-bottom: 8px; padding-left: 0; }
	.gform_wrapper.gravity-theme .ginput_complex.ginput_container_address span { padding-left: .9804%; }
}
.gform_wrapper.gravity-theme .field_sublabel_below .ginput_complex { align-items: flex-start; }
.gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex { align-items: flex-end; }
.gform_wrapper.gravity-theme .description,
.gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .gsection_description,
.gform_wrapper.gravity-theme .instruction { clear: both; font-family: inherit; font-size: 15px; letter-spacing: normal; line-height: inherit; padding-top: 13px; width: 100%; }
.gform_wrapper.gravity-theme .field_description_above .description,
.gform_wrapper.gravity-theme .field_description_above .gfield_description,
.gform_wrapper.gravity-theme .field_description_above .gsection_description,
.gform_wrapper.gravity-theme .field_description_above .instruction { padding-bottom: 16px; }
.gform_wrapper.gravity-theme .field_sublabel_above .description,
.gform_wrapper.gravity-theme .field_sublabel_above .gfield_description,
.gform_wrapper.gravity-theme .field_sublabel_above .gsection_description { margin-top: 9.008px; }
.gform_wrapper.gravity-theme .top_label .gsection_description { margin-bottom: 9.008px; width: 100%; }
.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description,
.gform_wrapper.gravity-theme .gfield_consent_description { border: 1px solid #ddd; font-size: 13.008px; margin-top: 12.8px; max-height: 240px; overflow-y: scroll; padding: 6.4px 8px; width: 100%; }
.gform_wrapper.gravity-theme .field_description_above .gfield_choice_limit_message,
.gform_wrapper.gravity-theme .field_sublabel_above .gfield_choice_limit_message,
.gform_wrapper.gravity-theme .gfield_choice_limit_message { display: block; margin-bottom: 8px; margin-top: 0; padding-bottom: 0; padding-top: 0; }
.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer { margin: 6px 0 0; padding: 16px 0; }
.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input { margin-bottom: 8px; }
.gform_wrapper.gravity-theme .gform_footer button.button:disabled,
.gform_wrapper.gravity-theme .gform_footer input.button:disabled { opacity: .6; }
.gform_wrapper.gravity-theme .gform_footer button + input,
.gform_wrapper.gravity-theme .gform_footer input + button,
.gform_wrapper.gravity-theme .gform_footer input + input { margin-left: 8px; }
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label { display: inline-block; font-size: 15px; }
.gform_wrapper.gravity-theme .gfield_checkbox button,
.gform_wrapper.gravity-theme .gfield_checkbox input[type="text"],
.gform_wrapper.gravity-theme .gfield_radio button,
.gform_wrapper.gravity-theme .gfield_radio input[type="text"] { margin-top: 16px; }
.gform_wrapper.gravity-theme .gfield-choice-input { display: inline-block; margin-top: 0; top: 0; vertical-align: middle; }
.gform_wrapper.gravity-theme .gfield-choice-input + label { margin-bottom: 0; max-width: calc(100% - 32px); vertical-align: middle; }
.gform_wrapper.gravity-theme .gfield-choice-input:disabled + label { color: #757575; }
.gform_wrapper.gravity-theme .gfield_consent_description { border: 1px solid #ddd; font-size: .8em; margin-top: 8px; max-height: 240px; overflow-y: scroll; padding: 8px; }
.gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_checkbox,
.gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_radio,
.gform_wrapper.gravity-theme .gfield.gfield--choice-align-horizontal .gfield_checkbox,
.gform_wrapper.gravity-theme .gfield.gfield--choice-align-horizontal .gfield_radio { display: block; }
.gform_wrapper.gravity-theme .gfield.gf_list_inline .gchoice,
.gform_wrapper.gravity-theme .gfield.gfield--choice-align-horizontal .gchoice { display: inline-block; padding-inline-end: 16px; vertical-align: top; }
.gform_wrapper.gravity-theme .gfield.gf_list_inline .gchoice label,
.gform_wrapper.gravity-theme .gfield.gfield--choice-align-horizontal .gchoice label { max-width: none; }
.gform_wrapper.gravity-theme .gsection { border-bottom: 1px solid #ccc; padding: 0 16px 8px 0; }

/* ------------------------------------------------------------------ */
/* Orbital                                                             */
/* ------------------------------------------------------------------ */

.gform-theme--orbital { --gf-color-primary: #204ce5; --gf-color-primary-rgb: 32, 76, 229; --gf-ctrl-border-color: #686e77; --gf-ctrl-color: #112337; --gf-ctrl-label-color: #112337; --gf-ctrl-desc-color: #585e6a; --gf-ctrl-radius: 3px; --gf-ctrl-size: 38px; --gf-color-danger: #c02b0a; }
.gform-theme--orbital.gform_wrapper { color: var(--gf-ctrl-color); font-size: 14px; line-height: 1.5; }
.gform-theme--orbital .gform_title { font-size: 24px; font-weight: 600; color: var(--gf-ctrl-label-color); }
.gform-theme--orbital .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; margin: 0; padding: 0; list-style: none; }
.gform-theme--orbital .gfield { grid-column: 1 / -1; min-width: 0; }
.gform-theme--orbital .gfield.gfield--width-full { grid-column: span 12; }
.gform-theme--orbital .gfield.gfield--width-eleven-twelfths { grid-column: span 11; }
.gform-theme--orbital .gfield.gfield--width-five-sixths { grid-column: span 10; }
.gform-theme--orbital .gfield.gfield--width-three-quarter { grid-column: span 9; }
.gform-theme--orbital .gfield.gfield--width-two-thirds { grid-column: span 8; }
.gform-theme--orbital .gfield.gfield--width-seven-twelfths { grid-column: span 7; }
.gform-theme--orbital .gfield.gfield--width-half { grid-column: span 6; }
.gform-theme--orbital .gfield.gfield--width-five-twelfths { grid-column: span 5; }
.gform-theme--orbital .gfield.gfield--width-third { grid-column: span 4; }
.gform-theme--orbital .gfield.gfield--width-quarter { grid-column: span 3; }
@media (max-width: 640px) {
	.gform-theme--orbital .gfield:not(.gfield--width-full) { grid-column: 1 / -1; }
}
.gform-theme--orbital .gfield_label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-size: 14px; font-weight: 600; color: var(--gf-ctrl-label-color); margin-bottom: 8px; line-height: 1.43; }
.gform-theme--orbital legend.gfield_label { display: table; }
.gform-theme--orbital .gfield_required { color: var(--gf-color-danger); font-size: 12px; font-weight: 400; font-style: italic; }
.gform-theme--orbital .gfield_required_asterisk { font-style: normal; }
.gform-theme--orbital input[type="text"],
.gform-theme--orbital input[type="email"],
.gform-theme--orbital input[type="tel"],
.gform-theme--orbital input[type="url"],
.gform-theme--orbital input[type="number"],
.gform-theme--orbital input[type="password"],
.gform-theme--orbital select,
.gform-theme--orbital textarea { width: 100%; min-height: var(--gf-ctrl-size); padding: 0 12px; font-size: 14px; line-height: 1.5; color: var(--gf-ctrl-color); background-color: #fff; border: 1px solid var(--gf-ctrl-border-color); border-radius: var(--gf-ctrl-radius); box-shadow: 0 1px 4px rgba(18, 25, 97, .0779); margin: 0; font-family: inherit; }
.gform-theme--orbital textarea { padding: 8px 12px; min-height: 140px; resize: vertical; }
.gform-theme--orbital textarea.small { height: 96px; min-height: 96px; }
.gform-theme--orbital textarea.medium { height: 192px; }
.gform-theme--orbital textarea.large { height: 288px; }
.gform-theme--orbital input:focus,
.gform-theme--orbital select:focus,
.gform-theme--orbital textarea:focus { outline: 0; border-color: var(--gf-color-primary); box-shadow: 0 0 0 3px rgba(var(--gf-color-primary-rgb), .25); }
.gform-theme--orbital .gfield_description { font-size: 14px; color: var(--gf-ctrl-desc-color); padding-top: 8px; }
.gform-theme--orbital .field_description_above .gfield_description { padding: 0 0 8px; }
.gform-theme--orbital .ginput_complex { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.gform-theme--orbital .ginput_complex > span { flex: 1 1 0; min-width: 0; }
.gform-theme--orbital .ginput_complex > span.ginput_full { flex: 0 0 100%; }
.gform-theme--orbital .ginput_container_address > span:not(.ginput_full) { flex: 1 1 calc(50% - 12px); }
.gform-theme--orbital .gform-field-label--type-sub { display: block; font-size: 12px; color: var(--gf-ctrl-desc-color); margin: 6px 0 0; }
.gform-theme--orbital .field_sublabel_above .gform-field-label--type-sub { margin: 0 0 6px; }
@media (max-width: 640px) {
	.gform-theme--orbital .ginput_complex > span { flex: 0 0 100%; }
}
.gform-theme--orbital .gfield_checkbox,
.gform-theme--orbital .gfield_radio { display: flex; flex-direction: column; gap: 12px; }
.gform-theme--orbital .gchoice,
.gform-theme--orbital .ginput_container_consent { display: flex; align-items: flex-start; gap: 8px; }
.gform-theme--orbital input[type="checkbox"],
.gform-theme--orbital input[type="radio"] { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--gf-color-primary); cursor: pointer; }
.gform-theme--orbital .gform-field-label--type-inline { font-size: 14px; font-weight: 400; color: var(--gf-ctrl-label-color); margin: 0; cursor: pointer; }
.gform-theme--orbital .gsection { border-bottom: 1px solid #d5d7e9; padding-bottom: 12px; }
.gform-theme--orbital .gsection_title { font-size: 20px; font-weight: 600; margin: 0; }
.gform-theme--orbital .gform_footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; padding: 0; }
.gform-theme--orbital .gform_footer input[type="submit"],
.gform-theme--orbital .gform_button_select_files { background-color: var(--gf-color-primary); color: #fff; border: 1px solid transparent; border-radius: var(--gf-ctrl-radius); min-height: var(--gf-ctrl-size); padding: 0 20px; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(18, 25, 97, .0779); font-family: inherit; }
.gform-theme--orbital .gform_button_select_files { background: #fff; color: var(--gf-ctrl-color); border-color: var(--gf-ctrl-border-color); min-height: 32px; font-size: 13px; }
.gform-theme--orbital .gform_footer input[type="submit"]:hover { filter: brightness(.9); }
.gform-theme--orbital .gform_drop_area { border: 1px dashed var(--gf-ctrl-border-color); border-radius: var(--gf-ctrl-radius); padding: 32px 16px; }
.gform-theme--orbital .ginput_preview .evo-moduli-progresso > span { background: var(--gf-color-primary); }
.gform-theme--orbital .gfield_error .gfield_label { color: var(--gf-color-danger); }
.gform-theme--orbital .gfield_error input:not([type="checkbox"]):not([type="radio"]),
.gform-theme--orbital .gfield_error select,
.gform-theme--orbital .gfield_error textarea { border-color: var(--gf-color-danger); }
.gform-theme--orbital .gfield_validation_message,
.gform-theme--orbital .validation_message { color: var(--gf-color-danger); font-size: 14px; margin-top: 8px; padding: 0; background: none; border: 0; }
.gform-theme--orbital .gform_validation_errors { border: 1px solid var(--gf-color-danger); border-radius: var(--gf-ctrl-radius); background: #fff9f9; padding: 16px; margin: 0 0 24px; box-shadow: 0 1px 4px rgba(18, 25, 97, .0779); }
.gform-theme--orbital .gform_validation_errors > h2 { color: var(--gf-color-danger); font-size: 14px; font-weight: 500; margin: 0; line-height: 1.43; }
.gform-theme--orbital .gform_validation_errors > ol { list-style: none; margin: 8px 0 0; padding: 0; }
.gform-theme--orbital .gform_validation_errors > ol a { color: var(--gf-color-danger); }

/* ------------------------------------------------------------------ */
/* Legacy (markup di Gravity Forms prima della 2.5)                      */
/* ------------------------------------------------------------------ */

.gform_legacy_markup_wrapper ul.gform_fields { list-style: none; margin: 0; padding: 0; }
.gform_legacy_markup_wrapper ul.gform_fields li.gfield { list-style: none; margin: 16px 0 0; padding: 0; clear: both; }
.gform_legacy_markup_wrapper ul.gform_fields li.gfield::before { content: none; }
.gform_legacy_markup_wrapper .gfield_label { display: inline-block; font-weight: 700; font-size: inherit; line-height: 1.3; margin: 10px 0 0; padding: 0; }
.gform_legacy_markup_wrapper .top_label .gfield_label { display: inline-block; margin: 0 0 8px; }
.gform_legacy_markup_wrapper .gfield_required { color: #790000; margin-left: 4px; }
.gform_legacy_markup_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.gform_legacy_markup_wrapper select,
.gform_legacy_markup_wrapper textarea { font-size: inherit; font-family: inherit; padding: 5px 4px; letter-spacing: normal; margin: 0; }
.gform_legacy_markup_wrapper input.small, .gform_legacy_markup_wrapper select.small { width: 25%; }
.gform_legacy_markup_wrapper input.medium, .gform_legacy_markup_wrapper select.medium { width: calc(50% - 8px); }
.gform_legacy_markup_wrapper input.large, .gform_legacy_markup_wrapper select.large { width: 100%; }
.gform_legacy_markup_wrapper textarea { width: 100%; }
.gform_legacy_markup_wrapper textarea.small { height: 80px; }
.gform_legacy_markup_wrapper textarea.medium { height: 160px; }
.gform_legacy_markup_wrapper textarea.large { height: 250px; }
.gform_legacy_markup_wrapper .gfield_description { font-size: .813em; line-height: inherit; clear: both; font-family: inherit; letter-spacing: .5px; padding: 8px 0 0; width: 100%; }
.gform_legacy_markup_wrapper .description_above .gfield_description { padding: 0 0 8px; }
.gform_legacy_markup_wrapper .ginput_complex { width: 100%; }
.gform_legacy_markup_wrapper .ginput_complex::after { content: ""; display: table; clear: both; }
.gform_legacy_markup_wrapper .ginput_complex span { display: block; }
.gform_legacy_markup_wrapper .ginput_complex input:not([type="checkbox"]) { width: 100%; }
.gform_legacy_markup_wrapper .ginput_complex label { display: block; font-size: .813em; letter-spacing: .5pt; margin: 1px 0 9px 1px; padding-top: 5px; }
.gform_legacy_markup_wrapper .field_sublabel_above .ginput_complex label { margin: 9px 0 1px 1px; }
.gform_legacy_markup_wrapper .ginput_container_name.gf_name_has_2 > span { float: left; width: 50%; padding-right: 16px; }
.gform_legacy_markup_wrapper .ginput_container_name.gf_name_has_2 > span:last-of-type { padding-right: 0; }
.gform_legacy_markup_wrapper .ginput_container_name.gf_name_has_3 > span { float: left; width: 33.3%; padding-right: 16px; }
.gform_legacy_markup_wrapper .ginput_complex .ginput_left,
.gform_legacy_markup_wrapper .ginput_complex .ginput_right { float: left; width: 50%; }
.gform_legacy_markup_wrapper .ginput_complex .ginput_left { padding-right: 8px; }
.gform_legacy_markup_wrapper .ginput_complex .ginput_right { padding-left: 8px; }
.gform_legacy_markup_wrapper .ginput_complex .ginput_full { clear: both; width: 100%; }
@media (max-width: 640px) {
	.gform_legacy_markup_wrapper .ginput_complex span,
	.gform_legacy_markup_wrapper .ginput_container_name > span { float: none !important; width: 100% !important; padding: 0 !important; }
	.gform_legacy_markup_wrapper input.small, .gform_legacy_markup_wrapper input.medium, .gform_legacy_markup_wrapper select.medium { width: 100%; }
}
.gform_legacy_markup_wrapper ul.gfield_checkbox,
.gform_legacy_markup_wrapper ul.gfield_radio { list-style: none; margin: 6px 0; padding: 0; }
.gform_legacy_markup_wrapper ul.gfield_checkbox li,
.gform_legacy_markup_wrapper ul.gfield_radio li { display: flex; align-items: flex-start; list-style: none; margin: 0 0 8px; padding: 0; }
.gform_legacy_markup_wrapper ul.gfield_checkbox li input,
.gform_legacy_markup_wrapper ul.gfield_radio li input { margin: 3px 0 0; flex: 0 0 auto; }
.gform_legacy_markup_wrapper .gform-field-label--type-inline { display: inline-block; padding-left: 6px; margin: 0; font-weight: 400; }
.gform_legacy_markup_wrapper .ginput_container_consent { display: flex; align-items: flex-start; }
.gform_legacy_markup_wrapper .gsection { border-bottom: 1px solid #ccc; padding: 0 16px 8px 0; margin: 28px 0 0 !important; }
.gform_legacy_markup_wrapper .gsection_title { font-size: 1.25em; margin: 0; }
.gform_legacy_markup_wrapper .gform_footer { padding: 16px 0 10px; margin: 16px 0 0; clear: both; }
.gform_legacy_markup_wrapper li.gfield.gfield_error { background-color: rgba(255, 223, 224, .25); border-top: 1px solid #c89797; border-bottom: 1px solid #c89797; padding: 6px 6px 8px; margin-bottom: 6px !important; }
.gform_legacy_markup_wrapper li.gfield_error .gfield_label { color: #790000; }
.gform_legacy_markup_wrapper li.gfield_error input:not([type="radio"]):not([type="checkbox"]),
.gform_legacy_markup_wrapper li.gfield_error textarea { border: 1px solid #790000; }
.gform_legacy_markup_wrapper .validation_message { color: #790000; font-weight: 700; letter-spacing: normal; padding: 6px 0 0; }
.gform_legacy_markup_wrapper .gform_validation_errors,
.gform_legacy_markup_wrapper div.validation_error { color: #790000; font-size: 1em; font-weight: 700; border-top: 2px solid #790000; border-bottom: 2px solid #790000; padding: 16px 0; margin-bottom: 25px; text-align: center; width: 100%; }
.gform_legacy_markup_wrapper .gform_validation_errors > h2 { font-size: 1em; color: #790000; margin: 0; }
.gform_legacy_markup_wrapper .gform_validation_errors > ol { list-style: none; margin: 8px 0 0; padding: 0; text-align: left; font-weight: 400; }
