@media screen and (min-width: 75em) {
    .grid-container {
        max-width: 90rem;
    }
}

#bookings,
a[name="bookings"] {
    scroll-margin-top: 3.75rem;
    display: block;
}

.anchor-target {
    display: block;
    height: 0;
    margin-top: 0;
}

@media screen and (max-width: 40em) {
    #bookings,
    a[name="bookings"] {
        scroll-margin-top: 3.75rem;
    }
}

.photo-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.photo-thumbnail-grid__item {
    width: 100%;
}

.photo-thumbnail-grid__item > * {
    width: 100%;
}

.photo-thumbnail-grid--configured {
    gap: 0.75rem;
}

@media screen and (max-width: 30em) {
    .photo-thumbnail-grid--configured {
        grid-template-columns: 1fr !important; /* Maintain readability on narrow screens */
    }
}

.thumbnail-container {
    --thumbnail-radius: 0.25rem;
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: var(--thumbnail-radius);
}

.thumbnail-container > a {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    overflow: hidden;
}

@supports (aspect-ratio: 1 / 1) {
    .thumbnail-container {
        aspect-ratio: 1 / 1;
        padding-top: 0;
    }
}

.thumbnail-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 0.25rem;
    text-align: center;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.thumbnail-caption .photo-credit {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.7rem;
    opacity: 0.85;
}

.group-container {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #ccc;
}

.callout {
    border-radius: 0.5rem;
}

.mobile-menu-cta {
    margin-bottom: 1rem;
}

.mobile-menu-cta .button {
    margin-bottom: 0;
}

.open-dates-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.open-dates-callout p {
    margin-bottom: 0;
    flex: 1 1 16rem;
}

.itinerary-callout table {
    margin-bottom: 0;
}

.open-dates-summary {
    flex: 1 1 16rem;
    margin-top: 0;
    min-width: min(18rem, 100%);
}

.open-dates-button {
    margin-bottom: 0;
    margin-left: auto;
    flex: 0 0 auto;
}

.compact-dates-modal {
    max-width: 48rem;
    width: 90vw;
}

.compact-dates-modal__footnote {
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.compact-challenge-dates-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    margin-top: 1.5rem;
}

.compact-challenge-date {
    background: #f8f8f8;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
}

.provider-alerts .button {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.provider-alerts .button:hover,
.provider-alerts .button:focus {
    background-color: #d52b1e;
    border-color: #d52b1e;
    color: #fff;
}

.compact-challenge-date__header {
    margin-bottom: 0.75rem;
}

.compact-challenge-date h1,
.compact-challenge-date h2,
.compact-challenge-date h3,
.compact-challenge-date h4,
.compact-challenge-date h5,
.compact-challenge-date h6 {
    margin-top: 0;
}

.compact-challenge-date__date {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}


.compact-challenge-date__availability {
    margin-bottom: 0.75rem;
}

.compact-challenge-date__price {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.compact-challenge-date__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.compact-challenge-date__actions .button {
    margin-bottom: 0;
}

.group-container:hover {
    background-color: #e9e9e9;
}

.group-container table {
    margin-bottom: 0;
}

.booking-table {
    width: 100%;
    table-layout: fixed;
}

.booking-table td {
    vertical-align: top;
}

.booking-table col.booking-col-id {
    width: 8rem;
}

.booking-table col.booking-col-details {
    width: 26rem;
}

.booking-table col.booking-col-status {
    width: auto;
}

.group-container p {
    font-size: 0.8em;
    margin-bottom: 5px;
}

.front-hero-row {
    margin-left: -0.625rem; /* Offset grid container padding on small screens */
    margin-right: -0.625rem;
}

@media screen and (min-width: 40em), print and (min-width: 40em) {
    .front-hero-row {
        margin-left: -0.9375rem; /* Align hero cards flush with container edges on medium+ */
        margin-right: -0.9375rem;
    }
}

/* Front Page Hero Photos - Prevent Flicker */
.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 675/333; /* Exact dimensions 675x333 */
    overflow: hidden;
    background-color: #f0f0f0; /* Light gray placeholder */
    border-radius: 3px 3px 0 0; /* Match hero image rounding */
}

.hero-image-container .hero-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: inherit;
}

.hero-image-container .hero-image-link:focus-visible {
    outline: 3px solid #1779ba;
    outline-offset: 2px;
}

.hero-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Hide image during loading state */
.hero-image-container.loading img {
    opacity: 0;
}

/* Skeleton loader animation */
.hero-image-container.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    z-index: 1;
    border-radius: inherit;
}

.hero-image-container + .pricing-table {
    border-top: none; /* Seamless join beneath hero imagery */
}

.custom-hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3; /* Cloudflare hero variant renders at 1200x900 */
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 6px;
}

.custom-hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preserve 4:3 crop while filling the container */
    transition: opacity 0.3s ease-in-out;
}

.custom-hero-image.loading img {
    opacity: 0;
}

.custom-hero-image.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    z-index: 1;
    border-radius: inherit;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Photo Thumbnails - Prevent Flicker */
.thumbnail-container.loading .thumbnail-image {
    opacity: 0;
}

.thumbnail-container.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    z-index: 1;
    border-radius: inherit;
}

/* Reviews page */
.reviews-page {
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    color: #1a2733;
    padding: 3rem 0 4rem;
}

.reviews-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reviews-header h1 {
    color: #102236;
}

.reviews-header__summary {
    max-width: 40rem;
    margin: 0 auto;
    color: rgba(49, 71, 98, 0.8);
}

.reviews-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 45px -20px rgba(12, 32, 52, 0.35);
    border: 1px solid rgba(167, 190, 214, 0.5);
    margin-bottom: 2.5rem;
}

