/* ==============
   Calendar
=================== */

.fc td,
.fc th {
    border:  1px solid  grey;
}

.fc .fc-toolbar h2 {
    font-size: 16px;
    line-height: 30px;
    text-transform: uppercase;
}
.fc-title{
    font-size: 10px !important;
}
@media (max-width: 767.98px) {
    .fc .fc-left,
    .fc .fc-right,
    .fc .fc-center {
        float: none;
        display: block;
        text-align: center;
        clear: both;
        margin: 10px 0;
    }

    .fc > * > * {
        float: none;
    }

    .fc .fc-today-button {
        display: none;
    }
}

.fc .btn {
    text-transform: capitalize;
}

.fc th.fc-widget-header {
    background:  lightgrey;
    color:  grey;
    line-height: 20px;
    padding: 10px 0;
    text-transform: uppercase;
    font-weight:  bold;
}

.fc-unthemed .fc-content,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-list-heading td,
.fc-unthemed .fc-list-view,
.fc-unthemed .fc-popover,
.fc-unthemed .fc-row,
.fc-unthemed tbody,
.fc-unthemed td,
.fc-unthemed th,
.fc-unthemed thead {
    border-color:  lightgrey;
}

.fc-unthemed td.fc-today {
    background: lightgrey;
}

.fc-button {
    background:  green;
    border-color:  darkgrey;
    color:  grey;
    text-transform: capitalize;
    box-shadow: none;
    padding: 6px 12px !important;
    height: auto !important;
}

.fc-state-down,
.fc-state-active,
.fc-state-disabled {
    background-color:  #0dcaf0;
    color:  white;
    text-shadow: none;
}

.fc-event {
    border-radius: 2px;
    border: none;
    cursor: move;
    font-size: 0.8125rem;
    margin: 5px 7px;
    padding: 5px 5px;
    text-align: center;
    background-color:  #0dcaf0;
    color:  white;
}

#external-events .external-event {
    text-align: left;
    padding: 8px 16px;
}

.fc-day-grid-event.fc-h-event.fc-event.fc-start.fc-end.bg-dark .fc-content {
    color:  white;
}

/* RTL */
[dir="rtl"] .fc-header-toolbar {
    direction: ltr !important;
}

[dir="rtl"] .fc-toolbar > *:not(:first-child) {
    margin-left: .75em;
}

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