
#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) var(--ep-border-color)!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: rgba(var(--ep-white-color), 0.6);
    border-color: rgba(var(--ep-primary-rgb), 1);
    color: rgba(var(--ep-primary-rgb), 1) !important;
    border-radius: 0.375em;
    text-transform: capitalize;
    min-width: auto !important;
    max-height: 36px;
    vertical-align: middle;
    line-height: normal;
}

#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-button-primary.fc-button-active{
    background-color: rgba(var(--ep-primary-rgb), 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 {
    margin-bottom: 0rem!important;
    background-color: rgba(var(--ep-white-color), 1);
}

#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(--ep-primary-rgb), 0.25);
}

/*--- 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) var(--ep-border-color)!important;
    border-radius: 7px;
    margin: 0px;
    background-color: rgba(var(--ep-white-color),1);
    
}

#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: 1px solid #e3e4e5;
    border-top: none;
    position: relative;
    z-index: 0;
}

#ep_event_calendar table.fc-scrollgrid tr th{
    
}

#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;
}

#ep_event_calendar table.fc-scrollgrid tr th a{

}

/*--- 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 table.fc-list-table tr.fc-list-event:hover td {
    background-color: inherit !important;
}

#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 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 tr td.fc-day-today{
    background-color: rgba(var(--ep-white-color), 0.6);
}


#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 .fc-daygrid-day-frame {
    min-height: 124px;
}

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

#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td{}
#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td .ep_event_detail_popup{
    bottom: auto;
    margin-top: 3px;
}

#ep_event_calendar .fc-dayGridMonth-view table.fc-scrollgrid-sync-table tbody tr:first-child td:not(:first-child) .ep_event_detail_popup{
    left: -80px !important;
}

#ep_event_calendar.fc-theme-standard .fc-listWeek-view.fc-view .fc-list-day-cushion{
    background-color: #fff;
}

#ep_event_calendar .fc-dayGridDay-view.fc-view table.fc-scrollgrid-sync-table tbody td .ep_event_detail_popup{
    left: 0px;
}

#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr{
    position: relative;
}

#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(1) .ep_event_detail_popup,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(2) .ep_event_detail_popup,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(3) .ep_event_detail_popup,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(4) .ep_event_detail_popup,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(5) .ep_event_detail_popup{
    bottom: auto;
    margin-top: 30px;
}

#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(1) .ep_event_detail_popup:before,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(2) .ep_event_detail_popup:before,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(3) .ep_event_detail_popup:before,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(4) .ep_event_detail_popup:before,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(5) .ep_event_detail_popup:before{
    top: -16px;
    border-color: transparent transparent #e3e9f1 transparent;
}

#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(1) .ep_event_detail_popup:after,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(2) .ep_event_detail_popup:after,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(3) .ep_event_detail_popup:after,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(4) .ep_event_detail_popup:after,
#ep_event_calendar .fc-list-sticky.fc-listWeek-view table.fc-list-table tbody tr:nth-child(5) .ep_event_detail_popup:after{
    border-color: transparent transparent #fff transparent;
    top: -16px;
}

#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td .ep_event_detail_popup:before{
    top: -16px;
    border-color: transparent transparent #e3e9f1 transparent;
}

#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td .ep_event_detail_popup:after{
    border-color: transparent transparent #fff transparent;
    top: -16px;
}

#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td .ep_event_detail_popup:after, 
#ep_event_calendar table.fc-scrollgrid-sync-table tbody tr:first-child td .ep_event_detail_popup:before{
    
}


#ep_event_calendar table.fc-scrollgrid-sync-table tbody td:last-child .ep_event_detail_popup{
    right: 0px;
    left: initial;
}


#ep_event_calendar table.fc-scrollgrid-sync-table tbody td:last-child .ep_event_detail_popup:after, 
#ep_event_calendar table.fc-scrollgrid-sync-table tbody td:last-child .ep_event_detail_popup:before{
        left: calc(50% - 0px);
}
#ep_event_calendar.fc table.fc-scrollgrid-sync-table .fc-daygrid-event {
    z-index: auto;
    margin-bottom: 2px;
    border-radius: 0px;
}

#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;
}

.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;
}

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


/*--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
}

.ep_event_detail_popup a.ep-event-modal-head{
    text-decoration: none;
}

.ep_event_popup_image img {
    width: 100%;
    border-radius: 3px !important;
    max-height: 120px;
    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 --*/



/*-- Add Event Modal---*/

#ep-calendar-event-create-form select.ep-form-control {
    max-width: 100%;
}

.ep-featured-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}




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

.ui-timepicker-wrapper{
    z-index: 99999 !important;
}

#ui-datepicker-div.ep-ui-cal-date-modal-wrap{
    z-index: 99999 !important;
}

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


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

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

.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap.ui-datepicker.ui-widget .ui-datepicker-title select {
    border-color: #e7e8e9;
}

.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap.ui-datepicker .ui-datepicker-prev:before {
    content: "\f341";
}

.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap.ui-datepicker .ui-datepicker-next:before {
    content: "\f345";
}


.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap .ui-icon {
    background-image: unset;
}


.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap.ui-datepicker .ui-datepicker-next,
.eventprime_page_ep-event-calendar #ui-datepicker-div.ep-ui-cal-date-modal-wrap.ui-datepicker .ui-datepicker-prev {
    color: #333;
    transition: all .2s ease;
    font-size: 18px;
}


.eventprime_page_ep-event-calendar #ui-datepicker-div.ui-datepicker .ui-datepicker-next,
.eventprime_page_ep-event-calendar #ui-datepicker-div.ui-datepicker .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;
}

.eventprime_page_ep-event-calendar .ui-datepicker.ui-widget .ui-state-default {
    border: 0;
    background-color: #fff;
    font-weight: 400;
    color: #212121;
    text-align: center;
}

.eventprime_page_ep-event-calendar .ui-datepicker.ui-widget .ui-state-default.ui-state-highlight {
    background: #2271b1;
    color: #fff;
}

.eventprime_page_ep-event-calendar .ui-datepicker.ui-widget td a:hover {
    background: #2271b1;
    color: #fff;
}

.eventprime_page_ep-event-calendar .ui-datepicker.ui-widget td a.ui-state-active,
.eventprime_page_ep-event-calendar .ui-datepicker.ui-widget td a:hover {
    background: #2271b1;
    color: #fff;
}

.eventprime_page_ep-event-calendar .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;
}

.eventprime_page_ep-event-calendar .ui-state-hover,
.eventprime_page_ep-event-calendar .ui-widget-content .ui-state-hover,
.eventprime_page_ep-event-calendar .ui-widget-header .ui-state-hover,
.eventprime_page_ep-event-calendar .ui-state-focus,
.eventprime_page_ep-event-calendar .ui-widget-content .ui-state-focus,
.eventprime_page_ep-event-calendar .ui-widget-header .ui-state-focus,
.eventprime_page_ep-event-calendar .ui-button:hover,
.eventprime_page_ep-event-calendar .ui-button:focus {
    border: 0px;
    background-color: unset;
    cursor: pointer;
    top: 2px;
    right: 0px;

}

/*--- Add Event Modal End---*/


@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-box-direction {
    flex-direction: column;
}