.cursor-pointer {
    cursor: pointer;
}

.min-w-10 {
    min-width: 10rem;
}


/* Style pour que les events se chevauchent */
.fc-timeline-event-harness {
    top: 5px !important;
}

.fc-resource-timeline table tbody tr .fc-datagrid-cell div {
    height: 40px !important;
}

.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events {
    padding-bottom: 0 !important;
    height: 32px !important;
}

.fc-timeline-event {
    padding: 4px 1px !important;
}

td.fc-timeline-slot, .fc-timeline-bg, .fc-timeline-event-harness {
    cursor: pointer !important;
}

.border-tt {
    border: 5px solid #9597ef !important;
}

.bg-tt {
    background-color: #9597ef !important;
}

.fc-event-title {
    visibility: hidden; /* hides event title */
}

/*TODO: Voir si on modifie le style du calendrier*/
.fc-timeline-header-row a {
    color: var(--bs-dark) !important;
    text-decoration: none;
}

.fc-timeline-header-row:nth-child(1) {
    /*background: var(--bs-dark) !important;*/
    text-transform: uppercase;
}

/*.fc-timeline-header-row:nth-child(2) {*/
/*    background: rgba(0, 0, 0, 0.8) !important;*/
/*}*/

/*.fc-timeline-header-row:nth-child(3) {*/
/*    background: rgba(0, 0, 0, 0.6) !important;*/
/*}*/

/*.fc-timeline-header-row:nth-child(4) {*/
/*    background: rgba(0, 0, 0, 0.5) !important;*/
/*}*/

th[role="columnheader"] {
    text-transform: uppercase;
}

.legend-tt {
    opacity: 0.3;
}

.fc-header-toolbar {
    @media (max-width: 870px) {
        flex-direction: column;
    }
}

.no-resource-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-weight: bold;
    color: var(--bs-gray-600);
    margin-bottom: 0;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.fc-button-active {
    background-color: var(--bs-secondary) !important;
}

.bg-day-grey {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.fc .fc-timeline-now-indicator-line {
    border-width: 0 1px 0 1px !important;
}

.fc .fc-timeline-now-indicator-arrow {
    border-width: 10px 8px 0px 8px !important;
    margin: 0 -8px !important;
}

.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {
    justify-content: center !important;
}