/* (c) amuhr design */
.ts-booking {
    --ts-accent: var(--wp--preset--color--cb-orange, #ef7d00);
    --ts-ink: var(--wp--preset--color--cb-black, #212529);
    --ts-muted: #5c6070;
    --ts-surface: var(--wp--preset--color--cb-white, #fff);
    --ts-line: #e1e4ef;
    --ts-radius: 14px;
    margin-block: var(--wp--preset--spacing--l, 2.5rem)
}

.ts-booking__notice {
    max-width: 42rem;
    padding: var(--wp--preset--spacing--l, 2.5rem);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius);
    background-color: var(--ts-surface);
    text-align: center;
    text-wrap: balance;
    margin: auto
}

.ts-booking__headline {
    margin-block: 0 var(--wp--preset--spacing--s, 1rem);
    color: var(--ts-ink)
}

.ts-booking__text {
    color: var(--ts-muted);
    margin-block-end: var(--wp--preset--spacing--m, 1.5rem);
    line-height: 1.5
}

.ts-booking__legal {
    margin-block: var(--wp--preset--spacing--s, 1rem) 0;
    color: var(--ts-muted);
    font-size: .8125rem
}

.ts-booking__error {
    margin-block: var(--wp--preset--spacing--s, 1rem) 0;
    color: var(--wp--preset--color--cb-rot, #da0e29);
    font-weight: 600
}

.ts-booking__target:focus {
    outline: none
}

.ts-booking__start {
    --bs-btn-color: #212529;
    --bs-btn-bg: #f4f5fb;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #f4f5fb;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #f4f5fb;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #f4f5fb;
    --bs-btn-disabled-border-color: transparent;
    --cb-gradient-neg: linear-gradient(-20deg, #ef7d00, #da0e29);
    z-index: 0;
    border: 1px solid var(--bs-btn-color);
    min-height: 2.75rem;
    color: var(--bs-btn-color);
    cursor: pointer;
    background: 0 0;
    border-radius: 2rem;
    justify-content: center;
    align-items: center;
    margin-block-end: 1rem;
    padding: .9rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all .15s;
    display: inline-flex;
    position: relative;
    overflow: hidden
}

.ts-booking__start:before {
    content: "";
    z-index: -1;
    background: var(--cb-gradient-neg);
    transform-origin: 100%;
    border-radius: .4rem;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    position: absolute;
    inset: 0;
    transform: scaleX(0)
}

.ts-booking__start:hover:before,
.ts-booking__start:focus-visible:before {
    transform-origin: 0;
    transform: scaleX(1)
}

.ts-booking__start:hover,
.ts-booking__start:focus-visible {
    border-color: var(--ts-accent);
    color: #fff
}

.ts-booking__start:focus-visible {
    outline-offset: 3px;
    outline: 3px solid #f4f5fb
}

.ts-booking__start:active {
    transform: translateY(1px)
}

.ts-booking__start:disabled,
.ts-booking__start[aria-busy=true] {
    opacity: .75;
    cursor: progress
}

.ts-booking__start:disabled:before,
.ts-booking__start[aria-busy=true]:before {
    transform: scaleX(0)
}

.ts-booking.is-loading .ts-booking__start {
    opacity: .6;
    cursor: progress
}

.ts-booking__heading {
    opacity: 0;
    margin: 0 0 1.25rem;
    transition: opacity .5s cubic-bezier(.4, 0, .2, 1) .1s, transform .5s cubic-bezier(.4, 0, .2, 1) .1s;
    transform: translateY(-.5rem)
}

.ts-booking.is-ready .ts-booking__heading,
.ts-booking--direct .ts-booking__heading {
    opacity: 1;
    transform: none
}

timesloth-events {
    gap: var(--wp--preset--spacing--m, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    display: grid
}

.timesloth-event {
    padding: var(--wp--preset--spacing--m, 1.5rem);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius);
    background-color: var(--ts-surface);
    color: inherit;
    flex-direction: column;
    text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    display: flex
}

.timesloth-event img {
    width: 8rem;
    height: 8rem;
    margin-block-end: var(--wp--preset--spacing--s, 1rem);
    transition: transform .2s
}
#main img.timesloth-image {
    width: 8rem;
    height: 8rem;
    max-width: 8rem;
    max-height: 8rem;
}

.timesloth-event:hover,
.timesloth-event:focus-visible {
    border-color: color-mix(in srgb, var(--ts-accent) 45%, var(--ts-line));
    transform: translateY(-3px);
    box-shadow: 0 10px 28px #21252917
}

.timesloth-event:focus-visible {
    outline: 2px solid var(--ts-accent);
    outline-offset: 3px
}

.timesloth-event:hover img {
    transform: scale(1.08)
}

.timesloth-image[src*=default-thumbnail] {
    display: none
}

.timesloth-image {
    aspect-ratio: 16/10;
    width: 100%;
    height: auto;
    border-radius: calc(var(--ts-radius) - 6px);
    object-fit: cover;
    margin-block-end: var(--wp--preset--spacing--s, 1rem);
    display: block
}

.timesloth-text {
    flex-direction: column;
    flex: 1;
    display: flex
}

.timesloth-heading {
    color: var(--ts-ink);
    font-family: var(--wp--preset--font-family--semplicitapro, inherit);
    text-wrap: balance;
    margin-block: 0 .5rem;
    font-size: 1.1875rem;
    line-height: 1.3
}

.timesloth-text p {
    margin-block: 0 var(--wp--preset--spacing--m, 1.5rem);
    color: var(--ts-muted);
    text-wrap: pretty;
    font-size: .9375rem;
    line-height: 1.5
}

.timesloth-text strong {
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    position: absolute !important;
    overflow: hidden !important
}

#timesloth-modal-backdrop#timesloth-modal-backdrop {
    background-color: #00000080
}

@media (width>=540px) {
    #timesloth-modal-content#timesloth-modal-content {
        border-radius: 1rem;
        box-shadow: 0 11px 15px -7px #0003, 0 24px 38px 3px #00000024, 0 9px 46px 8px #0000001f
    }
}

#timesloth-skeleton-toolbar,
#timesloth-skeleton-button {
    background-image: linear-gradient(90deg, #ef7d0014 25%, #ef7d0029 37%, #ef7d0014 63%);
    background-size: 400% 100%;
    animation: 1.4s infinite ts-skeleton
}

@keyframes ts-skeleton {
    0% {
        background-position: 100%
    }

    to {
        background-position: 0
    }
}

@media (prefers-reduced-motion:reduce) {

    .ts-booking *,
    .ts-booking :before,
    .ts-booking :after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important
    }

    .timesloth-event:hover,
    .ts-booking__start:active {
        transform: none
    }

    .ts-booking__start:hover:before,
    .ts-booking__start:focus-visible:before {
        transform: scaleX(1)
    }

    #timesloth-skeleton-toolbar,
    #timesloth-skeleton-button {
        animation: none
    }
}