.ep_event_metabox{
    overflow: hidden;
}

.post-type-em_event #ep_event_register_meta_boxes .emagic .ep_event_metabox{
    
}
#ep_event_register_meta_boxes .inside{
    padding: 0;
    margin: 0;
}


ul.ep_event_metabox_tabs{
    background-color: #fafafa;
    border-right: 1px solid #eee;
}

ul.ep_event_metabox_tabs li {
    margin: 0px;
    padding: 0px;
    position: relative;
}

ul.ep_event_metabox_tabs li a{
    margin: 0;
    padding: 10px;
    display: block;
    box-shadow: none;
    text-decoration: none;
    line-height: 20px!important;
    border-bottom: 1px solid #eee;
}

ul.ep_event_metabox_tabs li.ep-tab-active a {
    color: #555;
    background-color: #eee;
}

ul.ep_event_metabox_tabs li.ep-event-metabox-tab a::before {
    font-family: Dashicons;
    speak: never;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f107";
    text-decoration: none;
}

ul.ep_event_metabox_tabs li.datetime_options a::before {
    content: "\f508";
}

ul.ep_event_metabox_tabs li.ticket_options a::before {
    content: "\f524";
}

ul.ep_event_metabox_tabs li.recurrence_options a::before {
    content: "\f515";
}

ul.ep_event_metabox_tabs li.checkoutfields_options a::before{
    content: "\f481";
}

ul.ep_event_metabox_tabs li.booking_options a::before{
    content: "\f174";
}

ul.ep_event_metabox_tabs li.social_options a::before{
    content: "\f237";
}

ul.ep_event_metabox_tabs li.ep_event_restrictions a::before{
    content: "\f160";
}

ul.ep_event_metabox_tabs li.ep_event_theme a::before{
    content: "\f538";
}

ul.ep_event_metabox_tabs li.results_options a::before{
    content: "\f488";
}

ul.ep_event_metabox_tabs li.ep-event-metabox-tab a span{
    margin-left: 0.618em;
    margin-right: 0.618em;
}

.ep_event_options_panel, .ep_event_checkout_fields_panel, #newem_event_type_parent, #newem_venue_parent, #newem_event_organizer_parent{
    display: none;
}

#ep_event_theme_data .ep-eventprime-theme #eventprime_event_theme{
    text-transform: capitalize;
}

.ep-recurrence-advanced-wrapper{
    width: 50%;
}

.ep-recurrence-advanced-wrapper ul {
    margin: 5px 0;
    padding: 5px 0;
    border: 1px solid #f1f1f1;
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    background-color: #ffffff;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
}

.ep-recurrence-advanced-wrapper ul li.ep-recurrence-week {
    width: 56px;
    color: #000;
    border-right: 1px solid #f1f1f1;
}
.ep-recurrence-advanced-wrapper ul li {
    margin: 0;
    padding: 2px 10px;
    cursor: pointer;
    border-radius: 2px;
    transition: all .18s ease;
    cursor: pointer;
}

.em-schedule-no-close .ui-widget-header{
    border: none;
    background: #fff;
}

.em-schedule-no-close .ui-dialog-titlebar-close{
    display: none;
}

.ep-schedule-hourly-icon .ep-material-icon ul {
    width: 100%;
    max-width: 800px;
    max-height: 207px;
    overflow-y: auto;
    margin: 0;
}

.ep-schedule-hourly-icon .ep-material-icon ul li {
    float: left;
    width: 47px;
    height: 48px;
    border: 1px solid #ececec;
    line-height: 57px;
    text-align: center;
    color: #666;
    padding: 0;
    margin: 1px;
    font-size: 16px;
    cursor: pointer;
}

#ep_event_checkout_attendee_fields_container .ep-event-checkout-fields ul li{
    display: inline;
    border: 1px solid red;
    margin-right: 10px;
    padding: 7px 0px 7px 7px;
    border-radius: 16px;
    cursor: pointer;
}

#ep_event_checkout_attendee_fields_container .ep-event-checkout-fields ul li i{
    font-size: 18px;
    vertical-align: bottom;
}

#ep-ticket-tier-modal .ep-modal-wrap {
    max-width: 800px;
    left: calc(50% - 400px);
    top: 100px;
}

.ep-recurrence-advanced-wrapper ul li.active {
    background-color: #0087be;
    color: #fff;
}


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

.ep-ui-show-on-top {
    z-index: 99999 !important;
}
.post-type-em_event .ui-timepicker-wrapper,
.post-type-em_event .ui-timepicker-wrapper.ep-ui-show-on-top {
    z-index: 99999 !important;
}
#ui-datepicker-div.ep-ui-show-on-top {
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 9px rgb(0 0 0 / 12%);
}


