/*
Theme Name: Autostyle Elementor Child
Theme URI: https://www.autostyle.it/
Description: Child theme Autostyle for Hello Elementor. Keeps site customizations update-safe while Elementor manages page layouts.
Author: Autostyle
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: autostyle-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
body {
	margin: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	color: var(--dark-midnight);
	font-weight: 600;
	line-height: 1.2;
}

.autostyle-box-shadow {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
	padding: 24px;
}

.wpforms-render-modern {
	margin: 0 !important;
}

.halfC .wpforms-field-row {
	flex-wrap: nowrap !important;
}

.halfC .wpforms-field-row.wpforms-field-medium,
#wpforms-3264-field_2 {
	max-width: 100% !important;
}

.halfC,
#wpforms-3264-field_3-container {
	padding: 0 !important;
}

.halfC .wpforms-field-row .wpforms-first,
.halfC .wpforms-field-row .wpforms-one-half {
	width: 100% !important;
	padding-right: 10px !important;
}

#wpforms-3264 {
	--wpforms-container-padding: 0px;
	--wpforms-container-border-width: 1px;
	--wpforms-container-border-radius: 3px;
	--wpforms-background-color: rgba(0, 0, 0, 0);
	--wpforms-field-size-input-height: 30px !important;
}

div.wpforms-container-full .wpforms-form .textC textarea.wpforms-field-medium {
	height: calc(var(--wpforms-field-size-input-height) * 1.5);
}

#wpforms-submit-3264 {
	background-color: red;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	width: 100%
}

#wpforms-form-3264 .wpforms-field-label-inline {
	font-size: 12px;
	line-height: 1.2;
}

.titolo H1 {
	text-transform: uppercase;
	font-size: clamp(20px, 5vw, 40px);
	line-height: 1.2;
	margin-bottom: 20px;
}


/* In pagina annuncio singolo gestione shortcode prezzo e bottoni sotto*/
.bottoni-allineati {
	display: block !important;
	width: 100% !important;
}

/* Intercetta SOLO il sotto-contenitore specifico dei bottoni e li allinea in verticale */
.bottoni-allineati .autostyle-vehicle-sidebar-actions,
.bottoni-allineati .vehicle-sidebar-actions {
	display: flex !important;
	flex-direction: row !important;
	/* Mette i bottoni uno sotto l'altro */
	align-items: center !important;
	/* Li centra sotto la scritta PREZZO */
	gap: 5px !important;
	/* Spazio tra un bottone e l'altro */
	margin-top: 5px !important;
	/* Distanza dalla label PREZZO */
	width: 100% !important;
}
.autostyle-vehicle-sidebar-button:hover{
	border:0 !important;
}
/* Rende tutti e 3 i bottoni della stessa identica misura */
.bottoni-allineati a:not(.autostyle-vehicle-sidebar-tradein),
.bottoni-allineati button {
	display: inline-flex !important;
	justify-content: center !important;
	/* Centra il testo internamente */
	align-items: center !important;
	width: auto !important;
	max-width: 220px !important;
	box-sizing: border-box !important;
	padding: 10px 15px !important;
	text-align: center !important;
}

@media (max-width:767px) {

	#content .bottoni-allineati a,
	#content .bottoni-allineati button {
		width: 80vw !important;
		max-width: 80vw !important;
	}
}