.site-main .schedule-template {
    margin-top: 80px;
}
#schedule-filter h4 {
    text-transform: uppercase;
}
#format-filter,
#organiser-filter {
    margin: 20px 0 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    position: relative;
}
.jump-nav-pill {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    background-color: #003366;
    z-index: -1;
    height: 36px;
    transition: left 0.3s ease, width 0.3s ease, top 0.3s ease;
    -webkit-transition: left 0.3s ease, width 0.3s ease, top 0.3s ease;
    -moz-transition: left 0.3s ease, width 0.3s ease, top 0.3s ease;
    -ms-transition: left 0.3s ease, width 0.3s ease, top 0.3s ease;
    -o-transition: left 0.3s ease, width 0.3s ease, top 0.3s ease;
}
#format-filter button.filter-option,
#organiser-filter button.filter-option {
    padding: 5px 16px;
    background: transparent;
    text-transform: capitalize;
    color: #000;
}
#organiser-filter button.filter-option span {
    color: #000;
}
#organiser-filter button.filter-option:hover span,
#organiser-filter button.filter-option:active span,
#organiser-filter button.filter-option:focus span {
    color: #FFF;
}
#format-filter button.filter-option:hover,
#organiser-filter button.filter-option:hover,
#format-filter button.filter-option.active,
#organiser-filter button.filter-option.active {
    background: #003366;
    color: #FFF;
}

#organiser-filter button.filter-option.active {
    pointer-events: none;
    color: #ffffff;
    /* background: #003366; */
}
#organiser-filter button.filter-option.active span {
    color: #FFF;
}
.date-slider-list {
    background-color: #CACACA;
    position: relative;
    padding: 36px 105px;
    overflow: hidden;
}
.date-slider-list .swiper-button-prev:after,
.date-slider-list .swiper-button-next:after {
    display: none;
}

.date-slider-list .swiper-button-prev span,
.date-slider-list .swiper-button-next span {
    display: none;
}

.date-slider-list .swiper-button-prev, 
.date-slider-list .swiper-button-next {
    width: 105px;
    height: 100%;
    background-image: url(../images/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #CACACA;
    top: 0;
    margin: 0;
    outline: none;
    z-index: 1;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}

.date-slider-list .swiper-button-prev {
    left: 0;
    transform: rotate(180deg);
}

.date-slider-list .swiper-button-next {
    right: 0;
    background-image: url(../images/arrow_right.svg);
}
.date-slider-list .swiper-button-prev:hover, 
.date-slider-list .swiper-button-next:hover {
    background-color: #003366;
    background-image: url(../images/arrow_right_white.svg);
}
.schedule-list-title {
    display: flex;
    margin-top: 81px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 6px solid #000000;
    padding-bottom: 23px;
    padding-right: 7.5%;
}
.schedule-item .schedule-content > :nth-child(1),
.schedule-list-title span:nth-child(1) {
    width: 25.69%;
    margin-right: 20px;
}
.schedule-item .schedule-content > :nth-child(2),
.schedule-list-title span:nth-child(2) {
    width: 36.36%;
    margin-right: 20px;
}
.schedule-item .schedule-content > :nth-child(3),
.schedule-list-title span:nth-child(3) {
    width: 16.6%;
    margin-right: 20px;
}
.schedule-item .schedule-content > :nth-child(4), .schedule-list-title span:nth-child(4) {
    width: 16.6%;
    margin-right: 0;
}
.schedule-list-title .admission {
    text-transform: capitalize;
}
.schedule-item {
    border-bottom: 1px solid #CACACA;
}

.schedule-item .schedule-content p {
    margin: 0;
}
.schedule-item .schedule-content {
    display: flex;
    align-items: center;
    padding: 15px 0;
    min-height: 106px;
}
#date-slider {
    display: block;
    padding-top: 20px;
}

