.calendar-event-list-block {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 25px;
}

.calendar-event-list-block .img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
}

.calendar-event-list-block .head {
    display: grid;
    grid-template-columns: 1fr .3fr;
}

.calendar-event-list-block .excerpt {
    max-height: 105px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.calendar-event-list-block .head span {
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    align-self: self-end;
}

.calendar-event-list-block .category {
    align-self: start;
    display: inline-flex;
    border: 1px solid #72005F;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 5px;
}

.calendar-event-list-block .category img {
    width: 100%;
}

.calendar-event-list-block .head h3 {
    grid-row: 1;
    margin: 0;
}

#ce-calendar {
    width: 500px;
    margin: 0 auto;
    font-size: 10px;
}

.fc-toolbar {
    font-size: .9em;
}

.fc-toolbar h2 {
    font-size: 12px;
    white-space: normal !important;
}

/* click +2 more for popup */
.fc-more-cell a {
    display: block;
    width: 85%;
    margin: 1px auto 0 auto;
    border-radius: 3px;
    background: grey;
    color: transparent;
    overflow: hidden;
    height: 4px;
}

.fc-more-popover {
    width: 100px;
}

.fc-view-month .fc-event, .fc-view-agendaWeek .fc-event, .fc-content {
    font-size: 0;
    overflow: hidden;
    height: 2px;
}

.fc-view-agendaWeek .fc-event-vert {
    font-size: 0;
    overflow: hidden;
    width: 2px !important;
}

.fc-agenda-axis {
    width: 20px !important;
    font-size: .7em;
}

.fc-button-content {
    padding: 0;
}

.event-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #72005f;
    display: inline-block;
    margin: 0 2px;
}

.fc th, .fc td {
    vertical-align: middle !important;
    text-align: center;
}

a.fc-event {
    border-radius: 10px; /* round edges */
    width: 15px; /* fixed width */
    color: transparent; /* hide text */
}

/* inline the tr's for events */
div.fc-content-skeleton > table > tbody > tr {
    display: inline-block;
}

#ce-calendar .dot-event {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    vertical-align: text-bottom;
}

/* Calender with Filter */
.filter-row {
    display: grid;
    grid-column-gap: 50px;
    grid-row-gap: 20px;
    margin-bottom: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}

.multi-data-switch {
    padding: 13px 23px;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 35px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 50px;
    justify-content: space-between;
    transition: border .3s ease-in-out;
}

.multi-data-switch label {
    display: none;
}

.multi-data-switch.highlight {
    background-color: #EAF6FE;
}

.multi-data-switch:hover {
    border-color: white;
}

.multi-data-switch.highlight .cat-filter-text {
    color: #0F2B62;
}

.multi-data-switch .cat-filter-text {
    font-size: 18px;
    font-weight: 300;
}

.multi-data-switch a:first-of-type {
    transform: rotate(90deg);
}

.multi-data-switch a:last-of-type {
    transform: rotate(-90deg);
}

.multi-data-switch a {
    width: 15px;
    height: 15px;
}

.multi-data-switch.highlight .core-arrow {
    fill: #0F2B62;
}

.multi-data-switch svg {
    width: 15px;
    height: 9px;
}

.filterBarWrapper {
    position: relative;
}

.filterBar {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 20rem;
    width: 370px;
    height: 50px;
}

.filterBar > div {
    position: absolute;
    left: 0;
    width: 125px;
    height: 100%;
    display: inline-block;
    border-radius: 20rem;
    cursor: pointer;
    z-index: 1;
}

.filterBar > div:nth-child(2) {
    left: 125px;
}

.filterBar > div:nth-child(3) {
    left: calc(120px * 2 + 2px);
}

.filterBar > div > span {
    position: relative;
    font-weight: 300;
    font-size: 18px;
    top: 12px;
    left: 45px;
    color: white;
    transition: color .5s ease-in-out;
}

.filterBar > .active span {
    color: #72005f;
}

.bs {
    position: absolute;
    top: 0;
    left: 1px;
    width: 125px;
    height: calc(50px + 2px);
    background: #EAF6FE;
    display: inline-block;
    border-radius: 20rem;
    color: white;
    transition: left .3s ease-out;
    cursor: pointer;
}

.bs > span {
    position: relative;
    color: #72005f;
    top: 15px;
    left: 30px;
}

/* Calender Ajax Items */
.calendar-ajax-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 45px;
    grid-row-gap: 25px;
    margin-bottom: 50px;
    font-size: 18px;
}

.calendar-ajax-item .text {
    border-right: 1px solid rgba(234, 246, 254, 0.2);
    padding-right: 20px;
    min-height: 220px;
}

.calendar-ajax-item .meta {
    margin-top: 15px;
}

.calendar-ajax-item .meta span {
    font-weight: bold;
}

.calendar-ajax-item .meta p {
    margin-top: 0.2em;
}

.calendar-ajax-item h3, .deadline, .calendar-ajax-item p.event-date {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}

.calendar-ajax-item .categories {
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 30px;
    font-weight: 300;
}

.calendar-ajax-item .img-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

@media only screen and (max-width: 850px) {
    .calendar-ajax-item {
        grid-template-columns: 1fr;
    }

    .calendar-event-list-block {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .calendar-ajax-item .text {
        border-right: 0;
        padding-right: 0;
    }

    .filter-row {
        grid-template-columns: repeat(2, 50%);
        grid-column-gap: 15px;
    }

    .multi-data-switch {
        padding: 13px 23px;
        column-gap: 0;
    }

    .multi-data-switch .cat-filter-text, .filterBar > div > span {
        font-size: 12px;
        font-weight: 400;
    }
}
