@keyframes calendar {
    from { opacity: 0;}
    to { opacity: 1;}
}

.event-calendar-events-list.ba-list-layout,
.event-calendar-events-list {
    animation: calendar .3s both;
    background: #2c2c2c;
    border-radius: 6px;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    opacity: 0;
    position: absolute;
    width: 375px;
    z-index: 99999999;
}

.event-calendar-events-list .event-calendar-row-wrapper {
    box-sizing: border-box;
    max-height: 400px;
    overflow-y: auto;
    padding: 25px;
}

.event-calendar-events-list:after {
    border: 10px solid transparent;
    border-top-color: #2c2c2c;
    bottom: -19px;
    content: "";
    display: block;
    height: 0;
    left: calc(50% - 10px);
    position: absolute;
    width: 0px;
}

.event-calendar-event-item > span {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(375px - 150px);
}

.event-calendar-event-item {
    display: flex;
}

.event-calendar-event-item ~ .event-calendar-event-item {
    margin-top: 25px;
}

.event-calendar-event-item-title {
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    margin-bottom: 10px;
    width: 100%;
}

.event-calendar-events-list.ba-list-layout .event-calendar-event-item-image-wrapper + .event-calendar-event-item-content {
    display: flex;
    flex-direction: column;
    width: calc(100% - 100px);
}

.event-calendar-event-item-content > div p,
.event-calendar-event-item-content > div,
.event-calendar-event-item-content > div a,
.event-calendar-event-item-date,
.event-calendar-event-item-category {
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5rem;
    text-transform: none;
}

.event-calendar-events-list.ba-card-layout .event-calendar-event-item {
    flex-direction: column;
}

.event-calendar-events-list.ba-card-layout .event-calendar-event-item-image-wrapper {
    margin-right: 0;
}

.event-calendar-events-list.ba-list-layout .event-calendar-event-item-image-wrapper > div,
.event-calendar-events-list.ba-list-layout .event-calendar-event-item-image-wrapper {
    max-width: 75px;
}

.event-calendar-event-item-image-wrapper {
    margin-right: 25px;
}

.event-calendar-event-item-image-wrapper > div {
    min-width: 75px;
    position: relative;
}


.event-calendar-event-item-image-wrapper > div img {
    opacity: 0;
}

.event-calendar-event-item-image-wrapper > div a {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.event-calendar-event-item-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px;
    display: block;
    height: auto;
    margin-right: 25px;
    max-width: 75px;
    width: 100%;
}

.event-calendar-events-list.ba-card-layout .event-calendar-event-item-image {
    background-position: center;
    background-size: cover;
    border-radius: 0;
    margin-bottom: 10px;
    margin-right: 0;
    min-width: 100%;
    padding-top: 56%;
    position: static;
    width: 100%;
}

.event-calendar-event-item-fields-wrapper .ba-blog-post-field-value a {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 3px 7px;
    background: #c1c1c11c;
    border-radius: 20px;
    display: inline-block;
}

.event-calendar-event-item-reviews .ba-blog-post-rating-stars {
    font-size: .875rem;
}

.event-calendar-event-item-comments {
    display: block;
}

.event-calendar-event-item-reviews,
.ba-blog-post-field-row {
    display: flex;
    justify-content: space-between;
}

.ba-blog-post-field-row .ba-blog-post-field-title {
    padding-right: 10px;
    min-width: 25%;
}

.ba-blog-post-field-row .ba-blog-post-field-checkbox-value {
    display: inline-block;
    padding-left: 5px;
}

.event-calendar-event-item-content > div a:hover,
.event-calendar-event-item-title:hover,
.event-calendar-event-item-category:hover {
    color: rgba(255, 255, 255, 0.5);
}

.event-calendar-event-item-content .event-calendar-event-item-button-wrapper a:hover {
    background: var(--hover);
    color: #fff;
}

.event-calendar-event-item-category,
.event-calendar-event-item-title {
    transition: color .3s ease-in-out;
}

.event-calendar-event-item-info-wrapper > *:not(:first-child):before {
    margin: 0 10px;
    content: "\2022";
    color: inherit;
}
.event-calendar-event-item-button-wrapper {
    text-align: left;
    margin-top: 15px;
}

.event-calendar-event-item-reviews,
.event-calendar-event-item-fields-wrapper {
    margin-top: 15px;
}

.event-calendar-event-item-author a {
    align-items: center;
    display: flex;
}

.event-calendar-event-item-button-wrapper a {
    background: var(--primary);
    color: #fff;
    border-radius: 3px;
    display: inline-flex;
    padding: 10px 20px;
}

.event-calendar-event-item-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.event-calendar-event-item-author .ba-author-avatar {
    background-size: contain;
    border-radius: 50%;
    display: inline-block;
    height: 30px;
    margin-bottom: 5px;
    margin-right: 15px;
    width: 30px;
}

.event-calendar-events-list > i {
    color: var(--title-inverse);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 1em;
    z-index: 1;
}

.ba-item-field-group .ba-field-content a.fields-post-tags,
.ba-item-field .ba-field-content a.fields-post-tags {
    display: inline-block;
    margin-right: 5px;
    text-transform: capitalize;
}

.event-calendar-events-list.ba-card-layout img {
    display: none;
}

.event-calendar-event-item-reviews .ba-blog-post-rating-stars i {
    cursor: default !important;
}

.event-calendar-events-list .event-calendar-row-wrapper::-webkit-scrollbar {
    width: 6px;
}

.event-calendar-events-list .event-calendar-row-wrapper::-webkit-scrollbar-thumb {
    background: #464646;
    border-radius: 6px;
}

.event-calendar-events-list .event-calendar-row-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #464646 transparent;
}

.event-calendar-events-list .event-calendar-row-wrapper::-webkit-scrollbar-track {
    background-color: transparent;
}