.post-type-em_event #ui-datepicker-div.ep-ui-show-on-top.ui-datepicker.ui-widget .ui-widget-header, .post-type-em_event #ui-datepicker-div.ui-datepicker.ui-widget .ui-widget-header {
    border: 0;
    background: unset;
    background-color: #fff;
    margin-top: 6px;
}

.post-type-em_event #ui-datepicker-div.ep-ui-show-on-top.ui-datepicker.ui-widget .ui-datepicker-title select {
    font-weight: 600;
    font-size: 12px;
    border-radius: 2px;
    padding: 2px 10px;
    margin: 1px 3px 5px;
}

.post-type-em_event #ui-datepicker-div.ep-ui-show-on-top.ui-datepicker.ui-widget .ui-datepicker-title select {
    border-color: #e7e8e9;
}

#ui-datepicker-div.ep-ui-show-on-top.ui-datepicker .ui-datepicker-prev:before, #ui-datepicker-div.ui-datepicker .ui-datepicker-prev:before {
    content: "\f341";
}

#ui-datepicker-div.ep-ui-show-on-top.ui-datepicker .ui-datepicker-next:before, #ui-datepicker-div.ui-datepicker .ui-datepicker-next:before {
    content: "\f345";
}


.post-type-em_event #ui-datepicker-div .ui-icon {
    background-image: unset;
}


.post-type-em_event #ui-datepicker-div.ui-datepicker .ui-datepicker-next,
.post-type-em_event #ui-datepicker-div.ui-datepicker .ui-datepicker-prev {
    color: #333;
    transition: all .2s ease;
    font-size: 18px;
}


.post-type-em_event #ui-datepicker-div.ui-datepicker .ui-datepicker-next,
.post-type-em_event #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;
}

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

.post-type-em_event .ui-datepicker.ui-widget .ui-state-default.ui-state-highlight {
    background: #000000;
    color: #fff;
}

.post-type-em_event .ui-datepicker.ui-widget td a:hover {
    background: #2271b1;
    color: #fff;
}

.post-type-em_event .ui-datepicker.ui-widget td a.ui-state-active,
.post-type-em_event .ui-datepicker.ui-widget td a:hover {
    background: #2271b1 !important;
    color: #fff;
}

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

.post-type-em_event .ui-state-hover,
.post-type-em_event .ui-widget-content .ui-state-hover,
.post-type-em_event .ui-widget-header .ui-state-hover,
.post-type-em_event .ui-state-focus,
.post-type-em_event .ui-widget-content .ui-state-focus,
.post-type-em_event .ui-widget-header .ui-state-focus,
.post-type-em_event .ui-button:hover,
.post-type-em_event .ui-button:focus {
    border: 0px;
    background-color: unset;
    cursor: pointer;

    top: 2px;
    right: 0px;

}

.ep-form-check-wrap {
    min-width: 7rem;
}




/*---Event gallery---*/

ul.ep_gallery_images li .ep-gal-img-delete{
    display:none
}

ul.ep_gallery_images li:hover .ep-gal-img-delete{
    display: block;
}

