/* Moduli dp_form: riproducono l'aspetto dei CF7 con lo stile Avada del sito (campi trasparenti con bordo bianco, su fondo nero). */
.dp-form {
	--dp-form-text: #ffffff;
	--dp-form-border: #ffffff;
	--dp-form-focus: #f2f3f5;
	position: relative;
	color: var(--dp-form-text);
	font-family: inherit;
	letter-spacing: 0.1em;
}
.dp-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.dp-form__label {
	/* label nascosta: il testo visibile e' il placeholder, come oggi */
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.dp-form__field {
	margin: 0 0 20px;
}
.dp-form__input {
	display: block;
	width: 100%;
	height: 50px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 15px;
	background-color: transparent;
	border: 1px solid var(--dp-form-border);
	border-radius: 0;
	color: var(--dp-form-text);
	font-family: inherit;
	font-size: 16px;
	letter-spacing: 0;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.dp-form__textarea {
	height: 150px;
	padding: 8px 15px;
	resize: vertical;
}
.dp-form__input::placeholder {
	color: var(--dp-form-text);
	letter-spacing: 0;
	opacity: 1;
}
.dp-form__input:focus {
	border-color: var(--dp-form-focus);
	outline: 1px solid var(--dp-form-focus);
	outline-offset: 2px;
}
.dp-form__tip {
	display: block;
	color: #dc3232;
	font-size: 14px;
	margin-top: 4px;
}
.dp-form__tip:empty {
	display: none;
}
.dp-form__field--error .dp-form__input {
	border-color: #dc3232;
}
.dp-form__consent {
	font-size: 12px;
	margin-bottom: 10px;
	color: #ffffff;
}
.dp-form__consent label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.dp-form__consent a {
	color: #ffffff;
	text-decoration: underline;
}
/* Casella quadrata */
.dp-form__consent input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	display: inline-block;
	width: 18px;
	min-width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid #ffffff;
	border-radius: 0;
	background-color: transparent;
	cursor: pointer;
	vertical-align: middle;
	flex-shrink: 0;
}
.dp-form__consent input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.dp-form__consent input[type="checkbox"]:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}
.dp-form__consent .dp-form__tip {
	font-size: 14px;
}
.dp-form__field--error.dp-form__consent span {
	color: #ffb3b3;
}
.dp-form__submit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 32px;
	background: #000000;
	border: 1px solid #ffffff;
	border-radius: 0;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.dp-form__submit:hover,
.dp-form__submit:focus-visible {
	background: #ffffff;
	color: #000000;
}
.dp-form.is-sending .dp-form__submit {
	opacity: 0.6;
	cursor: wait;
}
.dp-form__response {
	margin: 20px 0 0;
	padding: 25px;
	font-size: 14px;
	text-align: center;
}
.dp-form__response[hidden] {
	display: none;
}
.dp-form__response--ok {
	background-color: #dff0d8;
	border: 1px solid #468847;
	color: #468847;
}
.dp-form__response--error {
	background-color: #f2dede;
	border: 1px solid #b94a48;
	color: #b94a48;
}
@media (prefers-reduced-motion: reduce) {
	.dp-form__submit {
		transition: none;
	}
}
