/* =========================================
   CAMPAGNA VACCINALE - TUTTO IL PERCORSO
   ========================================= */

/* Sostituisce il titolo originale "Vaccini"
   con "Campagna Vaccinale" */
#main-buttons .title {
    font-size: 0 !important;
}

#main-buttons .title::after {
    content: "Campagna Vaccinale";
    font-size: 38px;
    font-weight: 700;
    color: #5bc5f2 !important;
}


/* Sostituisce "Prenota ora" con "Prenota in sede" */
#main-buttons .btn.book {
    font-size: 0 !important;
}

#main-buttons .btn.book::before {
    content: "Prenota in sede";
    font-size: 16px;
    font-weight: 500;
}


/* =========================================
   NASCONDE PRENOTAZIONE IN FARMACIA DAL MENU
   ========================================= */

#header li:has(a[href="#page/prenotazione-in-farmacia"]) {
    display: none !important;
}

#header a[href="#page/prenotazione-in-farmacia"] {
    display: none !important;
}


/* =========================================
   PAGINA PERSONALIZZATA FARMACIE
   ========================================= */

/* Nella pagina Farmacie nasconde il pulsante */
#sb_main:has(.farmacie-landing) #main-buttons .btn-bar {
    display: none !important;
}

/* Titolo specifico della pagina Farmacie */
#sb_main:has(.farmacie-landing) #main-buttons .title {
    font-size: 0 !important;
}

#sb_main:has(.farmacie-landing) #main-buttons .title::after {
    content: "Prenotazione in farmacia";
    font-size: 30px;
    font-weight: 700;
    color: #ffffff !important;
}


/* =========================================
   CSS STANDARD SIMPLYBOOK
   ========================================= */

#events h3 {
    /* add your css rule here */
}

#events p.duration,
#events div.duration {
    /* add your css rule here */
}

#events p.description,
#events div.description {
    /* add your css rule here */
}

#events .selectedEvent {
    /* add your css rule here */
}

#events input.reserve_time_btn {
    /* add your css rule here */
}

#events input.select_another_btn {
    /* add your css rule here */
}

#eventForm #start_date-block-container h3,
#eventForm #timeline-container h3 {
    /* add your css rule here */
}

#eventForm #save_button {
    /* add your css rule here */
}

div.ui-widget-content {
    /* add your css rule here */
}

div.ui-widget-header {
    /* add your css rule here */
}

#timeline-container table.timeline {
    /* add your css rule here */
}

.timeline td.not_worked_time {
    /* add your css rule here */
}

.timeline td.free_time {
    /* add your css rule here */
}

.timeline td.selected_time {
    /* add your css rule here */
}

.timeline td.reserved_time {
    /* add your css rule here */
}

div#loading {
    /* add your css rule here */
}

#start_date-block-container .zend_form dt,
#start_date-block-container .zend_form dt b,
#start_date-block-container .zend_form dd label {
    /* add your css rule here */
}


/* =========================================
   GRAFICA LANDING FARMACIE
   ========================================= */

.farmacie-landing {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px 25px 60px;
    text-align: center;
}

.farmacie-landing h2 {
    color: #002249;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.farmacie-intro {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 17px;
    line-height: 1.5;
    color: #555;
}

.farmacie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.farmacia-regione {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid #e5e8eb;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.farmacia-regione:hover {
    transform: translateY(-2px);
    border-color: #48BAC3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.regione-nome {
    font-size: 21px;
    font-weight: 700;
    color: #002249;
}

.regione-azione {
    margin-top: 7px;
    color: #48BAC3;
    font-size: 15px;
    font-weight: 500;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    #main-buttons .title::after {
        font-size: 30px;
    }

    #sb_main:has(.farmacie-landing) #main-buttons .title::after {
        font-size: 25px;
    }

    .farmacie-landing {
        padding: 30px 18px 45px;
    }

    .farmacie-grid {
        grid-template-columns: 1fr;
    }

    .farmacie-landing h2 {
        font-size: 25px;
    }
}
/* =========================================
   NASCONDE IL LINK PRENOTAZIONE IN FARMACIA
   DOPO AGGIORNAMENTO SIMPLYBOOK
   ========================================= */

/* Link originale */
#header a[href="#page/prenotazione-in-farmacia"],
#header a[href*="prenotazione-in-farmacia"] {
    display: none !important;
}

/* Intera voce del menu */
#header li:has(a[href*="prenotazione-in-farmacia"]) {
    display: none !important;
}

/* Eventuali nuove strutture del menu */
header a[href*="prenotazione-in-farmacia"],
header li:has(a[href*="prenotazione-in-farmacia"]) {
    display: none !important;
}