.card {
    transition: .5s;
    border: 0;
    position: relative;
    width: 100%;
    padding: 10px 0 0 0;
    background-color: #ffffff;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.fc-timegrid-slot {
    height: 2em !important;
    border-bottom: 0 !important;
}

.fc-button-group > .fc-button:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 3px;
}

.fc-button-group > .fc-button:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.fc-button-primary:hover:not([data-action]):not([class*=btn-outline-]):hover, .fc-button-primary:not([data-action]):not([class*=btn-outline-]):hover {
    box-shadow: 0 3px 8px 0 rgb(0 0 0 / 17%);
}

.fc .fc-button-primary:focus {
    box-shadow: none;
}

.fc .fc-button-primary:not(:disabled):active:focus, .fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active, .fc .fc-button-primary:not(:disabled).fc-button-active {
    box-shadow: none;
    background-color: var(--fc-button-bg-color, #003B5C);
    border-color: var(--fc-button-border-color, #003B5C);
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
}

.fc-theme-standard th {
    border: 0;
}

.fc .fc-scrollgrid {
    border-collapse: separate;
    border-right-width: 0;
    border-bottom-width: 0;
    border-top-width: 0;
    border-left-width: 0;
}

.fc .fc-scrollgrid-section > * {
    border-top-width: 4px;
}

.fc-timegrid-event-harness {
    box-shadow: 0 2px 2px rgb(0 0 0 / 30%);
    border-radius: 10px;
}

.fc-v-event {
    display: block;
    border: 1.5px solid var(--fc-event-border-color, #003B5C);
    background-color: var(--fc-event-bg-color, #00B5E2);
}

.fc .fc-button-primary {
    color: #fff;
    background-color: var(--fc-button-bg-color, #003B5C);
    border-color: var(--fc-button-border-color, #003B5C);
}

.fc-timegrid-event .fc-event-time {
    text-align: center;
    font-size: 1.3em;
}

.fc-v-event .fc-event-title-container {
    padding: 5px;
    position: relative;
    text-align: center;
}

.fc-v-event .fc-event-title {
    margin: 0;
    position: absolute;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 10px);
}

@media (max-width: 576px) {
    .fc .fc-toolbar {
        display: inline;
        text-align: center;
    }

    .fc-today-button {
        width: 100%;
        margin-left: 0 !important;
    }

    .fc .fc-button-group {
        width: 100%;
        margin-bottom: 5px;
    }
}