.monthly {
    color: var(--color-text);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    width: 100%;
}
.monthly-header, .monthly-day-title-wrap, .monthly-day-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.monthly-event-list {
    margin-top: 40px;
}
.monthly-header, .monthly-day-title-wrap {
    background-color: var(--color-accent-2);
}
.monthly-header {
    position: relative;
    text-align: center;
    padding: .5em;
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
}
.monthly-header-title {
    text-transform: uppercase;
    padding-top: 20px
}
.monthly-header-title a:link, .monthly-header-title a:visited {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #FFF;
    text-decoration: none;
    height: 1.75em;
    line-height: 1.65em;
    padding: 0 .65em 0 .65em;
    box-sizing: border-box;
    transition: background .1s
}
.monthly-header-title a:first-of-type {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    pointer-events: none
}
.monthly-header-title a:last-of-type {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em
}
.monthly-header-title a:hover {
    background: #000;
    border: 1px solid rgba(0, 0, 0, 0.5);
    color: #fff
}
.monthly-header-title a:active {
    background: #222;
    border: 1px solid #222;
    transition: none
}
.monthly-header-title-date, .monthly-header-title-date:hover {
    background: #FFF !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #545454 !important;
    cursor: default
}
.monthly-reset {
    border-left: 0 !important
}
.monthly-reset::before {
    content: '\21BB';
    margin-right: .25em
}
.monthly-cal {
    border-right: 0 !important
}
.monthly-cal::before {
    content: '\2637';
    margin-right: .25em
}
.monthly-prev, .monthly-next {
    position: absolute;
    top: 10px;
    width: 3em;
    height: 100%;
    opacity: .8
}
.monthly-prev {
    left: 0
}
.monthly-next {
    right: 0
}
.monthly-prev:hover, .monthly-next:hover {
    opacity: 1
}
.monthly-prev:after, .monthly-next:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-style: solid;
    border-color: #FFF;
    width: .6em;
    height: .6em;
    margin: -0.4em 0 0 -0.4em;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}
.monthly-prev:after {
    border-width: 0 0 .2em .2em
}
.monthly-next:after {
    border-width: .2em .2em 0 0
}
.monthly-day-title-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
}
.monthly-day-title-wrap div {
    width: 14.28% !important;
    display: table-cell;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    padding-bottom: 20px;
    padding-top: 20px;
}
.monthly-day-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 0 0 8px 8px;
    background-color: var(--color-bg-alt);
    border-spacing: 5px;
}
.monthly-week {
    display: table-row;
    width: 100%;
}
.monthly-day, .monthly-day-blank, .monthly-today:not(.monthly-list-item.monthly-today) {
    width: 14.28% !important;
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    background: var(--color-white);
    box-shadow: 0 0 0 1px #ebebeb;
    -webkit-transition: .25s;
    transition: .25s;
    padding: 0;
    text-decoration: none;
    border-radius: 8px;
    padding: 5px;
}
.monthly-today:not(.monthly-list-item.monthly-today) {
    box-shadow: none;
}
.monthly-day:before {
    content: '';
    display: block;
    padding-top: 100%;
    float: left
}
.monthly-day-wrap>a:hover {
    background: #a1c2e3
}
.monthly-day-blank {
    background: var(--color-bg-alt);
    box-shadow: none;
    border-radius: 0;
}
.monthly-day-event>.monthly-day-number {
    position: absolute;
    line-height: 1em;
    top: .5em;
    left: .5em;
    color: var(--color-text);
}
.monthly-day-pick>.monthly-indicator-wrap {
    margin: 0
}
.monthly-day-pick>.monthly-day-number:before, .monthly-day-pick>.monthly-day-number:after {
    content: '';
    display: block;
    padding-top: calc(50% - .8em);
    width: 0;
    height: 0
}
.monthly-past-day:after {
    content: '';
    width: 150%;
    height: 2px;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: 0
}
.monthly-past-day:hover {
    background: #fff !important
}
.monthly-today:not(.monthly-list-item.monthly-today) {
    background-color: var(--color-blue);
}
.monthly-today .monthly-day-number {
    color: #FFF;
}
.monthly-day-pick.monthly-today .monthly-day-number {
    padding: .15em;
    margin: calc(50% - .7em) auto auto auto;
    font-size: 1em
}
.monthly-indicator-wrap {
    position: relative;
    text-align: right;
    line-height: 0;
    margin-top: 80%;
    margin-right: 5px
}
.monthly-day .monthly-event-indicator {
    display: inline-block;
    margin: .1em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    vertical-align: bottom;
    background: var(--color-yellow);
    pointer-events: none
}
.monthly-day .monthly-event-indicator.holiday {
    background-color: var(--color-green);
}
.monthly-day .monthly-event-indicator.event {
    background-color: var(--color-accent-2);
}
.monthly-day .monthly-event-indicator span {
    color: transparent
}
.monthly-day .monthly-event-indicator:hover {
    cursor: pointer
}
.monthly-event-list {
    background: rgba(255, 255, 255, 1);
    width: 100%;
    display: block;
    -webkit-transition: .25s;
    transition: .25s;
    transform: scale(1)
}

