/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Container generale del form */
.wpcf7 form {
    color: #4a4a4a; /* Colore testo scuro */
}

/* Stile per i campi di testo e textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid black !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    margin-bottom: 10px;
    width: 100%;
    color: #4a4a4a !important;
    font-size: 15px;
}
.cf7-column-full {
	
	width: 100%;
}

.wpcf7-list-item label {
	display: flex;
	align-items: center;
}
.wpcf7-list-item-label {
	    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: black;
    display: inline-block;
    max-width: 764px;
    padding-left: 5px;
}

.wpcf7-list-item-label a {color: #333;}

/* Rimuove l'outline blu quando si clicca sui campi */
.wpcf7 input:focus, 
.wpcf7 textarea:focus {
    outline: none !important;
    border-bottom: 1px solid #db8d57!important;
}

/* Placeholder (i testi dentro i campi) */
::placeholder {
    color: #7a7a7a !important;
    opacity: 1;
}

/* Gestione delle colonne */
.cf7-row {
    display: flex;
    gap: 30px; /* Spazio tra le colonne */
    margin-bottom: 20px;
}

.cf7-column {
    flex: 1;
}

/* Checkbox e testi privacy */
.wpcf7-list-item {
    margin: 0 0 15px 0 !important;
    display: block !important;
}

.wpcf7-list-item-label {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    display: inline-block;
    padding-left: 5px;
}

/* Stile del Bottone INVIA */
.cf7-submit-container {
    text-align: center;
    margin-top: 30px;
}

.wpcf7-submit {
    background-color: #e28a53 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 70px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px !important;
    transition: background 0.3s ease;
}
/* 1. Reset dello spinner predefinito */
.wpcf7 .wpcf7-spinner {
    background-color: #e28a53 !important; /* Colore arancione del tuo tasto */
    opacity: 0.8;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin: 0 0 0 15px !important; /* Spazio a destra del tasto Invia */
    vertical-align: middle;
    display: inline-block;
    visibility: hidden; /* Nascosto di default */
}

/* 2. Visualizzazione solo durante l'invio (AJAX attivo) */
.wpcf7 form.submitting .wpcf7-spinner {
    visibility: visible !important;
}

/* 3. Feedback visivo sul tasto durante il caricamento */
.wpcf7 form.submitting .wpcf7-submit {
    opacity: 0.7 !important;
    cursor: wait !important;
    pointer-events: none; /* Impedisce doppi click */
}

/* 4. Posizionamento corretto nel tuo contenitore */
.cf7-submit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.wpcf7-submit:hover {
    background-color: #cf7643 !important;
}
/* Adattamento per Mobile */
@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
        gap: 0;
    }
}

.elementor-sticky--effects {
    background-color: #efebe8!important;
}

.elementor-sticky--effects  .menu-item a {
    color: #333!important;
}
.elementor-sticky--effects  .menu-item a.elementor-item-active {
    color: #DB8D57!important;
}
#logo-black-sticky {
	display: none;
}
.elementor-sticky--effects #logo-black-sticky{
	display: block;
}
.elementor-sticky--effects #logo-white-sticky{
	display: none;
}
.menu-item {
	padding: 0px 10px!important;
}
.menu-item a {
    position: relative;
    text-decoration: none;
		padding: 0px!important;
}

.menu-item a::after {
    content: ''!important;
    position: absolute!important;
    bottom: 0!important;
    left: 0!important;
    width: 0!important; 
    height: 2px!important; 
    background-color: #DB8D57!important;
    transition: width 0.3s ease-in-out!important; 
}


.menu-item a:hover::after,
.menu-item a.elementor-item-active::after{
    width: 100%!important;
}

	.elementor-popup-modal .menu-item {
		text-align: center;
	}
	.elementor-popup-modal .menu-item a {
		display: inline-block;
	}

.dialog-close-button {
	background-color: #a3bead;
    padding: 15px;
}
.dialog-close-button svg {
	fill: white!important;
}

strong {
font-weight: 500!important;
}

.page-template-template-policy h2 {
    font-size: 22px;
    font-weight: 600;
}
.page-template-template-policy h3 {
    font-size: 16px;
    font-weight: 600;
}