.date-button {
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 0.02em;
    text-align: center;
    opacity: 0.3;
    cursor: pointer;
}
.date-button.active {
    opacity: 1;
}
.schedule-item {
    border-bottom: 1px solid #CACACA;
    cursor: pointer;
    transition-property: padding-right, padding-left;
    transition-duration: .5s, .5s;
    transition-timing-function: cubic-bezier(.77,0,.175,1), cubic-bezier(.77,0,.175,1);
    position: relative;
    overflow: hidden;
    padding-right: 7.5%;
}

.schedule-item .schedule-content p {
    margin: 0;
}

.schedule-item:hover {
    color: #ffffff;
    /* background-color: #003366; */
    padding: 0 55px 0 40px;
}

/* .schedule-item:hover .schedule-content > :nth-child(1) {
    width: 26.15%;
}

.schedule-item:hover .schedule-content > :nth-child(2) {
    width: 52.25%;
}

.schedule-item:hover .schedule-content > :nth-child(3) {
    width: 21.6%;
} */

.schedule-item:hover * {
    color: #ffffff;
}

#schedule-filter .schedule-item h4 {
    text-transform: capitalize;
}

.schedule-item:after {
    content: '';
    position: absolute;
    inset: 0%;
    transform: translateY(101%);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #003366;
    z-index: -1;
    transition: all 0.5s cubic-bezier(.77,0,.175,1);
}

.schedule-item:hover:after {
    transform: translateY(0%);
    transform-style: preserve-3d;
}
.schedule-item p, .schedule-item h4 {
    transition: all 0.3s;
}
.schedule-item h4 {
    text-transform: capitalize;
}

div#popup-overlay #popup-content {
    position: fixed;
    z-index: 99998 !important;
    top: 0;
    /* overflow: scroll !important; */
    height: 110%;
    right: 0;
    pointer-events: none;
    opacity: 1;
    transform: translate(100%, 0%);
    transition: transform 1200ms cubic-bezier(0.77, 0, 0.175, 1);
    width: calc(100% - 80px);
    display: flex;
    padding: 150px 44px;
    background: #fff;
    max-width: 1360px;
    padding-bottom: 60px;
}

div#popup-overlay.show #popup-content {
    transition: transform 1200ms cubic-bezier(0.77, 0, 0.175, 1);
    transform: translate(0%, 0%) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    -webkit-overflow-scrolling: touch;
    height: -webkit-fill-available;
}

div#popup-overlay {
    position: fixed;
    opacity: 0;
    height: 100%;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .7);
    z-index: 9999;
    display: block;
    left: 0;
    top: 0;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}
#date-slider .date-swiper-container {
    cursor: default;
}

/* Cursor icon styling */
.cursor-icon {
    width: 60px;
    height: 60px;
    background-color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: absolute;
    pointer-events: none;
    opacity: 1;
    transform: translate(-50%, -100%);
    z-index: 1000;
    display: none !important;
}
.cursor-icon svg {
    fill: none;
    color: #FFF;
}

.cursor-icon svg path {
    fill: currentColor;
}

.filter-button-mobile,
#close-filter,
.filter-buttons {
    display: none;
}
.filter-option-short-title {
    display: none;
}
.schedule-filter-overlay {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.8);
    width: 100%;
    height: 100vh;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all .3s;
}
#reset-filter,#apply-filter {
    background: transparent;
    text-transform: capitalize;
    color: #000;
}

.filter-buttons {
    width: 100%;
    justify-content: space-between;
}

#reset-filter {
    text-decoration: underline;
}
#apply-filter {
    background-image: url(../images/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding: 0;
    padding-right: 30px;
}
#filter-button-mobile {
    background: transparent;
    padding: 0;
    margin-bottom: 40px;
    text-decoration: underline;
    color: #000;
}
#filter-button-mobile:focus,
#filter-button-mobile:active {
    outline: none;
    color: #000;
}
#schedule-list p.no-found {
    margin-top: 30px;
}

.schedule-template .button-loadmore {
	text-align: center;
	margin-bottom: 0;
}
.schedule-template #load-more {
	margin-top: 80px;
	font-weight: 700;
	cursor: pointer;
}
.schedule-template #loading-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .7);
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.schedule-template #loading-overlay.show {
    opacity: 1;
    visibility: visible;
}
.schedule-template .spinner {
	-webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
}
.schedule-template .spinner .path {
	stroke: #cccccc;
    stroke-linecap: round;
    -webkit-animation: dash 1.5s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite;
}
@-webkit-keyframes rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -124;
	}
}

