/* Form Gravity = layout originale Contatti (niente Orbital). */

.yic-cat-contact .gform_wrapper,
.yic-cat-contact .gform_wrapper.gravity-theme,
.yic-cat-contact .gform_wrapper.gform-theme,
.yic-cat-contact .gform_wrapper.gform-theme--orbital,
.yic-cat-contact .gform_wrapper.gform-theme--framework,
.yic-cat-contact .gform_wrapper.gform-theme--foundation {
	--gf-color-primary: #fd6e06;
	--gf-color-primary-rgb: 253, 110, 6;
	--gf-color-primary-contrast: #fff;
	--gf-color-primary-darker: #ea580c;
	--gf-color-primary-lighter: #ff8a2b;
	--gf-ctrl-border-color: #d9d7d1;
	--gf-ctrl-border-radius: 8px;
	--gf-radius: 8px;
	--gf-local-radius: 8px;
	--gf-ctrl-size: auto;
	--gf-ctrl-padding-x: 14px;
	--gf-ctrl-padding-y: 12px;
	--gf-font-size-primary: 15px;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	letter-spacing: normal;
	word-spacing: normal;
}

.yic-cat-contact .gform_wrapper,
.yic-cat-contact .gform_wrapper * {
	letter-spacing: normal;
	word-spacing: normal;
}

.yic-cat-contact .gform_wrapper .gform_heading,
.yic-cat-contact .gform_wrapper .gform_required_legend {
	display: none !important;
}

.yic-cat-contact .gform_wrapper form,
.yic-cat-contact .gform_wrapper .gform_body,
.yic-cat-contact .gform_wrapper .gform-body,
.yic-cat-contact .gform_wrapper .gform_fields,
.yic-cat-contact .gform_wrapper .gform-grid-row,
.yic-cat-contact .gform_wrapper .gform-grid-col,
.yic-cat-contact .gform_wrapper .gform-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	row-gap: 18px !important;
	column-gap: 18px !important;
}

.yic-cat-contact .gform_wrapper .gform_fields {
	list-style: none !important;
}

.yic-cat-contact .gform_wrapper .gfield {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	grid-column: auto !important;
}

.yic-cat-contact .gform_wrapper .gfield_label,
.yic-cat-contact .gform_wrapper legend.gfield_label,
.yic-cat-contact .gform_wrapper .gform-field-label,
.yic-cat-contact .gform_wrapper .gform-field-label__text {
	display: inline;
	margin: 0;
	padding: 0;
	font-family: "IBM Plex Sans", system-ui, sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #3d4046 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: normal !important;
}

.yic-cat-contact .gform_wrapper .gfield_label,
.yic-cat-contact .gform_wrapper legend.gfield_label {
	display: block !important;
	margin: 0 0 6px !important;
}

.yic-cat-contact .gform_wrapper .gfield_required_text {
	display: none !important;
}

