
: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: #000;
    --fc-button-border-color: #222;
    --fc-button-hover-bg-color: #111;
    --fc-button-hover-border-color: #c80010;
    --fc-button-active-bg-color: #cc0009;
    --fc-button-active-border-color: #cc0009;
    --fc-event-bg-color: #c80010;
    --fc-event-border-color: #c80010;
    --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: #c80010;
    --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;
}

.fc-toolbar-title {
    display: none;
}

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

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

#event-calendar.fc .fc-view-harness {
    padding: 0;
    background-color: #fff;
}


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: #fff !important;
    color: #000;
    border-block-start: none;
}
.fc .fc-daygrid-event {
    margin-top: 1px;
    z-index: 6;
    color: #fff;
    background-color: #c80010;
    border-bottom: 2px solid #fff !important;
    font-size: 13px;
    transition: all 0.3s ease;
    line-height: 1.1;
}
.fc .fc-daygrid-event:hover, .fc .fc-daygrid-event.is-hovered {
    background-color: #cf2d3e !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: #535353;
    line-height: 1.5rem;
}
.fc .fc-day-today .fc-daygrid-day-number {
    background-color: #000000;
}
.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;
}
