/* From main page */
.hero-content-logo {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.hero-content-desc {
    background: rgb(255 255 255 / 5%);
    align-self: start;
}

.hero-content-desc a:not(.btn) {
    color: #c2d500; 
    text-decoration: underline;
}

.hero.hero-6::before {
    display: none;
}

.img-fit {
    max-height: 425px;
}

.video-embed {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    max-height: 460px;
}

.contact-header {
    padding: 5px;
}

#contact {
    background: rgba(255,255,255,0.8);
    padding: 5px;
    border-radius: 10px;
    margin: 0 auto;
}

.fancybox-content {
    background: rgba(255,255,255,1);
    padding: 10px;
}

.align-all-top {
    align-items: start;
}

.slope-none-l {
    margin-top: -10px;
}

.hide-gt690 {
    display: none;
}

.slick-slide {
    height: initial;
}

#group-testimonials .slick-dots {
    bottom: -40px
}

.page-link {
    display: none;
}

.button-scroll-wrap {
    position: relative;
    padding-bottom: 0 !important;
}

/* subtle fade cues */
.button-scroll-wrap::before,
.button-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 85px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* left fade */
.button-scroll-wrap::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

/* right fade */
.button-scroll-wrap::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* hide when fully left */
.button-scroll-wrap.at-start::before {
    opacity: 0;
}

/* hide when fully right */
.button-scroll-wrap.at-end::after {
    opacity: 0;
}

.button-scroll-wrap.at-start .scroll-left {
    opacity: 0;
    pointer-events: none;
}

.button-scroll-wrap.at-end .scroll-right {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    color: #fff;
    transition: opacity 0.25s linear;
}

.scroll-left {
    left: 12px;
}

.scroll-right {
    right: 12px;
}

.scroll-arrow[disabled] {
    opacity: 0.35;
    cursor: default;
}

@media (min-width: 768px) {

    .scroll-arrow {
        display: flex;
    }

}

.button-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    padding: 10px 40px 10px 10px;
    text-align: left;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: default;
}

@media (pointer: coarse) {

    .button-scroll {
        cursor: grab;
    }

    .button-scroll.dragging {
        cursor: grabbing;
    }

}

.button-scroll::-webkit-scrollbar {
    display: none;
}

.button-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.button-row {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 10px;
    white-space: nowrap;
    min-width: max-content;
}

.button-row a.btn {
    display: inline-block;
    align-items: center;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    white-space: nowrap;
    font-size: 2.1rem;
    font-family: 'Questrial', sans-serif;
    padding: 15px 30px;
}

#instructor-blog .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    grid-auto-rows: 10px;
}

/* exactly 1 item total */
#instructor-blog .items:has(> .instructor-blog-item:first-child:last-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* exactly 2 items total */
#instructor-blog .items:has(> .instructor-blog-item:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet */
@media (max-width: 1024px) {

    #instructor-blog .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Mobile */
@media (max-width: 640px) {

    #instructor-blog .items {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .button-scroll-wrap::before, .button-scroll-wrap::after {
        width: 20px;
    }

}

.highlight-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.highlight-thumb {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.highlight-thumb.is-active {
    outline: 2px solid #ffffff;
}

.highlight-gallery > div:first-child {
    display: flex;
    flex-direction: column;
}

.highlight-main-wrap {
    position: relative;
    background: #111;
    overflow: hidden;

    aspect-ratio: 4 / 3; /* adjust to suit */
    width: 100%;
}

.highlight-main-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.highlight-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.highlight-main.clone {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.highlight-main.clone.is-fading {
    opacity: 0;
}

/* Activity Calendar Page */
.fancybox-content {
    background: rgba(255,255,255,1);
    padding: 10px;
}

.hosted-by {
    display: none;
}

.activity-calendar .map {
    width: auto;
    min-height: 64rem;
    background-color: grey;
}

#walx-type-calendar-search {
    width: 100%;
    max-width: 420px;
    border: 0;
}

#litebox-content .host-group {
    display: none;
}

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

    #bookings-calendar {
        height: 60vh;
    }

}

/* Full Calendar */
#bookings-calendar {
    border-radius: 20px;
    padding: 5px;
    height: 90vh;
}

.fc-direction-ltr .fc-daygrid-event.fc-event-end, 
.fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin-right: 2px;
    font-size: 14px;
    color: #2a2a2a;
    white-space: break-spaces;
    margin-bottom: 5px;
    background: #fafafa;
    padding: 10px 3px;
    border: 1px solid #f1f1f1;
}

.fc-daygrid-dot-event {
    align-items: start;
    display: grid;
}

.fc-daygrid-dot-event .fc-event-title {
    flex-grow: 0;
    overflow: visible;
    text-align: center;
    font-weight: 400;
    margin-top: 10px;
    line-height: 2.1rem;
}

.fc .fc-daygrid-day-top {
    flex-direction: column;
    font-weight: 700;
    font-size: 1.7rem;
}

.fc .fc-list-event-title a {
    line-height: 2;
}

.fc .fc-list-event-dot,
.fc-daygrid-event-dot {
    height: -1px;
    width: -1px;
    border-radius: 30px;
    border-width: 10px;
}

.fc-daygrid-event-dot {
    position: absolute;
    top: 4px;
    left: -1px;
    display: none;
}

.fc .fc-list-event-dot {
    border-width: 15px;
}

.fc-event-type-logo img {
    width: 100%;
    height: auto;
    max-width: 175px;
    border-radius: 5px;
}

.fc-list-table .fc-daygrid-event-dot {
    display: none;
}

.fc-list-table .fc-event-type-logo {
    display: none;
}

.fc-direction-ltr .fc-daygrid-event .fc-event-time {
    font-weight: bold;
}

