/* Schedule a Tour
------------------------------------ */
body.schedule-tour-open { overflow: hidden; }

.schedule-tour[hidden],
.schedule-tour [hidden] { display: none !important; }

.schedule-tour {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 2.4rem;
    position: fixed;
    z-index: 10000;
}

.schedule-tour__backdrop {
    background: rgba(0, 20, 48, .76);
    inset: 0;
    position: absolute;
}

.schedule-tour__layout {
    margin: 0 auto;
    max-width: 72rem;
    position: relative;
    width: 100%;
}

.schedule-tour__grid-column {
    width: 100%;
}

.schedule-tour__dialog {
    background: var(--main-white, #fff);
    border-radius: .8rem;
    box-shadow: 0 2.4rem 7rem rgba(0, 20, 48, .28);
    color: var(--font-black, #212721);
    max-height: calc(100vh - 4.8rem);
    overflow-y: auto;
    padding: 4.8rem;
    position: relative;
    width: 100%;
}

.schedule-tour--standalone {
    align-items: stretch;
    background: #032a5b;
    inset: auto;
    min-height: 100vh;
    overflow: hidden;
    padding: 10rem 0;
    position: relative;
    z-index: auto;
}

.schedule-tour--standalone::before,
.schedule-tour--standalone::after {
    background: rgba(0, 20, 48, .17);
    content: '';
    height: 130%;
    pointer-events: none;
    position: absolute;
    top: -18%;
    transform: rotate(-38deg);
    width: 25%;
}

.schedule-tour--standalone::before { left: 34%; }
.schedule-tour--standalone::after { left: 58%; }

.schedule-tour--standalone .schedule-tour__layout {
    display: grid;
    grid-template-columns: minmax(54rem, 55%) minmax(0, 45%);
    max-width: none;
    min-height: calc(100vh - 10rem);
    width: 100%;
    z-index: 1;
}

.schedule-tour--standalone > .row,
.schedule-tour--standalone .schedule-tour__grid-column {
    min-height: calc(100vh - 10rem);
}

.schedule-tour--standalone .schedule-tour__grid-column {
    display: flex;
}

.schedule-tour--standalone .schedule-tour__dialog {
    align-self: start;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    max-height: none;
    overflow: visible;
    padding: 5.2rem 8.3333333333% 10rem 0;
}

.schedule-tour__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--main-blue, #002e6d);
    display: flex;
    font-size: 3.2rem;
    height: 4.4rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 1.6rem;
    top: 1.2rem;
    width: 4.4rem;
}
.schedule-tour__property-details {
    border-top: 1px solid rgba(255, 255, 255, .22);
    padding-top: 3rem;
}
.schedule-tour__heading {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    margin-bottom: 3.2rem;
    padding-bottom: 2.4rem;
    padding-right: 3.2rem;
}

.schedule-tour--standalone .schedule-tour__heading {
    border-color: rgba(255, 255, 255, .22);
    margin-bottom: 4.4rem;
    padding: 0 0 3rem;
}

.schedule-tour__eyebrow {
    color: var(--secondary-blue, #023882);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}

.schedule-tour--standalone .schedule-tour__eyebrow {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .3rem;
}

.schedule-tour h1,
.schedule-tour h2 {
    color: var(--main-blue, #002e6d);
    font-size: 3.6rem;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.schedule-tour--standalone h1 {
    color: #ffa46b;
    font-size: clamp(4rem, 4.2vw, 6.4rem);
    letter-spacing: -.01em;
}

.schedule-tour h3 {
    color: var(--main-blue, #002e6d);
    font-size: 2.4rem;
    line-height: 1.25;
    margin: 0 0 1.6rem;
}

.schedule-tour__property-details {
    display: grid;
    font-size: 1.6rem;
    gap: 2.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    line-height: 1.55;
    margin-top: 1.5rem;
}

.schedule-tour__property-details address,
.schedule-tour__property-details p {
    font-style: normal;
    margin: 0;
}

.schedule-tour__property-details a {
    color: inherit;
    display: block;
}

.schedule-tour__selection {
    color: var(--secondary-blue, #023882);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 2.4rem;
}

.schedule-tour--standalone .schedule-tour__selection { color: #fff; }
.schedule-tour__selection:empty { display: none; }

.schedule-tour__panel {
    background: #fff;
    border-radius: .4rem;
    color: var(--font-black, #212721);
    padding: 4rem;
}

.schedule-tour:not(.schedule-tour--standalone) .schedule-tour__panel { padding: 0; }

.schedule-tour__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 3.2rem;
}

.schedule-tour__next {
    align-items: center;
    border: 0;
    display: inline-flex;
    gap: 1.2rem;
    justify-content: center;
    line-height: 1;
    min-width: 10.8rem;
}

.schedule-tour__next:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.schedule-tour__next-arrow {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    position: relative;
    top: -.2rem;
}

.schedule-tour__notice {
    background: #fff1ee;
    border-left: .4rem solid #b42318;
    color: #7a271a;
    font-size: 1.5rem;
    line-height: 1.45;
    margin-bottom: 2.4rem;
    padding: 1.4rem 1.6rem;
}

.schedule-tour__help {
    font-size: 1.5rem;
    margin: -.8rem 0 2.4rem;
}

.schedule-tour__state--loading,
.schedule-tour__result {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 24rem;
    text-align: center;
}

.schedule-tour__state--loading p,
.schedule-tour__result p {
    font-size: 1.6rem;
    line-height: 1.5;
}

.schedule-tour__result [data-tour-retry] {
    color: #fff;
    margin-top: 2.4rem;
    min-width: 13rem;
}

@media only screen and (min-width: 961px) and (hover: hover) {
    .schedule-tour__result [data-tour-retry]:hover {
        background-color: #fff;
        border-color: var(--main-blue, #002e6d);
        color: var(--main-blue, #002e6d);
    }
}

.schedule-tour__spinner {
    animation: schedule-tour-spin .8s linear infinite;
    border: .4rem solid rgba(0, 46, 109, .18);
    border-radius: 50%;
    border-top-color: var(--main-blue, #002e6d);
    height: 4.8rem;
    margin-bottom: 1.6rem;
    width: 4.8rem;
}

@keyframes schedule-tour-spin { to { transform: rotate(360deg); } }

.schedule-tour__calendar-input {
    height: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 0;
}

.schedule-tour__calendar .flatpickr-calendar {
    box-shadow: none;
    margin: 0 auto;
    width: 100%;
}

.schedule-tour__calendar .flatpickr-months {
    align-items: center;
    height: 6.4rem;
    margin-bottom: 2.4rem;
    position: relative;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-month {
    color: var(--main-blue, #002e6d);
    fill: var(--main-blue, #002e6d);
    height: 6.4rem;
    overflow: visible;
}

.schedule-tour__calendar .flatpickr-current-month {
    align-items: center;
    display: flex;
    font-size: 2.8rem;
    font-weight: 700;
    height: 6.4rem;
    justify-content: center;
    left: 50%;
    line-height: 1;
    padding: 0;
    transform: translateX(-50%);
    text-transform: uppercase;
    white-space: nowrap;
    width: auto;
}

.schedule-tour__calendar .flatpickr-current-month span.cur-month,
.schedule-tour__calendar .flatpickr-current-month input.cur-year {
    color: var(--main-blue, #002e6d);
    font: 700 2.8rem/1 var(--museo-font, Arial, sans-serif);
}

.schedule-tour__calendar .flatpickr-current-month span.cur-month {
    margin-left: 0;
}

.schedule-tour__calendar .flatpickr-current-month .numInputWrapper {
    flex: 0 0 8.2rem;
    pointer-events: none;
    width: 8.2rem;
}

.schedule-tour__calendar .flatpickr-current-month .numInputWrapper span {
    display: none;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-prev-month,
.schedule-tour__calendar .flatpickr-months .flatpickr-next-month {
    align-items: center;
    display: flex;
    height: 6.4rem;
    padding: 0 1.2rem;
    top: 0;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-prev-month {
    left: 13%;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-next-month {
    right: 13%;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-prev-month svg,
.schedule-tour__calendar .flatpickr-months .flatpickr-next-month svg {
    height: 1.8rem;
    width: 1.8rem;
}

.schedule-tour__calendar .flatpickr-months .flatpickr-prev-month svg path,
.schedule-tour__calendar .flatpickr-months .flatpickr-next-month svg path {
    fill: var(--main-blue, #002e6d);
}

.schedule-tour__calendar .flatpickr-weekdays {
    height: 4rem;
    margin-bottom: 1.2rem;
}

.schedule-tour__calendar span.flatpickr-weekday {
    color: #565656;
    font-size: 1.5rem;
    font-weight: 700;
}

.schedule-tour__calendar .flatpickr-rContainer,
.schedule-tour__calendar .flatpickr-days,
.schedule-tour__calendar .dayContainer {
    max-width: none;
    width: 100%;
}

.schedule-tour__calendar .flatpickr-day {
    border-radius: 0;
    font-size: 1.6rem;
    height: 4.4rem;
    line-height: 4.4rem;
    max-width: none;
}

.schedule-tour__calendar .flatpickr-day.selected,
.schedule-tour__calendar .flatpickr-day.selected:hover,
.schedule-tour__calendar .flatpickr-day.selected:focus {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #393939;
}

.schedule-tour__calendar .flatpickr-day.selected::after {
    background: #48abe0;
    bottom: .2rem;
    content: '';
    height: .3rem;
    left: 50%;
    max-width: 65%;
    position: absolute;
    transform: translateX(-50%);
    width: 4.2rem;
}

.schedule-tour__calendar .flatpickr-day.today,
.schedule-tour__calendar .flatpickr-day.today:hover,
.schedule-tour__calendar .flatpickr-day.today:focus {
    border-color: transparent;
}

.schedule-tour__calendar .flatpickr-day.flatpickr-disabled,
.schedule-tour__calendar .flatpickr-day.flatpickr-disabled:hover {
    color: #aaa;
}

.schedule-tour__date-fallback,
.schedule-tour__times button {
    background: #fff;
    border: .2rem solid var(--main-blue, #002e6d);
    border-radius: .4rem;
    color: var(--main-blue, #002e6d);
    font: 700 1.5rem/1.2 var(--museo-font, Arial, sans-serif);
    min-height: 4.8rem;
    padding: 1.2rem 1.6rem;
}

.schedule-tour__calendar--fallback,
.schedule-tour__time-options {
    display: grid;
    gap: 1.2rem;
}

.schedule-tour__calendar--fallback { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schedule-tour__time-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.schedule-tour__time-group + .schedule-tour__time-group {
    margin-top: 4.8rem;
}

.schedule-tour__time-group h4 {
    color: var(--main-blue, #002e6d);
    font-size: 2.2rem;
    letter-spacing: .02em;
    margin: 0 0 2.4rem;
    text-transform: uppercase;
}

.schedule-tour__times button:hover,
.schedule-tour__times button:focus,
.schedule-tour__date-fallback:hover,
.schedule-tour__date-fallback:focus {
    background: var(--main-blue, #002e6d);
    color: #fff;
}

.schedule-tour__back {
    align-items: center;
    background: none;
    border: 0;
    color: var(--main-blue, #002e6d);
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 700;
    gap: 1.4rem;
    line-height: 1;
    margin: 0 0 2.4rem;
    padding: 0;
}

.schedule-tour__back-arrow {
    font-size: 1.8rem;
    line-height: 1;
    position: relative;
    top: -.2rem;
}

.schedule-tour__fields {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-tour__fields label { display: block; }

.schedule-tour__fields label > span {
    color: var(--main-blue, #002e6d);
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.schedule-tour__field-label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.schedule-tour__fields small { font-weight: 300; }
.schedule-tour__field--full { grid-column: 1 / -1; }

.schedule-tour__fields input,
.schedule-tour__fields textarea {
    background: #fff;
    border: .1rem solid rgba(0, 46, 109, .45);
    border-radius: .4rem;
    box-sizing: border-box;
    color: var(--font-black, #212721);
    font: 1.6rem/1.4 var(--museo-font, Arial, sans-serif);
    padding: 1.2rem 1.4rem;
    width: 100%;
}

.schedule-tour__fields input:focus,
.schedule-tour__fields textarea:focus {
    border-color: var(--main-blue, #002e6d);
    box-shadow: 0 0 0 .3rem rgba(126, 218, 204, .45);
    outline: 0;
}

.schedule-tour__submit {
    border: 0;
    margin-top: 2.4rem;
    width: 100%;
}

.schedule-tour__consent {
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 2rem 0 0;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__panel {
    background: transparent;
    padding: 0;
}

.schedule-tour--standalone[data-tour-current-state="form"] form[data-tour-form] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__back,
.schedule-tour--standalone[data-tour-current-state="form"] h3 {
    color: #fff;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields {
    gap: 1.5rem 1rem;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields input,
.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields textarea {
    background: #f5f6f7;
    border: 0;
    border-radius: .4rem;
    color: #171717;
    font-size: 1.6rem;
    padding: 2rem 2.2rem;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields input {
    min-height: 6.3rem;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields textarea {
    min-height: 26.4rem;
    resize: vertical;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields input::placeholder,
.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__fields textarea::placeholder {
    color: #171717;
    opacity: 1;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__consent {
    color: #fff;
}

.schedule-tour__form-actions {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
    margin-top: 6rem;
    width: 100%;
}

.schedule-tour--standalone[data-tour-current-state="form"] .schedule-tour__submit {
    align-self: flex-end;
    display: inline-flex;
    margin: 3rem 0 0 auto;
    width: auto;
}

.schedule-tour__submit:disabled {
    cursor: wait;
    opacity: .65;
}

.schedule-tour__result-icon {
    align-items: center;
    background: var(--teal, #7edacc);
    border-radius: 50%;
    color: var(--main-blue, #002e6d);
    display: flex;
    font-size: 2.8rem;
    height: 6.4rem;
    justify-content: center;
    margin-bottom: 2rem;
    width: 6.4rem;
}

.schedule-tour__confirmation {
    color: var(--main-blue, #002e6d);
    font-weight: 700;
    margin-bottom: 2.4rem;
}

.schedule-tour__map-column {
    min-height: 100%;
    padding: 3.6rem 0 0;
}

.schedule-tour__map,
.schedule-tour__map-fallback {
    height: 70rem;
    width: 100%;
}

.schedule-tour__map-fallback {
    align-items: center;
    background: #f8e6c9;
    color: #032a5b;
    display: flex;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.schedule-tour-page__message {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    padding-bottom: 8rem;
    padding-top: 14rem;
}

.schedule-tour-page__message h1 {
    color: var(--main-blue, #002e6d);
    margin-bottom: 1.6rem;
}

.schedule-tour-page__message p {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 2.4rem;
}

@media only screen and (max-width: 960px) {
    .schedule-tour--standalone .schedule-tour__layout {
        display: block;
        min-height: auto;
    }

    .schedule-tour--standalone .schedule-tour__dialog {
        padding: 4rem 0 7rem 0;
    }

    .schedule-tour--standalone > .row,
    .schedule-tour--standalone .schedule-tour__grid-column {
        min-height: auto;
    }

    .schedule-tour__map-column,
    .schedule-tour__map,
    .schedule-tour__map-fallback {
        height: 55rem;
        min-height: 55rem;
    }

    .schedule-tour__map-column { padding-top: 0; }

    .schedule-tour__time-group h4 {
        font-size: 1.6rem;
    }

    .schedule-tour {
        align-items: flex-end;
        padding: 0;
    }

    .schedule-tour__dialog {
        border-radius: .8rem .8rem 0 0;
        max-height: 94vh;
        padding: 3.6rem 2rem 2.4rem;
    }

    .schedule-tour--standalone { padding-block: 8rem; }

    .schedule-tour--standalone .schedule-tour__dialog {
        border-radius: 0;
        padding: 3.2rem 0 5rem;
    }

    .schedule-tour--standalone h1 { font-size: 4rem; }

    .schedule-tour__property-details {
        gap: 1.2rem;
        grid-template-columns: 1fr;
    }

    .schedule-tour__panel { padding: 2.4rem 1.6rem; }

    .schedule-tour__calendar .flatpickr-current-month {
        font-size: 2rem;
        left: 50%;
        width: auto;
    }

    .schedule-tour__calendar .flatpickr-current-month span.cur-month,
    .schedule-tour__calendar .flatpickr-current-month input.cur-year {
        font-size: 2rem;
    }

    .schedule-tour__calendar .flatpickr-months .flatpickr-prev-month { left: 0; }
    .schedule-tour__calendar .flatpickr-months .flatpickr-next-month { right: 0; }

    .schedule-tour__heading {
        margin-bottom: 2.4rem;
        padding-bottom: 1.8rem;
    }

    .schedule-tour__fields,
    .schedule-tour__time-options,
    .schedule-tour__calendar--fallback { grid-template-columns: 1fr; }

    .schedule-tour__map-column,
    .schedule-tour__map,
    .schedule-tour__map-fallback {
        height: 40rem;
        min-height: 40rem;
    }

    .schedule-tour-page__message {
        min-height: 60vh;
        padding-bottom: 5rem;
        padding-top: 10rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-tour__spinner { animation-duration: 1.8s; }
}
