.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{    width: calc(100% - 30px) !important;}
#ep-search-filters .ep-input-group #filter-date-from,
#ep-search-filters .ep-input-group #filter-date-to{
    margin-bottom: 0px;
    width: 1%;
    background-image: none;
}

.wp-theme-hestia #ep_event_calendar .fc-header-toolbar .fc-toolbar-chunk{
    display: flex;
    margin-right: 8px;
}

.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: var(--ep-border-width) var(--ep-border-style) rgba(var(--ep-border-color-rgb), 1)!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: 100% !important;
}

.ep-box-card-venue.ep-card-venue {
    min-height: 20px;
}

.ep-box-card-desc {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ep-box-card-title a {
    box-shadow: none;
    text-decoration: none;
}

#ep_events_front_views_card .ep-box-card-thumb img.ep-event-cover,
#ep_events_front_views_masonry .ep-box-card-thumb img.ep-event-cover {
    max-height: 120px;
    min-height: 120px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: 1.2s;
}

.ep-card-event-icon {
    position: relative;
    top: 2px;
    font-size: 1.4rem;
}

.ep-card-event-date,
.ep-card-event-time {
    line-height: 20px;
}

.ep-box-card-icon-group {
    z-index: 9;
    right: 5px;
    bottom: 0px;
    --ep-bg-opacity: 1 !important;
}

.ep-box-card-icon-group > div:nth-child(2) .ep-event-action{
    padding-left: 0px !important;
}

.ep-box-card-icon-group .ep-event-action {
    box-shadow: none;
    text-decoration: none;
    line-height: 26px;

}

.ep-box-card-icon-group .ep-event-action span {
    vertical-align: middle;
    line-height: normal;
    cursor: pointer;
}

.ep-card-footer {
    padding: 0.5rem 1rem;
    bottom:0px;
}

.ep-box-card-icon-group .ep-event-action svg {
}

.ep-calendar-title-full {
    font-size: 1em !important;
}

/*Card View End--*/


/* ---List View ---*/

.ep-list-icon-group {
    z-index: 1;
    top: 1rem;
    left: 1rem;
    --ep-bg-opacity: 1 !important;
}

.ep-list-icon-group a {
    padding: 0.25rem 0.5rem;
    box-shadow: none;
    text-decoration: none;
}

.ep-list-icon-group a span {
    vertical-align: middle;
}

.ep-offer-tag {
    background-color: rgb(255 127 80);
}

.ep-offer-spark {
    animation: offerspark 2s linear forwards normal infinite;
    height: 30px;
    transform: rotate(45deg);
    opacity: 0.5;
    filter: blur(8px);
    bottom: 0;
}

@keyframes offerspark {
    from {
        transform: translateX(-200px) rotate(45deg);
    }

    to {
        transform: translateX(200px) rotate(45deg);
    }
}


.ep-event-list-item .ep-img-fluid {
    height: 100%;
}

.ep-box-list-desc {
    line-height: 1.4rem;
}

.ep-event-list-item .ep-list-img-fluid {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    min-height: 260px;
    max-height: 260px;
}

.ep-events .ep-event-list-item a.ep-image-default{
    background-color: rgba(var(--themeColor), 0.2);
}

.ep-event-list-item a.ep-img-link {
    line-height: 0px;
    display: block;
    width: 100%;
    height: 100%;
}

.ep-event-share {
    padding: 8px 0 2px !important;
    margin: 0 !important;
    margin-top: 6px;
    border-radius: 5px;
    min-width: 32px;
    opacity: 0;
    visibility: hidden;
    border: 1px solid #e2e2e2;
    background: #fff;
    box-shadow: 0 0 9px 0 rgb(0 0 0 / 6%);
    -webkit-transition: all .18s ease;
    transition: all .18s ease;
    z-index: 99999;
    position: absolute;
    bottom: 36px;
    left: 22px;
}

