/*
	Custom CSS
	Please make sure your CSS rules are 
	more particular / have higher priority
	then other page styles
*/
 #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 */
}

/* Masquer le compteur de séances sur les suivis posing */
#membership-view .sessions-num-wrapper {
    display: none !important;
}

/* Masquer les suivis / abonnements sur la page d'accueil */
#sb_content #sb_membership_module {
    display: none !important;
}

/* Accueil — cartes Naiis Posing / Naiis Coaching */

/* Supprime les bordures du tableau */
#sb_company_info table,
#sb_company_info table td {
    border: none !important;
}

/* Mobile : affiche les deux univers l'un sous l'autre */
@media (max-width: 767px) {
    #sb_company_info table,
    #sb_company_info table tbody,
    #sb_company_info table tr,
    #sb_company_info table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #sb_company_info table td {
        margin-bottom: 24px !important;
    }
}

/* Cartes Naiis Posing / Naiis Coaching sur l'accueil */
#about-us .txt table.table-bordered,
#about-us .txt table.table-bordered > tbody,
#about-us .txt table.table-bordered > tbody > tr,
#about-us .txt table.table-bordered > tbody > tr > td {
    border: none !important;
}

/* Desktop : espace entre les deux univers */
#about-us .txt table.table-bordered > tbody > tr > td {
    padding: 12px !important;
    vertical-align: top !important;
}

/* Mobile : les deux cartes l'une sous l'autre */
@media (max-width: 767px) {
    #about-us .txt table.table-bordered,
    #about-us .txt table.table-bordered > tbody,
    #about-us .txt table.table-bordered > tbody > tr,
    #about-us .txt table.table-bordered > tbody > tr > td {
        display: block !important;
        width: 100% !important;
    }

    #about-us .txt table.table-bordered > tbody > tr > td {
        padding: 10px 0 !important;
    }
}

/* Masquer le bloc Horaires d'ouverture */
#schedule {
    display: none !important;
}

/* Supprimer aussi la colonne qui contenait les horaires */
.col-sm-4.col-md-3:has(#schedule) {
    display: none !important;
}

/* Agrandir le bloc central */
.col-sm-4.col-md-6:has(#about-us) {
    width: 75% !important;
    flex: 0 0 75% !important;
    max-width: 75% !important;
}

/* Optimisation mobile */
@media (max-width: 767px) {
    .col-sm-4.col-md-6:has(#about-us) {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* NAIIS POSING — tableau de navigation */
#custom-page .page-content table,
#custom-page .page-content table tr,
#custom-page .page-content table td {
    border: none !important;
}
/* NAIIS POSING — version mobile */
@media (max-width: 767px) {

    #custom-page .page-content table,
    #custom-page .page-content table tbody,
    #custom-page .page-content table tr {
        display: block !important;
        width: 100% !important;
    }

    #custom-page .page-content table td {
        display: block !important;
        width: 100% !important;
        padding: 0 0 28px 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    #custom-page .page-content table td img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto 10px auto !important;
    }

    #custom-page .page-content table td:last-child {
        padding-bottom: 0 !important;
    }
}
/* Masquer le filtre des suivis posing */
#sb_membership_filter_container {
    display: none !important;
}
/* PACKS POSING — masquer la ligne du service inclus */
.selected-package-list.short {
    display: none !important;
}
/* PACKS POSING — masquer le filtre */
#sb_package_filter_container {
    display: none !important;
}
/* PACKS POSING — afficher la validité en semaines */

/* Masque le texte "42 jours / 84 jours" */
#sb_package_list_container .package-item .date-item > span:not(.icon) {
    font-size: 0 !important;
}

/* Pack 3 cours */
#sb_package_list_container .package-item:nth-child(1) .date-item > span:not(.icon)::after {
    content: "6 semaines";
    font-size: 16px !important;
}