@keyframes dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -124;
	}
}

/* Popup */
div#popup-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.schedule-popup {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.schedule-popup .container {
    display: flex;
    padding: 0;
    width: 100%;
    max-width: none;
    height: 100%;
}

.schedule-popup .slider, .schedule-popup .details {
    width: 50%;
    overflow: hidden;
}

.schedule-popup .slider {
    margin-right: 30px;
}

.schedule-popup .details {
    margin-left: 30px;
}

.schedule-popup .slider .swiper-slide .swiper-slide-image {
    position: relative;
    padding-top: 100%;
}

.schedule-popup .slider .swiper-slide img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-popup .details h4.schedult-item-title {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 40px;
}

.schedule-popup .details strong {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.schedule-popup .details p {
    margin-bottom: 40px;
}

.schedule-popup .details p.schedult-item-rundown {
    margin-bottom: 0;
}

.schedule-popup .details ul {
    padding-left: 30px;
    margin-bottom: 40px;
}

.schedule-popup .slider .gallery-swiper-container {
    position: relative;
    padding-bottom: 95px;
}

.schedule-popup .slider .gallery-button-next,
.schedule-popup .slider .gallery-button-prev {
    position: absolute;
    left: 5px;
    bottom: 0;
    width: 24px;
    height: 24px;
    background-size: contain;
    cursor: pointer;
}

.schedule-popup .slider .gallery-button-prev {
    background-image: url(../images/slider-arrow-left.svg);
}
.schedule-popup .slider .gallery-button-prev:hover {
    background-image: url(../images/slider-arrow-left-black.svg);
}
.schedule-popup .slider .gallery-button-next {
    left: auto;
    right: 5px;
    background-image: url(../images/slider-arrow-right.svg);
}
.schedule-popup .slider .gallery-button-next:hover {
    background-image: url(../images/slider-arrow-right-black.svg);
}
.schedule-popup .slider .swiper-button-disabled {
    pointer-events: none;
}
.schedule-popup .slider .gallery-pagination {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: auto;
    font-size: 25px;
    font-weight: 700;
}
body.open-popup {
    overflow: hidden;
}
.schedule-popup .slider .swiper-slide .swiper-slide-description {
    margin-top: 20px;
    padding: 0 10px;
    text-align: center;
}

span.close-popup {
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(../images/close.svg);
    right: 60px;
    top: 60px;
    display: block;
    cursor: pointer;
}
.schedule-popup .details .schedult-item-link {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}
.schedule-popup .details .details-items {
    height: calc(100% - 80px);
    overflow: hidden;
    margin-bottom: 40px;
}
.schedule-popup .details .schedult-item-link .a2a_button_copy_link {
    line-height: 26px;
}
#format-filter {
    display: flex;
    justify-content: space-between;
}

#format-filter {}

#format-filter .format-filter-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    width: calc(100% - 90px);
}

button#reset-filter-desktop {
    font-size: 16px;
    background: transparent;
    position: relative;
    padding: 0;
    line-height: 1;
    margin-top: 13px;
}

button#reset-filter-desktop:after {
    content: "";
    height: 1px;
    width: 100%;
    background: #000;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
    transition: all .3s;
}