.reviews-card--primary {
    background: linear-gradient(145deg, #f2f7fc 0%, #ffffff 100%);
    border: 1px solid rgba(116, 160, 208, 0.35);
}

.reviews-card__title {
    margin-bottom: 0.5rem;
    color: #102236;
}

.reviews-card__subtitle {
    color: rgba(49, 71, 98, 0.8);
    margin-bottom: 1.5rem;
}

.reviews-card--prompt {
    margin-top: 1.5rem;
    background: #f3f8fd;
    border: 1px solid rgba(116, 160, 208, 0.35);
}

.reviews-card__prompt-text {
    margin-bottom: 1rem;
    color: rgba(49, 71, 98, 0.85);
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.star-rating__button {
    background: transparent;
    border: none;
    color: rgba(250, 226, 114, 0.45);
    font-size: 2rem;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

.star-rating__button:hover,
.star-rating__button:focus {
    color: #f9cc4d;
    transform: scale(1.08);
    outline: none;
}

.star-rating__button .fas {
    color: #f9cc4d;
}

.reviews-form {
    background: rgba(244, 249, 255, 0.9);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(167, 190, 214, 0.5);
}

.reviews-form__label {
    color: rgba(30, 49, 71, 0.8);
    font-weight: 600;
}

.reviews-form__textarea,
.reviews-form__input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(149, 175, 202, 0.7);
    color: #102236;
    border-radius: 0.5rem;
    padding: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(240, 245, 250, 0.8);
}

.reviews-form__textarea:focus,
.reviews-form__input:focus {
    border-color: rgba(35, 114, 196, 0.4);
    box-shadow: 0 0 0 2px rgba(35, 114, 196, 0.15);
}

.reviews-form__submit {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #0f74d1 0%, #1b9bd6 100%);
    border: none;
}

.reviews-form__submit:hover {
    background: linear-gradient(135deg, #0c64b5 0%, #158bbd 100%);
}

.reviews-list {
    margin-top: 3rem;
}

.reviews-list__title {
    color: #102236;
    margin-bottom: 1.5rem;
}

.reviews-list__item {
    margin-bottom: 1.5rem;
}

.review-card {
    background: #f7faff;
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid rgba(167, 190, 214, 0.5);
    backdrop-filter: blur(4px);
}

.review-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
}

.review-card__stars .fas {
    color: #f9cc4d;
    margin-right: 0.2rem;
}

.review-card__stars .far {
    color: rgba(250, 214, 109, 0.35);
    margin-right: 0.2rem;
}

.review-card__meta {
    text-align: right;
    color: rgba(49, 71, 98, 0.7);
    font-size: 0.9rem;
}

.review-card__author {
    display: block;
    font-weight: 600;
}

.review-card__date {
    font-style: italic;
}

.review-card__body {
    color: rgba(30, 49, 71, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
}

.reviews-list__empty {
    color: rgba(49, 71, 98, 0.75);
    padding: 2rem;
    background: #f2f7fc;
    border-radius: 0.75rem;
    border: 1px solid rgba(167, 190, 214, 0.5);
}

@media (max-width: 39.9375em) {
    .reviews-page {
        padding: 2rem 0 3rem;
    }

    .review-card__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .review-card__meta {
        text-align: left;
    }

    .star-rating__button {
        font-size: 1.75rem;
    }
}

/* Hero Image Feedback Controls */
.hero-feedback-bar,
.thumbnail-control-bar {
    position: absolute;
    right: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 6px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.hero-feedback-bar {
    bottom: 10px;
}

.thumbnail-control-bar {
    bottom: calc(var(--caption-height, 2.3rem) + 10px);
}

.thumbnail-container--overlay-hidden {
    --caption-height: 0px;
}

.thumbnail-container--overlay-hidden .thumbnail-control-bar {
    bottom: 10px;
}

.hero-image-container:hover .hero-feedback-bar,
.custom-hero-image:hover .hero-feedback-bar,
.thumbnail-container:hover .thumbnail-control-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-feedback-bar .control-icon,
.thumbnail-control-bar .control-icon {
    cursor: pointer;
    padding: 4px 6px;
    transition: transform 0.15s ease, color 0.15s ease;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.hero-feedback-bar .control-icon:hover,
.thumbnail-control-bar .control-icon:hover {
    transform: scale(1.2);
}

.hero-feedback-bar .control-icon.selected,
.thumbnail-control-bar .control-icon.selected {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.hero-feedback-bar .thumb-up,
.thumbnail-control-bar .thumb-up {
    color: #4CAF50;
}

.hero-feedback-bar .thumb-up:hover,
.thumbnail-control-bar .thumb-up:hover {
    color: #69F0AE;
}

.hero-feedback-bar .thumb-down,
.thumbnail-control-bar .thumb-down {
    color: #f44336;
}

.hero-feedback-bar .thumb-down:hover,
.thumbnail-control-bar .thumb-down:hover {
    color: #FF5252;
}

.hero-feedback-bar .feedback-message,
.thumbnail-control-bar .feedback-message {
    color: white;
    font-size: 0.85rem;
    margin-right: 6px;
    margin-left: 0;
    order: -1;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feedback-bar .feedback-message.show,
.thumbnail-control-bar .feedback-message.show {
    display: inline-block;
    opacity: 1;
}

.rating-positive {
    color: #4CAF50;
}

.rating-negative {
    color: #f44336;
}
label {
    font-weight: 700;
}
.accordion-checkbox {
    margin-right: 10px; /* Space between checkbox and title */
}

.accordion-title {
    display: flex;
    align-items: center; /* Align checkbox and title vertically */
}

footer a {
    text-decoration: none;
}

.text-center .button + .button {
    margin-left: 1rem;
}

.button-group {
    margin-bottom: 1rem;
}

.button-group .button {
    margin-bottom: 0;
    transition: all 0.2s ease-in-out;
}

.button-group.expanded {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.button-group.expanded .button {
    flex: 1 1 0;
}

.button-group.expanded .button + .button {
    margin-left: 1rem;
}

.button-group .button.active {
    background-color: #1779ba;
    box-shadow: 0 0 0 1px #1779ba;
    color: white;
    font-weight: bold;
}

.button-group .button:not(.active) {
    background-color: #e6e6e6;
    color: #0a0a0a;
}

.button-group .button {
    background-color: #e6e6e6;
    color: #0a0a0a;
}

.button-group .button.success {
    background-color: #1779ba;
    color: #ffffff;
}

.button-group .button:hover {
    background-color: #d0d0d0;
}

.button-group .button.success:hover {
    background-color: #1779ba;
}
.button-group .button.primary {
    background-color: #1779ba;
    color: #ffffff;
}
.button-group .button.primary:hover {
    background-color: #1779ba;
}
.button-group .button.secondary {
    background-color: #767676;
    color: #ffffff;
}
.button-group .button.secondary:hover {
    background-color: #767676;
}
.button-group .button.warning {
    background-color: #ffae00;
    color: #0a0a0a;
}
.button-group .button.warning:hover {
    background-color: #ffae00;
}
.button-group .button.alert {
    background-color: #cc4b37;
    color: #ffffff;
}
.button-group .button.alert:hover {
    background-color: #cc4b37;
}
.button-group .button.tiny {
    font-size: .6rem;
    padding: 0.5rem 1rem;
}
.button-group .button.large {
    font-size: 1.25rem;
    padding: 1rem 2rem;
}
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner-spin 1s linear infinite;
}
.hidden {
    display: none;
}
@keyframes spinner-spin {
    to { transform: rotate(360deg); }
}

/* Revolut card field styling */
#card-field,
.card-field {
    background-color: white;
    border: 1px solid #cacaca;
    padding: 8px;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    margin-bottom: 1rem;
    min-height: 40px;
    border-radius: 3px;
}

/* Revolut card field iframe styling */
.card-field iframe {
    width: 100%;
    height: 100%;
    min-height: 24px;
}
.feedback-button {
    background-color: transparent;  /* Make the background transparent */
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.feedback-button i {
    transition: color 0.3s ease;  /* Smooth transition for color change */
}

/* Green icon for 'Yes' button */
.feedback-button.yes i {
    color: #008000;  /* Green */
}

.feedback-button.yes:hover i,
.feedback-button.yes:focus i {
    color: #32CD32;  /* LimeGreen */
}

/* Red icon for 'No' button */
.feedback-button.no i {
    color: #990000;
}

.feedback-button.no:hover i,
.feedback-button.no:focus i {
    color: #FF0000; 
}

.feedback-status {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.feedback-status[aria-hidden="true"] {
    display: none;
}

.feedback-status--info {
    color: #1a2733;
}

.feedback-status--success {
    color: #2c7a3f;
}

.feedback-status--error {
    color: #b23030;
}

.booking-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-filter-list li {
    margin: 0;
}

.booking-filter-label {
    display: block;
    text-transform: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
}

.booking-filter-label:visited {
    color: inherit;
}

.booking-filter-label:hover,
.booking-filter-label:focus {
    text-decoration: none;
    background-color: #3ebf77;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(62, 191, 119, 0.35);
}

.booking-filter-label:focus-visible {
    outline: 2px solid #3ebf77;
    outline-offset: 2px;
}
.text-link-button {
    background: none;
    border: none;
    color: #3c9a5f;
    padding: 0;
    margin: 0;
    font-size: inherit;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.text-link-button:hover,
.text-link-button:focus {
    color: #43ac6a;
    text-decoration: underline;
    outline: none;
}

.form-inline input,
.form-inline button {
    display: inline-block; /* Elements display in-line */
    margin-right: 10px; /* Spacing between elements */
}

.form-inline input {
    vertical-align: middle; /* Aligns input fields vertically */
}

.form-inline button {
    vertical-align: middle; /* Aligns button vertically */
}

.manage-text-small {
    font-size: 0.9rem;
    line-height: 1.5;
}

.manage-payment-summary,
.manage-payments-list {
    margin-bottom: 0.75rem;
}

.manage-payment-summary__due {
    color: #c77600;
}

.manage-label-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.manage-label-stack > .help-text {
    margin: 0;
    color: #fdfbf7;
}




.manage-payments-list strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.manage-payments-list ul {
    margin-left: 0;
    margin-bottom: 0;
}

.manage-payments-list li + li {
    margin-top: 0.25rem;
}

.text-small a, .text-small form {
    display: inline-block; /* Display elements inline */
    margin-right: 10px; /* Optional: Add space between elements */
}
.thumbnail-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    display: block;
}
.challengetile {
    position: relative; /* Added to control positioning of child elements */
    background-color: #f9f9f9; /* Very light grey background */
    border: 1px solid #ccc; /* Darker border */
    padding: 20px 15px; /* Reduced padding for a more compact layout */
    border-radius: 0.4em;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    margin-bottom: 8px;
    user-select: none; /* Disable text selection */
    cursor: default; /* Maintain the default cursor over the tile */
}

.challengetile:hover {
    background-color: #fff; /* Background lightens to white on hover */
}
.registration-id {
    position: absolute; /* Position relative to the tile */
    top: 0px; /* Adjusted to fit near the top border */
    left: 0px; /* Adjusted to fit near the left border */
    font-size: 0.8em; /* Smaller font size */
    color: #666; /* Grey text color */
    background-color: #ccc; /* Ensure no background interferes */
    padding: 2px 4px;
    border-top-left-radius: .4em;
    border-bottom-right-radius: .4em;
    font-weight: 600;
}

.challengetile h5 {
    margin-top: 0;
    color: #333;
    font-size: 1.25em; /* Large text for event name */
    font-weight: 600;
}

.challengetile .event-name {
    margin: 0;
    color: #333;
    font-size: 1.25em;
    font-weight: 600;
}

.challengetile p {
    font-size: 0.9em; /* Smaller text for details */
    color: #666;
}

.challengetile .button {
    margin-bottom: 0;
}

.add-to-calendar {
    text-align: center;
}

.add-to-calendar .button-group {
    justify-content: center;
    gap: 0.4rem;
}

.copy-input-group {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0.6rem;
}

.copy-input-group .copy-input {
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.35;
    min-height: 2.1rem;
    padding: 0.3rem 0.6rem;
    padding-right: 0.6rem;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: initial;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    background-color: #fff;
    color: #1f252d;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.copy-input-group .copy-input:focus,
.copy-input-group .copy-input:focus-visible {
    border-color: #1b7f3b;
    box-shadow: 0 0 0 1px rgba(27, 127, 59, 0.18);
    outline: none;
}

.copy-input-group.copied .copy-input {
    border-color: #1b7f3b;
    box-shadow: 0 0 0 1px rgba(27, 127, 59, 0.3);
}

.copy-input-group .copy-feedback {
    position: absolute;
    top: 50%;
    right: 3rem;
    transform: translateY(-50%) scale(0.94);
    background: rgba(27, 127, 59, 0.16);
    border: 1px solid rgba(27, 127, 59, 0.35);
    color: #146030;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 2;
}

.copy-input-group.has-copy-button .copy-feedback {
    right: 3rem;
}

.copy-input-group:not(.has-copy-button) .copy-feedback {
    right: 0.4rem;
}

.copy-input-group.copied .copy-feedback {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.copy-label {
    font-weight: 500;
}

.booking-form-callout {
    padding: 1.5rem 1.6rem;
}

.booking-payment-inline {
    margin-top: 0.5rem;
    background: rgba(27, 127, 59, 0.08);
    border-left: 3px solid #1b7f3b;
    border-radius: 0.35rem;
    padding: 0.55rem 0.75rem;
}

#interest-payment-inline {
    margin-bottom: 1.25rem;
}

.booking-payment-primary {
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: #134d27;
}

.booking-payment-secondary,
.booking-payment-tertiary {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #18452c;
}

.booking-availability {
    text-align: center;
    margin-top: 0.4rem;
}

.booking-availability .label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.booking-terms-inline {
    margin: 0;
}

.copy-link-btn.copied i,
.copy-link-btn-text.copied i {
    color: #1b7f3b;
}

.copy-link-btn-text.copied .copy-link-btn-label {
    color: #1b7f3b;
    font-weight: 600;
}

.manage-tile {
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 20px 15px;
    border-radius: 0.4em;
    margin-bottom: 15px;
    width: 100%;
}

.manage-calendar-links {
    margin-top: 0.75rem;
}

.manage-calendar-links .margin-top-1 {
    margin-top: 0.35rem;
}

.manage-calendar-links h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.manage-calendar-links .button-group {
    justify-content: center;
    gap: 0.2rem;
}

.manage-calendar-links .button-group .button {
    padding: 0.15rem 0.35rem;
    font-size: 1rem;
}

.manage-calendar-links .button-group .button i {
    font-size: 1rem;
}

body.manage-iphone-only .manage-calendar-links .manage-hide-cal-link {
    display: none !important;
}

.manage-actions {
    margin-top: 1rem;
}

.manage-receipt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    margin-left: 0.5rem;
    border-radius: 999px;
    border: 1px solid #1779ba;
    color: #1779ba;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.manage-receipt-link:hover,
.manage-receipt-link:focus {
    background-color: #1779ba;
    border-color: #0c4a6e;
    color: #ffffff;
    text-decoration: none;
}

.manage-receipt-link i {
    font-size: 0.95rem;
}

@media screen and (min-width: 40em) {
    .manage-actions {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
}

.button.tiny {
    padding: 5px 10px;
    font-size: 0.8em; /* Smaller button font size */
    margin-bottom: 0;
}
.menu a {
    margin: 3px;
}
.breadcrumbs {
    margin-bottom: 0;
}

.breadcrumbs ol {
    margin-left: 0;
}

.label {
    border-radius: 0.3em;
}

.button {
    border-radius: 0.3em;
}

hr {
    max-width: 90rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.menu a:hover,
.menu a.active {
    background-color: #3c9a5f;
    border-radius: 0.3em;
    color: #fff;
}

ul.menu.vertical li a:hover,
ul.menu.vertical li a.active {
    background-color: #3c9a5f;
    color: #fff;
    border-radius: 0.3em;
}

object {
    pointer-events: none;
}

[data-sticky] {
    width: 100%;
}

span {
    touch-action: manipulation;
}

.slick-prev:before, .slick-next:before {
    color: #006600 !important;
    z-index: 99;
}

.slick-prev, .slick-next {
    z-index: 99;
}
/*.is-active {
    background: #1779ba;
    color: white;
}*/
.tabs-title > a {
    font-size: 1em;
}

.grecaptcha-badge {
    opacity: 0;
}

#Body_wzContact_tbReason, #cphBody_wzContact_tbReason {
    display: none;
}

.breadcrumbs ol li a, .breadcrumbs ul li a {
    font-size: 1em;
    text-transform: none;
    color: #006600;
}

.breadcrumbs ol li, .breadcrumbs ul li {
    list-style-type: none;
}

.sticky-container {
    z-index: 5;
}

.top-bar, .top-bar ul {
    background-color: #000;
}

.providers-top-bar,
.providers-top-bar ul,
.providers-title-bar {
    background-color: #000;
}

.providers-top-bar a,
.providers-title-bar a {
    color: #ffffff;
    text-decoration: none;
}

.providers-top-bar .menu > li > a {
    color: #ffffff;
    border-radius: 0.25rem;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.providers-top-bar .menu > li > a:hover,
.providers-top-bar .menu > li > a:focus,
.providers-title-bar a:hover,
.providers-title-bar a:focus {
    background-color: #3c9a5f;
    color: #ffffff;
}

.providers-top-bar .input-group-field {
    background-color: #111;
    color: #ffffff;
    border-color: #333;
}

.providers-top-bar .input-group-field::placeholder {
    color: #c7c7c7;
}

.providers-top-bar .button {
    background-color: #3c9a5f;
    color: #ffffff;
}

.providers-top-bar .button:hover,
.providers-top-bar .button:focus {
    background-color: #2f7a4a;
}

.providers-title-bar .menu-icon::after {
    background: #ffffff;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
}

.superadmin-top-bar {
    display: flex;
    align-items: center;
    padding: 0.25rem 1rem;
}

.superadmin-top-bar .top-bar-left,
.superadmin-top-bar .top-bar-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.superadmin-top-bar .top-bar-left {
    margin-right: auto;
}

.superadmin-top-bar .top-bar-right {
    margin-left: auto;
    height: 40px;
}

.superadmin-top-bar .top-bar-right ul {
    display: flex;
    align-items: center;
    width: auto;
}

.superadmin-top-bar .top-bar-right ul li {
    flex: 0 0 auto;
}

.superadmin-top-bar .menu {
    display: flex;
    align-items: center;
    background: transparent;
}

.superadmin-top-bar .menu > li {
    display: flex;
    align-items: center;
}

.superadmin-top-bar .menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
}

.superadmin-top-bar img {
    width: 48px;
    height: auto;
    display: block;
}

.no-js .top-bar {
    display: none;
}

.in-canvas-for-medium.position-left {
    width: auto;
}

.async-hide {
    opacity: 0 !important;
}

iframe.policies {
    width: 100%;
    border: 1px solid #000;
}

.paymentRequestButton {
    padding-top: 0;
}


/* Small only */
@media screen and (max-width: 39.9375em) {

    .large-12.hover td *:not(.label):not(.button) {
        font-size: 0.9rem;
    }

    .title-bar-title {
        position: relative;
    }

        .title-bar-title img {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

    /* add spacing above booking button on small screens */
    .challengetile .button {
        margin-top: 0.5rem;
    }

    /* grid layout for booking management buttons */
    .manage-tile .button-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .manage-tile .button-group .button {
        width: 100%;
        margin-bottom: 0;
    }

}
/* Medium and up */
@media screen and (min-width: 40em) {

    .slick-slider .slick-track, .slick-slider .slick-list, .carousel {
        height: 652px;
    }

    .slick-slide {
        height: auto;
    }

    .no-js .top-bar {
        display: block;
    }

    .no-js .title-bar {
        display: none;
    }
}

table .button, .title-bar a.button {
    margin-bottom: 0;
}

ul.menu.vertical {
    text-transform: uppercase;
    font-weight: bold;
}

ul.menu.vertical li a {
padding: 0.3rem;
}

ul.menu.vertical.nested {
text-transform: none;
font-weight: normal;
padding: 5px 0 10px 0;
margin-left: 8px;
}

ul.menu.vertical.nested li a {
    padding: 0.3rem;
}

.fullscreen {
    width: 100%;
    height: 100%;
}

.admin {
    font-size: 0.7em;
}

#responsive-menu .input-group {
    margin-bottom: 0;
}

.top-bar, .title-bar {
    width: 100%;
    z-index: 10;
}

.button.success, .label.success {
    background-color: #3c9a5f;
    background: #3c9a5f;
    color: #FFF;
}

    .button.success:hover {
        color: #FFF;
    }

a.button {
    text-decoration: none;
}

.wizard-nav table {
    text-align: center;
    width: 20%;
}

    .wizard-nav table td {
        text-align: center;
        width: 100%;
    }

.fb-like {
    margin: 15px 0;
}

.validate {
    display: inline;
}

#mainmenu li a {
    padding: 0 10px 10px 0;
}

ol.breadcrumbs, ol.breadcrumbs li span, ol.breadcrumbs li a, ol.breadcrumbs li span {
    font-size: 1em;
    text-transform: none;
    color: #006600;
    list-style-type: none;
}

#Body_wzContact tbody td, #Body_wzContact table tbody, #cphBody_wzContact tbody td, #cphBody_wzContact table tbody, #cphBody_wzPayment tbody td, #cphBody_wzPayment table tbody {
    background-color: #FFFFFF;
    border: none;
    text-align: left;
}

#Body_cphBody_wzBooking tbody td, #Body_cphBody_wzBooking table tbody, #cphBody_wzReg tbody td, #cphBody_wzReg table tbody, #cphBody_wzPayment tbody td, #cphBody_wzPayment table tbody {
    background-color: #FFFFFF;
    border: none;
    text-align: left;
}

.mainmenu {
    font-size: 0.9em;
}

p small {
    font-size: smaller;
}

.small, a.small, p a.small {
    font-size: 12px;
}

iframe {
    border-style: none;
}

.map img {
    max-width: none;
    height: auto;
}

h1 {
    font-size: 2em;
    text-align: center;
    font-weight: 700;
}

h2 {
    font-size: 1.5em;
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 19px;
}

h6 {
    font-size: 19px;
}

body p, ul li, ol li {
    font-family: var(--font-sans);
    color: #1c1c1c;
    font-size: 18px;
}

div {
    font-family: var(--font-sans);
}

h1, h3, h2, h4, h5, h6 {
    font-family: var(--font-sans);
    color: #1c1c1c;
}

header {
    margin-top: 20px;
}

.nomargin {
    padding: 0;
    margin: 0;
}

.divider {
    margin: 0 0 10px 0;
}

footer div p, footer li {
    font-size: 12px;
    margin-bottom: 0px;
    list-style-type: none;
}

footer ul {
    margin: 0;
}

img {
    -moz-border-radius: 3px;
    border-radius: 3px;
}

body a, .side-nav li a {
    color: #3c9a5f;
    text-decoration: underline;
}

    body a:hover, .side-nav li a:hover {
        color: #43ac6a;
    }

.overlay h4, .overlay h3 {
    margin: 0px;
    font-size: 1em;
}

fieldset legend {
    font-weight: bold;
}

fieldset {
    border-top: 1px solid #000;
}

.menu.vertical > li {
    font-family: var(--font-sans) !important;
    font-size: 0.9em;
    color: #006600;
}

.menu.vertical > li.heading {
    text-transform: uppercase;
    font-weight: bold;
    color: #006600;
}

.menu.vertical > li a:not(.button) {
    color: #006600;
    text-decoration: underline;
}

#mainmenu li {
    font-size: 16px;
}

.listing h2 {
    font-size: 1.2em;
}

.listing h3 {
    font-size: 1.1em;
}

#cookies {
    display: none;
    position: absolute;
    padding: 10px;
    background-color: #FFFFFF;
    border: 1px solid #000;
    font-size: x-small;
    color: #000000;
    bottom: 20px;
    left: 20px;
}

a[rel="external"]::after, .external-link::after, a[rel="external nofollow"]::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 12px;
    margin-right: 0.2em;
    margin-left: -0.2em;
    background: url(/images/external-link.png) no-repeat;
}

.radiobutton label {
    line-height: 32px;
    margin: 0 0 12px 0;
    text-align: right;
}

.os-api-branding {
    position: relative !important;
    bottom: 39px !important;
}


/* -----------------------------------------
   Calendar
----------------------------------------- */
.ajax__calendar_container {
    border: solid 1px #B8B8B8;
    color: #333333;
    background-color: #FFFFFF;
}

.ajax__calendar_day {
    font-size: 14px;
    padding: 6px;
}

.ajax__calendar_hover {
    background-color: #6699FF;
}

.ajax__calendar_invalid {
    text-decoration: line-through;
}

.ajax__calendar_invalid.ajax__calendar_hover {
    background-color: #FFF;
}

.ajax__calendar_invalid:hover {
    color: #666666;
}

.ajax__calendar_header .ajax__calendar_hover {
    background-color: #FFF;
}

.ajax__calendar, div.ajax__calendar_container {
    width: 210px;
    height: 190px;
}

div.ajax__calendar_body {
    height: 145px;
    width: 210px;
    margin: 0;
}

.ajax__calendar_footer {
    font-size: 14px;
    display: none;
}

.ajax__calendar_days table tr td {
    padding: 3px;
}

.ajax__calendar_dayname {
    font-size: 14px;
    font-weight: bold;
}


/* -----------------------------------------
   Calendar icon
----------------------------------------- */

time.icon {
    font-size: 1em; /* change icon size */
    display: block;
    position: relative;
    width: 7em;
    height: 7.9em;
    background-color: #fff;
    margin: 2em auto;
    border-radius: 0.6em;
    box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: rotate(0deg) skewY(0deg);
    -webkit-transform-origin: 50% 10%;
    transform: rotate(0deg) skewY(0deg);
    transform-origin: 50% 10%;
}

time.icon * {
    display: block;
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    font-style: normal;
    text-align: center;
}

time.icon strong {
    position: absolute;
    top: 0;
    padding: 0.4em 0;
    color: #fff;
    background-color: #fd9f1b;
    border-bottom: 1px dashed #f37302;
    box-shadow: 0 2px 0 #fd9f1b;
}

time.icon em {
    position: absolute;
    bottom: 0.3em;
    color: #fd9f1b;
}

time.icon small {
    position: absolute;
    top: 3.3em;
    font-size: 0.8em;
    color: #2f2f2f;
}

time.icon span {
    width: 100%;
    font-size: 2.8em;
    letter-spacing: -0.05em;
    padding-top: 1em;
    color: #2f2f2f;
}

time.icon.small {
    font-size: 0.5em;
    margin: 1em auto;
}

/* Overrides for the compact calendar icon */
time.icon.small span {
    padding-top: 1.4em;
}

time.icon.small small {
    top: 2.6em;
}

time.icon.small em {
    bottom: 0.1em;
}

/* Adjusts heading size on the compact calendar icon */
time.icon.small strong {
    padding: 0em;
    font-size: 1.5em;
}

/* Ensure space between the calendar icon and challenge name */
.challengetile time.icon {
    margin-right: 0.5rem;
}

.photo-album-title {
    margin-bottom: 1.5rem;
}

.photo-album-title__text {
    margin: 0;
    text-align: center;
}

.photo-album-title__pretitle {
    display: block;
    font-size: 0.65em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.photo-album-title__heading {
    display: block;
}

.photo-album-title__subtitle {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.photo-album-title__calendar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-album-title time.icon {
    margin: 0;
}

.photo-album-title time.icon.small {
    font-size: 0.6em;
}

@media screen and (max-width: 39.9375em) {
    .challengetile.grid-x {
        align-items: flex-start;
    }

    .challengetile {
        padding-left: calc(7em + 1.5rem);
        min-height: 10.5rem;
    }

    .challengetile .calendar-cell {
        position: absolute;
        top: 1.25rem;
        left: 1.25rem;
        width: 7em;
        max-width: 7em;
        padding: 0;
        margin: 0;
    }

    .challengetile .calendar-cell time.icon {
        margin: 0;
    }

    .challengetile.grid-x > .cell {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .challengetile .event-name-cell {
        margin-top: 0;
    }

    .challengetile .price-cell,
    .challengetile .availability-cell,
    .challengetile .booking-cell,
    .challengetile .status-cell {
        margin-top: 0.25rem;
    }

    .challengetile .booking-cell {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }

    .challengetile .booking-cell .button {
        margin-top: 0 !important;
    }
}




.pricing-table {
    background-color: #fefefe;
    border: solid 1px #cacaca;
    width: 100%;
    text-align: center;
    list-style-type: none;
    margin-left: 0;
    box-sizing: border-box; /* Include border in computed width to align with hero images */
}

.pricing-table li {
    border-bottom: dotted 1px #cacaca;
    padding: 0.875rem 1.125rem;
}

.pricing-table li:last-child {
    border-bottom: 0;
}

.pricing-table .title {
    background-color: #0a0a0a;
    color: #fefefe;
    border-bottom: 0;
    font-weight: bold;
    font-size: 1.5em;
    margin: -1px -1px 0;
    padding: .3em;
}

.pricing-table .price {
    background-color: #e6e6e6;
    font-size: 2rem;
    border-bottom: 0;
}

.pricing-table .description {
    color: #8a8a8a;
    font-size: 80%;
}

.pricing-table :last-child {
    margin-bottom: 0;
}

.pricing-table .input-number-group {
    justify-content: center;
    align-items: center;
}

progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 140px;
}

progress[value]::-webkit-progress-bar {
    background-color: #ccc;
}

progress[value]::-webkit-progress-value {
    background-image: -webkit-linear-gradient(left, #c60f13, #5da423);
    background-size: 140px 100%;
}


/* Incremental buttons */
.input-number-group {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.input-number-group input[type=number]::-webkit-inner-spin-button,
.input-number-group input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.input-number-group .input-group-button {
    line-height: calc(80px/2 - 5px);
}

.input-number-group .input-number {
    width: 80px;
    padding: 0 12px;
    text-align: center;
    outline: none;
    display: block;
    margin: 0;
}

.input-number-group .input-number,
.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    border: 1px solid #cacaca;
    height: 40px;
    border-radius: 0;
}

.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    display: inline-block;
    width: 40px;
    background: #e6e6e6;
    color: #0a0a0a;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    /* Prevent accidental text highlighting on rapid clicks */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: 2rem;
    font-weight: 400;
}

.input-number-group .input-number-decrement {
    margin-right: 0.3rem;
}

.input-number-group .input-number-increment {
    margin-left: 0.3rem;
}

.input-number-group .input-number-decrement.is-disabled,
.input-number-group .input-number-increment.is-disabled {
    background: #f5f5f5;
    border-color: #dcdcdc;
    color: #8a8a8a;
    cursor: default;
    pointer-events: none;
    opacity: 0.65;
}

.exclusive-countdown {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: 600;
}

.exclusive-countdown-urgent {
    color: #c60f13;
    background-color: #fde2e0;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
}



#jQueryProgressFormBar > div {
    display: block;
    background: green;
    width: 0;
}

    #jQueryProgressFormBar > div.warn {
        background: yellow;
    }

    #jQueryProgressFormBar > div.error {
        background: red;
    }

/* TOGGLE STYLING */
.togglebox {
    margin: 0 0 0;
    box-sizing: border-box;
    font-size: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

    .togglebox input {
        width: 0;
        height: 0;
        position: absolute;
        left: -9999px;
    }

        .togglebox input + label {
            margin: 0;
            padding: 0.75rem 2rem;
            box-sizing: border-box;
            position: relative;
            display: inline-block;
            border: solid 1px #DDD;
            background-color: #FFF;
            font-size: 1rem;
            line-height: 140%;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 0 0 rgba(255, 255, 255, 0);
            transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
        }

            .togglebox input + label:first-of-type {
                border-radius: 6px 0 0 6px;
                border-right: none;
            }

            .togglebox input + label:last-of-type {
                border-radius: 0 6px 6px 0;
                border-left: none;
            }

        .togglebox input:hover + label {
            border-color: #213140;
        }

        .togglebox input:checked + label {
            background-color: #4B9DEA;
            color: #FFF;
            box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
            border-color: #4B9DEA;
            z-index: 1;
        }

        .togglebox input:focus + label {
            outline: dotted 1px #CCC;
            outline-offset: 0.45rem;
        }

/**
 * pretty-checkbox.css
 *
 * A pure CSS library to beautify checkbox and radio buttons
 *
 * Source: https://github.com/lokesh-coder/pretty-checkbox
 * Demo: https://lokesh-coder.github.io/pretty-checkbox
 *
 * Copyright (c) 2017 Lokesh rajendran
 */

.pretty * {
    box-sizing: border-box
}

.pretty input:not([type=checkbox]):not([type=radio]) {
    display: none
}

.pretty {
    position: relative;
    display: inline-block;
    margin-right: 1em;
    /*white-space: nowrap;*/
    line-height: 1
}

    .pretty input {
        position: absolute;
        left: 0;
        top: 0;
        min-width: 1em;
        width: 100%;
        height: 100%;
        z-index: 2;
        opacity: 0;
        margin: 0;
        padding: 0;
        cursor: pointer
    }

    .pretty .state label {
        position: initial;
        display: inline-block;
        font-weight: 400;
        margin: 0;
        text-indent: 1.5em;
        min-width: calc(1em + 2px)
    }

        .pretty .state label:after, .pretty .state label:before {
            content: '';
            width: calc(1em + 2px);
            height: calc(1em + 2px);
            display: block;
            box-sizing: border-box;
            border-radius: 0;
            border: 1px solid transparent;
            z-index: 0;
            position: absolute;
            left: 0;
            top: calc((0% - (100% - 1em)) - 8%);
            background-color: transparent
        }

        .pretty .state label:before {
            border-color: #bdc3c7
        }

    .pretty .state.p-is-hover, .pretty .state.p-is-indeterminate {
        display: none
    }

@-webkit-keyframes zoom {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0)
    }
}

@keyframes zoom {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0)
    }
}

@-webkit-keyframes tada {
    0% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
        -webkit-transform: scale(7);
        transform: scale(7)
    }

    38% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    55% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.5);
        transform: scale(1.5)
    }

    72% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    81% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.24);
        transform: scale(1.24)
    }

    89% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    95% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.04);
        transform: scale(1.04)
    }

    100% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes tada {
    0% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
        -webkit-transform: scale(7);
        transform: scale(7)
    }

    38% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    55% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.5);
        transform: scale(1.5)
    }

    72% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    81% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.24);
        transform: scale(1.24)
    }

    89% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    95% {
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        -webkit-transform: scale(1.04);
        transform: scale(1.04)
    }

    100% {
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@-webkit-keyframes jelly {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }

    30% {
        -webkit-transform: scale3d(.75,1.25,1);
        transform: scale3d(.75,1.25,1)
    }

    40% {
        -webkit-transform: scale3d(1.25,.75,1);
        transform: scale3d(1.25,.75,1)
    }

    50% {
        -webkit-transform: scale3d(.85,1.15,1);
        transform: scale3d(.85,1.15,1)
    }

    65% {
        -webkit-transform: scale3d(1.05,.95,1);
        transform: scale3d(1.05,.95,1)
    }

    75% {
        -webkit-transform: scale3d(.95,1.05,1);
        transform: scale3d(.95,1.05,1)
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }
}

