div.list_with_filter_section {margin: 0 0 20px 0;}
div.list_with_filter_section div.all_filter_item {display: none;}
div.item_bg_image {
	background-size: cover;
	background-position: center center;
	height: 100%;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
div.item_bg_image:hover {
	transform: scale(1.1);
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.mep_list_event_details h2, .mep_list_event_details h3, .mep_list_event_details h4, .mep_list_event_details h5, .mep_list_event_details h6 {
    padding: 0;
    margin: 0;
    line-height: 27px;
    color: inherit;
}

/****************************************/
div.search_result_empty {
	display: none;font-weight: 500;
	font-size: 22px;
	color: #6B003E;
}
div.search_sort_code {position: relative; width: 100%;}
div.search_sort_code .filter_input_area .formControl {border: none;border-radius: 0;height: 100%;}
div.search_sort_code span.fa {margin: 0 7px 0 0;font-size: 12px;}
div.filter_input_area {position: relative;width: 100%;height: 50%;margin: 0 auto;border: 4px solid #DDD;}
div.filter_input_area:first-child {border-bottom-width: 2px;}
div.filter_input_area:last-child {border-top-width: 2px;}
div.filter_input_area > * {border-right: 4px solid #DDD;}
div.filter_input_area > *:last-child {border-right: none;}
/****************************************/
div.spinner_loading {position: absolute;z-index: 1111;left: 0;right: 0;top: 0;bottom: 0;background-color: #FFFD;}
div.spinner_loading > div {height: 100%;}
div.icon_loader {
	display: flex !important;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 40px;
	z-index: 11111;
	position: relative;
}
div.icon_loader_xs {
	display: flex !important;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 20px;
	z-index: 11111;
	position: relative
}
.pagination_area .ellipse_left,
.pagination_area .ellipse_right {
	min-width: 50px;background-color: #FFF;
}
.pagination_area .ellipse_left > div,
.pagination_area .ellipse_right > div {
	width: 100%;height: 100%;
	display: -webkit-flex;display: flex;
	-webkit-justify-content: center;justify-content: center;
	-webkit-align-items: center;align-items: center;
}
.pagination_area [class*="Button"] {
	padding: 0 15px;
	font-size: 18px;
	cursor: pointer;
	min-width: 150px;
	height: auto;
	min-height: 40px;
	-webkit-appearance: button;
	overflow: visible;
	display: -webkit-flex;display: flex;
	-webkit-justify-content: center;justify-content: center;
	-webkit-align-items: center;align-items: center;
	border-radius: 5px;
	font-weight: 500;
}
.pagination_area [class*="Button"]:hover {opacity: 0.8;}
.pagination_area button.pagination_load_more {border: none;}
.pagination_area button[class*="defaultButton_xs"] {
	min-width: 50px;
	padding: 0;
}
.pagination_area button[class*="defaultButton_xs"]:first-child {border: none;}
.pagination_area button[class*="defaultButton_xs"]:last-child {border-radius: 0 5px 5px 0 !important;}
.pagination_area button[class*="defaultButton_xs"].active_pagination {
	color: #000;
	background-color: #DDD;
}
.pagination_area .ellipse_left {display: none;}
.pagination_area button[disabled] {cursor: not-allowed;opacity: 0.8;background-color: #DDD;}
/****************************************/
.list_with_filter_section div.buttonGroup [class*="Button"] {
	border: none;
	border-left: 2px solid #DDD;
	border-radius: 0;
}
.list_with_filter_section div.buttonGroup {
	position: relative;
	border: 0;
	border-radius: 5px;
	display: -webkit-flex;
	display: flex;
}
div.buttonGroup [class*="Button"]:first-child {
	-webkit-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
	border-left: none;
}
.list_with_filter_section .flexEqual {display: -webkit-flex;display: flex;}
div.buttonGroup > *,
.list_with_filter_section .flexEqual > * {
	-webkit-flex: 1;-ms-flex: 1;flex: 1;
}
.list_with_filter_section .circleIcon_xs {
	width: 25px;height: 25px;min-width: 25px;
	background-color: #FF5959;
	color: #FFF;
	display: -webkit-flex;display: flex;
	-webkit-justify-content: center;justify-content: center;
	-webkit-align-items: center;align-items: center;
}
.list_with_filter_section .sort_code_search_box {
	display: -webkit-flex;
	display: flex;
	border: 1px solid #DDD;
	-webkit-flex-wrap: wrap;flex-wrap: wrap;
	padding: 5px;
}
.list_with_filter_section .sort_code_search_box label {display: block; margin: 0;}
.list_with_filter_section [class*="defaultButton"] { color: #FFF;}
.list_with_filter_section [class*="defaultButton_xs"] {min-width: auto;padding: 7px;font-size: 16px;}
.list_with_filter_section .search_sort_code_area {margin: 15px 0;}
.list_with_filter_section .formControl {
	display: -webkit-flex;display: flex;
	-webkit-align-items: center;align-items: center;
	-webkit-flex-wrap: nowrap;flex-wrap: nowrap;
	width: 100%;
	font-size: 14px;
	min-width: auto;max-width: inherit;
	padding: 7px;
	margin: 0;
	color: #555;
	line-height: 1.25;
	background: rgba(255, 255, 255, .99);
	border-radius: 2px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .1) inset;
	border: 1px solid #CCC !important;
	height: 40px !important;
}
.list_with_filter_section .formControl:-webkit-autofill,
.list_with_filter_section .formControl:-webkit-autofill:hover,
.list_with_filter_section .formControl:-webkit-autofill:focus,
.list_with_filter_section .formControl:-webkit-autofill:active {
	-webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
	transition: color 9999s ease-out, background-color 9999s ease-out;
	-webkit-transition-delay: 9999s;
	transition-delay: 9999s;
}
.list_with_filter_section .alignCenter {
	display: -webkit-flex;display: flex;
	-webkit-align-items: center;align-items: center;
	-webkit-flex-wrap: nowrap;flex-wrap: nowrap;
}
.list_with_filter_section .allCenter {
	display: -webkit-flex !important;
	display: flex !important;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.list_with_filter_section label {position: relative;}
.list_with_filter_section span.filter_date_icon {position: absolute;top: 0;right: 0; padding: 7px 5px; bottom: 0; margin: 5px; color: #DDD;cursor: pointer;}

@media only screen and (min-width: 10px) {
   .mep_smart_theme div.mpwem_organizer, .mep_smart_theme div.mpwem_organizer a{ font-size: 18px !important;}
   .mep_smart_theme .mpwem_location_time .mpwem_location i, .mep_smart_theme .mpwem_location_time .mpwem_time i{width:30px !important; height:30px !important;}
   .mep_smart_theme div.mpwem_location, div.mpwem_time{margin:0px !important;}
   .mpwem_registration_area input#mpwem_date_time{border-radius:5px !important;}
    .mep_smart_theme .mpwem_right_content .mpwem_sidebar_content .date_widgets .date-lists .mep_single_date_btn{padding: 5px 10px !important;}
}

/* speaker page css */
@media only screen and (min-width: 10px) {
.mep_events_speaker_wraper {
	max-width: 1100px;
	margin: 40px auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 4px 32px rgba(0,0,0,0.09);
	padding: 40px 32px 48px 32px;
}
.mep_events_speaker_wraper .mep_speaker_thumbnail {
	text-align: center;
	margin-bottom: 28px;
}
.mep_events_speaker_wraper .mep_speaker_thumbnail img {
	border-radius: 50%;
   
	box-shadow: 0 4px 16px rgba(0,0,0,0.10);
	border: 6px solid #f5f5f5;
}
.mep_events_speaker_wraper .mep_speaker_name h2 {
	font-size: 2.5rem;
	font-weight: 800;
	margin: 0 0 14px 0;
	text-align: center;
	color: #23272f;
	letter-spacing: 0.5px;
}
.mep_events_speaker_wraper .mep_speaker_details {
	font-size: 1.13rem;
	color: #444;
	margin-bottom: 36px;
	text-align: center;
	line-height: 1.7;
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
}
.mep_events_speaker_wraper .mep_event_list {
	margin-top: 40px;
}
.mep_events_speaker_wraper .mep_cat-details h3 {
	font-size: 1.45rem;
	font-weight: 700;
	color: #1a73e8;
	margin-bottom: 24px;
	text-align: center;
	letter-spacing: 0.2px;
}
.mep_events_speaker_wraper .mage_grid_box {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 auto;
	
}
.mep_events_speaker_wraper .mage_grid_box > * {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	transition: box-shadow 0.2s, transform 0.2s;
	padding: 0;
	min-width: 0;
}
.mep_events_speaker_wraper .mage_grid_box > *:hover {
	box-shadow: 0 8px 32px rgba(26,115,232,0.13);
	transform: translateY(-4px) scale(1.025);
}
}
/* low stock warning css */
@media only screen and (min-width: 10px) {

.mep-low-stock-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin: 3px 0;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse-warning 2s infinite;
	width: 40%;
}

.mep-low-stock-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes pulse-warning {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Limited Availability Ribbon Styles */
.mep-limited-availability-ribbon {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    margin: 2px 0;
    box-shadow: 0 1px 3px rgba(255, 167, 38, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mep-limited-availability-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer-ribbon 3s infinite;
}

@keyframes shimmer-ribbon {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Fix spacing issues in ticket layout */
.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data {
    padding: 12px 0 !important;
    margin: 0 !important;
    gap: 8px;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item {
    margin: 0 !important;
    padding: 0 !important;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body {
    padding: 10px 15px 15px 15px !important;
}

@media (min-width: 600px) {
    .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body {
        padding: 15px 20px 20px 20px !important;
    }
}

/* Limited availability ribbon above price */
.ticket-price .mep-limited-availability-ribbon {
    margin-bottom: 6px;
    display: block;
    text-align: center;
    width: 80%;
    margin-left: 20%;
}

/* Hide tickets remaining when low stock warning is shown */
.mep_ticket_item .mep-low-stock-warning + .ticket-remaining,
.mep_ticket_item .mep-low-stock-warning ~ .ticket-remaining {
    display: none !important;
}

/* Reduce spacing in ticket info */
.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data .ticket-info .ticket-name {
    margin-bottom: 4px !important;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data .ticket-info .ticket-description {
    margin-bottom: 4px !important;
    font-size: 13px !important;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data .ticket-info .ticket-remaining {
    margin: 2px 0 !important;
    padding: 2px 6px !important;
    font-size: 11px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mep-low-stock-warning,
    .mep-limited-availability-ribbon {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data {
        padding: 8px 0 !important;
        gap: 6px;
    }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
    .mep-low-stock-warning {
        background: linear-gradient(135deg, #d32f2f, #c62828);
        box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
    }
    
    .mep-limited-availability-ribbon {
        background: linear-gradient(135deg, #f57c00, #ef6c00);
        box-shadow: 0 1px 3px rgba(245, 124, 0, 0.3);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .mep-low-stock-warning,
    .mep-limited-availability-ribbon {
        border: 2px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mep-low-stock-warning,
    .mep-limited-availability-ribbon {
        animation: none;
    }
    
    .mep-low-stock-warning::before,
    .mep-limited-availability-ribbon::before {
        animation: none;
    }
}

}