.ep-social-share-action-wrap .ep-event-action:hover .ep-event-share {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

ul.ep-event-share:after,
ul.ep-event-share:before {
    left: 25px;
}

ul.ep-event-share:after,
ul.ep-event-share:before {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px;
}

ul.ep-event-share:before {
    bottom: -21px;
    border-color: #e2e2e2 transparent transparent transparent;
}

ul.ep-event-share:after {
    bottom: -19px;
    border-color: #fff transparent transparent transparent;
}

.ep-event-share .ep-event-social-icon {
    list-style: none;
    line-height: 12px;
    text-align: center;
    margin: 2px 0px;
}
/* staggered view sharing ICON start */
#ep_events_front_views_staggered_grid .ep-event-share{
    left: -66px;
    padding: 2px 0.25rem !important;
    bottom: 34px !important;
}
#ep_events_front_views_staggered_grid .ep-event-social-icon{
    display: inline-block;
    margin: 0px 2px;
}
#ep_events_front_views_staggered_grid ul.ep-event-share:before{
    left: 88%;
    border-width: 8px;
    bottom: -16px;
}
#ep_events_front_views_staggered_grid ul.ep-event-share:after{
    left: 88%;
    border-width: 8px;
    bottom: -14px;
}
/* staggered view sharing ICON end */
#ep_events_front_views_square_grid .ep-event-share{
    padding: 8px 0px !important;
}
ul.ep-event-share li.ep-event-social-icon:first-child svg {
    width: 9px !important;
}
.ep-event-social-icon .ep-social-title svg {
    width: 12px;
    height: auto;
    display: inline-block;
}

.ep-event-social-icon .ep-social-title {
    font-size: 0px;
}


.ep-list-icon-group .ep-event-action {
    padding: 0.5rem 0.6rem;
    box-shadow: none;
    text-decoration: none;
    line-height: 8px;
}

.ep-list-icon-group .ep-event-action ul.ep-event-share,
.ep-box-card-icon-group .ep-event-action ul.ep-event-share {
    left: -8px;
}
#ep_events_front_views_rows .ep-event-share{
    left: 0px;
    bottom: 45px;
}
#ep_events_front_views_rows .ep-event-list-price{
    justify-content: end;
    -webkit-justify-content: flex-end;
}
.ep-slider-icon-group {
    right: 20px;
}

#ep_events_front_views_rows .ep-list-view-pricing-area{
    height: auto;
}
#ep_events_front_views_rows .ep-event-booking-status{
    margin-top: auto !important;
    margin-bottom: 0.55rem !important;
}

/*---For Mobile view---*/

#ep-events-content-container.ep-narrow .ep-list-view-btn-area{
    position: relative !important;
}

#ep-events-content-container.ep-narrow .ep-list-view-pricing-area{
    text-align: left !important;
}
#ep-events-content-container.ep-narrow .ep-event-list-view-action{
    justify-content: flex-start !important;
}

#ep-events-content-container.ep-narrow .ep-box-list-right-col{
    border: 0px !important;
}

/*---For Mobile view end---*/

/*---List View ends---*/

/* Event Slider View ---*/

#ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides {
    box-shadow: 0 5px 35px 0 rgb(0 0 0 / 13%);
}

#ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides .ep-slider-items {
    height: fit-content;
    width: 100%;
}

#ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides .ep-event-res-slider-wrap {
}

#ep_events_front_views_slider {
    margin: 0px 0px 3rem 0px;
    padding: 0px;

}

#ep_events_front_views_slider .ep-slider-icon-group{
    left: auto;
}

#ep_events_front_views_slider {
    position: relative
}

#ep_events_front_views_slider .ep-event-slider-nav .ep-event-rslides_nav {
    opacity: 1;
    width: 54px;
    height: 54px;
    line-height: 66px;
    border-radius: 0;
    text-align: center;
    background: #000;
    box-shadow: 0 2px 11px 0 rgb(0 0 0 / 5%);
    transition: all .25s ease;
    -webkit-transition: all .25s ease;
    position: absolute;
    top: 50%;
    margin-top: -27px;
    cursor: pointer;
    z-index: 9;

}
/* if dark mode is enabled */
.ep-dark-mode-enabled #ep_events_front_views_slider .ep-event-slider-nav .ep-event-rslides_nav{
    background-color: rgb(67,67,67);
}
#ep_events_front_views_slider .ep-event-slider-nav .ep-event-rslides_nav span {
    color: #fff !important;
}


#ep_events_front_views_slider .ep-event-slider-nav .ep-event-rslides_nav.prev {
    right: auto;
    left: -26px;
}

#ep_events_front_views_slider .ep-event-slider-nav .ep-event-rslides_nav.next {
    left: auto;
    right: -26px;
}

#ep_events_front_views_slider .ep-slider-items .ep-slide-item {
    width: 50%;
    max-height: 490px;
}

#ep_events_front_views_slider .ep-slider-items .ep-slide-item a.ep-image-default{
    background-color: rgba(var(--themeColor), 0.2);
    width: 100%;
}

#ep_events_front_views_slider .ep-slider-items .ep-slide-item a:hover {
    opacity: 1;
}

#ep_events_front_views_slider .ep-slide-item.ep-slide-item-left {
    padding: 6%;
}

