
#calendar {
    width: 296px;
    margin: 0 auto;
}

.calendar-header {
    height: 40px;
    width: 296px;
    background: #f2f2f2;
    text-align: center;
    position: relative;
    z-index: 100;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #e6e6e6;
}

    .calendar-header h1 {
        margin: 0;
        padding: 0;
        font-size: 14pt;
        line-height: 40px;
        font-weight: 100;
        vertical-align: middle;
    }

.calendar-left, .calendar-right {
    position: absolute;
    width: 60px;
    height: 40px;
    top: 0px;
    padding: 10px;
    cursor: pointer;
}

.calendar-left {
    left: 0px;
}

.calendar-right {
    right: 0px;
}

.week {
    height: 40px;
    width: 296px;
    background-color: #f2f2f2;
    text-align: center;
    position: relative;
    z-index: 100;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #e6e6e6;
}

.weekday {
    display: inline-block;
    width: 42px;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    background: #ffffff;
    position: relative;
    z-index: 100;
}

.day {
    display: inline-block;
    width: 42px;
    height: 38px;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    background: #ffffff;
    position: relative;
    z-index: 100;
    border: 2px solid transparent;
}

    .day.other {
        color: #cccccc;
    }

    .day.today {
        border: 2px solid black;
    }

    .day.weekend {
        background-color: rgba(242, 242, 242, 0.5);
    }

    .day.holiday {
        background-color: #99D9EA;
    }

    .day.selected {
        background-color: #ffc107;
    }

    .day.selectSpan {
        background-color: #ffe7a1;
    }

.day-number {
    font-size: 14pt;
}

.day-date {
    display: none;
}


.day .day-events {
    list-style: none;
    margin-top: 1px;
    text-align: right;
    height: 8px;
    line-height: 9px;
}

    .day .day-events span {
        vertical-align: top;
        display: inline-block;
        padding: 0;
        margin: 0;
        width: 8px;
        height: 8px;
        line-height: 8px;
        margin: 0 1px;
    }

.coretimeviolation-day {
    background: #03A9F4;
}

.sick-day {
    background: #9C27B0;
}

.absent-day {
    background: #8BC34A;
}

.inconsistent-day {
    background: #F44336;
}
