.wpbc_booking_resource_selector { box-sizing: border-box; margin: 0 auto; max-width: 860px; position: relative } .wpbc_booking_resource_selector .wpbc_booking_ui_theme_scope, .wpbc_booking_resource_selector__loading { --wpbc-resource-selector-accent: var(--wpbc_form-choice-checked-border-color, #465160); --wpbc-resource-selector-accent-text: var(--wpbc_form-accent-contrast-color, var(--wpbc_form-button-text-color, #fff)); --wpbc-resource-selector-border: var(--wpbc_form-field-border-color, #dcdcde); --wpbc-resource-selector-error: var(--wpbc_form-label-error-color, #d63638); --wpbc-resource-selector-focus: var(--wpbc_form-choice-focus-color, var(--wpbc_form-field-focus-border-color, #465160)); --wpbc-resource-selector-muted: var(--wpbc_form-label-sublabel-color, #646970); --wpbc-resource-selector-surface: var(--wpbc_form-field-background-color, #fff); --wpbc-resource-selector-surface-text: var(--wpbc_form-field-text-color, #1d2327); --wpbc-resource-selector-text: var(--wpbc_form-label-color, #1d2327); color: var(--wpbc-resource-selector-text) } .wpbc_booking_resource_selector *, .wpbc_booking_resource_selector ::after, .wpbc_booking_resource_selector ::before { box-sizing: border-box } .wpbc_booking_resource_selector:not([data-resource-selector-stage=booking]) > .wpbc_booking_resource_selector__stage { background: var(--wpbc-bfb-form-background,#fff); border: var(--wpbc-bfb-form-border-width,1px) solid var(--wpbc-bfb-form-border-color,#ccc); border-radius: var(--wpbc-bfb-form-border-radius,2px); box-shadow: var(--wpbc-bfb-form-box-shadow,rgba(0,0,0,.05) 0 2px 6px 0); padding: var(--wpbc-bfb-form-padding,10px 30px) } .wpbc_booking_resource_selector__progress { -ms-flex-align: start; align-items: start; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; margin: 0 0 28px; padding: 0; width: 100% } .wpbc_booking_resource_selector[data-resource-selector-stage=booking] > .wpbc_booking_resource_selector__stage > .wpbc_booking_resource_selector__progress { background: var(--wpbc-bfb-form-background,#fff); border: var(--wpbc-bfb-form-border-width,1px) solid var(--wpbc-bfb-form-border-color,#ccc); border-radius: var(--wpbc-bfb-form-border-radius,2px); box-shadow: var(--wpbc-bfb-form-box-shadow,rgba(0,0,0,.05) 0 2px 6px 0); padding: var(--wpbc-bfb-form-padding,10px 30px) } .wpbc_booking_resource_selector__progress_step { -ms-flex-align: center; align-items: center; color: var(--wpbc-resource-selector-muted); display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; font-size: 13px; gap: 7px; line-height: 1.35; min-width: 0; position: relative; text-align: center } .wpbc_booking_resource_selector__progress_step:not(:last-child)::after { background: var(--wpbc-resource-selector-border); content: ""; height: 1px; left: calc(50% + 15px); position: absolute; right: calc(-50% + 15px); top: 15px } .wpbc_booking_resource_selector__progress_step.is-complete::after { background: var(--wpbc-resource-selector-accent) } .wpbc_booking_resource_selector__progress_number { -ms-flex-align: center; align-items: center; background: var(--wpbc-resource-selector-surface); border: 1px solid var(--wpbc-resource-selector-border); border-radius: 50%; color: var(--wpbc-resource-selector-surface-text); display: -ms-inline-flexbox; display: inline-flex; -ms-flex: 0 0 30px; flex: 0 0 30px; font-weight: 600; height: 30px; -ms-flex-pack: center; justify-content: center; line-height: 1; position: relative; width: 30px; z-index: 1 } .wpbc_booking_resource_selector__progress_step.is-active { color: var(--wpbc-resource-selector-text); font-weight: 600 } .wpbc_booking_resource_selector__progress_step.is-active .wpbc_booking_resource_selector__progress_number, .wpbc_booking_resource_selector__progress_step.is-complete .wpbc_booking_resource_selector__progress_number { background: var(--wpbc-resource-selector-accent); border-color: var(--wpbc-resource-selector-accent); color: var(--wpbc-resource-selector-accent-text) } .wpbc_booking_resource_selector__heading { margin: 0 0 18px } .wpbc_booking_resource_selector__heading h3 { color: var(--wpbc-resource-selector-text); font-size: 24px; line-height: 1.25; margin: 0 0 5px } .wpbc_booking_resource_selector__heading h3:focus { border-radius: var(--wpbc_form-field-border-radius,8px); box-shadow: 0 0 0 2px var(--wpbc_form-field-focus-shadow-color,var(--wpbc-resource-selector-focus)); outline: 0 } .wpbc_booking_resource_selector__heading p { color: var(--wpbc-resource-selector-muted); margin: 0 } .wpbc_booking_resource_selector__choices { display: grid; gap: var(--wpbc-resource-catalog-column-gap,10px); grid-template-columns: repeat(auto-fit,minmax(280px,1fr)) } .wpbc_booking_resource_catalog { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; gap: 14px } .wpbc_booking_resource_catalog__filters { display: grid; gap: 10px; grid-template-columns: minmax(0,1fr) } .wpbc_booking_resource_catalog__filters input { background: var(--wpbc-resource-selector-surface); border: 1px solid var(--wpbc-resource-selector-border); border-radius: var(--wpbc_form-field-border-radius,6px); color: var(--wpbc-resource-selector-surface-text); font: inherit; min-height: 42px; padding: 8px 11px; width: 100% } .wpbc_booking_resource_catalog__filters input:focus { border-color: var(--wpbc-resource-selector-focus); box-shadow: 0 0 0 2px var(--wpbc_form-field-focus-shadow-color,var(--wpbc-resource-selector-focus)); outline: 0 } .wpbc_booking_resource_catalog--list .wpbc_booking_resource_catalog__items { grid-template-columns: minmax(0,1fr) } .wpbc_booking_resource_catalog--explicit-columns .wpbc_booking_resource_catalog__items { grid-template-columns: repeat(var(--wpbc-resource-catalog-items-per-row),minmax(0,1fr)) } .wpbc_booking_resource_catalog--explicit-item-width .wpbc_booking_resource_catalog__items { grid-template-columns: repeat(auto-fill,minmax(0,var(--wpbc-resource-catalog-item-track-width))); -ms-flex-pack: start; justify-content: start } .wpbc_booking_resource_catalog--explicit-item-width .wpbc_booking_resource_catalog__card { width: 100% } .wpbc_booking_resource_catalog--bounded .wpbc_booking_resource_catalog__items { justify-items: start } .wpbc_booking_resource_catalog--bounded .wpbc_booking_resource_catalog__card { max-width: var(--wpbc-resource-catalog-item-max-width); width: 100% } .wpbc_booking_resource_catalog--grid .wpbc_booking_resource_catalog__card { -ms-flex-align: stretch; align-items: stretch; -ms-flex-direction: column; flex-direction: column; min-height: 260px } .wpbc_booking_resource_catalog--grid.wpbc_booking_resource_catalog--without-images .wpbc_booking_resource_catalog__card { min-height: 150px } .wpbc_booking_resource_catalog--grid .wpbc_booking_resource_catalog__image { border-radius: calc(var(--wpbc_form-field-border-radius,8px) - 2px); -ms-flex-preferred-size: 150px; flex-basis: 150px; font-size: 24px; height: 150px; width: 100% } .wpbc_booking_resource_catalog--grid .wpbc_booking_resource_selector__choice_mark { background: var(--wpbc-resource-selector-surface); inset-block-start: 25px; inset-inline-end: 25px; position: absolute } .wpbc_booking_resource_catalog--grid .wpbc_booking_resource_catalog__body { -ms-flex: 1 1 auto; flex: 1 1 auto } .wpbc_booking_resource_catalog__card.is-child { border-inline-start: 3px solid var(--wpbc-resource-selector-border) } .wpbc_booking_resource_catalog--list .wpbc_booking_resource_catalog__card.is-child { margin-inline-start: 28px } .wpbc_booking_resource_catalog__title_line { -ms-flex-align: center; align-items: center; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 6px 9px } .wpbc_booking_resource_catalog__hierarchy { background: var(--wpbc_form-button-light-background-color,#eef0ff); border-radius: 999px; color: var(--wpbc_form-button-light-text-color,#3044a5); display: -ms-inline-flexbox; display: inline-flex; font-size: 11px; font-weight: 600; line-height: 1.35; padding: 2px 8px } .wpbc_booking_resource_catalog__summaries { -ms-flex-align: center; align-items: center; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 5px 12px; margin-top: 9px } .wpbc_booking_resource_catalog__summary { color: var(--wpbc-resource-selector-muted); font-size: 12px; line-height: 1.35 } .wpbc_booking_resource_catalog__summary--availability::before, .wpbc_booking_resource_catalog__summary--price::before { content: ""; display: inline-block; height: 6px; margin-inline-end: 6px; vertical-align: 1px; width: 6px } .wpbc_booking_resource_catalog__summary--availability::before { border: 1px solid currentColor; border-radius: 50% } .wpbc_booking_resource_catalog__summary--price::before { border: 1px solid currentColor; border-radius: 2px } .wpbc_booking_resource_catalog__empty { background: #f0f6fc; border-inline-start: 4px solid #72aee6; margin: 0; padding: 12px 14px } .wpbc_booking_resource_catalog [hidden] { display: none!important } .wpbc_booking_resource_selector__choice { -ms-flex-align: center; align-items: center; background: var(--wpbc-resource-selector-surface); border: 1px solid var(--wpbc-resource-selector-border); border-radius: var(--wpbc_form-field-border-radius,8px); color: var(--wpbc-resource-selector-surface-text); cursor: pointer; display: -ms-flexbox; display: flex; gap: 12px; min-height: 86px; padding: 15px 16px; position: relative; transition: border-color .15s,box-shadow .15s } .wpbc_booking_resource_selector__choice:hover { border-color: var(--wpbc-resource-selector-focus) } .wpbc_booking_resource_selector__choice:focus-within { box-shadow: 0 0 0 2px var(--wpbc_form-field-focus-shadow-color,var(--wpbc-resource-selector-focus)); outline: 0 } .wpbc_booking_resource_selector__choice > input { opacity: 0; pointer-events: none; position: absolute } .wpbc_booking_resource_selector__choice.is-selected { border-color: var(--wpbc-resource-selector-accent); box-shadow: inset 3px 0 0 var(--wpbc-resource-selector-accent) } [dir=rtl] .wpbc_booking_resource_selector__choice.is-selected { box-shadow: inset -3px 0 0 var(--wpbc-resource-selector-accent) } .wpbc_booking_resource_selector__choice:has(input:checked) { border-color: var(--wpbc-resource-selector-accent); box-shadow: inset 3px 0 0 var(--wpbc-resource-selector-accent) } [dir=rtl] .wpbc_booking_resource_selector__choice:has(input:checked) { box-shadow: inset -3px 0 0 var(--wpbc-resource-selector-accent) } .wpbc_booking_resource_selector__choice_body { display: -ms-flexbox; display: flex; -ms-flex: 1; flex: 1; -ms-flex-direction: column; flex-direction: column; min-width: 0 } .wpbc_booking_resource_selector__choice_body strong { color: var(--wpbc-resource-selector-surface-text); font-size: 16px; line-height: 1.3 } .wpbc_booking_resource_selector__choice_description { color: var(--wpbc-resource-selector-muted); font-size: 13px; line-height: 1.4; margin-top: 3px } .wpbc_booking_resource_selector__resource_icon { -ms-flex-align: center; align-items: center; background: var(--wpbc_form-button-light-background-color,#eef0ff); border: 1px solid var(--wpbc_form-button-light-border-color,var(--wpbc-resource-selector-border)); border-radius: 50%; color: var(--wpbc_form-button-light-text-color,#3044a5); display: -ms-inline-flexbox; display: inline-flex; -ms-flex: 0 0 44px; flex: 0 0 44px; font-size: 12px; font-weight: 700; height: 44px; -ms-flex-pack: center; justify-content: center; overflow: hidden; width: 44px } .wpbc_booking_resource_selector__resource_icon img { height: 100%; object-fit: cover; width: 100% } .wpbc_booking_resource_selector__choice_mark { border: 2px solid var(--wpbc-resource-selector-border); border-radius: 50%; -ms-flex: 0 0 auto; flex: 0 0 auto; height: 18px; width: 18px } .wpbc_booking_resource_selector__choice input:checked ~ .wpbc_booking_resource_selector__choice_mark { border: 5px solid var(--wpbc-resource-selector-accent) } .wpbc_booking_resource_selector__actions { display: -ms-flexbox; display: flex; gap: 10px; -ms-flex-pack: end; justify-content: flex-end; margin-top: 20px } .wpbc_booking_resource_selector__booking_header { -ms-flex-align: center; align-items: center; background: var(--wpbc-resource-selector-surface); border: 1px solid var(--wpbc-resource-selector-border); border-radius: var(--wpbc-bfb-form-border-radius,7px); color: var(--wpbc-resource-selector-surface-text); display: -ms-flexbox; display: flex; -ms-flex-pack: justify; justify-content: space-between; margin-bottom: 22px; padding: 13px 16px } .wpbc_booking_resource_selector__booking_header > div { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; gap: 3px } .wpbc_booking_resource_selector__booking_header span { color: var(--wpbc-resource-selector-muted); font-size: 12px; text-transform: uppercase } .wpbc_booking_resource_selector__ajax_notice, .wpbc_booking_resource_selector__notice { background: #fcf0f1; border-left: 4px solid var(--wpbc-resource-selector-error); color: var(--wpbc-resource-selector-text); padding: 12px 14px } .wpbc_booking_resource_selector__notice--empty { background: #f0f6fc; border-left-color: #72aee6 } .wpbc_booking_resource_selector__ajax_notice { margin-top: 12px } .wpbc_booking_resource_selector__loading { -ms-flex-align: center; align-items: center; background: rgba(255,255,255,.92); border: 1px solid var(--wpbc-resource-selector-border); border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.08); display: -ms-flexbox; display: flex; gap: 10px; left: 50%; padding: 10px 14px; position: absolute; top: 22px; -ms-transform: translateX(-50%); transform: translateX(-50%); z-index: 20 } .wpbc_booking_resource_selector__loading[hidden] { display: none } .wpbc_booking_resource_selector__spinner { animation: .8s linear infinite wpbc-resource-selector-spin; border: 2px solid var(--wpbc-resource-selector-border); border-radius: 50%; border-top-color: var(--wpbc-resource-selector-accent); height: 18px; width: 18px } .wpbc_booking_resource_selector.is-loading > .wpbc_booking_resource_selector__stage { opacity: .55; pointer-events: none } @keyframes wpbc-resource-selector-spin { to { transform: rotate(360deg) } } @media (max-width:900px) { .wpbc_booking_resource_catalog--explicit-columns .wpbc_booking_resource_catalog__items { grid-template-columns: repeat(2,minmax(0,1fr)) } .wpbc_booking_resource_catalog--columns-1 .wpbc_booking_resource_catalog__items { grid-template-columns: minmax(0,1fr) } } @media (max-width:600px) { .wpbc_booking_resource_selector:not([data-resource-selector-stage=booking]) > .wpbc_booking_resource_selector__stage, .wpbc_booking_resource_selector[data-resource-selector-stage=booking] > .wpbc_booking_resource_selector__stage > .wpbc_booking_resource_selector__progress { padding: 16px } .wpbc_booking_resource_selector__booking_header { -ms-flex-align: start; align-items: flex-start; -ms-flex-direction: column; flex-direction: column; gap: 12px } .wpbc_booking_resource_selector__actions { -ms-flex-pack: stretch; justify-content: stretch } .wpbc_booking_resource_selector__actions .wpbc_button { width: 100% } .wpbc_booking_resource_catalog--explicit-columns .wpbc_booking_resource_catalog__items, .wpbc_booking_resource_catalog--explicit-item-width .wpbc_booking_resource_catalog__items, .wpbc_booking_resource_catalog__filters, .wpbc_booking_resource_catalog__items { grid-template-columns: minmax(0,1fr) } .wpbc_booking_resource_catalog--list .wpbc_booking_resource_catalog__card.is-child { margin-inline-start: 14px } } @media (prefers-reduced-motion:reduce) { .wpbc_booking_resource_selector__choice { transition: none } .wpbc_booking_resource_selector__spinner { animation-duration: 1.6s } }