div#el {
    max-width: 1140px;
    display: block;
    margin: 0 auto;
    padding-top: 1.75em;
}

body {
    background-color: rgb(249 248 248);
}

.xm-calendar-inner-wrapper {
    width: 100%;
    display: block;
    position: relative;
    font-family: sans-serif;
    box-sizing: border-box;
    padding: 3%;
    border: 1px solid rgb(239 239 239);
    border-radius: 5px;
    user-select: none;
    background-color: rgb(255 255 255);
}

.xm-calendar-top-section-row {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.xm-calendar-navigation {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.xm-calendar-heading {
    width: 235px;
    position: relative;
}

span.xmc-date-heading {
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    color: rgb(59 62 74);
}

.xm-calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px;
    background-color: rgb(235 235 232);
    border-radius: 50%;
    cursor: pointer;
}

.xm-calendar-nav-btn img {
    width: 20px;
    height: auto;
    display: block;
    pointer-events: none;
    padding: 2px;
    box-sizing: border-box;
    opacity: 0.7;
}

.xm-calendar-nav-btn.xm-previous img {
    transform: translateX(-2px);
}

.xm-calendar-nav-btn.xm-next img {
    transform: translateX(2px);
}

.xmc-navigation-separator {
    width: 6px;
}

/* Categories */

.xm-event-categories-wrapper p.xm-event-category-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: rgb(59 62 74);
    white-space: nowrap;
}

.category-item {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25em;
    padding: 0.25em 0.55em;
    background-color: rgb(255 255 255);
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid rgb(0 0 0 / 0%);
}

.category-item.xm-active-filter {
    border-color: rgb(225 228 235);
    box-shadow: inset 0 0 10px #eef1f7;
    transition: .25s ease-in-out;
}

.category-item > * {
    pointer-events: none;
}

.xm-event-category-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.xm-event-categories-wrapper p.xm-event-category-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: rgb(59 62 74);
    white-space: nowrap;
}

/* Days bar */

.xm-calendar-days-bar {
    display: table;
    border-collapse: collapse;
    width: 100%;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-sizing: content-box;
    margin-top: 1.15em;
}

.xm-calendar-days-inner {
    display: table-row;
    position: relative;
    box-sizing: border-box;
}

.xm-calendar-day-heading {
    width: 14.285714%;
    border-collapse: collapse;
    display: table-cell;
    padding: 0.85em 0;
    text-align: center;
    background-color: rgb(238 241 247);
    color: rgb(59 62 74);
    font-size: 14px;
    font-weight: 600;
}

.xm-calendar-day-heading:first-child {
    border-radius: 5px 0 0 0;
}

.xm-calendar-day-heading:last-child {
    border-radius: 0 5px 0 0;
}

/* Body */

.xm-calendar-body {
    display: table;
    border-collapse: collapse;
    width: 100%;
    border-radius: 0px;
    overflow: hidden;
    box-sizing: border-box;
}

.xm-calendar-week-row {
    width: 100%;
    display: table-row;
    position: relative;
    box-sizing: border-box;
}

.xm-calendar-weekday {
    width: 14.285714%;
    border: 1px solid rgb(231 232 235);
    border-collapse: collapse;
    display: table-cell;
    height: 92px;
    padding: 0.45em 0.65em;
    box-sizing: border-box;
}

.xm-calendar-weekday > * {
    pointer-events: none;
}

.xm-calendar-weekday-number {
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    color: rgb(59 62 74);
    font-family: system-ui;
}

.xm-calendar-weekday.xm-foreign-date, .xm-calendar-weekday {
    transition: .25s ease-in-out;
}

.xm-calendar-weekday.xm-foreign-date, .xm-calendar-weekday.xm-day-filtered {
    background-color: rgb(255 255 255);
    opacity: 0.55;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient( 
    45deg, rgb(214 217 225) 0, 
    rgb(138 151 179) 1px, 
    rgb(255 255 255) 0, 
    rgb(255 255 255) 50%);
}

.xm-calendar-weekday.xm-day-current {
    background-color: rgb(241 247 255);
}

.xm-calendar-weekday.xm-day-current .xm-calendar-weekday-number {
    color: rgb(122 144 253);
}

/* Categories */

.xm-events-categories {
    height: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    column-gap: 0.15em;
    justify-content: flex-end;
    margin-top: 0.35em;
    position: relative;
}

.xm-event-category-item {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    opacity: 1;
    transform: scale(1,1);
    display: block!important;
    transition: .25s ease-in-out;
}

.xm-event-category-item.xm-hidden-category {
    opacity: 0;
    transform: scale(0,0);
    right: 0;
    position: absolute;
    z-index: -1;
}


@media only screen and (max-width: 850px) and (min-width: 790px) {

    .xm-calendar-weekday {
        height: 90px;
    }

    .xm-event-categories-wrapper p.xm-event-category-name {
        font-size: 13px;
    }
}

@media only screen and (max-width: 789px) {

    .xm-calendar-weekday {
        height: 80px;
    }

    .xm-event-category-item {
        width: 13px;
        height: 13px;
    }

    .xm-event-categories-wrapper {
        flex-wrap: wrap;
    }

    .category-item {
        margin-bottom: 0.35em;
    }
}

@media only screen and (max-width: 500px){

    .xm-calendar-weekday-number {
        font-size: 13px;
    }

    .xm-calendar-weekday {
        height: 65px;
        padding: 0.35em;
    }

    .xm-event-categories-wrapper p.xm-event-category-name {
        font-size: 13px;
    }

    .xm-calendar-inner-wrapper {
        padding: 0.75em;
    }

    .xm-calendar-body{
        display: block;
    }
    .xm-calendar-week-row {
        display: flex;
    }

    .xm-events-categories {
        flex-wrap: wrap;
        height: auto;
    }

    .xm-event-category-item {
        width: 11px;
        height: 11px;
        margin-bottom: 0.25em;
    }
}


.xm-event-categories-wrapper {
    margin-top: 1.35rem;
}

.xm-event-count {
    width: 100%;
    background-color: #eaecf0;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    font-weight: 400;
    font-family: 'Merriweather', sans-serif;
    color: #474161;
    gap: 4px;
}