/* Calendar */

.calendar-container {
    display: flex;
}

#calendar-view {
    flex-grow: 1;
}

#calendar-details {
    position: relative;
    display: none;
    min-width: 220px;
    width: 220px;

    margin: calc(40px + 24px + 1.5em) 0 0 32px;
}

#calendar-details .details-close {
    position: absolute;
    top: -24px;
    right: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 24px;
    height: 24px;

    background: var(--light-gray);
    border-radius: 50%;

    color: var(--primary);

    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

#calendar-details h2 {
    text-align: left;

    margin: 0;
}

.event-item {
    margin: 32px 0;
}

.event-item p {
    margin: 8px 0;
}

.event-item p, .event-item p span {
    font-size: 16px;
}

.event-item .event-title {
    font-weight: 600;
}

.event-item p {
    text-align: left;
}

.event-item .address, .event-item .notice {
    margin-left: 16px;
}

.event-item .address span, .event-item .notice span {
    display: block;
    font-size: 14px;
}

.event-item .notice span {
    font-style: italic;
}

.event-item .address span.location {
    font-weight: 600;
}

/* Overwrites */

:root {
    --fc-button-bg-color: none;
    --fc-button-border-color: var(--black);
    --fc-button-hover-bg-color: var(--light-gray);
    --fc-button-hover-border-color: var(--black);
    --fc-button-active-bg-color: var(--primary);
    --fc-button-active-border-color: var(--black);

    --fc-button-text-color: var(--black);
    --fc-button-active-text-color: var(--white);
}

.fc button.fc-button-primary:not(:disabled).fc-button-active {
    color: var(--fc-button-active-text-color);
}

.fc-toolbar-chunk {
    display: flex;
    flex-direction: row;
    align-items: center;
}

a.fc-col-header-cell-cushion {
    color: var(--black);
}

a.fc-daygrid-day-number {
    color: var(--black);
    font-size: 1.5em;
}

div.fc-event-title-container div.fc-event-title {
    color: var(--white);
    padding: 2px 8px;
}

div.fc-daygrid-day-top a.fc-daygrid-day-number {
    padding-right: 8px;
}

a.fc-daygrid-event {
    cursor: pointer;
}

.fc-daygrid-event .fc-event-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
a.fc-daygrid-dot-event {
    display: inline-grid;
}

a.fc-daygrid-dot-event div.fc-event-title {
    grid-column-start: 2;
}

a.fc-daygrid-dot-event div.fc-event-time {
    grid-column-start: 2;
}
 */