/* .monthly-event-list .monthly-list-item:nth-child(2n) {
    background-color: var(--color-bg-alt);
} */

.monthly-list-item {
    display: none;
    text-align: left;
    padding: 20px 0;
    /*
    border-radius: 4px; */
    border-bottom: 1px solid var(--color-border-light-2);
}
.monthly-list-item:nth-last-child(1 of .item-has-event) {
    border-bottom: none;
}
.monthly-list-item:after {
    display: block
}
.monthly-list-item.item-has-event {
    display: flex;
    align-items: center;
}

/* .monthly-event-list .monthly-today .monthly-event-list-date {
    color: var(--color-blue)
} */

.event-block a {
    font-family: var(--ff-headings);
    color: var(--color-headings);
    font-size: 20px;
    margin-bottom: 10px;
}
.event-block .event-description p {
    color: var(--color-text-light);
    padding-bottom: 0;
}
.monthly-event-list .listed-event {
    display: block;
    font-weight: 600
}
.monthly-event-list .listed-event.holiday:after {
    content: ' (Holiday)';
    color: var(--color-green)
}

/* .monthly-event-list .listed-event.event:after {
    content: ' (Event)';
    color: #e1601d
} */

.monthly-list-item a:link, .monthly-list-item a:visited {
    text-decoration: none;
    pointer-events: none
}
.item-has-event {
    display: block
}
.item-has-event:after {
    display: none !important
}
.monthly-event-list-date {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    background-color: var(--color-accent-2);
    margin-right: 15px;
    text-align: center;
    border-radius: 4px;
}
.holiday .monthly-event-list-date {
    background-color: var(--color-green);
}
.monthly-event-list-date span {
    margin-bottom: 5px;
}
.monthly-event-list-date .date {
    font-size: 32px;
    font-weight: 600;
    margin-top: 15px;
}
.monthly-event-list-date .year {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 20px;
    margin-top: auto;
    margin-bottom: 0;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
}
.monthly-event-list-date .weekday {
    display: none;
}

/* .monthly-event-list-date:before {
    content: "\e903";
    font-family: "icons";
    color: var(--color-text-light);
    padding-right: 10px
} */

.monthly-list-time-start, .monthly-list-time-end {
    font-size: .8em;
    display: inline-block
}
.monthly-list-time-end:not(:empty):before {
    content: '\2013';
    padding: 0 2px
}
.monthly-event-list::-webkit-scrollbar {
    width: .75em
}
.monthly-event-list::-webkit-scrollbar-track {
    background: 0
}
.monthly-event-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border: 1px solid #e9ebec;
    border-radius: .5em
}
.monthly-event-list::-webkit-scrollbar-thumb:hover {
    background: #555
}
.monthly-reset:after {
    content: 'Today'
}
.monthly-cal:after {
    content: 'Month'
}
.monthly-list-item:after {
    content: 'No Events'
}