#calendar {
    background: white;
    position: relative;
    z-index: 4;
}

.white-spacing {
    background: white;
    position: absolute;
    left: 0;
    width: 100%;
    height: 43px;
}

#calendar button {
    border: 1px solid #004990;
    color: #004990;
    background: white;
}

    #calendar button span {
        color: #004990;
    }

    #calendar button:hover, #calendar button.fc-button-active {
        background: #004990;
        color: white;
    }

        #calendar button:hover span, #calendar button.fc-button-active span {
            color: white;
        }

#calendar p, #calendar a, #calendar h1, #calendar h2, #calendar h3, #calendar h4, #calendar h5, #calendar span {
    color: #004990;
}

#calendar .fc-event-title, #calendar .fc-event-time {
    color: black;
}

table.fc-list-table .fc-event .fc-list-event-dot {
    margin-top: 5px;
}

.fc-list-day-cushion.fc-cell-shaded a, td.fc-list-event-title a {
    color: #004990 !important;
}

#calendar .fc-daygrid-event-harness, #calendar .fc-timegrid-event-harness, #calendar .fc-timegrid-event {
    background: #e3e1e1;
    border: none;
    border-left: 2px solid #004990;
}

#calendar .anulat .fc-timegrid-event {
    border: none;
}

#calendar .fc-daygrid-event-harness.anulat, #calendar .fc-timegrid-event-harness.anulat {
    border-left: 2px solid #676767;
}

    #calendar .fc-daygrid-event-harness.anulat a, #calendar .fc-daygrid-event-harness.anulat span,
    #calendar .fc-timegrid-event-harness.anulat a, #calendar .fc-timegrid-event-harness.anulat span {
        pointer-events: none;
        background: #F3F3F3;
        color: #676767;
    }

#calendar .fc-event-time {
    position: absolute;
    top: 0;
    margin-left: 10px;
    margin-top: 6px;
}

#calendar .fc-event-title {
    padding-top: 18px;
    margin-left: 10px;
    margin-bottom: 10px;
}

#calendar .fc-day-today .fc-daygrid-day-frame {
    background: #FEE4E5;
}

#calendar .fc-daygrid-event-dot {
    display: none;
}

.fc-daygrid-dot-event.fc-event-mirror, .fc-daygrid-dot-event {
    color: #25262A !important;
}

    .fc-daygrid-dot-event.fc-event-mirror, .fc-daygrid-dot-event:hover {
        background: #9fb0f5;
        color: white !important;
    }

#calendar .fc-toolbar-title {
    color: black;
    font-size: 1rem;
    text-transform: capitalize;
}

.agenda-banner {
    width: 200%;
    margin-left: -50% !important;
    font-family: 'Trebuchet MS';
    margin-bottom: 2rem !important;
    font-style: italic;
    /*background: #E9E9E9;*/
    text-align: center;
    padding: 1rem !important;
}

.fc .fc-daygrid-day-number {
    text-decoration: none;
    font-style: italic;
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
    color: gray !important;
}

.fc-daygrid-day-frame .fc-event {
    white-space: break-spaces;
}

/*toolbar*/
.fc-header-toolbar .fc-toolbar-chunk {
    margin: 0 auto;
    padding: 10px;
    padding-top: 35px;
}

    .fc-header-toolbar .fc-toolbar-chunk:last-of-type {
        position: absolute;
        left: 0;
    }

    .fc-header-toolbar .fc-toolbar-chunk:first-of-type {
        position: absolute;
        right: 1%;
    }

    .fc-header-toolbar .fc-toolbar-chunk button {
        margin-left: 7px !important;
        border: 1px solid #004990 !important;
        border-radius: 5px !important;
        color: black !important;
    }

    .fc-header-toolbar .fc-toolbar-chunk:first-of-type .fc-button-group button {
        border-radius: 50% !important;
        padding: 7px !important;
    }

    .fc-header-toolbar .fc-toolbar-chunk button span {
        color: #004990 !important;
    }

    .fc-header-toolbar .fc-toolbar-chunk button:hover span {
        color: white !important;
    }

    .fc-header-toolbar .fc-toolbar-chunk button.fc-button-active,
    .fc-header-toolbar .fc-toolbar-chunk button:hover {
        background: #004990 !important;
        color: white !important;
    }

@media only screen and (min-width: 1400px) {
    .fc-header-toolbar .fc-toolbar-chunk:last-of-type {
        position: absolute;
        left: 0;
    }

    .fc-header-toolbar .fc-toolbar-chunk:first-of-type {
        position: absolute;
        right: 0;
    }
}

@media only screen and (max-width: 992px) {
    .fc-header-toolbar .fc-toolbar-chunk:last-of-type {
        left: 2%;
    }

    .fc-header-toolbar .fc-toolbar-chunk:first-of-type {
        right: 2%;
    }
}

@media only screen and (max-width: 768px) {
    .fc-header-toolbar .fc-toolbar-chunk:last-of-type {
        position: relative;
    }

    .fc-header-toolbar .fc-toolbar-chunk:first-of-type {
        position: relative;
    }

    .white-spacing {
        height: 103px;
    }
}
        