.ep-events-container {
    position: relative;
}

.ep-box-search-form-wrap {
    --ep-bg-opacity: 0.45 !important;
}

.ep-events-container.ep-rows-view .ep-box-search-form-wrap{
    margin: 0 0px;
}

/*-- Event Filters--*/

.ep-filter-bar-toggle-filter {
    box-shadow: none;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: capitalize;

}

.ep-filter-bar-toggle-filter:hover {
    background-color: rgba(var(--themeColor), 0.10);

}

.ep-filter-bar-toggle-filter:focus {
    background-color: rgba(var(--themeColor), 0.10);
    box-shadow: none;
}

.ep-filter-bar-toggle-filter-remove-button {
    display: none;
}

.ep-box-filter-search {
    position: relative;
    border-right: 1px solid #e3e3e3;
}

.ep-box-filter-search input[type="text"],
.ep-box-filter-search input[type="date"] {
    border: 0px;
    padding: 20px 20px 20px 40px;
    font-size: 0.8rem;

}

.ep-box-filter-search svg {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 16px;
    width: 20px;
}

.ep-box-filter-search-buttons input[type="submit"] {
    border: 1px solid rgba(var(--themeColor), 1.0);
    color: rgba(var(--themeColor), 1.0);
    font-size: 0.8rem;
    font-weight: normal;
    text-transform: capitalize;
}

.ep-filter-bar-filter-close {
    position: absolute;
    right: 5px;
    top: 5px;
}

.ep-filter-bar-filter-close svg {
    fill: var(--ep-default-color);
    width: 18px;
}

.select2-container {
    z-index: 999999;
}
.ep-filter-alignment{
    position: absolute;
    top: 32px;
}

#ep-event-filterbar .select2-container--default .select2-selection--single {
    border-color: var(--ep-border-light-color);
    border-radius: 4px;
    height: auto;
    padding: 2px 4px;
}


/*--if dark mode on---*/

.ep-dark-mode-enabled .select2-container--default .select2-selection--multiple{
    background-color: rgba(86,86,86,0.33);
    border:1px solid rgba(170,170,170,0.25);
}

/*-- If dark mode on ends*/

#ep-event-filterbar .select2-container {
    width: 100% !important;
}

.ep-event-view-selector-button.ep-box-dropdown-open .ep-view-icon-down {
    display: none;
}

.ep-event-view-selector-button.ep-box-dropdown-open .ep-view-icon-up {
    display: block !important;
}

#ep_event_search_form .ep_event_view_filter.ep-active-view {
    color: rgba(var(--ep-white-color), 1) !important;
    background-color: rgba(var(--themeColor), 1);
    border-color: rgba(var(--themeColor), 1);
}

#ep_event_search_form .ep_event_view_filter.ep-active-view svg{
    fill: rgba(var(--ep-white-color), 1) !important;
}

#ep_event_search_form .ep-input-group #ep_event_keyword_search{
    margin-bottom: 0px;
    width: 1%;
    background-image: none;
}

#ep_event_search_form .ep-input-group .ep_event_find_events_btn{
    box-shadow: none;
}


/*---Override Theme's CSS---*/

.ep-input-group.form-group{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/*---Override Theme's CSS End---*/


#ep-search-filters .ep-input-group #filter-date-from,
#ep-search-filters .ep-input-group #filter-date-to{
    margin-bottom: 0px;
    width: 1%;
}

.ep-box-search-form-wrap .ep-btn-group button span {

}

.emagic .ep-events .ep-box-card-item .ep-card-footer a:focus{
    outline: 0px;
}

/*-- Event Filters End--*/


/*-- Event views Filters--*/

.emagic .ep-event-views-filter-group button.ep_event_view_filter{
    min-width: 42px;
    background-color: transparent;
}

.emagic .ep-event-views-filter-group button.ep_event_view_filter:hover {
    background-color: rgba(var(--themeColor), 1) !important;
}

.emagic .ep-event-views-filter-group button.ep_event_view_filter svg{
    fill: rgba(var(--themeColor), 1) !important;
}

