/*
	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 */
}



/* === Police des horaires d'ouverture === */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

#schedule .title-main,
#schedule table.overview td.day,
#schedule table.overview td.time {
    font-family: 'Lato', Arial, Helvetica, sans-serif !important;
}


/* === Adresse sous la carte === */
#sb_map::after {
    content: "10 rue du Général de Gaulle, 59400 Cambrai";
    display: block;
    text-align: center;
    padding: 14px 20px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #444444;
    background-color: #f5f5f5;
    border-top: 2px solid #dddddd;
    letter-spacing: 0.4px;
}


/* === Overlay rouge bordeaux sur la banniere === */
#main-buttons {
    position: relative;
}
#main-buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(120, 15, 15, 0.72);
    z-index: 0;
    pointer-events: none;
}
#main-buttons .container-fluid {
    position: relative;
    z-index: 1;
}


/* === Correction bouton 'Ajouter un commentaire' sur mobile === */
.btn.open-rev-modal {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 14px 20px !important;
    white-space: normal !important;
}







/* === Légende Indisponible - colonnes alignées === */
.time-legend {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-left: auto !important;
    width: fit-content !important;
    gap: 4px !important;
}
.time-legend .available {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.time-legend::after {
    content: " - Indisponible" !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: rgb(201, 162, 39) !important;
    padding-left: 21px !important;
    background-image: radial-gradient(circle, #e74c3c 7.5px, transparent 7.5px) !important;
    background-repeat: no-repeat !important;
    background-position: 0px 50% !important;
    background-size: 15px 15px !important;
    white-space: nowrap !important;
}

/* === Créneaux complets en rouge (si SimplyBook les affiche) === */
.slot .sb-cell:not(.free) {
    background-color: #e74c3c !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}