#u-reborn-event-table {
    width: 100%;
    max-width: 100%;
}

.ur-event p {
    margin: 0;
    font-size: 12px;
}

.ur-event-wrapper-list {
    border-radius: 5px;
    padding: 5px;
}

.fc-scroller .ur-event:not(.fc-list-event) p,
.fc-scroller .ur-event:not(.fc-list-event) a,
.fc-scroller .ur-event:not(.fc-list-event) span,
.fc-scroller .ur-event:not(.fc-list-event) strong {
    color: rgb(51, 51, 51);
}

.fc-scroller .ur-event:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event,
.ur-event .ur-event-wrapper-list {
    background-color: #0057B7;
    border: none;
    padding: 5px;
    overflow: hidden;
}

.fc .ur-event .fc-list-event-dot {
    border-color: #0057B7;
}

.ur-event-location-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.event-table-filter {
    margin-bottom: 20px;
}

.ur-event-location-filter,
.ur-event-type-filter {
    margin: 0 10px 10px 0;
    border-radius: 10px;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2ca5e0;
    transition: all 0.4s ease;
    color: #FFFFFF;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.ur-event-location-filter {
    max-width: 200px;
}

.ur-event-location-filter .ur-event-location-address {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
}

.ur-event-type-filter {
    background-color: #0057B7;
}

/* Colors for event types */
.ur-event-type-color-0,
.fc-scroller .ur-event-type-0:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-0,
.ur-event-type-0 .ur-event-wrapper-list,
.fc .ur-event-type-0 .fc-list-event-dot {
    background-color: #f0abfc;
    border-color: #f0abfc;
}

.ur-event-type-color-1,
.fc-scroller .ur-event-type-1:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-1,
.ur-event-type-1 .ur-event-wrapper-list,
.fc .ur-event-type-1 .fc-list-event-dot {
    background-color: #2ca5e0;
    border-color: #2ca5e0;
}

.ur-event-type-color-2,
.fc-scroller .ur-event-type-2:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-2,
.ur-event-type-2 .ur-event-wrapper-list,
.fc .ur-event-type-2 .fc-list-event-dot {
    background-color: #fff100;
    border-color: #fff100;
}

.ur-event-type-color-3,
.fc-scroller .ur-event-type-3:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-3,
.ur-event-type-3 .ur-event-wrapper-list,
.fc .ur-event-type-3 .fc-list-event-dot {
    background-color: #FFA600;
    border-color: #FFA600;
}

.ur-event-type-color-4,
.fc-scroller .ur-event-type-4:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-4,
.ur-event-type-4 .ur-event-wrapper-list,
.fc .ur-event-type-4 .fc-list-event-dot {
    background-color: #FF9CB5;
    border-color: #FF9CB5;
}

.ur-event-type-color-5,
.fc-scroller .ur-event-type-5:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-5,
.ur-event-type-5 .ur-event-wrapper-list,
.fc .ur-event-type-5 .fc-list-event-dot {
    background-color: #34c5af;
    border-color: #34c5af;
}

.ur-event-type-color-6,
.fc-scroller .ur-event-type-6:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-6,
.ur-event-type-6 .ur-event-wrapper-list,
.fc .ur-event-type-6 .fc-list-event-dot {
    background-color: #17c352;
    border-color: #17c352;
}

.ur-event-type-color-7,
.fc-scroller .ur-event-type-7:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-7,
.ur-event-type-7 .ur-event-wrapper-list,
.fc .ur-event-type-7 .fc-list-event-dot {
    background-color: #b3129a;
    border-color: #b3129a;
}

.ur-event-type-color-8,
.fc-scroller .ur-event-type-8:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-8,
.ur-event-type-8 .ur-event-wrapper-list,
.fc .ur-event-type-8 .fc-list-event-dot {
    background-color: #6560db;
    border-color: #6560db;
}

.ur-event-type-color-9,
.fc-scroller .ur-event-type-9:not(.fc-list-event),
.fc-scrollgrid-sync-table .ur-event-type-9,
.ur-event-type-9 .ur-event-wrapper-list,
.fc .ur-event-type-9 .fc-list-event-dot {
    background-color: #ed6b6b;
    border-color: #ed6b6b;
}

.ur-event-location-filter:hover,
.ur-event-type-filter:hover {
    color: #FFFFFF;
    opacity: 0.8;
}

.ur-filter-element {
    position: relative;
    padding-left: 36px;
}

.ur-filter-element::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    border-radius: 3px;
    box-sizing: border-box;
}

.ur-filter-element.ur-filter-active::before {
    content: '✔';
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
}

#u-reborn-event-table a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

#u-reborn-event-table .fc-list-table .fc-day-past {
    display: none;
}

.ur-event-wrapper strong {
    white-space: break-spaces;
}

.fc .fc-toolbar-title,
.fc .fc-col-header-cell-cushion,
#event-type-filter option,
#event-location-filter option,
#event-type-filter,
#event-location-filter {
    text-transform: capitalize;
}

#event-type-filter option,
#event-location-filter option,
#event-type-filter,
#event-location-filter {
    font-size: 12px;
}

#event-type-filter,
#event-location-filter {
    min-height: 30px;
}

.ur-event-cancelled-label {
    background: white;
    border-radius: 5px;
    display: inline-block;
    padding: 0 6px;
}

.ur-event-cancelled-wrapper{
    cursor: not-allowed !important;
    pointer-events: none;
}

@media (max-width: 767px) {
    .fc .fc-toolbar {
        flex-direction: column;
    }
    .fc .fc-toolbar>* {
        margin-bottom: 10px;
    }
    .fc .fc-toolbar>*:last-child {
        margin-bottom: 0;
    }
    .event-table-filter {
        flex-direction: column;
    }
    .event-table-filter select {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .ur-event-wrapper strong,
    .ur-event-wrapper p {
        font-size: 10px;
        white-space: break-spaces;
    }

    .fc-scroller .ur-event:not(.fc-list-event),
    .fc-scrollgrid-sync-table .ur-event,
    .ur-event .ur-event-wrapper-list {
        padding: 3px;
        overflow: hidden;
    }

    .fc table {
        font-size: 10px;
    }

    .fc .fc-button {
        font-size: 12px;
    }

    .fc .fc-toolbar-title {
        font-size: 18px;
    }

}