  /* #Events section 
================================================== */

.hpsection.events:not(.hpwhite){
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)), url(/images/sections/Business/the-curve.jpg) no-repeat;
	background-size: cover;
}


.hpsection.events .row{
    margin-bottom: 15px;
}
    
.hpsection.events .row_cell{
    padding: 20px 20px 20px 0;
}

.hpsection.events .row_cell a:not(.btn){
    padding: 0;
    background: transparent;
    border: none;
    display: block;
    width: 100%;
   	height: 100%;
}

.hpsection.events .event-body:after{
    content: "";
    display: table;
    clear: both;
}


.event-date p{
    text-align: center;
    margin: 5px 0;
    padding: 0;
}

.event-date p.month{
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
	display: inline;
}

.event-date p.day{
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
	display: inline;
}

.hpsection.events .event-info{
    text-align: left;
    padding-left: 20px;
    box-sizing: border-box;
    position: relative;
}
.hpsection.events .event-info i{
    color: #867537;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right:-10px;R
}
.hpsection.events .event-info p.title{
    font-size: 2rem;
    margin-top: 5px;
    font-weight: 600;
}
.hpsection.events .event-info p.venue{
    font-weight: 100;
    margin-bottom: 0;
    margin-top: -10px;
}
.hpsection.events .event-info p.venue i, 
.hpsection.events .event-info p.time i{
    font-size: 1.8rem;
    color: #867537;
    position: relative;
    top: 0%;
    transform: translateY(0%);
    right:0;
}

@media only screen and (min-width: 45em) and (max-width: 70em){
    .hpsection.events .row{
        display: inherit!important;
        margin-bottom: 0;
    }
    .hpsection.events .row_cell {
        margin: 15px 0;
    }
}

@media only screen and (max-width: 44.99em){
    .hpsection.events .row_cell{
        padding: 20px 0;
    }
    .hpsection.events .event-date{
		background: #867537;
		margin-top: -20px;
        padding: 10px 20px;
    }
    .hpsection.events .event-info{
        border-top: 1px dashed #867537;
        padding-right: 20px;
        padding-top: 20px;
    }
    .hpsection.events .event-info i{
        right:7px;
    }
	.event-date p {
		color: #fff!important;	
	}
}

@media only screen and (min-width: 45em) {
	.event-date p.month{
		font-size: 2.4rem;
		font-weight: 100;
		display: block;
	}
	.event-date p.day{
		font-size: 5rem;
		line-height: 5rem;
		font-weight: 100;
		display: block;
	}
    .hpsection.events .event-date{
        width: 20%;
        float: left;
        border-right: 1px dashed #867537;
    }
    .hpsection.events .event-info{
        width: 79%;
        float: left;
        padding-right: 10px;
    }
    .hpsection.events .event-info i{
        right:-10px;
    }
}
/* ------------------events page-------------------- */
.hpsection.events.events-page{
    background-color: white;
    background-image: none;
}
.hpsection.events.events-page h2{
    color: #333;
}
.hpsection.events.events-page .row .row_cell{
   border:1px solid #ebebeb;
}

.opendays-intro  {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-bottom: 1.5rem;
}

.opendays-single {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-bottom: 1rem;

    line-height: 5rem;
}




/* ------------------events page with filter improvements lazy loading-------------------- */

/* Initial Filters - Match sticky filter layout exactly */
.section_wrapper.coursesearch .filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.section_wrapper.coursesearch .filter-row:last-child {
    margin-bottom: 0;
}

.section_wrapper.coursesearch .filter-row-search {
    margin-bottom: 15px;
}