#ep_events_front_views_slider .ep-box-card-desc {
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 110px;
    max-height: 120px;
}

#ep_events_front_views_slider .ep-slide-item-right a.ep-img-link {
    height: 100%;
    width: 100%;
    display: inline-block;
}

#ep_events_front_views_slider .ep-slide-item-right img {
    height: 100%;
    border-radius: 0px;
    object-fit: cover;
    width: 100%;
    min-height: 490px;
    max-height: 490px;

}

/*---Event Slider View End---*/



/*-- Event Masonry View ---*/

#ep_events_front_views_staggered_grid .ep-box-card-item .ep-box-card-thumb {
    height: auto;
    max-height: 100%;
}

#ep_events_front_views_staggered_grid .ep-box-card-item .ep-box-card-thumb img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
    display: flex;
}

#ep_events_front_views_staggered_grid .ep-box-card-item .ep-box-card-content{
    padding-bottom: 0px !important;
}

#ep_events_front_views_staggered_grid .ep-box-card-desc-masonry.ep-box-card-desc{
    min-height: auto;
}



/*-- Event Masonry View End ---*/


#ep-search-filters {
    transition: 0.4s;
    transform: translateY(-10px);
    visibility: hidden;
    z-index: 9999;
}

.ep-search-filter-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 2;
}


/*---Social Share ---*/

.ep-event-share-wrap {
}

.ep-event-share-wrap li {
    list-style: none;
}

.ep-event-share-wrap .ep-event-social-icon svg {
    width: 12px;
}

/*--- End Social Share ---*/


@keyframes ep-searchfilters {
    from {
        visibility: visible;
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ep-searchfilters-exit {
    from {
        visibility: visible;
        opacity: 1;
        transform: translateY(0px);
    }

    to {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10);
    }
}

/*---Date Picker CSS---*/

#ui-datepicker-div.ep-ui-cal-wrap {
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 9px rgb(0 0 0 / 12%);
    font-size: 14px;
}

#ui-datepicker-div.ep-ui-cal-wrap .ui-widget-header {
    border: 0;
    background: unset;
    background-color: #fff;
    margin-top: 6px;
}

#ui-datepicker-div.ep-ui-cal-wrap .ui-datepicker-title select {
    font-weight: 600;
    font-size: 12px;
    border-radius: 2px;
    padding: 2px 10px;
    margin: 1px 3px 5px;
}

#ui-datepicker-div.ep-ui-cal-wrap .ui-datepicker-title select {
    border-color: #e7e8e9;
}

#ui-datepicker-div.ep-ui-cal-wrap .ui-datepicker-prev:before {
    content: "\f341";
}

#ui-datepicker-div.ep-ui-cal-wrap .ui-datepicker-next:before {
    content: "\f345";
}

#ui-datepicker-div.ep-ui-cal-wrap.ui-datepicker.ui-widget td a {
    color: #777;
    font-weight: 600;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    border-radius: 33px;
    padding: 0;
    background: #fff;
    transition: all .2s ease;
}

#ui-datepicker-div.ep-ui-cal-wrap.ui-datepicker.ui-widget .ui-state-default {
    border: 0;
    background-color: #fff;
    font-weight: 400;
    color: #212121;
    text-align: center;
}

#ui-datepicker-div.ui-datepicker.ui-widget.ep-ui-cal-wrap .ui-state-default.ui-state-highlight {
    --ep-bg-opacity: 1;
    background-color: rgba(var(--themeColor),var(--ep-bg-opacity))!important;
    color: #fff;
}

#ui-datepicker-div.ui-datepicker.ui-widget.ep-ui-cal-wrap .ui-datepicker-next,
#ui-datepicker-div.ui-datepicker.ui-widget.ep-ui-cal-wrap .ui-datepicker-prev {
    cursor: default;
    font-family: dashicons;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: 400;
    height: 20px;
    line-height: 1.4;
    margin-top: 2px;
    width: 20px;
    background-color: transparent;
    border: 0px;
    cursor: pointer;
    text-decoration: none;
}

#ui-datepicker-div.ui-datepicker.ui-widget.ep-ui-cal-wrap .ui-datepicker-next .ui-icon,
#ui-datepicker-div.ui-datepicker.ui-widget.ep-ui-cal-wrap .ui-datepicker-prev .ui-icon{
    display: none;
}

/*---Date Picker CSS End---*/


/*---WooCommerce--*/

.ep-modal-open-body .ep-box-card-icon-group {
    position: static !important;
}

/*-- Theme Fixes---*/