@keyframes jelly {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }

    30% {
        -webkit-transform: scale3d(.75,1.25,1);
        transform: scale3d(.75,1.25,1)
    }

    40% {
        -webkit-transform: scale3d(1.25,.75,1);
        transform: scale3d(1.25,.75,1)
    }

    50% {
        -webkit-transform: scale3d(.85,1.15,1);
        transform: scale3d(.85,1.15,1)
    }

    65% {
        -webkit-transform: scale3d(1.05,.95,1);
        transform: scale3d(1.05,.95,1)
    }

    75% {
        -webkit-transform: scale3d(.95,1.05,1);
        transform: scale3d(.95,1.05,1)
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }
}

@-webkit-keyframes rotate {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-200px) rotate(-45deg);
        transform: translateZ(-200px) rotate(-45deg)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0) rotate(0);
        transform: translateZ(0) rotate(0)
    }
}

@keyframes rotate {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-200px) rotate(-45deg);
        transform: translateZ(-200px) rotate(-45deg)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0) rotate(0);
        transform: translateZ(0) rotate(0)
    }
}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #bdc3c7
    }

    100% {
        box-shadow: 0 0 0 1.5em rgba(189,195,199,0)
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #bdc3c7
    }

    100% {
        box-shadow: 0 0 0 1.5em rgba(189,195,199,0)
    }
}

