/* Formatting of the whole calendar section */
#calendar-section {
    flex: .6;
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    border-radius: 5px;
}



/* Formatting of the time column */
#cal-Times {
    min-width: 50px;
    max-width: 50px;
    border-left: none;
}
#cal-Times > container {
    border-bottom: none;
    /* Used to align the time label on the line */
    position: relative;
    top: -10px;
}



/* Formatting of the days of week columns */
.cal-DOW {
    width: 20%;
    border-left: 2px solid rgb(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    position: relative;
}
.cal-DOW > container {
    height: calc((100% - 30px) / 15);
    border-bottom: 1px solid rgb(0, 0, 0, .2);
}
.cal-DOW > container.cal-bottom {
    border-bottom: none;
}
container.cal-DOW-title {
    line-height: 30px;
    height: 30px;
}



/* Formatting of individual classes on calendar */
a.class-cell {
    border-radius: 5px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
}
a.class-cell p {
    margin: 0px;
    padding: 2px 0 0 3px;
    text-align: left;
}
.cal-class-title {
    padding-top: 10px;
    height: auto;
    flex: 1;
    font-weight: bold;
}