
:root {
    --fc-list-event-dot-width: 10px;
    --fc-list-event-hover-bg-color: #f5f5f5;
    
    --fc-small-font-size: .85em;
    --fc-page-bg-color: #fff;
    --fc-neutral-bg-color: rgba(208, 208, 208, 0.3);
    --fc-neutral-text-color: #808080;
    --fc-border-color: #ddd;

    --fc-button-text-color: #fff;
    --fc-button-bg-color: #414e26;
    --fc-button-border-color: #414e26;
    --fc-button-hover-bg-color: #54662e;
    --fc-button-hover-border-color: #414e26;
    --fc-button-active-bg-color: #79130c;
    --fc-button-active-border-color: #79130c;

    --fc-event-bg-color: #3788d8;
    --fc-event-border-color: #3788d8;
    --fc-event-text-color: #fff;
    --fc-event-selected-overlay-color: rgba(0, 0, 0, 0.25);

    --fc-more-link-bg-color: #d0d0d0;
    --fc-more-link-text-color: inherit;

    --fc-event-resizer-thickness: 8px;
    --fc-event-resizer-dot-total-width: 8px;
    --fc-event-resizer-dot-border-width: 1px;

    --fc-non-business-color: rgba(215, 215, 215, 0.3);
    --fc-bg-event-color: #e7bc68;
    --fc-bg-event-opacity: 0.3;
    --fc-highlight-color: #e7bc68;
    --fc-today-bg-color: rgba(255, 220, 40, 0.15);
    --fc-now-indicator-color: red; 
}
.fc-event-time {
    display: none;
}
.fc-list-event-time {
    visibility: hidden;
}

@media (max-width: 768px) {
    .fc .fc-toolbar {
        align-items: stretch;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 1rem;   
    }
}

#months-selector {
    display: block; margin: 0;
}

#event-calendar.fc .fc-view-harness {
    padding: 1rem;
    background-color: #f9ebd0;
}


button.fc-button:focus,
button.fc-button:hover {
    color: #fff;
    background-color: #76110f;
    text-decoration: none;
}

.fc-theme-standard td,
.fc-theme-standard th {
    border: 1px solid #ede4d3;
    background-color: #efdeb5 !important;
    color: #000;
    border-block-start: none;
}
.fc .fc-daygrid-event {
    margin-top: 1px;
    z-index: 6;
    color: #06274b;
    background-color: #e7bc68;
    border-bottom: 2px solid #FAFAFA !important;
    font-size: 13px;
    transition: all 0.3s ease;
    line-height: 1.1;
    text-decoration: none;
}
.fc .fc-daygrid-event:hover, .fc .fc-daygrid-event.is-hovered {
    background-color: #c2340a !important;
    color: #f2f2f2 !important;
    font-size: 13px;
    line-height: 1.1;
}

.fc-h-event .fc-event-main {
    color: inherit;
    padding: 4px 8px;
}

.fc-toolbar-chunk {
    display: flex;;
}

.fc .fc-daygrid-day-number {
    padding: 4px;
    position: relative;
    height: auto;
    width: auto;
    border-radius: 8px;
    color: #fff !important;
    padding: 2px 10px;
    text-align: center;
    display: block;
    font-size: 14px;
    background-color: #7c1509;
    line-height: 1.5rem;
}
.fc .fc-daygrid-day-number:hover {
    font-size: 14px !important;
    line-height: 1.5rem !important;
}

/* List view */
.fc-list-table, .fc-list-day-text, .fc-list-day-side-text {
    font-size: 1rem !important;
}
.fc-list-day-text:hover, .fc-list-day-side-text:hover {
    font-size: 1rem !important;
}
span.slot-details {
    display: block;
    color: #240f1e;
    background-color: #e6d9be;
}

.fc .fc-list-empty {
    background-color: #efdeb5;
    color: #434343;
}