/* 
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
*/

/* Recensioni/Commenti */
#comments .comment .comment-body {
    padding: 16px !important;
    background-color: #D2DEEB !important;
    margin-bottom: 20px !important;
    border-block-end: none !important;
    border-radius: 16px !important;
}

#comments .comment-metadata, #comments .reply {
    display: none;
}

/*Accordion Viaggio singolo*/
:root :where(.is-layout-flow) > * {
    margin-block-start: 12px !important;
}

.wp-block-accordion-heading__toggle:not(:focus-visible) {
    background-color: #d2deeb !important;
    color: #084ebf !important;
}

/*Form*/
.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
    padding: 8px 0 !important;
}

div.wpforms-container-full .wpforms-field-label, .wp-core-ui div.wpforms-container-full .wpforms-field-label {
    margin: 0 0 4px 0 !important;
}

@media (max-width: 767px) {
    .wpforms-container .wpforms-field .wpforms-field-row {
        flex-direction: column !important;
    }

    .wpforms-container .wpforms-field .wpforms-field-row .wpforms-one-half {
        width: 100% !important;
    }

    .wpforms-container .wpforms-field .wpforms-field-row .wpforms-field-row-block {
        padding: 4px 0 !important;
    }
}

/*Newsletter form*/
.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.form-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: #ffffff;
    font-size: 16px;
}

.form-field input::placeholder {
    color: #9a9a9a;
}

.submit-btn {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: #0d5fe0; /* blu del bottone */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #0b52c4;
}

.mc4wp-response .mc4wp-alert.mc4wp-notice p{
    background-color: #aaeb99;
    border: 1px solid #5fd067;
    color: #126718;
    padding: 4px 8px;
    border-radius: 4px;
}

/*Immagini carosello*/
img.swiper-slide-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

/*MENU*/
/*ombra sotto ai testi bianchi*/
.elementor-12 .elementor-element.elementor-element-90de8e7 .elementor-nav-menu--main .elementor-item {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/*animazione e schermo intero menu a tendina mobile*/
/*menu sfondo bianco*/
@media (max-width: 1030px) {
    /* Contenitore esterno: logo + menu, va a schermo intero quando il menu è aperto */
    .elementor-element-2a7e92f:has(.elementor-menu-toggle.elementor-active) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        background-color: #D2DEEB !important;
        z-index: 9999;
        transition: background-color 0.3s ease;
    }

    /* Il container del menu ora sta semplicemente dentro il blocco fixed, niente più posizionamento assoluto proprio */
    .elementor-element-6fb90f3 .elementor-nav-menu__container {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
        background: transparent; /* eredita il colore dal contenitore esterno */
    }

    /*menu testi bianco*/
    /* Contenitore esterno: logo + menu, va a schermo intero quando il menu è aperto */
    .elementor-element-2e4f8eb:has(.elementor-menu-toggle.elementor-active) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        background-color: #D2DEEB !important;
        z-index: 9999;
        transition: background-color 0.3s ease;
    }

    /* Il container del menu ora sta semplicemente dentro il blocco fixed, niente più posizionamento assoluto proprio */
    .elementor-element-90de8e7 .elementor-nav-menu__container {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
        background: transparent; /* eredita il colore dal contenitore esterno */
    }

    /*aumento il font di entrambi i menu quando mobile*/
    .elementor-element-6fb90f3 .elementor-nav-menu__container .elementor-item,
    .elementor-element-90de8e7 .elementor-nav-menu__container .elementor-item {
        font-size: 22px !important;
        margin-bottom: 12px;
    }
}

/*correggo la x blu quando sfondo azzurro*/
.elementor-12 .elementor-element.elementor-element-90de8e7 div.elementor-menu-toggle:has(.elementor-menu-toggle.elementor-active) svg {
    fill: #032246 !important;
}
/*correggo il dropdown icon che non ha una regola quando hover o highlighted*/
.elementor-nav-menu .sub-arrow .e-font-icon-svg.fa-svg-chevron-down:hover {
    fill: white !important;
}