.section_wrapper.coursesearch .filter-row-buttons {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.section_wrapper.coursesearch .filter-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.section_wrapper.coursesearch .filter-field-full {
    flex: 1 1 100%;
}

.section_wrapper.coursesearch .filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.section_wrapper.coursesearch .filter-field input.text,
.section_wrapper.coursesearch .filter-field select.text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.section_wrapper.coursesearch .filter-field input.text:focus,
.section_wrapper.coursesearch .filter-field select.text:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* Sticky Filter Bar - Subtle black bar */
.event-filters-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c2c2c;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.event-filters-sticky-bar.visible {
    opacity: 1;
    visibility: visible;
}

/* Sticky Bar Header - Always visible clickable bar */
.sticky-bar-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.sticky-bar-header:hover {
    background: #333;
}

.sticky-bar-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.sticky-bar-arrow {
    color: #fff;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Sticky Filters Content - White container that expands */
.sticky-filters-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.sticky-filters-content.expanded {
    max-height: 500px;
}

.sticky-filters-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Filter Rows in Sticky Bar */
.sticky-filters-inner .filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sticky-filters-inner .filter-row:last-child {
    margin-bottom: 0;
}

.sticky-filters-inner .filter-row-search {
    margin-bottom: 15px;
}

.sticky-filters-inner .filter-row-buttons {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
}

/* Filter Fields in Sticky Bar */
.sticky-filters-inner .filter-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.sticky-filters-inner .filter-field-full {
    flex: 1 1 100%;
}

.sticky-filters-inner .filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.sticky-filters-inner .filter-field input.text,
.sticky-filters-inner .filter-field select.text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.sticky-filters-inner .filter-field input.text:focus,
.sticky-filters-inner .filter-field select.text:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* Buttons */
.filter-row-buttons .btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section_wrapper.coursesearch .filter-row-dropdowns,
    .sticky-filters-inner .filter-row-dropdowns {
        flex-direction: column;
    }
    
    .section_wrapper.coursesearch .filter-field,
    .sticky-filters-inner .filter-field {
        min-width: 100%;
    }

    .section_wrapper.coursesearch .filter-row-buttons,
    .sticky-filters-inner .filter-row-buttons {
        flex-direction: column;
    }

    .section_wrapper.coursesearch .filter-row-buttons .btn,
    .sticky-filters-inner .filter-row-buttons .btn {
        width: 100%;
    }

    .sticky-bar-header {
        padding: 10px 15px;
    }

    .sticky-filters-inner {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .section_wrapper.coursesearch .filter-field label,
    .sticky-filters-inner .filter-field label {
        font-size: 13px;
    }

    .section_wrapper.coursesearch .filter-field input.text,
    .section_wrapper.coursesearch .filter-field select.text,
    .sticky-filters-inner .filter-field input.text,
    .sticky-filters-inner .filter-field select.text {
        padding: 8px;
        font-size: 13px;
    }

    .sticky-bar-title {
        font-size: 14px;
    }
}

.filter-row-dropdowns {
    display: flex;
    gap: 15px;
}

.filter-field {
    flex: 1;
    min-width: 200px;
}

.filter-field-full {
    flex: 1 1 100%;
}

/* =================================================================
   EVENT FILTERS - Shared styles for initial and sticky filters
   ================================================================= */

/* Filter Rows - Common layout */
.section_wrapper.eventsearch .filter-row,
.sticky-filters-inner .filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.section_wrapper.eventsearch .filter-row:last-child,
.sticky-filters-inner .filter-row:last-child {
    margin-bottom: 0;
}

.section_wrapper.eventsearch .filter-row-search,
.sticky-filters-inner .filter-row-search {
    margin-bottom: 15px;
}

.section_wrapper.eventsearch .filter-row-buttons,
.sticky-filters-inner .filter-row-buttons {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
}

/* Filter Fields - Full width, equal sizing */
.section_wrapper.eventsearch .filter-field,
.sticky-filters-inner .filter-field {
    flex: 1 1 0;  /* Equal width distribution */
    min-width: 0;  /* Allow flex to shrink below content size */
    display: flex;
    flex-direction: column;
}

.section_wrapper.eventsearch .filter-field-full,
.sticky-filters-inner .filter-field-full {
    flex: 1 1 100%;
}

/* Labels */
.section_wrapper.eventsearch .filter-field label,
.sticky-filters-inner .filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

/* Inputs and Selects */
.section_wrapper.eventsearch .filter-field input.text,
.section_wrapper.eventsearch .filter-field select.text,
.sticky-filters-inner .filter-field input.text,
.sticky-filters-inner .filter-field select.text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.section_wrapper.eventsearch .filter-field input.text:focus,
.section_wrapper.eventsearch .filter-field select.text:focus,
.sticky-filters-inner .filter-field input.text:focus,
.sticky-filters-inner .filter-field select.text:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* Buttons */
.filter-row-buttons .btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    background: #6c757d;
    color: white !important;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white !important;
}

/* =================================================================
   STICKY FILTER BAR SPECIFIC STYLES
   ================================================================= */

/* Sticky Filter Bar - Subtle black bar */
.event-filters-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c2c2c;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.event-filters-sticky-bar.visible {
    opacity: 1;
    visibility: visible;
}

/* Sticky Bar Header - Always visible clickable bar */
.sticky-bar-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.sticky-bar-header:hover {
    background: #333;
}

.sticky-bar-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.sticky-bar-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transition: transform 0.3s ease;
    display: inline-block;
}