/* Pack 6 cours */
#sb_package_list_container .package-item:nth-child(2) .date-item > span:not(.icon)::after {
    content: "12 semaines";
    font-size: 16px !important;
}
/* PACKS POSING — garder la validité sur une seule ligne */
#sb_package_list_container .package-item .date-item > span:not(.icon)::after {
    white-space: nowrap !important;
}
/* Masquer le bouton Réserver du bandeau d'accueil */
#main-buttons .btn.book {
    display: none !important;
}
/* Bandeau ONE MORE compact */
#main-buttons {
    min-height: 180px !important;
    height: 180px !important;
    background-image: none !important;
    position: relative !important;
}

/* ONE MORE */
#main-buttons::after {
    content: "ONE MORE";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    
    color: rgba(92, 70, 180, 0.06);
    pointer-events: none;
}
/* ACCUEIL — 2 cartes parfaitement identiques */
#main-content .section-pd .txt table {
    width: 100% !important;
    table-layout: fixed !important;
}

#main-content .section-pd .txt table td {
    width: 50% !important;
}

#main-content .section-pd .txt table td img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}
/* Cartes des pages personnalisées — images uniformes */
#custom-page .page-content table td img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Colonnes parfaitement identiques */
#custom-page .page-content table {
    width: 100% !important;
    table-layout: fixed !important;
}

#custom-page .page-content table td {
    width: 50% !important;
    vertical-align: top !important;
}
/* MOBILE — pages personnalisées : cartes pleine largeur */
@media (max-width: 767px) {

    #custom-page .page-content table {
        width: 100% !important;
        table-layout: auto !important;
    }

    #custom-page .page-content table tbody,
    #custom-page .page-content table tr {
        display: block !important;
        width: 100% !important;
    }

    #custom-page .page-content table td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    #custom-page .page-content table td img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* PAGES PERSONNALISÉES — petit espace entre titre et image */
#custom-page .page-content table td p:has(+ p img) {
    margin-bottom: 10px !important;
}

#custom-page .page-content table td p:has(img) {
    margin-top: 0 !important;
}
/* NAIIS POSING — normaliser les espaces internes des cartes */

/* Supprime les marges des paragraphes situés entre l'image et le CTA */
#custom-page .page-content table td > p:has(img) {
    margin-bottom: 0 !important;
}

/* Les paragraphes vides intermédiaires ne prennent plus de place */
#custom-page .page-content table td > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Même espace entre chaque image et son bouton Découvrir */
#custom-page .page-content table td > p:has(a) {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}
/* PAGES NAIIS POSING + NAIIS COACHING — cartes blanches */
#custom-page .page-content table td {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
/* PAGES PERSONNALISÉES — séparer visuellement les cartes */
#custom-page .page-content table {
    border-collapse: separate !important;
    border-spacing: 24px 0 !important;
}
/* MOBILE — espace beige entre les cartes */
@media (max-width: 767px) {

    /* Pages Naiis Posing + Naiis Coaching */
    #custom-page .page-content table td {
        margin-bottom: 20px !important;
    }

    #custom-page .page-content table td:last-child {
        margin-bottom: 0 !important;
    }
}
/* ACCUEIL MOBILE — 2 vraies cartes séparées */
@media (max-width: 767px) {

    #about-us .txt table.table-bordered > tbody > tr > td {
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        padding: 20px 12px !important;
        margin-bottom: 20px !important;
        overflow: hidden !important;
    }

    #about-us .txt table.table-bordered > tbody > tr > td:last-child {
        margin-bottom: 0 !important;
    }
}

/* ACCUEIL DESKTOP — vraies cartes individuelles */
@media (min-width: 768px) {

    #content-view #about-us .section-pd .txt table.table.table-bordered {
        border-collapse: separate !important;
        border-spacing: 24px 0 !important;
    }

    #content-view #about-us .section-pd .txt table.table.table-bordered > tbody > tr > td {
        width: 50% !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        padding: 20px 12px !important;
        overflow: hidden !important;
    }
}

/* ACCUEIL — centrer le titre */
#content-view #about-us .section-pd > .title-main {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}
/* Centrer les titres Naiis Posing / Naiis Coaching */
#custom-page .title-main {
    text-align: center !important;
    width: 100% !important;
}