ul.ep_gallery_images li:hover:after{
    content: "";
    background-color: rgb(0 0 0 / 42%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;

}

ul.ep_gallery_images {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

ul.ep_gallery_images li.ep-gal-img {
    width: 75px;
    border: 1px solid #d5d5d5;
    margin: 9px 9px 0px 0px;
    background: #f7f7f7;
    border-radius: 2px;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
}

ul.ep_gallery_images li .ep-gal-img-delete {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 9999;
    cursor: pointer
}

ul.ep_gallery_images li .ep-gal-img-delete span{
    color: #dc3545;
    font-size: 22px;
    margin-right: 3px;
}

ul.ep_gallery_images li.ep-gal-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/*---Event gallery End---*/


/*--Accordian Event Ticket CSS--*/

.emagic .ep-accordion-wrap {
    border: 1px solid var(--ep-border-color);
    border-radius: 3px;

}


.emagic .ep-accordion-wrap .ui-accordion-header-active.ep-accordion-header-item{
    color: rgba(var(--ep-primary-rgb), 1);
    background-color: rgba(var(--ep-primary-rgb), 0.1) !important;
    top: 0px;
    font-size: 1rem;
}

.emagic .ep-accordion-wrap .ep-accordion-header-item::before {
    font-family: Dashicons;
    speak: never;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f347";
    text-decoration: none;
    position: absolute;
    right: 14px;
}

.emagic .ep-accordion-wrap .ep-accordion-header-item::before {
    content: "\f347";
}

.emagic .ep-accordion-wrap .ui-accordion-header-active.ep-accordion-header-item::before {
    content: "\f343";
}

.emagic .ep-accordion-wrap .ep-accordion-header-item {
    border: 0px !important;
    padding: 1rem 1.5rem;
    margin: 0px;
    background-color: #fff;
    border-bottom: 1px solid var(--ep-border-color);
    top:0px;
    font-size: 1rem;
}

.ep-accordion-collapse-item {
    height: auto !important;
}

.ui-accordion .ui-accordion-content.ui-accordion-content-active {
    display: block !important;
    height: auto !important;
    border: 0px !important;
    border-bottom: 1px solid var(--ep-border-color) !important;
    border-radius: 0px;
}

.emagic .ep-accordion-wrap .ep-accordion-header-item:last-child{
    border-bottom: 0px
}

.emagic .ep-accordion-wrap .ep-accordion-header-item .ui-accordion-header-icon {
    display: none;
}
/*--Accordian Event Ticket CSS--*/

/*-- Event checkout field --*/
.ep-event-checkout-field-name-sub-row, .ep-event-checkout-fields-expand-section{
    display: none;
}

.ep_event_checkout_fields_tabs .ep-event-checkout-fields-tab a {
    text-decoration: none;
}

#ep_event_checkout_attendee_fields_container .ep-checkout-field-name{
    min-width: 210px;
}

.ep-event-checkout-name-field .ep-checkout-field-drag,
.ep-event-checkout-fields .ep-checkout-field-drag,
#ep_event_checkout_attendee_fields_container .ep-checkout-field-drag,
#ep_event_checkout_fixed_fields_container .ep-checkout-field-drag{
    display: none !important;
}

#ep_event-performers .inside ul{
    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
}

table.ep-attendee-fields-modal-table {
    table-layout: fixed;
}

/* Disable event setting drag*/

#ep_event_register_meta_boxes.postbox .hndle:hover {
    cursor: default;
}

#ep_event_register_meta_boxes.postbox .handle-actions {
    display: none;
}

#ep_event_register_meta_boxes .postbox-header{
    cursor: pointer;
    pointer-events: none;
}


#poststuff #ep_event_register_meta_boxes .postbox-header h2.hndle{
    font-size: 14px;
    padding: 8px 12px;
    margin: 0;
    line-height: 1.4;
}

#poststuff #ep_event_register_meta_boxes .postbox-header{
    border-bottom: 1px solid #ddd;
}

/* Disable event setting drag end*/

/*-- enabled metabox drag---*/

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes.postbox .hndle:hover {
    cursor: move;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes.postbox .handle-actions {
    display: block;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .postbox-header {
    pointer-events: auto;
    cursor: move;
}


/*-- enabled metabox drag end---*/



/*-- Widget Metabox --*/

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox .ep-box-col-left-2,
#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox .ep-box-col-right-10{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox ul.ep_event_metabox_tabs{
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox ul.ep_event_metabox_tabs li {
    width: 100%;
    text-align: center;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox ul.ep_event_metabox_tabs li.ep-event-metabox-tab a span{
    display: none
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes .ep_event_metabox .ep_event_options_panel .ep-box-row div[class*="ep-box-col"] {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0px 18px;
    margin-bottom: 12px;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxes ul.ep_event_checkout_fields_tabs{
    flex-wrap: nowrap;
}

#post-body.columns-2 #postbox-container-1 #ep_event_register_meta_boxe .ep-other-setting-customer-note textarea{
    width: 100%;
}

/*-- Widget Metabox End--*/


/*--MetaBox--Responsive---*/

@media only screen and (max-width: 900px) {

    .ep-box-col-left-2 {
        -ms-flex: 0 0 10%;
        flex: 0 0 10%;
        max-width: 10%;
    }

    .ep-box-col-right-10 {
        -ms-flex: 0 0 90%;
        flex: 0 0 90%;
        max-width: 90%;
    }


    ul.ep_event_metabox_tabs li.ep-event-metabox-tab a{
        text-indent: -999px;
    }

    ul.ep_event_metabox_tabs li.ep-event-metabox-tab a:before{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        text-indent: 0;
        text-align: center;
        line-height: 40px !important;
        width: 100%;
        height: 40px;
    }
}

/** Summary meta box **/

.ep-event-summary-data-list{
    margin-bottom: 0.75rem;
}
span.ep-remove-custom-date {
    cursor: pointer;
}

/**-- Ticket Modal ---**/

ul#ep-ticket-Tabs .ep-tab-item a.ep-tab-link {
    text-decoration: none;
    transition: background-color 0.3s ease, font-weight 0.3s ease;
    border-radius: var(--ep-border-radius-sm) !important;
    color:#000;
    padding: calc(12px) calc(16px);
}
ul#ep-ticket-Tabs .ep-tab-item a.ep-tab-link:hover {
    background-color: #F2F2F2;
}
ul#ep-ticket-Tabs .ep-tab-item a.ep-tab-link.ep-tab-active {
    background-color: #F2F2F2;
    font-weight: 500;
    transition: background-color 0.3s ease, font-weight 0.3s ease;
}
#ep-ticket-details button.upload_offer_icon_button.button{
    background-color: #F0F0F0;
    border: 0px;
    line-height: 0px;
    padding: 20px 20px;
}
#ep-ticket-details #ep_event_ticket_icon_image{
    background-color: #F0F0F0;
    border: 0px;
    line-height: 0px;
    padding: 20px 20px;
    padding: 10px;
    margin-left: 8px;
}

