.slider-regalo .qodef-e-media-image {
    z-index: 10 !important;
}

.slider-regalo .qodef-e-content {
    z-index: auto !important;
}

.slider-regalo .qodef-e-content .xb-btn {
    z-index: 999 !important;
    position: relative;
}

.btn-lista {
    padding: 8px 32px !important;
    margin-top: 16px !important;
}

.xb-btn {
    position: relative;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: rgba(0, 0, 0, .6) !important;
    font-family: Cormorant, sans-serif;
    font-weight: 900;
    font-size: 18px;
    padding-left: 16px;
}

.xb-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    background-image: url('/wp-content/uploads/2025/05/map-pin.png');
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.programma .qodef-e-timeline-list h2 {
    text-align: center;
    margin: 48px 0 10px 0;
}

.programma .qodef-e-timeline-list h2:first-child {
    margin-top: 0 !important;
}

* {
    scroll-margin-top: 100px;
}

#programma_gm,
#come_raggiungerci_gm {
    scroll-margin-top: 50px;
}

#pernottamento_gm,
#faq_gm {
    scroll-margin-top: 150px;
}

input[type=checkbox], 
input[type=radio] {
    flex-shrink: 0 !important;
}

.privacy-error .wpcf7-acceptance {
  border: 2px solid red;
  padding: 5px;
  display: inline-block;
}

@media screen and (max-width: 1399px) {

    .qodef-header-navigation>ul>li:first-child {
        margin-left: 0 !important;
    }

    .qodef-header-navigation>ul>li:last-child {
        margin-right: 0 !important;
    }

    .qodef-header-navigation>ul>li {
        margin: 0 8px !important;
    }

    header .qodef-shortcode.qodef-button {
        padding: 8px 32px !important;
    }

}

@media screen and (max-width: 1199px) {

    #qodef-page-mobile-header .qodef-opener-icon {
        display: inline-block !important;
    }

    header .qodef-shortcode.qodef-button {
        padding: 8px 52px !important;
    }

    #qodef-page-mobile-header-inner .qodef-mobile-header-logo-link {
        justify-content: flex-start !important;
        width: 100% !important;
    }

    #qodef-page-mobile-header {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
    }

    #qodef-page-outer {
        margin-top: 0 !important;
    }

}

@media screen and (max-width: 575px) {

    header .qodef-shortcode.qodef-button {
        padding: 8px 32px !important;
    }

    .qodef-radio-buttons-custom .wpcf7-list-item {
        text-align: left !important;
    }

    .qodef-radio-buttons-custom .qodef-radio-check > .wpcf7-list-item:nth-child(2) > label {
        margin-bottom: 10px !important;
    }

    .wpcf7-form-control.wpcf7-acceptance > .wpcf7-list-item {
        margin-left: 0 !important;
    }

    #rsvp_gm .elementor-widget-wp-widget-bisou_core_contact_form_7 {  
        display: flex;
        justify-content: center;
    }

    #rsvp_gm .elementor-widget-wp-widget-bisou_core_contact_form_7 > .elementor-widget-container,
    #contatti_gm {  
        width: 86%;
        max-width: 86%;
        padding: 0 !important;
    }

    #faq_gm .elementor-widget-qi_addons_for_elementor_faq .qodef-shortcode > .qodef-e-title-holder,
    #faq_gm .elementor-widget-qi_addons_for_elementor_faq .qodef-shortcode > .qodef-e-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #programma_gm .qodef-e-timeline-list-item {
        padding: 0 30px !important;
    }

    .xb-btn {
        white-space: nowrap !important;
    }

}