.pretty.p-default.p-fill .state label:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.pretty.p-default .state label:after {
    -webkit-transform: scale(.6);
    -ms-transform: scale(.6);
    transform: scale(.6)
}

.pretty.p-default input:checked ~ .state label:after {
    background-color: #bdc3c7 !important
}

.pretty.p-default.p-thick .state label:after, .pretty.p-default.p-thick .state label:before {
    border-width: calc(1em / 7)
}

.pretty.p-default.p-thick .state label:after {
    -webkit-transform: scale(.4) !important;
    -ms-transform: scale(.4) !important;
    transform: scale(.4) !important
}

.pretty.p-icon .state .icon {
    position: absolute;
    font-size: 1em;
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    left: 0;
    z-index: 1;
    text-align: center;
    line-height: normal;
    top: calc((0% - (100% - 1em)) - 8%);
    border: 1px solid transparent;
    opacity: 0
}

    .pretty.p-icon .state .icon:before {
        margin: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        line-height: 1
    }

.pretty.p-icon input:checked ~ .state .icon {
    opacity: 1
}

.pretty.p-icon input:checked ~ .state label:before {
    border-color: #5a656b
}

.pretty.p-svg .state .svg {
    position: absolute;
    font-size: 1em;
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    left: 0;
    z-index: 1;
    text-align: center;
    line-height: normal;
    top: calc((0% - (100% - 1em)) - 8%);
    border: 1px solid transparent;
    opacity: 0
}

.pretty.p-svg .state svg {
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1
}

.pretty.p-svg input:checked ~ .state .svg {
    opacity: 1
}

.pretty.p-image .state img {
    opacity: 0;
    position: absolute;
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    top: 0;
    top: calc((0% - (100% - 1em)) - 8%);
    left: 0;
    z-index: 0;
    text-align: center;
    line-height: normal;
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
    transform: scale(.8)
}

.pretty.p-image input:checked ~ .state img {
    opacity: 1
}

.pretty.p-switch input {
    min-width: 2em
}

.pretty.p-switch .state {
    position: relative
}

    .pretty.p-switch .state:before {
        content: '';
        border: 1px solid #bdc3c7;
        border-radius: 60px;
        width: 2em;
        box-sizing: unset;
        height: calc(1em + 2px);
        position: absolute;
        top: 0;
        top: calc((0% - (100% - 1em)) - 16%);
        z-index: 0;
        transition: all .5s ease
    }

    .pretty.p-switch .state label {
        text-indent: 2.5em
    }

        .pretty.p-switch .state label:after, .pretty.p-switch .state label:before {
            transition: all .5s ease;
            border-radius: 100%;
            left: 0;
            border-color: transparent;
            -webkit-transform: scale(.8);
            -ms-transform: scale(.8);
            transform: scale(.8)
        }

        .pretty.p-switch .state label:after {
            background-color: #bdc3c7 !important
        }

.pretty.p-switch input:checked ~ .state:before {
    border-color: #5a656b
}

.pretty.p-switch input:checked ~ .state label:before {
    opacity: 0
}

.pretty.p-switch input:checked ~ .state label:after {
    background-color: #5a656b !important;
    left: 1em
}

.pretty.p-switch.p-fill input:checked ~ .state:before {
    border-color: #5a656b;
    background-color: #5a656b !important
}

.pretty.p-switch.p-fill input:checked ~ .state label:before {
    opacity: 0
}

.pretty.p-switch.p-fill input:checked ~ .state label:after {
    background-color: #fff !important;
    left: 1em
}

.pretty.p-switch.p-slim .state:before {
    height: .1em;
    background: #bdc3c7 !important;
    top: calc(50% - .1em)
}

.pretty.p-switch.p-slim input:checked ~ .state:before {
    border-color: #5a656b;
    background-color: #5a656b !important
}

.pretty.p-has-hover input:hover ~ .state:not(.p-is-hover) {
    display: none
}

.pretty.p-has-hover input:hover ~ .state.p-is-hover {
    display: block
}

    .pretty.p-has-hover input:hover ~ .state.p-is-hover .icon {
        display: block
    }

