.related-diary #related-diary__container table tr {
    background: white;
}

.related-diary #related-diary__container button {
    background: #7D7D7D !important;
    border-color: #7D7D7D !important;
}

.related-diary #related-diary__container button .fc-icon {
    color: white;}

.related-diary #related-diary__container button:hover {
    opacity: 0.6;
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness {
    background: var(--primary);
    border-radius: 8px;
    margin: 2px 0 2px 0
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness * {
    color: white;
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness .fc-event {
    padding: 5px;
    gap: 10px;
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness .fc-event:hover {
    opacity: 0.6;
    background: var(--primary) !important;
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness .fc-daygrid-event-dot {
    display: none;
}

.related-diary #related-diary__container table .fc-daygrid-day-events .fc-daygrid-event-harness .fc-daygrid-event {
    white-space: unset;
}

.related-diary #related-diary__container {
    padding: 36px 4px 41px 4px;
    border: 1px solid #c6c6c6;
}

.related-diary #related-diary__container .fc-header-toolbar {
    justify-content: space-between;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk h2 {
    text-transform: uppercase;
    --_fsize-min: 20;
    --_fsize-max: 20;
    margin-bottom: 0;
    font-weight: bold;
    margin-left: 40px;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk button {
    height: 40px;
    border: 1px solid var(--neutral-700);
    background-color: unset !important;
    color: var(--neutral-700) !important;
    text-transform: capitalize;
    border-radius: 4px !important;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk button:focus {
    box-shadow: none;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk button.fc-button-active {
    border: solid 1.5px var(--primary) !important;
    color: var(--primary) !important;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk button span::before {
    color: var(--neutral-700);
    left: -2px;
    position: relative;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk .fc-button-group {
    gap: 2px;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk:first-child {
    padding-left: 33px;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk:first-child button {
    margin-left: 2px;
    width: 75px;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk:first-child .fc-button-group button {
   width: 40px;
   margin-left: 0;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk:last-child {
    margin-left: auto;
    padding-right: 43px;
}

.related-diary #related-diary__container .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button-group button {
   width: 95px;
   font-weight: 600;
}

.related-diary #related-diary__container .fc-view-harness table {
    border: none;
}

.related-diary #related-diary__container .fc-view-harness table .fc-col-header {
    margin: 0;
}

.related-diary #related-diary__container .fc-view-harness table thead tr {
    border-bottom: none;
}

.related-diary #related-diary__container .fc-view-harness  table thead tr th {
    background-color: unset;
    border: none;
}

.related-diary #related-diary__container .fc-view-harness table thead tr th .fc-scrollgrid-sync-inner {
    text-align: left;
}

.related-diary #related-diary__container .fc-view-harness table thead tr th .fc-scrollgrid-sync-inner a {
    color: #333333;
    font-weight: bold;
    --_fsize-min: 16;
    --_fsize-max: 16;
    text-transform: capitalize;
    pointer-events: none;
    margin-left: 4px;
}

.related-diary #related-diary__container .fc-view-harness .fc-scroller {
    scrollbar-width: thin;
}

.related-diary #related-diary__container .fc-view-harness table.fc-scrollgrid-sync-table {
    width: 99% !important;
    border: 1px solid;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-top {
    padding: 4px;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-top a {
    color: #333333;
    font-weight: bold;
    --_fsize-min: 16;
    --_fsize-max: 16;
    pointer-events: none;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events {
    display: flex;
    gap: 2px;
    flex-direction: column;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness {
    background-color: #fbe0e8;
    width: 98%;
    margin: auto;
    border-radius: 2px;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness.fc-daygrid-event-harness-abs {
    margin-top: 4px;
    left: 0 !important;
    right: 0 !important;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 11px 9px 6px 8px;
    border: solid 1px var(--primary);
    margin: 0;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a:hover {
    opacity: 1;
    background-color: #FFB7CC !important;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a .fc-event-main-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a.fc-h-event {
    border: solid 1px #0088d9;
    background-color: #e5f3fb;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a .fc-event-time {
    --_fsize-min: 12;
    --_fsize-max: 12;
    color: var(--secondary-dark);
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day .fc-daygrid-day-frame .fc-daygrid-day-events .fc-daygrid-event-harness a .fc-event-title {
    --_fsize-min: 14;
    --_fsize-max: 14;
    color: var(--secondary-dark);
    font-weight: 600;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day.fc-day-today {
    background-color: unset;
}

.related-diary #related-diary__container .fc-view-harness .fc-dayGridMonth-view table tbody .fc-day.fc-day-today .fc-daygrid-day-top a {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-body,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-body {
    display: none;
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid {
    display: table-row !important;
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a {
    background-color: #fbe0e8;
    border: 1px solid;
    padding-left: 6px;
    padding-top: 2px;
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a:hover,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a:hover {
    background-color: #FFB7CC !important;
    border: 1px solid var(--primary);
    opacity: 1;
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a .fc-event-time,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a .fc-event-time {
    --_fsize-min: 12;
    --_fsize-max: 12;
    color: var(--secondary-dark);
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a .fc-event-title-container .fc-event-title,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid .fc-timegrid-event-harness a .fc-event-title-container .fc-event-title {
    --_fsize-min: 14;
    --_fsize-max: 14;
    color: var(--secondary-dark);
    font-weight: 600;
}

.related-diary #related-diary__container .fc-view-harness .fc-timeGridWeek-view table tbody .fc-scrollgrid-section-liquid tr .fc-timegrid-slot-label-cushion,
.related-diary #related-diary__container .fc-view-harness .fc-timeGridDay-view table tbody .fc-scrollgrid-section-liquid tr .fc-timegrid-slot-label-cushion {
    --_fsize-min: 16;
    --_fsize-max: 16;
    color: var(--secondary-dark);
    font-weight: 600;
}