/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.azzurro {color: #12a3f9 !important; }
.light-blue {color: #83CCF8 !important; }
.black {color: #000 !important; }


.accordion-title {
    font-size: 150%;
    color: #000 !important;
}

.accordion .toggle {
    color: #12a3f9;
}

.button.instagram:not(.is-outline) {
    color: #12a3f9 !important;
}

/*Contact Form 7 */

.cf7-custom-form {
    max-width: 1000px;
    font-family: inherit;
    color: #4a5568;
}

/* Riga con 3 campi affiancati (Nome, Email, Telefono) */
.cf7-custom-form .cf7-row-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cf7-custom-form .cf7-row-3 .cf7-field {
    flex: 1 1 0;
    min-width: 220px;
}

.cf7-custom-form .cf7-row-1 {
    margin-top: 20px;
}

.cf7-custom-form .cf7-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #5a6472;
}

.cf7-custom-form .cf7-required {
    color: #e53e3e;
}

/* Input di testo, email, tel */
.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    background-color: #e8f4fd;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
}

/* Textarea messaggio */
.cf7-custom-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    padding: 12px 14px;
    background-color: #e8f4fd;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
    resize: vertical;
}

.cf7-custom-form input::placeholder,
.cf7-custom-form textarea::placeholder {
    color: #9aa5b1;
}

.cf7-required-note {
    margin-top: 16px;
    font-size: 14px;
    color: #5a6472 !important;
}

/* Checkbox privacy / newsletter */
.cf7-checkbox-row {
    margin-top: 22px;
}

.cf7-checkbox-row .wpcf7-list-item {
    margin: 0;
}

.cf7-checkbox-row .wpcf7-list-item-label {
    font-size: 14px;
    color: #5a6472;
}

.cf7-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: #333;
}

.cf7-checkbox-row a {
    color: #4a5568;
    text-decoration: underline;
}

/* Bottone invio */
.cf7-submit-row {
    margin-top: 28px;
    text-align: right;

}

.cf7-custom-form input[type="submit"] {
    background-color: #fff;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    border-radius: 24px;
    padding: 5px 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
	text-transform: capitalize !important;
}

.cf7-custom-form input[type="submit"]:hover {
    background-color: #12a3f9;
    color: #000;
}

/* Responsive: sotto i 768px i 3 campi vanno in colonna */
@media (max-width: 768px) {
    .cf7-custom-form .cf7-row-3 {
        flex-direction: column;
        gap: 16px;
    }
    .cf7-submit-row {
        text-align: center;
    }
    .cf7-custom-form input[type="submit"] {
        width: 100%;
    }
}

/* Fine Contact Form 7 */

/* Menu centrato */

.header-inner.flex-row { position: relative; }

.header-inner .flex-col.hide-for-medium .header-nav-main {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  justify-content: center !important;
  pointer-events: none;
}
.header-inner .flex-col.hide-for-medium .header-nav-main > li { pointer-events: auto; }
.header-inner .flex-col.hide-for-medium .header-nav-main > li.header-button-1 {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Fine menu centrato */

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.accordion-title {
    font-size: 100%;
    color: #000 !important;
}
	
	
}