#staff_calendar,#patient_calendar,#staffing_calendar {
    & table {
        margin: auto;
    }
    & + #statistics {
        margin-top: 3em;
    }
}

a.fc-event {
    border: 0 solid transparent; /* Remove weird blue border */
    padding: 0;
}

.fc-event-title {
    min-height: 22px;
}

.fc-event-title-text {
    margin-top: 0.25em;
    display: inline-block;
}

.fc-event:hover {
    &[class*="black_"]::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
        background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent white overlay */
    }
    /* Include "Apply PRN" events */
    &[class*="white_"]::after, &.Frequency_Button::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
        background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent black overlay */
    }
    z-index: 9999;
}

[class*="_Over"] {
    &[class*="Frequency_Over"] {
        border-style: solid;
        background-color: Red;
        border-color: Red;
        color: Red;
    }
    /* Add border around events */
    &[class*="white_"], &[class*="black_"] {
        border: 3px solid red;
    }
}

[class*="Frequency_Met"]{
    border-style: solid;
    background-color: Green;
    border-color: Green;
    color: Green;
}

[class*="Frequency_Under"]{
    border-style: solid;
    background-color: Orange;
    border-color: Orange;
    color: Orange;
}

/* PRN button */
[class*="Frequency_Button"]{
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
}


/*
    OLD CALENDAR CSS
 */
/*#calendar {
    width: 90%;
    margin: 0 auto;
}
<?php
    $colors = GetCssColors();
foreach($colors as $key => $value) {
    $split = explode("_",$key);
    ?>
    .<?php echo($key."_Normal");?>,
.fc-agenda .<?php echo($key."_Normal");?> .fc-event-time,
.<?php echo($key);?> a {
    border-style: solid;
    background-color: <?php echo("#".($split[1]));?>;
    border-color: <?php echo("#".($split[1]));?>;
    color: <?php echo($split[0]);?>;
}
.<?php echo($key."_Over");?>,
.fc-agenda .<?php echo($key."_Over");?> .fc-event-time,
.<?php echo($key);?> a {
    border-style: solid;
    background-color: <?php echo("#".($split[1]));?>;
    border-color: <?php echo('#'.($split[1]));?>;
    color: <?php echo($split[0]);?>;
    border: 3px solid red;
}
<?php } ?>
*/