.events-holder {
    background-color: #f4f6fa;
}

.events-holder {
    display: flex;
    position: relative;
    min-height: 100vh;
}

.events-sidebar {
    width: 230px;
    padding: 40px 14px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    box-sizing: border-box;
}

@media screen and (min-width: 1601px) {
    .events-content {
        padding: 30px 0px;
        max-width: 800px;
        margin: 0px auto;
        box-sizing: border-box;
        width: 100%;
    }
}

@media screen and (max-width: 1600px) {
    .events-content {
        margin-left: 230px;
        flex: 1;
        padding: 30px 80px;
    }
}

.sidebar-filter-rsvp,
.sidebar-filter-period {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.filter-item-title {
    font-size: 16px;
    line-height: 21px;
    color: #484E6B;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    display: flex;
}

.filter-item-title:before {
    content: "\f078";
    position: absolute;
    right: 0px;
    top: 0px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: rotate(0deg);
    transition: transform .3s;
}

.filter-item-list-content {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15px;
}

.item-holder {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.item-holder>span {
    cursor: pointer;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #CACFE6;
    border-radius: 2px;
}

.item-text {
    padding-left: 10px;
    font-size: 14px;
    line-height: 18px;
    color: #484E6B;
    display: flex;
    font-weight: 600;
}

.active-filter-items .filter-item-title:before {
    transform: rotate(180deg);
    transition: transform .3s;
}

.events-item {
    text-decoration: none;
    display: flex;
    margin-bottom: 14px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 5px 0px rgba(23, 15, 63, 0.14);
}

.events-thumbnail {
    width: 140px;
    line-height: 0;
    position: relative;
}

.events-thumbnail img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    position: relative;
}

.events-item-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.events-item-content-top {
    display: flex;
}

.events-item-content-top-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.events-item-content-top-head {
    display: flex;
    flex-direction: column;
}

.events-item-content-time {
    font-size: 14px;
    line-height: 19px;
    color: #136999;
    font-weight: 700;
    margin-bottom: 5px;
}

.events-item-content-time span {
    text-transform: uppercase;
}

.event-title {
    font-size: 20px;
    line-height: 24px;
    color: #323856;
    font-weight: 700;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.events-item-content-categories {
    display: flex;
    flex-wrap: wrap;
}

.events-item-categories-term {
    font-size: 12px;
    line-height: 16px;
    color: #323856;
    font-weight: 400;
    background-color: #F4F6FA;
    padding: 2px 4px;
    margin-right: 4px;
    border-radius: 2px;
    display: inline-block;
}

.events-item-content-bottom {
    display: flex;
    align-items: center;
}

.zoom-webinar {
    display: flex;
    align-items: center;
    padding-right: 24px;
}

.zoom-webinar img {
    line-height: 0;
    margin-right: 4px;
    width: 24px;
    height: 24px;
}

.zoom-webinar span {
    font-size: 12px;
    line-height: 16px;
    color: #6F7682;
}

.attendance-holder {
    display: flex;
    align-items: center;
}

.duration img,
.attendance-holder img {
    width: 16px;
}

.attendance-holder span {
    font-size: 12px;
    line-height: 16px;
    color: #6F7682;
    font-weight: 400;
    padding-right: 4px;
}

.point {
    padding: 0px 12px;
    font-size: 24px;
    line-height: 1;
    color: #6F7682;
}

.duration {
    display: flex;
    align-items: center;
}

.duration span {
    font-size: 12px;
    line-height: 16px;
    color: #6F7682;
    font-weight: 400;
    padding-right: 4px;
}

.events-item-tooltip {
    position: absolute;
    right: 0px;
    bottom: 35px;
    width: 200px;
    display: none;
    background-color: #59607D;
    font-size: 12px;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    line-height: 1.4;
    font-weight: 600;
}

.events-item-content-top-right:hover .events-item-tooltip {
    display: flex;
}

.events-item-content-top-right {
    position: relative;
}

.events-item-tooltip:before {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 10px;
    margin-left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #59607D;
}

.badge {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
    line-height: 16px;
    color: #323856;
    background-color: #fff;
    border: 1px solid #CACFE6;
    padding: 3px 10px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 24px;
}

.events-title {
    font-size: 22px;
    line-height: 38px;
    color: #323856;
    font-weight: 800;
    margin-bottom: 15px;
}

.number_of_events {
    font-size: 12px;
    line-height: 21px;
    color: #59607D;
    font-weight: 400;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.load_more {
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    line-height: 19px;
    letter-spacing: 0.5px;
    padding: 7px 24px;
    cursor: pointer;
    font-weight: 600;
    border: 1px solid #9eafaf !important;
    width: max-content;
    margin: 5px auto 0;
}

.events-thumbnail img.play-button {
    width: 42px;
    height: 42px;
    position: absolute;
    left: calc(50% - 21px);
    top: calc(50% - 21px);
}

.filter-item-list-content,
.load_more {
    opacity: 0.5;
}

.active-events-sidebar .demo-sidebar-overlay {
    display: block;
}

.events-item-content-top-right {
    height: 19px;
}

.events-upcoming {
    padding-bottom: 20px;
}

body.singe-resource-events {
    overflow-x: unset !important;
    overflow-y: hidden !important;
}

.singe-resource-events .events-content .event-title {
    font-size: 20px!important;
    line-height: 24px!important;
}

.singe-resource-events .event-title {
    margin: 0px;
    font-size: 32px;
    line-height: 44px;
    color: #323856;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.popup_content_bottom .events-content {
    margin: 0px;
    padding: 20px 0px 0px;
    width: 100%;
    font-size: 16px;
}

.events-content p {
    margin: 0px 0px 10px;
    color: #323856;
    font-weight: 400;
}

.events-content ul {
    margin-left: 0px;
    padding-left: 15px;
    list-style: disc;
    margin-bottom: 10px;
}

@media screen and (max-width: 1350px) {
    .events-content {
        padding: 30px;
    }
}

@media screen and (min-width: 1041px) {
    #filter-events-button {
        display: none;
    }
}

@media screen and (max-width: 1040px) {
    #filter-events-button {
        padding-bottom: 0px;
        display: inline-flex;
        align-items: center;
        color: #404040;
        font-size: 1rem;
        line-height: 1.5;
    }
    #filter-events-button i {
        padding-right: 5px;
    }
    .events-sidebar {
        -moz-transform: translateX(-100vw);
        -ms-transform: translateX(-100vw);
        -webkit-transform: translateX(-100vw);
        transform: translateX(-100vw);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 300px;
        margin-top: 0px;
        background-color: #fff;
        z-index: 9999999;
        transition: transform .3s;
        padding-top: 20px;
    }
    .logged-in .events-sidebar {
        margin-top: 32px;
    }
    .active-events-sidebar .events-sidebar {
        -moz-transform: translateX(0vw);
        -ms-transform: translateX(0vw);
        -webkit-transform: translateX(0vw);
        transform: translateX(0vw);
        transition: transform .3s;
    }
    .events-content {
        padding: 30px;
        margin: 0 auto;
        max-width: 700px;
    }
    .events-item {
        width: calc(50% - 40px);
        flex-direction: column;
        margin: 0px 20px 40px;
    }
    #events-upcoming-content,
    #events-past-content {
        display: flex;
        flex-wrap: wrap;
        margin: 0px -20px;
        justify-content: center;
    }
    .events-thumbnail {
        width: 100%;
    }
    .events-thumbnail img {
        width: 100%;
        height: auto;
        object-fit: unset;
        border-radius: 8px 8px 0px 0px;
    }
    .zoom-webinar {
        padding-right: 0px;
        width: 100%;
        padding-bottom: 5px;
        margin-left: -3px;
    }
    .events-item-content-bottom {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .point {
        padding: 0px 6px;
    }
    .events-item-content-categories {
        margin-bottom: 10px;
    }
    .events-item-categories-term {
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 782px) {
    .logged-in .events-sidebar {
        margin-top: 46px;
    }
}

@media screen and (max-width: 480px) {
    #events-upcoming-content,
    #events-past-content {
        margin: 0px -10px;
    }
    .events-item {
        width: calc(100% - 20px);
        margin: 0px 10px 20px;
    }
}