/*
*   The css file to handle FullCalendar style
*/

/*
*   ---------------------------------------- LIST TYPE ------------------------------------------
*/
:root {
    --full-calendar-bg: #E9E9E9;
    --full-calendar-grid-tooltip-color: #252525
}
.full-calendar-list {
    border: none !important;
    overflow-x: auto;
}
.full-calendar-list table.fc-list-table {
    width: 100%
}
.full-calendar-list .fc-list-day-cushion {
    border-radius: var(--border-radius);
    background-color: var(--full-calendar-bg);
    cursor: pointer;
    margin-bottom: 0.25rem;
}
.full-calendar-list .fc-list-event:hover td {
    background-color: transparent !important;
}
.full-calendar-list table th {
    border: none !important;
}
.full-calendar-list table td {
    border-top: none;
    border-right: none;
    border-left: none;
}
.full-calendar-list .fc-list-day.fc-day > td:first-child,
.full-calendar-list .fc-list-day.fc-day > th:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}
.full-calendar-list .fc-list-day.fc-day > td:last-child,
.full-calendar-list .fc-list-day.fc-day > th:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.full-calendar-list tr > th {
    padding: 0 !important;
    margin-bottom: 0.25rem;
}
.full-calendar-list .fc-list-event-graphic {
    display: none;
}
.full-calendar-list-toolbar-header div.fc-toolbar-chunk {
    width: 100%;
    display: flex;
}
.full-calendar-list-toolbar-header .fc-next-button,
.full-calendar-list-toolbar-header .fc-prev-button {
    background-color: transparent;
    border-color: var(--full-calendar-bg);
    color: var(--text-color);
    font-size: 16px;
}
.full-calendar-list-toolbar-header .fc-next-button:hover,
.full-calendar-list-toolbar-header .fc-prev-button:hover,
.full-calendar-list-toolbar-header .fc-next-button:active:focus,
.full-calendar-list-toolbar-header .fc-prev-button:active:focus {
    background-color: var(--full-calendar-bg);
    border-color: var(--full-calendar-bg);
    color: var(--text-color);
}
.full-calendar-list-toolbar-header div.fc-toolbar-chunk:not(:first-child) {
    display: none;
}
.full-calendar-list .fc-list-event.fc-event > td,
.full-calendar-list .fc-list-event.fc-event > td.fc-list-event-title > div > div {
    vertical-align: middle;
    margin: auto;
}
.calendar-list-container {
    min-height: 60vh;
}

@media(max-width: 450px) {
    .full-calendar-list .fc-list-event-graphic,
    .full-calendar-list .fc-list-event-time {
        white-space: break-spaces;
    }
    .full-calendar-list .fc-list-day-cushion, .full-calendar-list .fc-list-table td {
        padding: 8px 8px;
    }
    .full-calendar-list .fc-list-event-time {
        text-align: center;
    }
}

/*
* ----------------------------- GRID VIEW ---------------------------------
*/

.full-calendar-grid table {
    border: none !important;
    color: var(--text-color);
}
.full-calendar-grid-toolbar-header::before {
    display: none;
}
.full-calendar-grid-toolbar-header .fc-toolbar-title {
    margin: 0 !important;
    padding: 0 1rem;
    text-align: center;
    padding-top: 0.4rem;
}
.full-calendar-grid-toolbar-header {
    display: flex;
    flex-wrap: wrap;
}
.full-calendar-grid .fc-col-header-cell.fc-resource .fc-col-header-cell-cushion {
    word-break: break-word;
}
.full-calendar-grid-toolbar-header div.fc-toolbar-chunk {
    display: flex;
    justify-content: space-between;
}
.full-calendar-grid-toolbar-header .fc-next-button {
    margin-left: 0 !important;
}
.full-calendar-grid .fc-col-header-cell:not(.fc-resource) {
    font-weight: 400;
    font-size: 13px;
}
.full-calendar-grid .fc-day .fc-col-header-cell-cushion:hover {
    background-color: var(--purple);
    text-decoration: none !important;
    color: white;
}
.full-calendar-grid .fc-col-header-cell-cushion {
    padding: 2px;
}
.full-calendar-grid th {
    background: transparent !important;
}
.full-calendar-grid-toolbar-header .btn.btn-primary {
    display: inline-flex !important;
    cursor: pointer;
    background-color: transparent;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 12px;
    margin: 4px 5px;
    font-size: 13px;
    border: 2px solid var(--purple);
    color: var(--purple);
    column-gap: 0.25rem;
    border-radius: var(--border-radius) !important;
}
.full-calendar-grid-toolbar-header .btn.btn-primary:hover,
.full-calendar-grid-toolbar-header .btn.btn-primary:focus,
.full-calendar-grid-toolbar-header .btn.btn-primary.active {
    color: white;
    background-color: var(--purple);
    border: 2px solid var(--purple);
}
.full-calendar-grid-toolbar-header .fc-prev-button.btn.btn-primary,
.full-calendar-grid-toolbar-header .fc-next-button.btn.btn-primary {
    border: none;
}
.full-calendar-grid-toolbar-header .fc-toolbar-hub-selector {
    border-radius: var(--border-radius);
    border: 2px solid #E9E9E9;
    background-color: white;
    height: 38px;
    color: var(--text-color);
    padding: 0 0.75rem;
}
.full-calendar-grid .fc-timegrid-col.fc-day-today {
    background-color: white;
}
.full-calendar-grid .fc-non-business {
    background-color: rgba(191, 188, 188, 0.57);
}
.full-calendar-grid .fc-timegrid-col-events {
    margin: 0;
}
.full-calendar-grid-tooltip {
    top: 10;
}
.full-calendar-grid-tooltip > .tooltip-inner {
    background-color: var(--full-calendar-grid-tooltip-color);
    border-radius: var(--border-radius);
    max-width: 10rem;
}
.full-calendar-grid-tooltip > .arrow::before {
    border-top-color: var(--full-calendar-grid-tooltip-color);
    border-bottom-color: var(--full-calendar-grid-tooltip-color);
}
.full-calendar-grid-tooltip .full-calendar-grid-tooltip-image {
    border-radius: 30px;
    border: 2px solid white;
    margin: auto;
    margin-bottom: 0.25rem;
    width: 100%
}
.full-calendar-grid-tooltip .full-calendar-grid-tooltip-event {
    padding: 0.5rem 0.5rem;
}
.full-calendar-grid-tooltip .btn.btn-danger {
    display: inline-flex !important;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 12px;
    margin: 4px 5px;
    font-size: 13px;
    border: 2px solid white;
    color: white;
    column-gap: 0.25rem;
    border-radius: var(--border-radius) !important;
}
.full-calendar-grid-tooltip .btn.btn-danger,
.full-calendar-grid-tooltip .btn.btn-danger:hover {
    border: 2px solid #fff;
}
.full-calendar-grid .day-grid-month-time-label {
    padding: 2px;
}
.full-calendar-grid .fc-day-past.fc-resource {
    background-color: rgba(191, 188, 188, 0.57);
}
.full-calendar-grid .full-calendar-grid-blocked-date {
    background-color: rgba(191, 188, 188, 0.57) !important;
    top: 0;
}