.fc .fc-daygrid-day-frame {
    min-height: 150px;
}

.fc tr[role="row"]:not(:has(td:not(.fc-day-disabled))) {
    display: none !important;
}

.fc-daygrid-event.in-cart, 
.fc-timegrid-event.in-cart,
.fc-list-event.in-cart,
.fc-daygrid-event.booked-event, 
.fc-timegrid-event.booked-event,
.fc-list-event.booked-event,
.fc-daygrid-event.booked-event:hover, 
.fc-timegrid-event.booked-event:hover,
.fc-list-event.booked-event:hover {
    background: grey !important;
    color: white !important;
}

.fc-daygrid-event.past-event, 
.fc-timegrid-event.past-event,
.fc-list-event.past-event,
.fc-daygrid-event.past-event:hover, 
.fc-timegrid-event.past-event:hover,
.fc-list-event.past-event:hover {
    opacity: 0.5;
    cursor: not-allowed;
}

.fc-daygrid-event.waiting-list-booking, 
.fc-timegrid-event.waiting-list-booking,
.fc-list-event.waiting-list-booking,
.fc-daygrid-event.waiting-list-booking:hover, 
.fc-timegrid-event.waiting-list-booking:hover,
.fc-list-event.waiting-list-booking:hover {
    background: linear-gradient(225deg, #83266c, #d2dc6a, #83266c, #d2dc6a);
    background-size: 300% 300%;
    color: black !important;
    -webkit-animation: Rainbow 25s ease infinite;
    -moz-animation: Rainbow 25s ease infinite;
    animation: Rainbow 25s ease infinite;
}

@-webkit-keyframes Rainbow {
    0% {background-position: 94% 0%; }
    50% {background-position: 7% 100%; }
    100% {background-position: 94% 0%; } 
}

@keyframes Rainbow {
    0% {background-position: 94% 0%; }
    50% {background-position: 7% 100%; }
    100% {background-position: 94% 0%; } 
}

.leaflet-popup-content {
    margin: 20px 10px;
    font-size: 1.4rem;
    min-width: 300px;
}

.leaflet-popup-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.leaflet-popup-content h4 {
    font-size: 2.2rem;
    border-radius: 5px;
}

.leaflet-popup-content a {
    color: #ffffff;
}

.leaflet-popup-content p {
    margin: 5px 0;
}

.marker-cluster div {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 20px;
}

.marker-cluster div span {
    line-height: 50px;
}

/* Activity Listing Page */
#events-search-form {
    margin: 0 auto;
    width: 100%;
    max-width: 695px;
}

.fancybox-content {
    background: rgba(255,255,255,1);
    padding: 10px;
}

.hosted-by {
    display: none;
}

.leaflet-popup-content {
    font-size: 1.4rem;
}

#walx-types-available .icon-inline {
    height: 1.5em;
    width: 1.5em;
}

.contact-header {
    padding: 5px;
}

.marker-cluster div {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 20px;

    & span {
        line-height: 50px;
    }

}

/* Discovery Page */
button#continue-shopping,
.hero-cta {
    display: none;
}

.discovery-description-text {
    font-size: 1.9rem;
    line-height: 1.5;
}

#session-details-container {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.fancybox-content:not(#cart) {
    background: transparent;
}

#login-form-container {
    padding: 15px;
}

.cannot-interact {
    cursor: not-allowed;
}

.show-on-complete {
    opacity: 0;
}

button.hidden-button {
    visibility: hidden;
}

button.discpop-select-event {
    background: #3b5998;
    color: white;
    border: 1px solid #3b5998;
}

button.discpop-remove-event,
button.discpop-cancel {
    background: #cc281d;
    color: white;
    border: 1px solid #cc281d;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    table-layout: fixed; 
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border: 0;
}

.responsive-table th,
.responsive-table td {
    padding: 10px 12px;
    border: 1px solid #83266c;
    text-align: left;
}

.responsive-table th.col-fixed-1,
.responsive-table td.col-fixed-1 {
    width: 210px;
}

.responsive-table th.col-fixed-2,
.responsive-table td.col-fixed-2 {
    width: 110px; 
}

.responsive-table th.col-fixed-3,
.responsive-table td.col-fixed-3 {
    width: 205px; 
}

.responsive-table thead {
    background: #83266c;
    color: #fff;
}

.responsive-table th {
    font-weight: bold;
}

.responsive-table tr {
    transition: all 0.2s ease-in-out;
    opacity: 1;
    cursor: auto
}

.responsive-table tr.option-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body[class*="discovery"] #litebox-content .grid-activity,
body[class*="discovery"] #litebox-content .list-unstyled,
body[class*="discovery"] #litebox-content .host-group {
    display: none;
}

/* Mobile layout */
@media (max-width: 700px) {

    .responsive-table thead {
        display: none;
    }

    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: -1px;
        border: 1px solid #ddd;
        padding: 5px;
    }

    .responsive-table td {
        border: none;
        padding-left: 30%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
    }

    .responsive-table th.col-fixed-1,
    .responsive-table td.col-fixed-1,
    .responsive-table th.col-fixed-2,
    .responsive-table td.col-fixed-2,
    .responsive-table th.col-fixed-3,
    .responsive-table td.col-fixed-3 {
        width: auto; 
    }

}

.star {
    position: absolute;
    top: -20px;
    color: #83266c;
    animation: animate 5s linear forwards;
}

.star::before {
    content: "\f005";
    font-family: FontAwesome;
    text-shadow: 0 0 5px #fff, 0 0 20px #fff, 0 0 50px #fff;
    font-size: 35px;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@media screen and (max-width: 600px) {
    .star {
        font-size: 8px;
    }
}