.event-filters-sticky-bar.expanded .sticky-bar-arrow {
    transform: rotate(180deg);
}

/* Sticky Filters Content - White container that expands */
.sticky-filters-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.sticky-filters-content.expanded {
    max-height: 500px;
}

.sticky-filters-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* =================================================================
   MOBILE RESPONSIVE
   ================================================================= */

@media (max-width: 768px) {
    /* Stack dropdowns vertically on mobile */
    .section_wrapper.eventsearch .filter-row-dropdowns,
    .sticky-filters-inner .filter-row-dropdowns {
        flex-direction: column;
    }
    
    /* Full width fields on mobile */
    .section_wrapper.eventsearch .filter-field,
    .sticky-filters-inner .filter-field {
        flex: 1 1 100%;
        min-width: 100%;
    }

    /* Stack buttons vertically */
    .section_wrapper.eventsearch .filter-row-buttons,
    .sticky-filters-inner .filter-row-buttons {
        flex-direction: column;
    }

    .section_wrapper.eventsearch .filter-row-buttons .btn,
    .sticky-filters-inner .filter-row-buttons .btn {
        width: 100%;
    }

    .sticky-bar-header {
        padding: 10px 15px;
    }

    .sticky-filters-inner {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .section_wrapper.eventsearch .filter-field label,
    .sticky-filters-inner .filter-field label {
        font-size: 13px;
    }

    .section_wrapper.eventsearch .filter-field input.text,
    .section_wrapper.eventsearch .filter-field select.text,
    .sticky-filters-inner .filter-field input.text,
    .sticky-filters-inner .filter-field select.text {
        padding: 8px;
        font-size: 13px;
    }

    .sticky-bar-title {
        font-size: 14px;
    }
}

/* =================================================================
   ACTIVE FILTERS DISPLAY
   ================================================================= */

   .active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 15px 0 5px 0;
    margin-top: 10px;
    border-top: 1px solid #ddd;
}

.active-filters-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-right: 5px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;  /* Reduced from 8px to 4px for tighter spacing */
    background: #eee;  /* Changed from #e8f4f8 to light grey */
    color: #333;  /* Changed from #0066cc to black */
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #ccc;  /* Changed from #b3d9e8 to grey */
    text-decoration: none;
}

.filter-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    /*background: #0066cc;*/
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 2px;  /* Reduced from 6px to bring X closer */
}

.filter-chip-remove:hover {
    /*background: #004a99;*/
    background: #ccc;
    transform: scale(1.2);
    text-decoration: none;
}

.filter-chip-clear-all {
    background: #6c757d;
    color: white !important;
    border-color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip-clear-all:hover {
    background: #5a6268;
    border-color: #5a6268;
}

/* Active filters in sticky bar */
.sticky-filters-inner .active-filters {
    margin-top: 5px;
    padding-top: 10px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .active-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .active-filters-label {
        margin-bottom: 5px;
    }
}