.emagic .ep-event-views-filter-group button.ep_event_view_filter:hover svg {
    fill: rgba(var(--ep-white-color), 1) !important;
}
/*-- Event views Filters End--*/


/*--- Event Calendar---*/


/* ---Event Calendar toobar--*/


#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1.5em;
    border-radius: var(--ep-border-radius);
    padding: 19px;

}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar{
    --ep-border-width: 1px;
    --ep-border-style: solid;
    border: var(--ep-border-width) var(--ep-border-style) rgba(var(--ep-border-color-rgb), 1)!important;
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button-group {
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button-group .fc-button-primary {
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary {
    background-color: rgb(255 255 255);
    border-color: rgba(var(--themeColor), 1);
    color: rgba(var(--themeColor), 1) !important;
    border-radius: 0.375em;
    text-transform: capitalize;
    min-width: auto !important;
    max-height: 36px;
    vertical-align: middle;
    line-height: normal;
}

.ep-dark-mode-enabled #ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary {
    background-color: rgb(67 67 67);
}


#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:nth-child(3) .fc-button-primary {
    line-height: 1.5;
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:nth-child(3) button.fc-button-primary{
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary.fc-button-active{
    background-color: rgba(var(--themeColor), 1);
    color: rgba(var(--ep-white-color), 1) !important
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary:not(:first-child){
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary:not(:last-child){
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}



#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-button-primary:focus {
    box-shadow: none;
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-today-button.fc-button-primary {
    font-weight: normal;
    font-family: inherit !important;
    padding: 0.4em 0.65em !important;
    font-size: 1em !important;
    line-height: 1.5 !important;
    border-radius: 0.25em !important;
    text-transform: capitalize
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-today-button.fc-button-primary:hover {
    border: 1px solid transparent;
    box-shadow: none;
    border-color: rgba(var(--themeColor), 0.25);
}

/* ---Event Calendar toobar end--*/

/*--- Calendar Head -----*/


#ep_event_calendar table.fc-scrollgrid {
    --ep-border-width: 1px;
    --ep-border-style: solid;
    border: none !important;
    border-radius: 7px;
    margin: 0px;
    background-color: rgba(var(--ep-white-color), 0.25);

}

#ep_event_calendar table.fc-scrollgrid tr {
    border: 0px;
}

#ep_event_calendar table.fc-scrollgrid tr th {
    background: 0 0;
    padding: 6px 6px 4px 8px;
    text-align: center;
    border-right: none !important;
    border-left: none !important;
    border-bottom-width: 1px;
    border-top: none;
    position: relative;
    z-index: 0;
}

.ep-dark-mode-enabled #ep_event_calendar table.fc-scrollgrid tr th{
    --ep-border-width: 1px;
    --ep-border-style: solid;
    border-bottom: var(--ep-border-width) var(--ep-border-style) rgba(var(--ep-border-color-rgb), 1);
}

#ep_event_calendar table.fc-scrollgrid tr th.fc-col-header-cell {
    border: none;
}

#ep_event_calendar table.fc-scrollgrid tr th a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000;
    text-decoration: none;
    box-shadow: none;
}

/*If Dark Mode---*/
.ep-dark-mode-enabled #ep_event_calendar table.fc-scrollgrid tr th a{
    color: #fff;
}
/*If Dark Mode end---*/

/*--- Calendar Head End -----*/

/*--- Calendar Body -----*/


#ep_event_calendar .fc-scroller-harness,
#ep_event_calendar .fc-h-event .fc-event-title {
    overflow: visible !important;
}

#ep_event_calendar .fc-h-event .fc-event-title,
#ep_event_calendar .fc-daygrid-event .fc-event-title {
    word-break: break-word;
    white-space: break-spaces;
}

#ep_event_calendar .fc-h-event .fc-event-title,
#ep_event_calendar .fc-daygrid-event .fc-event-title {
    color: rgb(255 255 255);
    font-size: 0.8rem;
    letter-spacing: normal;
    font-weight: normal
}