/* -- Event Types on Event calander bottom area -- */


.ep-event-types .ep-event-type span{
    width: 10px;
    height: 10px;
    display: inline-block;
}

/* -- Event Types on Event calander bottom area End-- */


/*-- Reponsive---*/

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

#ep-events-content-container.ep-narrow #ep_event_calendar.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:not(:last-child){
    margin-bottom: 12px;
}

#ep_event_calendar.fc .fc-toolbar.fc-header-toolbar{
    margin-bottom: 1.5rem!important;
    background-color: rgba(var(--ep-white-color), 0.25);
}


#ep-events-content-container.ep-narrow #ep_event_calendar.fc .fc-toolbar.fc-header-toolbar {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}


/* -- Calendar Mobile Fixes----*/


/* -- Calendar First child box----*/

#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(1) a .ep_event_detail_popup {
    /* left: calc(50% - 50px); */
    left: 50px;

}

#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(1) a .ep_event_detail_popup:before,
#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(1) a .ep_event_detail_popup:after{
    left: calc(16% - 8px);
}


#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(2) a .ep_event_detail_popup {
    left: calc(50% - 50px);
}

#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(2) a .ep_event_detail_popup:before,
#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-child(2) a .ep_event_detail_popup:after{
    left: calc(16% - 8px);
}

/* -- Calendar First child box end----*/



/* -- Calendar Last child box----*/

#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(1) a .ep_event_detail_popup {
    left: calc(50% - 240px);

}


#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(1) a .ep_event_detail_popup:before,
#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(1) a .ep_event_detail_popup:after{
    left: calc(82% - 8px);
}


#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(2) a .ep_event_detail_popup {
    left: calc(50% - 240px);
}

#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(2) a .ep_event_detail_popup:before,
#ep_event_calendar table.fc-scrollgrid-sync-table tr td:nth-last-child(2) a .ep_event_detail_popup:after{
    left: calc(82% - 8px);
}

/* -- Calendar Last child box end----*/

/* Calendar Coral dark theme fixes start */

.theme-coral-dark .fc .fc-scrollgrid-section, .fc .fc-scrollgrid-section table, .fc .fc-scrollgrid-section>td{
    height:auto;
}
.theme-coral-dark .fc-scrollgrid-sync-table{
    width: 100%;
}
.theme-coral-dark table{
    overflow-x: auto;
    display: inline-table;
}

.theme-coral-dark #ep_event_calendar .fc-list-sticky .fc-scroller table.fc-list-table{
    display: table;
    margin: 0px;
}

.ep-dark-mode-enabled #ep_event_calendar .fc-list-sticky .fc-scroller table.fc-list-table  tbody>tr:first-child th{
    background-color: rgb(0 0 0 / 20%);
}

/* Calendar Coral dark theme fixes end */

/*-- Slider Responsive--*/

@media screen and (max-width: 896px) {
    #ep_events_front_views_slider .ep-slide-item-right img{
        min-height: 420px;
        max-height: 420px;
    }
    #ep_events_front_views_slider .ep-slider-items .ep-slide-item {
        max-height: 420px;
    }
}
@media screen and (max-width: 531px) {

    #ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides .ep-slider-items {
        flex-flow: column;
        width: 100%;
    }
    #ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides .ep-slider-items .ep-slide-item.ep-slide-item-left {
        order: 2;
        width: 100%;
    }
    #ep_events_front_views_slider .ep-event-res-slider.ep-event-rslides .ep-slider-items .ep-slide-item.ep-slide-item-right {
        order: 1;
        width: 100%;
    }

    #ep_events_front_views_slider .ep-slide-item-right img {
        min-height: 228px;
    }


    #ep_event_search_form #ep_event_keyword_search {
        font-size: 0.7rem;
    }

}

/*-- Slider Responsive--*/

@media (min-width: 576px){


}

@media (min-width: 768px){

    #ep_event_calendar.fc .fc-toolbar.fc-header-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }


    #ep_event_calendar .fc-h-event .fc-event-title,
    #ep_event_calendar .fc-daygrid-event .fc-event-title {
        white-space: normal;
        overflow: visible !important;
        text-overflow: unset;
    }
}
#ep_events_front_views_square_grid img{
    object-fit: var(--ep-imageCardObjectFit);
    height: var(--ep-imageCardHeight) !important;
}
@media (max-width:1068px){
    .ep-list-view-pricing-area{
        text-align: left !important;
    }
    #ep_events_front_views_rows .ep-event-list-price {
        justify-content: start;
        -webkit-justify-content: flex-start;
    }
}