.yic-cat-contact .gform_wrapper .gfield_required,
.yic-cat-contact .gform_wrapper .gfield_required_asterisk {
	display: inline !important;
	margin-left: 3px;
	color: #fd6e06 !important;
	font-weight: 700;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.yic-cat-contact .gform_wrapper .ginput_container {
	margin: 0 !important;
	padding: 0 !important;
}

.yic-cat-contact .gform_wrapper input[type="text"],
.yic-cat-contact .gform_wrapper input[type="email"],
.yic-cat-contact .gform_wrapper input[type="tel"],
.yic-cat-contact .gform_wrapper input[type="url"],
.yic-cat-contact .gform_wrapper input[type="number"],
.yic-cat-contact .gform_wrapper input[type="phone"],
.yic-cat-contact .gform_wrapper select,
.yic-cat-contact .gform_wrapper textarea,
.yic-cat-contact .gform_wrapper .gfield input.large,
.yic-cat-contact .gform_wrapper .gfield select.large,
.yic-cat-contact .gform_wrapper .gfield textarea {
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 12px 14px !important;
	border: 1px solid #d9d7d1 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #14161a !important;
	font-family: "IBM Plex Sans", system-ui, sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	appearance: auto;
}

.yic-cat-contact .gform_wrapper select option.gf_placeholder,
.yic-cat-contact .gform_wrapper select:invalid {
	color: #8a8d93;
}

.yic-cat-contact .gform_wrapper textarea {
	min-height: 110px !important;
	resize: vertical !important;
}

.yic-cat-contact .gform_wrapper input:focus,
.yic-cat-contact .gform_wrapper select:focus,
.yic-cat-contact .gform_wrapper textarea:focus {
	outline: 2px solid #fd6e06 !important;
	outline-offset: 1px;
	border-color: #fd6e06 !important;
}

/* Tab Chi siete: due card affiancate, non cerchi Orbital. */
.yic-cat-contact .yic-cat-gform__who .gfield_label,
.yic-cat-contact .yic-cat-gform__who legend.gfield_label,
.yic-cat-contact .yic-cat-gform__who .gform-field-label__text {
	margin: 0 0 10px !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
	color: #8a8d93 !important;
}

.yic-cat-contact .yic-cat-gform__who .gfield_radio,
.yic-cat-contact .yic-cat-gform__who .ginput_container_radio {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 10px !important;
	width: 100% !important;
}

.yic-cat-contact .yic-cat-gform__who .gchoice {
	position: relative;
	flex: 1 1 200px !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.yic-cat-contact .yic-cat-gform__who input[type="radio"],
.yic-cat-contact .yic-cat-gform__who .gfield-choice-input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	pointer-events: none !important;
	appearance: none !important;
}

.yic-cat-contact .yic-cat-gform__who .gchoice label,
.yic-cat-contact .yic-cat-gform__who .gchoice .gform-field-label {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 4px !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: auto !important;
	padding: 16px 18px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e0da !important;
	background: #fff !important;
	color: #3d4046 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

.yic-cat-contact .yic-cat-gform__who .yic-cat-gform__who-note {
	display: block;
	margin: 0;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #8a8d93 !important;
}

.yic-cat-contact .yic-cat-gform__who .gchoice:has(input:checked) label,
.yic-cat-contact .yic-cat-gform__who .gchoice:has(input:checked) .gform-field-label,
.yic-cat-contact .yic-cat-gform__who input:checked + label {
	background: #14161a !important;
	color: #fff !important;
	border-color: #14161a !important;
}

.yic-cat-contact .yic-cat-gform__who .gchoice:has(input:checked) .yic-cat-gform__who-note {
	color: #9a9da3 !important;
}

.yic-cat-contact .gform_wrapper .gform_footer,
.yic-cat-contact .gform_wrapper .gform-footer,
.yic-cat-contact .gform_wrapper .gform_page_footer {
	display: grid !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	background: transparent !important;
	border: 0 !important;
}

.yic-cat-contact .gform_wrapper .gform_button,
.yic-cat-contact .gform_wrapper .gform_button.button,
.yic-cat-contact .gform_wrapper input[type="submit"],
.yic-cat-contact .gform_wrapper button[type="submit"] {
	width: 100% !important;
	max-width: none !important;
	margin: 4px 0 0 !important;
	padding: 14px 24px !important;
	border: none !important;
	border-radius: 99px !important;
	background: #fd6e06 !important;
	background-color: #fd6e06 !important;
	color: #fff !important;
	font-family: "IBM Plex Sans", system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 15.5px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

.yic-cat-contact .gform_wrapper .gform_button:hover,
.yic-cat-contact .gform_wrapper .gform_button.button:hover,
.yic-cat-contact .gform_wrapper input[type="submit"]:hover,
.yic-cat-contact .gform_wrapper button[type="submit"]:hover {
	filter: brightness(1.05);
	background: #fd6e06 !important;
	color: #fff !important;
}

.yic-cat-contact .yic-cat-gform__privacy > .gfield_label,
.yic-cat-contact .yic-cat-gform__privacy .gfield_consent_description {
	display: none !important;
}

.yic-cat-contact .yic-cat-gform__privacy .ginput_container_consent,
.yic-cat-contact .yic-cat-gform__privacy .gfield_consent_label {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
}

.yic-cat-contact .yic-cat-gform__privacy input[type="checkbox"],
.yic-cat-contact .yic-cat-gform__privacy .gfield-choice-input {
	position: static !important;
	opacity: 1 !important;
	appearance: auto !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	margin: 3px 0 0 !important;
	padding: 0 !important;
	border: 1px solid #d9d7d1 !important;
	border-radius: 4px !important;
	accent-color: #fd6e06;
	pointer-events: auto !important;
	flex: none !important;
}

.yic-cat-contact .yic-cat-gform__privacy .gfield_consent_label,
.yic-cat-contact .yic-cat-gform__privacy label {
	display: inline !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #3d4046 !important;
}

.yic-cat-contact .yic-cat-gform__privacy a {
	color: #14161a;
	font-weight: 600;
	text-decoration: underline;
}

.yic-cat-contact .yic-cat-gform__privacy .gfield_consent_label::after {
	content: " *";
	color: #fd6e06;
	font-weight: 700;
}

.yic-cat-gform__note,
.yic-cat-contact .gform_wrapper .gfield--type-html,
.yic-cat-contact .gform_wrapper .gfield--type-html .gfield_html {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #8a8d93 !important;
	letter-spacing: 0 !important;
}

.yic-cat-contact .gform_wrapper .gfield--type-html a {
	color: #8a8d93;
	text-decoration: underline;
}

.yic-cat-contact .gform_validation_errors,
.yic-cat-contact .gform_wrapper .gform_submission_error {
	margin: 0 0 8px !important;
	padding: 14px 16px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e0da !important;
	background: #fff4ed !important;
	color: #14161a !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.yic-cat-contact .gform_wrapper .gfield_error input,
.yic-cat-contact .gform_wrapper .gfield_error select,
.yic-cat-contact .gform_wrapper .gfield_error textarea {
	border-color: #fd6e06 !important;
}

.yic-cat-contact .gform_wrapper .gfield_validation_message,
.yic-cat-contact .gform_wrapper .validation_message {
	margin: 6px 0 0 !important;
	color: #b45309 !important;
	font-size: 13px !important;
}

.yic-cat-gform__ok,
.yic-cat-contact .gform_confirmation_message {
	margin: 0;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid #d9d7d1;
	background: #f2f1ee;
	font-size: 15.5px;
	line-height: 1.55;
	color: #14161a;
}

.yic-cat-gform__ok p {
	margin: 0;
}

.yic-cat-contact .gform_ajax_spinner {
	margin-left: 10px;
}

.yic-cat-contact .gform_wrapper .gf_progressbar_wrapper,
.yic-cat-contact .gform_wrapper .gform_legacy_markup,
.yic-cat-contact .gf_invisible {
	display: none !important;
}

@media (min-width: 901px) {
	.yic-cat-contact .gform_wrapper .gform_button,
	.yic-cat-contact .gform_wrapper .gform_button.button,
	.yic-cat-contact .gform_wrapper button[type="submit"] {
		width: 100% !important;
	}
}