#ep_event_calendar .fc-h-event .fc-event-title,
#ep_event_calendar .fc-daygrid-event .fc-event-title {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

#ep_event_calendar .fc-h-event .fc-event-time,
#ep_event_calendar .fc-daygrid-event .fc-event-time {
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 4px;
}

#ep_event_calendar .fc-event.fc-event-today {
    border: 1px solid #3788d8;
    border: 1px solid var(--fc-event-border-color,#3788d8);
    background-color: #3788d8;
    background-color: var(--fc-event-bg-color,#3788d8);
}

#ep_event_calendar table.fc-scrollgrid table {
    margin: 0;
    border: 0px;
}

#ep_event_calendar table.fc-scrollgrid-sync-table {
    margin: 0;
    border-spacing: 0;
    border-collapse: separate;
}

#ep_event_calendar table.fc-scrollgrid-sync-table tr td {
    text-align: left;

}

#ep_event_calendar table.fc-scrollgrid-sync-table tbody td {
    border: none;
    border-bottom: 1px solid var(--ep-border-color);
    border-right: 1px solid var(--ep-border-color);

}

#ep_event_calendar table.fc-scrollgrid-sync-table tbody td:last-child {
    border-right: 0px;
    position: relative;
}

#ep_event_calendar.fc table.fc-scrollgrid-sync-table .fc-daygrid-event {
    z-index: auto;
    margin-bottom: 2px;
}

#ep_event_calendar table.fc-scrollgrid tr.fc-scrollgrid-section>td {
    border: 0px !important;
}

#ep_event_calendar table.fc-scrollgrid-sync-table .fc-daygrid-day-top {
    display: flex;
    flex-direction: row;
    padding-left: 10px;
}

#ep_event_calendar table.fc-scrollgrid-sync-table tr:last-child td {
    border-bottom: 0px;
}

#ep_event_calendar.fc .fc-daygrid-day-number {
    font-size: 16px;
    padding: 12px 10px 2px;
    color: #000;
    text-decoration: none;
    box-shadow: none;
}

/*-- If Dark Mode---*/

.ep-dark-mode-enabled #ep_event_calendar.fc .fc-daygrid-day-number{
    color: #fff;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 1em;
}

#ep_event_calendar a.fc-event {
    padding: 6px 10px;
    font-size: 0.9rem;
    font-weight: 400;
    box-shadow: none;
    border: 0px;
    line-height: 18px;
    cursor: pointer;
    margin: 0px;
    white-space: normal;
}

#ep_event_calendar .fc-direction-ltr .fc-daygrid-event.fc-event-end,
#ep_event_calendar .fc-direction-ltr .fc-daygrid-event.fc-event-start,
#ep_event_calendar .fc-direction-rtl .fc-daygrid-event.fc-event-end,
#ep_event_calendar .fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

#ep_event_calendar.fc .fc-scroller-liquid-absolute,
#ep_event_calendar.fc.fc .fc-scroller {
    overflow: visible !important;
}

#ep_event_calendar .fc-daygrid-event-harness {
}

#ep_event_calendar a.fc-event .fc-daygrid-event-dot {
    display: none;
}

#ep_event_calendar .fc-daygrid-dot-event {
    display: block;
}

#ep_event_calendar .fc-list-sticky .fc-scroller table.fc-list-table {
    table-layout: inherit;
}

#ep_event_calendar .fc-list-sticky .fc-scroller table.fc-list-table tr.fc-list-event{
    color: rgb(255 255 255);
}


.ep-narrow #ep_event_calendar .fc-daygrid-event .fc-event-time{
    display: none;
}

/*--Calendar Day Event More Modal---*/

#ep_event_calendar.fc.fc-theme-standard .fc-more-popover .fc-popover-body {
    height: 100%;
    padding: 0px;
}

/*--Calendar Day Event More Modal End---*/


/*--calendar Hover Modal---*/

.ep_event_detail_popup {
    width: 290px;
    height: auto;
    position: absolute;
    background: #fff;
    left: 0px;
    bottom: calc(100% - 1px);
    border: 1px solid #e3e4e5;
    border-radius: 7px;
    opacity: 1;
    box-shadow: 0 4px 13px rgb(0 0 0 / 7%);
    z-index: 9997
}