button#reset-filter-desktop:hover:after {
    width: 20px;
}
@media (max-width: 767.98px) {
    .site-main .schedule-template {
        margin-top: 61px;
    }

    .date-slider-list .swiper-button-prev, .date-slider-list .swiper-button-next {
        width: 64px;
    }

    .date-slider-list {
        padding: 21px 62px;
    }

    .date-button {
        font-size: 16px;
        line-height: 26px;
    }

    .schedule-list-title {
        margin-top: 60px;
        padding-right: 0;
    }

    .schedule-item .schedule-content > :nth-child(3),.schedule-list-title span:nth-child(3),
    .schedule-item .schedule-content > :nth-child(4), .schedule-list-title span:nth-child(4) {
        display: none;
    }

    .schedule-item {
        padding-right: 0;
    }

    .schedule-item .schedule-content > :nth-child(1), .schedule-list-title span:nth-child(1) {
        width: 34.9%;
        padding-right: 10px;
        margin-right: 0;
    }

    .schedule-item .schedule-content > :nth-child(2), .schedule-list-title span:nth-child(2) {
        width: 65.1%;
        padding-right: 0;
        margin-right: 0;
    }

    .schedule-item:hover {
        padding: 0 0 0 20px;
    }

    .schedule-item:hover .schedule-content > :nth-child(1) {
        width: 37%;
    }

    .schedule-item:hover .schedule-content > :nth-child(2) {
        width: 63%;
    }

    .cursor-icon {
        display: none;
    }

    #organiser-filter .filter-option .filter-option-title {
        display: none;
    }

    #organiser-filter .filter-option .filter-option-short-title {
        display: block;
    }

    .schedule-filter-content {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background: #FFF;
        z-index: 999;
        transform: translateY(110%);
        transition: all 0.5s;
        overflow: auto;
        max-height: calc(100vh - 90px);
    }
    .filter-button-mobile,
    #close-filter{
        display: block;
    }
    .filter-buttons {
        display: flex;
        justify-content: space-between;
    }
    .schedule-filter-content.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }    
    .schedule-filter-content div.schedule-filter-container {
        position: relative;
        padding: 60px 16px;
    }    
    div#close-filter {
        position: absolute;
        right: 12px;
        top: 12px;
    }
    body.open-filter {
        overflow: hidden;
    }
    
    .open-filter .schedule-filter-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    div#popup-overlay {
        top: 196px;
        height: calc(100vh - var(--global--admin-bar--height, 0));
        top: var(--global--admin-bar--height, 0);
    }
    div#popup-overlay #popup-content {
        width: 100%;
        padding: 0;
    }
    
    .schedule-popup .slider, .schedule-popup .details {
        width: 100%;
        margin: 0;
    }
    
    .schedule-popup .container {
        flex-wrap: wrap;
    }
    
    div#popup-overlay #popup-content {
        overflow: auto;
        height: auto;
    }
    
    .schedule-popup {
        height: auto;
        overflow: auto;
    }
    
    .schedule-popup .container {
        height: auto;
        overflow: auto;
    }
    
    .schedule-popup .details {
        padding: 0 16px;
        padding-top: 100px;
        padding-bottom: 40px;
        position: relative;
    }

    .schedule-popup .slider .gallery-pagination {
        font-size: 22px;
        bottom: -2px;
    }
    .schedule-popup .slider .gallery-pagination {
        font-size: 22px;
        bottom: -2px;
    }
    
    .schedule-popup .slider:after, .schedule-popup .slider:before {
        content: "";
        width: 100vw;
        height: 1px;
        background: #CACACA;
        position: absolute;
        left: 0;
        bottom: 0;
        left: 0;
    }
    
    .schedule-popup .slider {
        position: relative;
        padding-bottom: 24px;
    }
    
    .schedule-popup .slider:before {
        bottom: 72px;
    }
    .schedule-popup .slider .swiper-slide .swiper-slide-description {
        padding: 0 16px;
        text-align: center;
    }
    .schedule-popup .slider .gallery-swiper-container {
        padding-bottom: 68px;
    }
    span.close-popup {
        right: 16px;
        top: 16px;
    }
    button#reset-filter-desktop,
    #format-filter .format-filter-right {
        display: none;
    }
    #format-filter .format-filter-left {
        width: 100%;
    }
    .schedule-popup .slider .gallery-button-next {
        right: 16px;
    }
    .schedule-popup .slider .gallery-button-prev {
        left: 16px;
    }
}

@media (max-width: 600px) {
    .date-slider-list .swiper-button-prev, .date-slider-list .swiper-button-next {
        width: 52px;
    }
}