#ep-ticket-details #ep_event_ticket_icon_image:empty{
     display: none;
}


#ep-ticket-details #ep_event_ticket_icon_image .ep-event-offer-icon{
    margin-top: 0px;
}

#ep-ticket-details button.upload_offer_icon_button.button span{
    font-size: 32px;
    color: #8f8f8f;
    font-weight: 100;
}


#ep_event_ticket_tier_modal .ep-form-control,
#ep_ticket_add_offer_modal .ep-form-control{
    --ep-color-input-background: #efefef;
    --ep-input-font-size:12px;
    --ep-input-padding:4px 8px;
    --ep-color-input-text:#000;
    --ep-input-line-height: 32px; 
    --ep-input-field-border-radius:3px;
}


#ep_event_ticket_tier_modal .ep-form-control,
#ep_ticket_add_offer_modal .ep-form-control{
    font-family: inherit;
    font-size: var(--ep-input-font-size);
    font-weight: var(--ep-input-font-weight);
    padding: var(--ep-input-padding);
    line-height: var(--ep-input-line-height);
    color: var(--ep-color-input-text);
    border: var(--ep-color-input-border) solid 1px;
    border-radius: var(--ep-input-field-border-radius);
    background-color: var(--ep-color-input-background);
    height: var(--ep-input-height);
    outline: 0;
    margin: var(--ep-input-field-margin);
    transition: .2s ease-out;
  }
  
#ep_event_ticket_tier_modal .ep-form-control:focus,
#ep_ticket_add_offer_modal .ep-form-control:focus{
    --ep-bg-opacity: 1;
    background-color: rgba(var(--ep-white-color),var(--ep-bg-opacity))!important;
  }

#ep_event_ticket_tier_modal .ep-input-textarea{
    resize: vertical;
    height: unset;
    line-height: var(--wpff-input-field-line-height) !important;
  }
  
  .ep-nav-tabs-internal .ep-nav-tabs .ep-tab-link{
           font-weight: 600;
    color: #000;
    text-decoration: none;
  }
  
   .ep-nav-tabs-internal .ep-nav-tabs .ep-tab-link.ep-tab-active{
      border-bottom: 2px solid #2271b1 !important;
  }
  
    .ep-nav-tabs-internal .ep-nav-tabs .ep-tab-link:hover {
        border-bottom: 2px solid #2271b1 !important;
  }
  
  #ep_ticket_add_offer_modal .ep-modal-wrap{
        top: 50px;
  }

  
  #ep_event_ticket_tier_modal #ep-ticket-availability .ep-nav-tabs li a.ep-tab-link{
    text-decoration: none;
    font-weight: 600;
    color: #000;
  }

  #ep_event_ticke_description{
        min-height: 100px;
  }
  
  body.ep-modal-open-body .interface-interface-skeleton__header,
  body.ep-modal-open-body .interface-complementary-area.editor-sidebar{
      z-index: 0;
  }
  
  body.ep-modal-open-body .interface-complementary-area__fill{
      display: none;
  }
  
  body.ep-modal-open-body .ep-modal-view{}
  
/**-- Ticket Modal Ends---**/


.checkout-field-options span.em-event-checkout-fixed-terms-content{
    white-space: normal;
    word-break: break-all;
    display: inline-block;
    width: 100%;
}


.ep-article-guide{
    font-size: 12px;
}

.ep-ticket-type-guide{
    position: absolute;
    right: 0px;
    top: -16px;
}

.ep-article-guide .dashicons{
    font-size: 18px;
}