/*-- If Dark Mode on---*/


.ep-dark-mode-enabled .ep_event_detail_popup{
    background: rgb(51 51 51);
    border: 1px solid rgb(76 76 76);
}

.ep-dark-mode-enabled .ep_event_detail_popup:after {
    bottom: -16px;
    border-color: #383838 transparent transparent transparent;
}

.ep-dark-mode-enabled .ep_event_detail_popup:before {
    bottom: -17px;
    border-color: #383838 transparent transparent transparent;
}

.ep-dark-mode-enabled .ep_event_popup_title {
    color: #fff;
}

/*-- If Dark Mode on end---*/

.ep_event_popup_image img {
    width: 100%;
    border-radius: 3px !important;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

.ep_event_popup_image {
    padding: 10px;
    padding-bottom: 8px
}

.ep_event_popup_date_time_wrap {
    color: #898a8c;
    font-weight: 400;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12px
}

.ep_event_popup_date {
}

.ep_event_popup_time {
}


.ep_event_detail_popup:after,
.ep_event_detail_popup:before {
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 8px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px
}

.ep_event_detail_popup:before {
    bottom: -17px;
    border-color: #e3e9f1 transparent transparent transparent
}

.ep_event_detail_popup:after {
    bottom: -16px;
    border-color: #fff transparent transparent transparent
}

.ep_event_popup_title {
    color: #000;
    line-height: 22px;
    font-size: 1rem;
    padding: 0px 25px 10px 25px;
    font-weight: 500;
    white-space: normal;
}

.ep_event_popup_address {
    color: rgb(112 113 114);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 17px;
    padding: 0 25px 15px;
    margin-top: -2px;
    word-break: break-word;
    white-space: normal;
}

/* Calendar Hover Modal End --*/

/*--- Calendar Body End -----*/

#ep_event_calendar a.fc-event,
#ep_event_calendar fc-event {
    border-radius: 0px;
    border-left-width: 0px;
    border-style: solid;
    text-decoration: none;

}

/* ---Calendar Last week List View ---*/

#ep_event_calendar table.fc-list-table tr.fc-list-event {
    position: relative;
    width: 100%;
}

#ep_event_calendar table.fc-list-table tr.fc-list-event:hover td{
    background-color: inherit !important;
}

#ep_event_calendar.fc table.fc-scrollgrid-sync-table .fc-daygrid-event .ep_event_detail_popup {
    left: 0;
}

#ep_event_calendar.fc table.fc-scrollgrid-sync-table .fc-daygrid-event .ep_event_detail_popup:before,
#ep_event_calendar.fc table.fc-scrollgrid-sync-table .fc-daygrid-event .ep_event_detail_popup:after{
    left: 30px;
}

/* ---Calendar Last week List View End ---*/


/*--Card view --*/

.emagic .ep-events .ep-box-card-item{
    transition: 0.5s;
}

.emagic .ep-events .ep-box-card-item:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.ep-events .ep-box-card-item .ep-box-card-thumb img.ep-event-cover{
    transform: scale(1, 1);
}

.ep-events .ep-box-card-item:hover .ep-box-card-thumb img.ep-event-cover{
    transform: scale(1.1, 1.1);
}


.ep-events .ep-box-card-item .ep-box-card-thumb {
    max-height: var(--ep-imageCardHeight);
    height: 100%;
}

.ep-events .ep-box-card-item .ep-box-card-thumb img.ep-event-cover{
    transition: 1.2s;
    object-fit: cover;
    height: 100%;
}

.ep-events .ep-box-card-item .ep-box-card-thumb{
    background-color: rgba(var(--themeColor), 0.2);
}

.ep-events .ep-box-card-item .ep-box-card-thumb img.em-no-image {
    object-fit: cover !important;
}
#ep_events_front_views_square_grid .ep-box-card-item .ep-box-card-thumb img.em-no-image{
    height: 1