/* Calendar CSS */

.week {
    display: flex;
    flex-direction: row;
    min-width: 0
}

.schedule__mode--list .week {
    flex-direction: column
}

.an-event {
    padding: 5px;
    margin-bottom: 10px;
    display: flex;
    min-width: 0
}

.an-event:last-child {
    margin-bottom: 0
}

.an-event__wrap {
    min-width: 0
}

.an-event__time {
    font-size: .666rem
}

.an-event__time,.an-event__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.an-event__title {
    font-size: .75rem
}

.an-event {
    border-radius: 6px;
    margin-left: 5px;
    margin-right: 5px
}

.an-event__continuing-event {
    border-radius: 0
}

.an-event__leading-event {
    border-radius: 6px 0 0 6px;
    margin: 0 0 0 5px
}

.an-event__trailing-event {
    border-radius: 0 6px 6px 0;
    margin: 0 5px 0 0
}

.month {
    flex: 1
}

.schedule__mode--list .month {
    overflow-y: auto
}

.month .month__days-of-week {
    display: flex;
    background: #ededed
}

.schedule__mode--list .month .month__days-of-week {
    display: none
}

.month .month__days-of-week__day-of-week {
    padding: 10px
}

.day,.month .month__days-of-week__day-of-week {
    box-sizing: border-box;
    flex: 0 0 14.285714285714286%;
    min-width: 0
}

.day {
    padding: 10px 0
}

.day__event-area {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.day>* {
    margin-bottom: 10px!important
}

.day>:last-child {
    margin-bottom: 0!important
}

.day__header {
    display: flex;
    height: 24px;
    justify-content: space-between;
    padding: 0 10px
}

.schedule__mode--list .day__header {
    height: auto
}

.day__label {
    align-items: center;
    border-radius: 12px;
    display: flex;
    height: 24px;
    justify-content: center;
    width: 24px
}

.day__label.day__label--full-date,.schedule__mode--list .day__label.day__label--day-number {
    display: none
}

.schedule__mode--list .day__label.day__label--full-date {
    width: auto;
    height: auto;
    padding: 6px;
    display: block
}

.schedule__header {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center
}

.schedule__loading-indicator {
    padding: 10px;
    display: flex;
    flex: 0;
    flex-basis: auto
}

.schedule__nav {
    flex: 0;
    flex-basis: auto
}

.schedule__month-name {
    flex: 1;
    flex-basis: auto;
    margin: 0 auto;
    padding: 10px;
    color: #0ca8ec
}

.schedule__nav {
    margin: 0 10px 0 auto
}

.day {
    background: #f5f5f5
}

.day.day--is-odd {
    background: #f0f0f0
}

.day__label {
    height: 32px;
    width: 32px;
    border-radius: 16px
}

.day--is-today .day__label {
    color: #fff;
    background: #d00021
}

.day--not-in-current-month .day__label {
    color: #d4d4d4
}

.an-event {
    background-color: #4a4a4a;
    color: #fff;
    padding: 6px;
    text-decoration: none;
    cursor: pointer
}

.day-events {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #363636
}



/* Custom Calendar CSS  */

.schedule__nav {
    display: flex;
    grid-gap: 1px;
    margin-right: 0;
}

button.schedule__nav-button {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem 0.85rem;
}

div.schedule__month-name {
    color: var(--white);
}

.color-box.is-info, .color-box.is-secondary, .color-box.schedule__nav-button, .is-info.schedule__header, .schedule__header {
    background: var(--secondary);
    position: relative;
}

.month .month__days-of-week {
    background: var(--accent);
    border-top: 1px solid var(--secondary);
    color: var(--white);
}

.day {
    background: var(--secondary);
}

.day.day--is-odd {
    background: var(--secondary);
}

.day.day--not-in-current-month {
    background: var(--black);
    opacity: 0.7;
}

.week {
    grid-gap: 1px;
    border-bottom: 1px solid var(--black);
}

.day--is-today .day__label {
    background: var(--accent);
}

.schedule__loading-indicator {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: max-content;
    pointer-events: none;
}