.pretty.p-has-focus input:focus ~ .state label:before {
    box-shadow: 0 0 3px 0 #bdc3c7
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state:not(.p-is-indeterminate) {
    display: none
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate {
    display: block
}

    .pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate .icon {
        display: block;
        opacity: 1
    }

.pretty.p-toggle .state.p-on {
    opacity: 0;
    display: none
}

.pretty.p-toggle .state .icon, .pretty.p-toggle .state .svg, .pretty.p-toggle .state img, .pretty.p-toggle .state.p-off {
    opacity: 1;
    display: inherit
}

    .pretty.p-toggle .state.p-off .icon {
        color: #bdc3c7
    }

.pretty.p-toggle input:checked ~ .state.p-on {
    opacity: 1;
    display: inherit
}

.pretty.p-toggle input:checked ~ .state.p-off {
    opacity: 0;
    display: none
}

.pretty.p-plain input:checked ~ .state label:before, .pretty.p-plain.p-toggle .state label:before {
    content: none
}

.pretty.p-plain.p-plain .icon {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.pretty.p-round .state label:after, .pretty.p-round .state label:before {
    border-radius: 100%
}

.pretty.p-round.p-icon .state .icon {
    border-radius: 100%;
    overflow: hidden
}

    .pretty.p-round.p-icon .state .icon:before {
        -webkit-transform: scale(.8);
        -ms-transform: scale(.8);
        transform: scale(.8)
    }

.pretty.p-curve .state label:after, .pretty.p-curve .state label:before {
    border-radius: 20%
}

.pretty.p-smooth .icon, .pretty.p-smooth .svg, .pretty.p-smooth label:after, .pretty.p-smooth label:before {
    transition: all .5s ease
}

.pretty.p-smooth input:checked + .state label:after {
    transition: all .3s ease
}

.pretty.p-smooth input:checked + .state .icon, .pretty.p-smooth input:checked + .state .svg, .pretty.p-smooth input:checked + .state img {
    -webkit-animation: zoom .2s ease;
    animation: zoom .2s ease
}

.pretty.p-smooth.p-default input:checked + .state label:after {
    -webkit-animation: zoom .2s ease;
    animation: zoom .2s ease
}

.pretty.p-smooth.p-plain input:checked + .state label:before {
    content: '';
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    transition: all .5s ease
}

.pretty.p-tada:not(.p-default) input:checked + .state .icon, .pretty.p-tada:not(.p-default) input:checked + .state .svg, .pretty.p-tada:not(.p-default) input:checked + .state img, .pretty.p-tada:not(.p-default) input:checked + .state label:after, .pretty.p-tada:not(.p-default) input:checked + .state label:before {
    -webkit-animation: tada .7s cubic-bezier(.25,.46,.45,.94) 1 alternate;
    animation: tada .7s cubic-bezier(.25,.46,.45,.94) 1 alternate;
    opacity: 1
}

.pretty.p-jelly:not(.p-default) input:checked + .state .icon, .pretty.p-jelly:not(.p-default) input:checked + .state .svg, .pretty.p-jelly:not(.p-default) input:checked + .state img, .pretty.p-jelly:not(.p-default) input:checked + .state label:after, .pretty.p-jelly:not(.p-default) input:checked + .state label:before {
    -webkit-animation: jelly .7s cubic-bezier(.25,.46,.45,.94);
    animation: jelly .7s cubic-bezier(.25,.46,.45,.94);
    opacity: 1
}

.pretty.p-jelly:not(.p-default) input:checked + .state label:before {
    border-color: transparent
}

.pretty.p-rotate:not(.p-default) input:checked ~ .state .icon, .pretty.p-rotate:not(.p-default) input:checked ~ .state .svg, .pretty.p-rotate:not(.p-default) input:checked ~ .state img, .pretty.p-rotate:not(.p-default) input:checked ~ .state label:after, .pretty.p-rotate:not(.p-default) input:checked ~ .state label:before {
    -webkit-animation: rotate .7s cubic-bezier(.25,.46,.45,.94);
    animation: rotate .7s cubic-bezier(.25,.46,.45,.94);
    opacity: 1
}

.pretty.p-rotate:not(.p-default) input:checked ~ .state label:before {
    border-color: transparent
}

.pretty.p-pulse:not(.p-switch) input:checked ~ .state label:before {
    -webkit-animation: pulse 1s;
    animation: pulse 1s
}

.pretty input[disabled] {
    cursor: not-allowed;
    display: none
}

    .pretty input[disabled] ~ * {
        opacity: .5
    }

.pretty.p-locked input {
    display: none;
    cursor: not-allowed
}

.pretty input:checked ~ .state.p-primary label:after, .pretty.p-toggle .state.p-primary label:after {
    background-color: #428bca !important
}

.pretty input:checked ~ .state.p-primary .icon, .pretty input:checked ~ .state.p-primary .svg, .pretty.p-toggle .state.p-primary .icon, .pretty.p-toggle .state.p-primary .svg {
    color: #fff;
    stroke: #fff
}

.pretty input:checked ~ .state.p-primary-o label:before, .pretty.p-toggle .state.p-primary-o label:before {
    border-color: #428bca
}

.pretty input:checked ~ .state.p-primary-o label:after, .pretty.p-toggle .state.p-primary-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-primary-o .icon, .pretty input:checked ~ .state.p-primary-o .svg, .pretty input:checked ~ .state.p-primary-o svg, .pretty.p-toggle .state.p-primary-o .icon, .pretty.p-toggle .state.p-primary-o .svg, .pretty.p-toggle .state.p-primary-o svg {
    color: #428bca;
    stroke: #428bca
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-primary-o label:after {
    background-color: #428bca !important
}

.pretty.p-switch input:checked ~ .state.p-primary:before {
    border-color: #428bca
}

.pretty.p-switch.p-fill input:checked ~ .state.p-primary:before {
    background-color: #428bca !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-primary:before {
    border-color: #245682;
    background-color: #245682 !important
}

.pretty input:checked ~ .state.p-info label:after, .pretty.p-toggle .state.p-info label:after {
    background-color: #5bc0de !important
}

.pretty input:checked ~ .state.p-info .icon, .pretty input:checked ~ .state.p-info .svg, .pretty.p-toggle .state.p-info .icon, .pretty.p-toggle .state.p-info .svg {
    color: #fff;
    stroke: #fff
}

.pretty input:checked ~ .state.p-info-o label:before, .pretty.p-toggle .state.p-info-o label:before {
    border-color: #5bc0de
}

.pretty input:checked ~ .state.p-info-o label:after, .pretty.p-toggle .state.p-info-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-info-o .icon, .pretty input:checked ~ .state.p-info-o .svg, .pretty input:checked ~ .state.p-info-o svg, .pretty.p-toggle .state.p-info-o .icon, .pretty.p-toggle .state.p-info-o .svg, .pretty.p-toggle .state.p-info-o svg {
    color: #5bc0de;
    stroke: #5bc0de
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-info-o label:after {
    background-color: #5bc0de !important
}

.pretty.p-switch input:checked ~ .state.p-info:before {
    border-color: #5bc0de
}

.pretty.p-switch.p-fill input:checked ~ .state.p-info:before {
    background-color: #5bc0de !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-info:before {
    border-color: #2390b0;
    background-color: #2390b0 !important
}

.pretty input:checked ~ .state.p-success label:after, .pretty.p-toggle .state.p-success label:after {
    background-color: #5cb85c !important
}

.pretty input:checked ~ .state.p-success .icon, .pretty input:checked ~ .state.p-success .svg, .pretty.p-toggle .state.p-success .icon, .pretty.p-toggle .state.p-success .svg {
    color: #fff;
    stroke: #fff
}

.pretty input:checked ~ .state.p-success-o label:before, .pretty.p-toggle .state.p-success-o label:before {
    border-color: #5cb85c
}

.pretty input:checked ~ .state.p-success-o label:after, .pretty.p-toggle .state.p-success-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-success-o .icon, .pretty input:checked ~ .state.p-success-o .svg, .pretty input:checked ~ .state.p-success-o svg, .pretty.p-toggle .state.p-success-o .icon, .pretty.p-toggle .state.p-success-o .svg, .pretty.p-toggle .state.p-success-o svg {
    color: #5cb85c;
    stroke: #5cb85c
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-success-o label:after {
    background-color: #5cb85c !important
}

.pretty.p-switch input:checked ~ .state.p-success:before {
    border-color: #5cb85c
}

.pretty.p-switch.p-fill input:checked ~ .state.p-success:before {
    background-color: #5cb85c !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-success:before {
    /* colour when checked */
    border-color: #3c9a5f;
    background-color: #3c9a5f !important
}

.pretty input:checked ~ .state.p-warning label:after, .pretty.p-toggle .state.p-warning label:after {
    background-color: #f0ad4e !important
}

.pretty input:checked ~ .state.p-warning .icon, .pretty input:checked ~ .state.p-warning .svg, .pretty.p-toggle .state.p-warning .icon, .pretty.p-toggle .state.p-warning .svg {
    color: #fff;
    stroke: #fff
}

.pretty input:checked ~ .state.p-warning-o label:before, .pretty.p-toggle .state.p-warning-o label:before {
    border-color: #f0ad4e
}

.pretty input:checked ~ .state.p-warning-o label:after, .pretty.p-toggle .state.p-warning-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-warning-o .icon, .pretty input:checked ~ .state.p-warning-o .svg, .pretty input:checked ~ .state.p-warning-o svg, .pretty.p-toggle .state.p-warning-o .icon, .pretty.p-toggle .state.p-warning-o .svg, .pretty.p-toggle .state.p-warning-o svg {
    color: #f0ad4e;
    stroke: #f0ad4e
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-warning-o label:after {
    background-color: #f0ad4e !important
}

.pretty.p-switch input:checked ~ .state.p-warning:before {
    border-color: #f0ad4e
}

.pretty.p-switch.p-fill input:checked ~ .state.p-warning:before {
    background-color: #f0ad4e !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-warning:before {
    border-color: #c77c11;
    background-color: #c77c11 !important
}

.pretty input:checked ~ .state.p-danger label:after, .pretty.p-toggle .state.p-danger label:after {
    background-color: #d9534f !important
}

.pretty input:checked ~ .state.p-danger .icon, .pretty input:checked ~ .state.p-danger .svg, .pretty.p-toggle .state.p-danger .icon, .pretty.p-toggle .state.p-danger .svg {
    color: #fff;
    stroke: #fff
}

.pretty input:checked ~ .state.p-danger-o label:before, .pretty.p-toggle .state.p-danger-o label:before {
    border-color: #d9534f;
}

.pretty input:checked ~ .state.p-danger-o label:after, .pretty.p-toggle .state.p-danger-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-danger-o .icon, .pretty input:checked ~ .state.p-danger-o .svg, .pretty input:checked ~ .state.p-danger-o svg, .pretty.p-toggle .state.p-danger-o .icon, .pretty.p-toggle .state.p-danger-o .svg, .pretty.p-toggle .state.p-danger-o svg {
    color: #d9534f;
    stroke: #d9534f
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-danger-o label:after {
    background-color: #d9534f !important
}

.pretty.p-switch input:checked ~ .state.p-danger:before {
    border-color: #d9534f
}

.pretty.p-switch.p-fill input:checked ~ .state.p-danger:before {
    background-color: #d9534f !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-danger:before {
    border-color: #a02622;
    background-color: #a02622 !important
}

.pretty.p-bigger .icon, .pretty.p-bigger .img, .pretty.p-bigger .svg, .pretty.p-bigger label:after, .pretty.p-bigger label:before {
    font-size: 1.2em !important;
    top: calc((0% - (100% - 1em)) - 35%) !important
}

.pretty.p-bigger label {
    text-indent: 1.7em
}

@media print {
    .pretty .state .icon, .pretty .state label:after, .pretty .state label:before, .pretty .state:before {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact
    }
}

.pretty.p-bigger .icon, .pretty.p-bigger .img, .pretty.p-bigger .svg, .pretty.p-bigger label:after, .pretty.p-bigger label:before {
    top: 4px !important;
}

.pretty.p-svg .state .svg {
    top: 4px;
    left: -1px;
}
.star-rating {
    font-size: 2em;
    cursor: pointer;
}
.fa-star {
    color: #ddd;
    transition: color 0.2s ease;
}
.fa-star:hover,
.fa-star.fas {
    color: #ffd700;
}
.review {
    margin-bottom: 1em;
    padding: 1em;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.tourist-information-map {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.8));
}

.tourist-map-legend {
    background-color: rgba(249, 250, 252, 0.96);
    color: #111827;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(6px);
}

.tourist-map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.tourist-map-legend-item__swatch {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 2px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

.tourist-map-legend-item__icon {
    font-size: 1.1rem;
}

.tourist-map-legend-item__label {
    font-weight: 600;
    letter-spacing: 0.015em;
}

.tourist-information-table tr.is-map-highlight td {
    background-color: #eef4ff !important;
    transition: background-color 0.18s ease;
}

/* Payment Form Styles */
.payment-form {
    margin-top: 1rem;
}

.payment-form input,
.payment-form #card-field,
.payment-form #card-errors {
    margin-bottom: 1rem;
}

.payment-options {
    margin-bottom: 1rem;
}

.payment-submit {
    font-size: 1.2rem;
    padding: 1rem;
    height: auto;
    font-weight: 600;
    margin-top: 1.5rem;
}

.payment-message {
    margin-top: 1rem;
    display: none;
}

.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner-spin 1s linear infinite;
    margin-right: 0.5rem;
}

.hidden {
    display: none;
}

@keyframes spinner-spin {
    to { transform: rotate(360deg); }
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../images/three-peaks-fundraising-group.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-content .lead {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white !important;
}

.hero-content .button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-content .button-group .button {
    background: #f0f0f0;
    color: #333;
    border: none;
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
}

.hero-content .button-group .button:hover {
    background-color: white;
}


/* Survey option styling */
.survey-option-input {
    display: none;
}

.survey-option-label {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
    cursor: pointer;
}

.survey-option-input:checked + .survey-option-label {
    background-color: #3c9a5f;
    color: #fff;
}

/* Lightbox control bar overlay */
#lightbox .lb-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}
#lightbox .image-caption {
    color: #fff;
    margin-left: 0.75rem;
}
#lightbox .lb-caption .thumbnail-control-bar {
    position: static;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}
#lightbox .lb-caption .thumbnail-control-bar .control-icon {
    font-size: 1.5em;
}
#lightbox .lb-dataContainer {
    padding: 0;
    background: none;
}

.feedback-message {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feedback-message.show {
    opacity: 1;
}

/* --- Year Divider Styles --- */
.year-divider {
    position: relative;
    overflow: hidden;
    background-color: #f1f1f1;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    color: transparent;
    background-image: repeating-linear-gradient(-45deg, #f1f1f1 0, #f1f1f1 10px, #e4e4e4 10px, #e4e4e4 20px);
    height: 4rem;
}

tbody tr.year-divider {
    background-color: #f1f1f1;
    background-image: repeating-linear-gradient(-45deg, #f1f1f1 0, #f1f1f1 10px, #e4e4e4 10px, #e4e4e4 20px);
}

.year-divider td {
    border: none;
    background: none;
}

.providers-challenges .year-divider td {
    position: relative;
    height: 4rem;
}

.year-divider .year-tape {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
    pointer-events: none;
}

.year-divider .year-tape span {
    display: inline-block;
    margin: 0 0.5rem;
    transform: rotate(-45deg);
    font-size: 1.5em;
    color: #3c9a5f;
}

.copy-icon {
    cursor: pointer;
}

/* Challenge calendar styles */
.calendar-container {
    margin-bottom: 1rem;
}
.monthly-calendar {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
}
.monthly-calendar caption {
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.monthly-calendar th,
.monthly-calendar td {
    text-align: center;
    padding: 2px;
    width: 14%;
}
.monthly-calendar td {
    vertical-align: top; /* Keep numbers aligned even if no dot */
    height: 2rem; /* Ensure consistent row height */
}
.monthly-calendar td .day-cell {
    display: block;
    width: 100%;
    height: 100%;
}
.monthly-calendar td .dot {
    display: inline-block;
    width: clamp(0.6rem, 1.4vw, 1rem);
    height: clamp(0.6rem, 1.4vw, 1rem);
    border-radius: 50%;
    margin-top: 0.25rem;
}
.monthly-calendar td .dot.available {
    background-color: #65a30d;
}
.monthly-calendar td .dot.limited {
    background-color: #e0a800;
}
.monthly-calendar td .dot.full {
    background-color: #dc2626;
}
.monthly-calendar td .dot.closed {
    background-color: #6b7280;
}
.monthly-calendar td .dot.invisible {
    visibility: hidden;
}

.monthly-calendar td.past-cell .day {
    visibility: hidden;
}

/* Keep calendar rows for past dates at a consistent height on desktop */
.monthly-calendar tr.past-row {
    height: 2rem;
}

@media screen and (max-width: 39.9375em) {
    .monthly-calendar tr.past-row {
        display: none;
    }
}


/* Compact calendar styles */
.compact-calendar .monthly-calendar.compact caption {
    font-size: 0.75rem;
}
.compact-calendar .monthly-calendar.compact th,
.compact-calendar .monthly-calendar.compact td {
    font-size: 0.6rem;
    padding: 1px;
}
.compact-calendar .monthly-calendar.compact td {
    height: 1.4rem;
}
.compact-calendar .monthly-calendar.compact td .dot {
    width: clamp(0.4rem, 1vw, 0.7rem);
    height: clamp(0.4rem, 1vw, 0.7rem);
    margin-top: 0.15rem;
}
@media screen and (max-width: 39.9375em) {
    .compact-calendar {
        display: block;
    }
    .compact-calendar .monthly-calendar.compact td .dot {
        width: clamp(0.6rem, 2vw, 1rem);
        height: clamp(0.6rem, 2vw, 1rem);
    }
}

.calendar-tooltip {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 50;
    display: none;
    font-size: 0.8rem;
    text-align: center;
}

.calendar-tooltip .button {
    margin-top: 0.5rem;
}

.dynamic-calendar-page {
    margin-top: 2rem;
}

.dynamic-calendar {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dynamic-calendar__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.dynamic-calendar__controls .button-group .button {
    min-width: 9rem;
}

.dynamic-calendar__controls .button-group .button.is-active {
    background-color: #1779ba;
    color: #fff;
}

.dynamic-calendar__select {
    min-width: 16rem;
    flex: 1 1 200px;
    margin-bottom: 0;
}

.dynamic-calendar__note {
    font-size: 0.95rem;
    color: #4d4d4d;
    margin-bottom: 1rem;
}

.dynamic-calendar__status {
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.dynamic-calendar__viewport {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.dynamic-calendar__nav {
    align-self: center;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-calendar__nav[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.dynamic-calendar__months {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.dynamic-calendar__month {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-color: #fefefe;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    overflow: hidden;
}

.dynamic-calendar__month caption {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    background-color: #f2f2f2;
}

.dynamic-calendar__month th,
.dynamic-calendar__month td {
    text-align: center;
    padding: 0.35rem;
}

.dynamic-calendar__month thead {
    background-color: #fafafa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dynamic-calendar__day {
    width: 100%;
    min-height: 4.25rem;
    height: 4.25rem;
    border: 1px solid transparent;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    font-weight: 600;
    background-color: transparent;
    color: #222;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dynamic-calendar__day small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dynamic-calendar__day.is-empty,
.dynamic-calendar__day.is-empty:hover,
.dynamic-calendar__day.is-empty:focus {
    cursor: default;
    color: #b0b0b0;
}

.dynamic-calendar__day.is-available {
    border-color: #3adb76;
    background-color: rgba(58, 219, 118, 0.08);
}

.dynamic-calendar__day.is-limited {
    border-color: #ffae00;
    background-color: rgba(255, 174, 0, 0.12);
}

.dynamic-calendar__day.is-full,
.dynamic-calendar__day.is-closed {
    border-color: #cc4b37;
    color: #cc4b37;
    background-color: rgba(204, 75, 55, 0.08);
}

.dynamic-calendar__day.is-unavailable {
    border-color: #999;
    color: #555;
    background-color: rgba(153, 153, 153, 0.12);
}

.dynamic-calendar__day.is-private {
    border-color: #6a4fbf;
    background-color: rgba(106, 79, 191, 0.1);
    color: #3d2a7a;
}

.dynamic-calendar__day.is-past {
    color: #9a9a9a;
}

.dynamic-calendar__day.is-selected {
    box-shadow: 0 0 0 2px rgba(23, 121, 186, 0.4) inset;
}

.dynamic-calendar__day:focus-visible,
.dynamic-calendar__day:focus {
    outline: 2px solid #1779ba;
    outline-offset: 2px;
}

.dynamic-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.legend-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.legend-dot.available { background-color: #3adb76; }
.legend-dot.limited { background-color: #ffae00; }
.legend-dot.full { background-color: #cc4b37; }
.legend-dot.closed { background-color: #999; }
.legend-dot.private { background-color: #6a4fbf; }

.dynamic-calendar__details {
    margin-top: 1.5rem;
    border-top: 1px solid #e6e6e6;
    padding-top: 1rem;
}

.dynamic-calendar__details h3 {
    font-size: 1.25rem;
}

.dynamic-calendar__details .dynamic-calendar__detail-card {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background-color: #fafafa;
}

.dynamic-calendar__details .dynamic-calendar__detail-card .label {
    margin-right: 0.35rem;
}

.dynamic-calendar__private-selector {
    margin-top: 0.75rem;
}

.dynamic-calendar__private-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #4d4d4d;
}

.dynamic-calendar__select--compact {
    min-width: 0;
    width: 100%;
}

.dynamic-calendar__details .button {
    margin-top: 0.5rem;
}

@media screen and (max-width: 640px) {
    .dynamic-calendar__controls {
        flex-direction: column;
        align-items: stretch;
    }

    .dynamic-calendar__select {
        width: 100%;
    }

    .dynamic-calendar__viewport {
        flex-direction: column;
    }

    .dynamic-calendar__nav {
        align-self: flex-end;
    }
}

/* Validation message styling */
.text-danger {
    color: #dc3545;
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.validation-message.callout.alert {
    margin-top: 0.25rem;
    padding: 0.5rem;
    font-size: 0.875rem;
}
.validation-message.callout.alert:empty {
    display: none;
}

/* Booking checkbox validation highlighting */
.pretty.p-svg.p-bigger input[type="checkbox"].input-validation-error + .state {
    box-shadow: 0 0 0 2px rgba(204, 75, 55, 0.6);
    border-radius: 0.5rem;
    background-color: #fbeaea;
}

.pretty.p-svg.p-bigger input[type="checkbox"].input-validation-error + .state label {
    color: #cc4b37;
}

#revolut-pay {
    width: 100%;
}

/* Help text styling */
.help-text {
    margin-top: -0.5rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: #6c757d;
}

.help-text.callout {
    margin-top: 0.25rem;
    font-style: normal;
}

.help-text small {
    color: #6c757d;
}

/* When help text follows an input inside a form group, remove the input's
   bottom margin so the help text sits closer to the field rather than the button below. */
.form-group:has(.help-text) input,
.form-group:has(.help-text) select,
.form-group:has(.help-text) textarea {
    margin-bottom: 0;
}

/* Restore a small positive gap for the help text when used under inputs */
.form-group:has(.help-text) .help-text {
    margin-top: 0.25rem;
}

/* Ensure a clear gap before the next control/button below */
.form-group:has(.help-text) {
    padding-bottom: 1.5rem;
}

/* Payment option selector styles */
.payment-option-selector .button-group {
    margin-bottom: 0.5rem;
}

.payment-option-selector .button {
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.payment-option-selector .button.active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Apple Pay / Payment Request Button container */
#payment-request-button {
    min-height: 40px; /* Maintain height to prevent flicker */
    position: relative;
    transition: opacity 0.2s ease;
}

/* Prevent layout shift when button is loading */
#payment-request-button:empty {
    background-color: #f6f6f6;
    border-radius: 4px;
    display: block;
}

#payment-request-button:empty::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top-color: #999;
    border-radius: 50%;
    animation: payment-button-loading 0.8s linear infinite;
}

@keyframes payment-button-loading {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Stripe Payment Request Button specific styling */
#payment-request-button .StripeElement {
    transition: opacity 0.2s ease;
}

/* Hide the button gracefully during updates */
#payment-request-button.updating {
    opacity: 0.5;
    pointer-events: none;
}

/* Payment form separator */
.separator-or {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.separator-or::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e6e6e6;
}

.separator-or span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background-color: #fff;
    color: #8a8a8a;
    font-size: 0.875rem;
}

/* Stripe Elements styling to match Foundation inputs */
.stripe-element {
    display: block;
    width: 100%;
    height: 2.4375rem;
    padding: 0.5rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a;
    transition: border-color 0.25s ease-in-out, box-shadow 0.5s;
}

/* Autofill detection animation */
@keyframes onAutoFillStart {
    from {/**/}
    to {/**/}
}

:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    --autofill-background: #fefefe;
    --autofill-text: #0a0a0a;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:autofill,
input:autofill:hover,
input:autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:autofill,
textarea:autofill:hover,
textarea:autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:autofill,
select:autofill:hover,
select:autofill:focus {
    animation-name: onAutoFillStart;
    transition: background-color 50000s ease-in-out 0s;
    color: var(--autofill-text) !important;
    -webkit-text-fill-color: var(--autofill-text) !important;
    caret-color: var(--autofill-text);
    background-color: var(--autofill-background) !important;
    background-image: none !important;
    -webkit-box-shadow: 0 0 0 1000px var(--autofill-background) inset !important;
    box-shadow: 0 0 0 1000px var(--autofill-background) inset !important;
}

.stripe-element--focus {
    outline: 0;
    border: 1px solid #8a8a8a;
    background-color: #fefefe;
    box-shadow: 0 0 5px #cacaca;
}

.stripe-element--invalid {
    border-color: #cc4b37;
}

.stripe-element--complete {
    border-color: #3adb76;
}

/* Highlight completed fields in forms */
.field-complete {
    border-color: #28a745;
    background-color: #e6f9e6;
}

/* Ensure autofilled fields also show the success highlight */
.field-complete:-webkit-autofill,
.field-complete:autofill {
    -webkit-box-shadow: 0 0 0px 1000px #e6f9e6 inset !important;
    box-shadow: 0 0 0px 1000px #e6f9e6 inset !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    transition: background-color 0s;
}

/* Tourist information map styles */
#tourist-information-map .base-layer canvas {
    filter: brightness(0.6);
}

.map-tooltip {
    position: absolute;
    padding: 4px;
    font-size: 0.75rem;
    min-width: 0;
    background-color: rgba(255,255,255,0.9);
    color: #222;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

.map-tooltip--info {
    padding: 6px;
    font-size: 0.875rem;
    min-width: 220px;
}

.map-tooltip a {
    color: inherit;
}

.validation-summary-valid {
    display: none;
}

/* Global ASP.NET validation styling */
.validation-summary-errors,
.field-validation-error,
.input-validation-error {
    border: 1px solid #cc4b37;
    background-color: #fbeaea;
}

.has-validation-error label {
    color: #cc4b37;
}

.has-validation-error input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.has-validation-error select,
.has-validation-error textarea {
    border-color: #cc4b37;
    background-color: #fff6f5;
    box-shadow: 0 0 0 1px rgba(204, 75, 55, 0.4);
}

.has-validation-error .help-text {
    color: #cc4b37;
}


.validation-summary-errors,
.field-validation-error {
    padding: 0.5rem;
}

.validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mobile off-canvas menu */
#sidemenu nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#sidemenu .menu-actions {
    margin-top: auto;
}

.waiting-list-actions {
    text-align: center;
}

.waiting-list-invite-form {
    display: inline-flex;
}

.waiting-list-invite-button {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
}

.waiting-list-actions .button.success.expanded {
    margin-bottom: 0;
}

.waiting-list-actions .button.alert.waiting-list-cancel {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 600;
}

/* Inline button spinner for submit actions */
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: tpc-spin .6s linear infinite;
  margin-left: .5rem;
  vertical-align: -0.125em;
}

@keyframes tpc-spin {
  to { transform: rotate(360deg); }
}

/* Kit list callout typography */
.kit-callout {
    padding: 1.15rem 1.25rem;
}

.kit-callout__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.kit-callout__body {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.tabs-content {
    margin-bottom: 1rem;
}

.tabs-content > p {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Off-canvas navigation styling */
#sidemenu,
#sidemenu nav {
    background: #f5f6f8;
    color: #0b2746;
}

#sidemenu nav {
    padding: 0.5rem 0 0 0.5rem;
}

#sidemenu .grid-padding-x,
#sidemenu .grid-padding-y {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#sidemenu .grid-margin-x,
#sidemenu .grid-margin-y {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.offcanvas-primary,
.offcanvas-secondary {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offcanvas-secondary {
    margin-top: 1.2rem;
    border-top: 1px solid rgba(11, 39, 70, 0.15);
    padding-top: 1rem;
}

.offcanvas-primary .menu-text,
.offcanvas-secondary .menu-text {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(11, 39, 70, 0.7);
    margin-bottom: 0.65rem;
}

.offcanvas-primary li + li,
.offcanvas-secondary li + li {
    margin-top: 0.35rem;
}

.offcanvas-primary a:not(.button),
.offcanvas-secondary a:not(.button) {
    color: #0b2746;
    font-weight: 600;
    display: block;
    padding: 0.42rem 0;
    border-radius: 0.3rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.offcanvas-primary a:not(.button):hover,
.offcanvas-primary a:not(.button):focus,
.offcanvas-secondary a:not(.button):hover,
.offcanvas-secondary a:not(.button):focus {
    background: rgba(11, 39, 70, 0.08);
    color: #06172c;
}

.offcanvas-button {
    list-style: none;
    margin: 0.9rem 0 0;
}

.offcanvas-button:first-of-type {
    margin-top: 0.9rem;
}

.offcanvas-button form {
    margin: 0;
}

.offcanvas-button .button {
    width: 100%;
    margin: 0;
}

.offcanvas-divider {
    border-top: 1px solid rgba(11, 39, 70, 0.18);
    margin: 1.3rem 0 0.85rem;
    height: 0;
}

.single-supplement-callout {
    margin-bottom: 1rem;
}

.single-supplement-option {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.single-supplement-option .single-supplement-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.3rem;
}

.single-supplement-count {
    max-width: 100%;
}

.single-supplement-confirmation {
    margin-bottom: 1rem;
}

/* Dark mode overrides merged to avoid separate stylesheet */

@media (prefers-color-scheme: dark) {
    .year-divider {
        background-color: #141923;
        background-image: repeating-linear-gradient(-45deg, #141923 0, #141923 10px, #0d111a 10px, #0d111a 20px);
    }

    .compact-challenge-date {
        background-color: #111827;
        border-color: #1f2937;
        color: #f9fafb;
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
    }

    .compact-challenge-date__date,
    .compact-challenge-date__availability,
    .compact-challenge-date__price,
    .compact-challenge-date__price p,
    .compact-challenge-date__price span {
        color: #f9fafb;
    }

    .compact-challenge-date__availability .label,
    .compact-challenge-date__availability .badge {
        background-color: rgba(59, 130, 246, 0.2);
        border-color: #2563eb;
        color: #e0e7ff;
    }

    .compact-challenge-date__actions .button.secondary,
    .compact-challenge-date__actions .button.secondary:hover,
    .compact-challenge-date__actions .button.secondary:focus {
        background-color: transparent;
        border-color: #374151;
        color: #e5e7eb;
    }

    .waiting-list-link:hover,
    .waiting-list-link:focus {
        color: #93c5fd;
    }

    .separator-or::before {
        background-color: rgba(148, 163, 184, 0.3);
    }

    .separator-or span {
        background-color: #0b131c;
        color: #cfd8ea;
    }

    .stripe-element {
        background-color: #2a2a2a;
        border-color: #444;
        color: #e0e0e0;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
    }

    .stripe-element--focus {
        border-color: #6a9fff;
        box-shadow: 0 0 0 2px rgba(106, 159, 255, 0.3);
        background-color: #2f2f2f;
        color: #f5f5f5;
    }

    .stripe-element--invalid {
        border-color: #f87171;
    }

    .stripe-element--complete {
        border-color: #34d399;
    }

    /* Validation states */
    .validation-message.callout.alert {
        background-color: rgba(127, 29, 29, 0.4);
        border-color: #f87171;
        color: #fde8e8;
    }

    .validation-summary-errors,
    .field-validation-error,
    .input-validation-error {
        background-color: rgba(127, 29, 29, 0.35);
        border-color: #f87171;
        color: #fde8e8;
    }

    .validation-summary-errors ul {
        color: #fde8e8;
    }

    .has-validation-error label,
    .has-validation-error .help-text {
        color: #fecdd3;
    }

    .has-validation-error input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    .has-validation-error select,
    .has-validation-error textarea,
    input.input-validation-error,
    select.input-validation-error,
    textarea.input-validation-error {
        background-color: #1b1215;
        border-color: #f87171;
        box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.45);
        color: #fef2f2;
    }

    .pretty.p-svg.p-bigger input[type="checkbox"].input-validation-error + .state {
        background-color: rgba(127, 29, 29, 0.35);
        box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.55);
    }

    .pretty.p-svg.p-bigger input[type="checkbox"].input-validation-error + .state label {
        color: #fecdd3;
    }

/* Reviews page */
    .reviews-page {
        background: linear-gradient(180deg, #0b131c 0%, #101d2a 100%);
        color: #f6f8fb;
    }

    .reviews-header h1 {
        color: #f6f8fb;
    }

    .reviews-header__summary {
        color: rgba(246, 248, 251, 0.75);
    }

    .reviews-card {
        background: rgba(12, 23, 35, 0.85);
        box-shadow: 0 25px 50px -12px rgba(15, 31, 48, 0.55);
        border: 1px solid rgba(56, 87, 119, 0.4);
    }

    .reviews-card--primary {
        background: linear-gradient(145deg, rgba(16, 40, 66, 0.95) 0%, rgba(12, 24, 38, 0.9) 100%);
        border: 1px solid rgba(86, 139, 197, 0.4);
    }

    .reviews-card__title {
        color: #f6f8fb;
    }

    .reviews-card__subtitle {
        color: rgba(246, 248, 251, 0.75);
    }

    .reviews-card--prompt {
        background: rgba(10, 26, 41, 0.85);
        border: 1px solid rgba(109, 168, 233, 0.35);
    }

    .reviews-card__prompt-text {
        color: rgba(246, 248, 251, 0.8);
    }

    .reviews-form {
        background: rgba(8, 18, 27, 0.7);
        border: 1px solid rgba(70, 105, 145, 0.4);
    }

    .reviews-form__label {
        color: rgba(246, 248, 251, 0.75);
    }

    .reviews-form__textarea,
    .reviews-form__input {
        background: rgba(15, 28, 44, 0.8);
        border: 1px solid rgba(77, 119, 162, 0.5);
        color: #f6f8fb;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .reviews-form__textarea:focus,
    .reviews-form__input:focus {
        border-color: rgba(129, 192, 255, 0.9);
        box-shadow: 0 0 0 2px rgba(129, 192, 255, 0.25);
    }

    .reviews-list__title {
        color: #f6f8fb;
    }

    .review-card {
        background: rgba(9, 20, 30, 0.72);
        border: 1px solid rgba(67, 106, 148, 0.4);
        backdrop-filter: blur(8px);
    }

    .review-card__meta {
        color: rgba(246, 248, 251, 0.65);
    }

    .review-card__body {
        color: rgba(246, 248, 251, 0.85);
    }

    .reviews-list__empty {
        color: rgba(246, 248, 251, 0.7);
        background: rgba(9, 20, 30, 0.6);
        border: 1px solid rgba(60, 94, 132, 0.35);
    }

    /* Copyable input group */
    .copy-input-group .copy-input {
        background-color: #1b1f26;
        border-color: #3b4552;
        color: #f3f4f6;
        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.35);
    }

    .copy-input-group .copy-input:focus,
    .copy-input-group .copy-input:focus-visible {
        border-color: #3fa86d;
        box-shadow: 0 0 0 1px rgba(63, 168, 109, 0.45);
    }

    .copy-input-group.copied .copy-input {
        border-color: #3fa86d;
        box-shadow: 0 0 0 1px rgba(63, 168, 109, 0.6);
        background-color: #1e2530;
    }

    .copy-input-group .copy-feedback {
        background: rgba(63, 168, 109, 0.28);
        border-color: rgba(63, 168, 109, 0.6);
        color: #d7ffe8;
    }

    /* Calendar tooltip */
    .calendar-tooltip {
        background: #333;
        color: #fff;
        border-color: #555;
    }

    /* Dynamic calendar */
    .dynamic-calendar {
        background-color: #0b131c;
        border-color: #1e293b;
        box-shadow: 0 25px 60px rgba(2, 6, 23, 0.65);
    }

    .dynamic-calendar__note,
    .dynamic-calendar__status {
        color: #c7d2fe;
    }

    .dynamic-calendar__controls .button-group .button {
        background-color: rgba(148, 163, 184, 0.08);
        border-color: #27364c;
        color: #e2e8f0;
    }

    .dynamic-calendar__controls .button-group .button.is-active {
        background-color: #2563eb;
        border-color: #3b82f6;
        color: #f8fafc;
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4) inset;
    }

    .dynamic-calendar__select {
        background-color: #0b1220;
        border-color: #1e293b;
        color: #e2e8f0;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
    }

    .dynamic-calendar__nav {
        background-color: rgba(15, 23, 42, 0.85);
        border-color: #1f2937;
        color: #f8fafc;
    }

    .dynamic-calendar__nav:hover:not([disabled]),
    .dynamic-calendar__nav:focus-visible:not([disabled]) {
        background-color: rgba(37, 99, 235, 0.2);
        border-color: #2563eb;
        color: #f8fafc;
    }

    .dynamic-calendar__nav[disabled] {
        color: #475569;
        border-color: #27364c;
        background-color: rgba(15, 23, 42, 0.4);
    }

    .dynamic-calendar__month {
        background-color: rgba(11, 19, 28, 0.92);
        border-color: #1e293b;
    }

    .dynamic-calendar__month caption {
        background-color: rgba(37, 99, 235, 0.12);
        color: #dbeafe;
    }

    .dynamic-calendar__month thead {
        background-color: rgba(148, 163, 184, 0.12);
        color: #94a3b8;
    }

    .dynamic-calendar__month th,
    .dynamic-calendar__month td {
        color: #e2e8f0;
    }

    .dynamic-calendar__day {
        background-color: rgba(15, 23, 42, 0.55);
        border-color: rgba(148, 163, 184, 0.2);
        color: #f1f5f9;
    }

    .dynamic-calendar__day small {
        color: #94a3b8;
    }

    .dynamic-calendar__day.is-empty,
    .dynamic-calendar__day.is-empty:hover,
    .dynamic-calendar__day.is-empty:focus {
        color: #64748b;
    }

    .dynamic-calendar__day.is-available {
        border-color: rgba(16, 185, 129, 0.7);
        background-color: rgba(16, 185, 129, 0.18);
        color: #d1fae5;
    }

    .dynamic-calendar__day.is-limited {
        border-color: rgba(251, 191, 36, 0.7);
        background-color: rgba(251, 191, 36, 0.2);
        color: #fef3c7;
    }

    .dynamic-calendar__day.is-full,
    .dynamic-calendar__day.is-closed {
        border-color: rgba(248, 113, 113, 0.8);
        background-color: rgba(248, 113, 113, 0.2);
        color: #fecaca;
    }

    .dynamic-calendar__day.is-unavailable {
        border-color: rgba(148, 163, 184, 0.4);
        background-color: rgba(148, 163, 184, 0.15);
        color: #94a3b8;
    }

    .dynamic-calendar__day.is-private {
        border-color: rgba(192, 132, 252, 0.8);
        background-color: rgba(192, 132, 252, 0.2);
        color: #ede9fe;
    }

    .dynamic-calendar__day.is-past {
        color: #6b7280;
    }

    .dynamic-calendar__day.is-selected {
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5) inset;
        background-color: rgba(37, 99, 235, 0.1);
    }

    .dynamic-calendar__day:focus-visible,
    .dynamic-calendar__day:focus {
        outline: 2px solid rgba(59, 130, 246, 0.65);
        outline-offset: 2px;
    }

    .dynamic-calendar__legend {
        color: #c7d2fe;
    }

    .legend-dot.closed {
        background-color: #94a3b8;
    }

    .legend-dot.private {
        background-color: #c084fc;
    }

    .dynamic-calendar__details {
        border-top-color: #1e293b;
    }

    .dynamic-calendar__details h3 {
        color: #f8fafc;
    }

    .dynamic-calendar__details .dynamic-calendar__detail-card {
        background-color: rgba(15, 23, 42, 0.78);
        border-color: #27364c;
        color: #e2e8f0;
    }

    .dynamic-calendar__details .dynamic-calendar__detail-card .label {
        color: #a5b4fc;
    }

    .dynamic-calendar__private-label {
        color: #c7d2fe;
    }

    /* Tourist map tooltip text */
    .map-tooltip,
    .map-tooltip a {
        color: #1e1e1e;
    }

    /* Help text and muted text */
    .help-text {
        color: #9E9E9E;
    }

    .help-text small {
        color: #9E9E9E;
    }

    .form-text,
    .text-muted {
        color: #9E9E9E !important;
    }

    /* Autofill palette */
    :root {
        --autofill-background: #2a2a2a;
        --autofill-text: #f5f5f5;
    }

    /* Dark mode styles - CONTAIN ALL DARK THEME STYLES WITHIN THIS SECTION */
    body,
    .grid-container,
    .accordion-title,
    .form-inline,
    .thumbnail-container,
    .challengetile,
    .slick-slider {
        background-color: #121212;
        color: #E0E0E0;
    }

    .accordion-content {
        background-color: #1f1f1f;
        color: #e0e0e0;
        border-color: #333;
    }

    .challengetile:hover {
        background-color: #1A1A1A;
    }

    .manage-tile {
        background-color: #1f1f1f;
        border-color: #444;
    }

    body,
    div,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    ul li,
    ol li,
    label {
        color: #E0E0E0 !important;
    }

    .pricing-table li {
        color: #bdc3c7;
    }

    .pricing-table {
        background-color: #171c26;
        border-color: rgba(148, 163, 184, 0.2);
        box-shadow: 0 18px 36px rgba(2, 6, 23, 0.35);
    }

    a[rel="external"]::after,
    .external-link::after,
    a[rel="external nofollow"]::after {
        background: none;
        background-color: currentColor;
        -webkit-mask-image: url(/images/external-link.png);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: left center;
        -webkit-mask-size: 20px 12px;
        mask-image: url(/images/external-link.png);
        mask-repeat: no-repeat;
        mask-position: left center;
        mask-size: 20px 12px;
    }

    .pricing-table li + li {
        border-top-color: rgba(148, 163, 184, 0.15);
    }

    .pricing-table li:last-child {
        background-color: rgba(11, 33, 52, 0.6);
    }

    .pricing-table .title {
        background: linear-gradient(135deg, rgba(28, 42, 64, 0.95), rgba(18, 31, 48, 0.9));
        color: #f5f8ff;
        border-bottom-color: rgba(148, 163, 184, 0.15);
    }

    .pricing-table .price {
        color: #f8fafc;
        background: none;
        border-bottom-color: rgba(148, 163, 184, 0.12);
    }

    .tourist-information-map {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
        border-color: rgba(148, 163, 184, 0.35) !important;
    }

    .tourist-map-legend {
        background-color: rgba(17, 24, 39, 0.94);
        color: #f8fafc;
        border-color: rgba(148, 163, 184, 0.45);
        box-shadow: 0 18px 36px rgba(2, 6, 23, 0.65);
    }

    .tourist-map-legend-item__swatch {
        border-color: rgba(226, 232, 240, 0.55);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    }

    .tourist-information-table tr.is-map-highlight td {
        background-color: rgba(59, 130, 246, 0.22) !important;
    }

    .button,
    .input-number-group .input-number-decrement,
    .input-number-group .input-number-increment,
    .togglebox label,
    .pricing-table .title,
    .ajax__calendar_hover,
    .slick-prev:before,
    .slick-next:before {
        background-color: #333;
        color: #FFF;
        border-color: #444;
    }

    .text-link-button {
        color: #4CAF50;
        background: none;
        border: none;
    }

    .hero-image-container,
    .custom-hero-image,
    .thumbnail-container {
        background-color: #1b1f27;
    }

    .hero-image-container.loading::before,
    .custom-hero-image.loading::before,
    .thumbnail-container.loading::before {
        background: linear-gradient(90deg, #272c36 0%, #353b48 50%, #272c36 100%);
    }

    .thumbnail-caption {
        background: rgba(0, 0, 0, 0.7);
    }

    .feedback-button {
        background-color: unset;
    }

    tbody,
    tfoot,
    thead {
        background-color: #2E2E2E;
    }

    tbody tr:nth-child(2n) {
        background-color: #3A3A3A;
    }

    table.hover tbody tr:hover {
        background-color: #4D4D4D;
    }

    table.hover:not(.unstriped) tr:nth-of-type(2n):hover {
        background-color: #4D4D4D;
    }

    table.hover thead tr:hover {
        background-color: #4D4D4D;
    }

    thead tr {
        background-color: #333;
    }

    thead th {
        color: #E0E0E0;
    }

    #Body_cphBody_wzBooking tbody td,
    #Body_cphBody_wzBooking table tbody,
    #cphBody_wzReg tbody td,
    #cphBody_wzReg table tbody,
    #cphBody_wzPayment tbody td,
    #cphBody_wzPayment table tbody {
        background-color: #2E2E2E;
    }

    tbody tr.year-divider {
        background-color: #333 !important;
        background-image: repeating-linear-gradient(-45deg, #333 0, #333 10px, #444 10px, #444 20px) !important;
    }

    .tabs-content {
        background: #2E2E2E;
    }

    .tabs {
        background: #2E2E2E;
    }

    .tabs-title>a:focus,
    .tabs-title>a[aria-selected="true"] {
        background: #3A3A3A;
        color: #bdc3c7;
    }

    .challengetile .registration-id {
        color: #065f46 !important;
    }

    .feedback-button[data-response="true"]:hover,
    .feedback-button[data-response="true"]:focus {
        background-color: #198754;
    }

    .feedback-button[data-response="false"]:hover,
    .feedback-button[data-response="false"]:focus {
        background-color: #dc3545;
    }

    .button.success,
    .label.success {
        background-color: #3c9a5f;
        color: #FFF;
    }

    .button.primary,
    .label.primary {
        background-color: #1779ba;
        color: #FFF;
    }

    .button.secondary,
    .label.secondary {
        background-color: #767676;
        color: #FFF;
    }

    .button.warning,
    .label.warning {
        background-color: #ffae00;
        color: #0a0a0a;
    }

    .button.alert,
    .label.alert {
        background-color: #cc4b37;
        color: #FFF;
    }

    .booking-filter-label:hover,
    .booking-filter-label:focus {
        background-color: #3ebf77;
        color: #ffffff;
        box-shadow: 0 0 0 1px rgba(62, 191, 119, 0.45);
    }

    .booking-filter-label:focus-visible {
        outline: 2px solid #3ebf77;
        outline-offset: 2px;
    }

    .menu a:hover,
    .menu a.active,
    ul.menu.vertical li a:hover,
    ul.menu.vertical li a.active {
        background-color: #1A1A1A;
    }

    .text-link-button:hover,
    .text-link-button:focus,
    body a,
    .side-nav li a {
        color: #4CAF50;
        text-decoration: underline;
    }

    .form-inline input,
    .form-inline button,
    .input-number-group input[type=number] {
        background-color: #2C2C2C;
        color: #FFF;
        border-color: #444;
    }

    .breadcrumbs ol li a,
    .breadcrumbs ul li a,
    .menu.vertical>li,
    .menu.vertical>li a:not(.button) {
        color: #9E9E9E;
    }

    .top-bar,
    .top-bar ul {
        background-color: #333;
    }

    .ajax__calendar_container,
    .pricing-table,
    .ajax__calendar_day,
    .ajax__calendar_header .ajax__calendar_hover,
    .ajax__calendar_invalid:hover {
        background-color: #222;
        color: #CCC;
    }

    progress[value]::-webkit-progress-bar {
        background-color: #555;
    }

    progress[value]::-webkit-progress-value {
        background-image: linear-gradient(to right, #0d6efd, #6610f2);
    }

    #jQueryProgressFormBar>div,
    #jQueryProgressFormBar>div.warn,
    #jQueryProgressFormBar>div.error {
        background-color: #444;
    }

    .fieldset,
    .divider,
    hr {
        border-color: #333;
    }

    .time.icon strong,
    .pricing-table .price {
        background-color: #666;
    }

    .pretty.p-switch input:checked~.state label:after {
        background-color: #4CAF50;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    textarea,
    select {
        background-color: #2a2a2a;
        color: #e0e0e0;
        border-color: #444;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="number"]:focus,
    input[type="date"]:focus,
    input[type="tel"]:focus,
    textarea:focus,
    select:focus {
        background-color: #2a2a2a;
        color: #e0e0e0;
        border-color: #6a9fff;
        box-shadow: 0 0 0 2px rgba(106, 159, 255, 0.3);
    }

    input::placeholder,
    textarea::placeholder {
        color: #888;
    }

    input[disabled],
    textarea[disabled],
    select[disabled] {
        background-color: #1a1a1a;
        color: #666;
    }

    .input-group-label {
        background-color: #333;
        color: #e0e0e0;
        border-color: #444;
    }

    .callout {
        background-color: #222;
    }

    .callout.secondary {
        background-color: #1a1a1a;
    }

    .card-section {
        background-color: #2E2E2E;
    }

    .card-divider {
        background-color: #262626;
    }

    table.unstriped tbody tr {
        background-color: #2E2E2E;
    }

    table tbody tr {
        background-color: #2E2E2E;
    }

    table.stack,
    table.stack tbody tr,
    table.stack.unstriped tbody tr {
        background-color: #1f1f1f;
    }

    table.stack.unstriped tbody tr:nth-child(2n) {
        background-color: #242424;
    }

    table.stack thead th,
    table.stack tbody td,
    table.stack tbody th {
        border-color: #333;
    }

    .callout.success {
        background-color: #15261E;
        border-color: #256B3D;
    }

    .callout.warning {
        background-color: #3A2B1B;
        border-color: #F57C00;
    }

    .callout.alert {
        background-color: #3A1B1B;
        border-color: #D32F2F;
    }

    .callout.info {
        background-color: #1B2B3A;
        border-color: #1976D2;
    }

    .callout.primary {
        background-color: #1B1B3A;
        border-color: #3F51B5;
    }

    .callout.secondary {
        background-color: #2B2B2B;
        border-color: #3F3F3F;
    }

    .callout.secondary h4,
    .callout.secondary p {
        color: #e0e0e0;
    }

    .accordion-title:hover,
    .accordion-title:focus {
        background-color: #2b2b2b;
    }

    .accordion-title:hover::before,
    .accordion-title:focus::before {
        border-color: #fff;
    }

    .button.hollow {
        border-color: #999;
        color: #f0f0f0;
    }

    .button.hollow:hover,
    .button.hollow:focus {
        border-color: #FFF;
        color: #FFF;
    }

    .label {
        color: #fff;
    }

    .offcanvas,
    .off-canvas {
        background-color: #1f1f1f;
    }

    .offcanvas .menu a,
    .offcanvas .menu a:hover,
    .offcanvas .menu a:focus {
        color: #f3f3f3;
    }

    .offcanvas .menu a:hover,
    .offcanvas .menu a:focus {
        background-color: rgba(255, 255, 255, 0.08);
    }

    .offcanvas-close {
        color: #fdfdfd;
    }

    .api-endpoint-card {
        background: rgba(12, 23, 35, 0.85);
        border: 1px solid rgba(56, 87, 119, 0.4);
    }

    .api-endpoint-card h3 {
        color: #f6f8fb;
    }

    .api-endpoint-card p {
        color: rgba(246, 248, 251, 0.75);
    }

    .api-endpoint-card code {
        background: rgba(8, 18, 27, 0.7);
        border: 1px solid rgba(70, 105, 145, 0.4);
        color: #f6f8fb;
    }

    .feedback-form {
        background: rgba(12, 20, 28, 0.75);
        border: 1px solid rgba(51, 65, 85, 0.6);
        box-shadow: 0 20px 40px rgba(2, 10, 18, 0.55);
    }

    .feedback-form__title,
    .feedback-form__subtitle {
        color: #f8fafc;
    }

    .feedback-form__field label {
        color: rgba(226, 232, 240, 0.8);
    }

    #sidemenu,
    #sidemenu nav {
        background: linear-gradient(155deg, #0b2746, #133f69);
        color: #f5f8ff !important;
    }

    #sidemenu nav {
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    }

    #sidemenu .menu > li > a {
        color: #fdfdff;
    }

    #sidemenu .menu > li > a:hover,
    #sidemenu .menu > li > a:focus {
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }

    .offcanvas-primary .menu-text,
    .offcanvas-secondary .menu-text {
        color: rgba(255, 255, 255, 0.72);
    }

    .offcanvas-secondary {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .offcanvas-primary a:not(.button),
    .offcanvas-secondary a:not(.button) {
        color: #fdfdff;
    }

    .offcanvas-primary a:not(.button):hover,
    .offcanvas-primary a:not(.button):focus,
    .offcanvas-secondary a:not(.button):hover,
    .offcanvas-secondary a:not(.button):focus {
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }

    .offcanvas-divider {
        border-top-color: rgba(255, 255, 255, 0.24);
    }

    .hover.admin a,
    .hover.admin a:visited {
        color: #e5f1ff;
    }

    .hover.admin a:hover,
    .hover.admin a:focus {
        color: #9fd2ff;
    }

    .hover.admin a:active {
        color: #76c0ff;
    }

    .reveal {
        background-color: rgba(18, 24, 35, 0.96);
        color: #f1f5f9;
        border-color: rgba(148, 163, 184, 0.35);
        box-shadow: 0 35px 65px rgba(2, 6, 23, 0.85);
    }

}
.share-link-helper {
    margin-top: 0.5rem;
}

.share-link-helper .share-link-help-text {
    margin-top: 0.25rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.share-link-modal,
.manage-participant-modal {
    max-width: 32rem;
    position: fixed;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.participant-actions {
    margin-bottom: 1rem;
}

.participant-review-form {
    display: inline-block;
    margin-right: 0.75rem;
}

.participant-reviewed-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.participant-reviewed-icon {
    color: #2ecc71;
    margin-left: 0.35rem;
    font-size: 0.95rem;
}

.participant-reviewed-label .participant-reviewed-icon {
    margin-left: 0;
    margin-right: 0.35rem;
}
.y3p-mapbox-card {
    background: #fffcf3;
    border: 1px solid #d9d4c5;
    border-radius: 0.85rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    padding: 1.75rem;
    margin-top: 2rem;
}

.y3p-mapbox-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: #7a7368;
    margin-bottom: 0.3rem;
}

.y3p-mapbox-route {
    height: 32rem;
    border: 2px dashed #cec7b7;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f5f2e8;
}

.y3p-mapbox-route canvas {
    filter: grayscale(0.9) contrast(1.15) brightness(1.05);
}

.y3p-mapbox-footnote {
    font-size: 0.875rem;
    color: #5f5a50;
    margin-top: 1rem;
}

.y3p-mapbox-warning.is-hidden {
    display: none;
}

.os-night-map {
    min-height: 28rem;
    border: 1px solid #d5d7de;
    border-radius: 0.75rem;
    background: #020617;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.os-night-status {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.os-night-status[data-tone="success"] {
    color: #15803d;
}

.os-night-status[data-tone="error"] {
    color: #b91c1c;
}

.charity-logo-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.charity-logo-thumb {
    max-height: 64px;
    max-width: min(140px, 100%);
    object-fit: contain;
    background: #ffffff;
    border-radius: 4px;
    padding: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.charity-logo-thumb--large {
    max-height: 120px;
    max-width: 240px;
}

.charity-logo-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: inherit;
}

.charity-challenges .challengetile .calendar-cell {
    text-align: left;
}

.charity-challenges .challengetile .calendar-cell time.icon {
    margin: 0;
}

.agentic-feed-preview {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
