| 1 |
/** |
| 2 |
* @version 1.1 |
| 3 |
* @package: Booking Calendar — Front-End |
| 4 |
* @author wpdevelop |
| 5 |
* @site https://wpbookingcalendar.com/ |
| 6 |
* @email info@wpbookingcalendar.com |
| 7 |
* @modified 2023-11-11, 2025-08-17 |
| 8 |
* (refactored: comments + dead rules removed) |
| 9 |
*/ |
| 10 |
|
| 11 |
/* ========================================================================== */ |
| 12 |
/* Booking Form: global structure + variants */ |
| 13 |
/* What: layout scaffolding for form/calendar blocks and simple themes */ |
| 14 |
/* ========================================================================== */ |
| 15 |
/* “Form center” layout (Free) */ |
| 16 |
.wpbc_booking_form_structure.wpbc_form_center, |
| 17 |
.wpbc_booking_form_structure.wpbc_form_center > .wpbc__form__div { /* FixIn: 8.8.3.10 */ |
| 18 |
display: flex; |
| 19 |
flex-flow: column wrap; |
| 20 |
justify-content: space-between; |
| 21 |
align-items: center; |
| 22 |
} |
| 23 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, |
| 24 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { |
| 25 |
flex: 1 1 auto; |
| 26 |
margin-bottom: 1em; |
| 27 |
} |
| 28 |
/* FixIn: 9.8.12.1 — sizing in “center” template */ |
| 29 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar, |
| 30 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_form { |
| 31 |
width: Min(350px, 100%); |
| 32 |
} |
| 33 |
.wpbc_booking_form_structure.wpbc_form_center .wpdev-form-control-wrap { |
| 34 |
display: flex; |
| 35 |
} |
| 36 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector, |
| 37 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { |
| 38 |
max-width: Max(24em, 440px); |
| 39 |
justify-content: flex-start; |
| 40 |
} |
| 41 |
|
| 42 |
@media (max-width: 782px) { |
| 43 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_structure_calendar .wpbc_change_over_triangle { |
| 44 |
width: 100%; |
| 45 |
} |
| 46 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc_times_selector, |
| 47 |
.wpbc_booking_form_structure.wpbc_form_center .wpbc-form-element-checkbox { |
| 48 |
max-width: 100%; |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
/* “Dark” variant — tweak text colors inside form area */ |
| 53 |
.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form label { |
| 54 |
color: var(--wpbc_form-label-color, #ddd); |
| 55 |
} |
| 56 |
.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form input[type="text"], |
| 57 |
.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form input[type="email"], |
| 58 |
.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form textarea, |
| 59 |
.wpbc_booking_form_structure.wpbc_form_dark .wpbc_structure_form select { |
| 60 |
color: var(--wpbc_form-field-text-color, #000); |
| 61 |
} |
| 62 |
|
| 63 |
/* “Form right” layout — calendar + form side‑by‑side (responsive) */ |
| 64 |
/* FixIn: 9.6.1.3, 9.6.2.6 */ |
| 65 |
.wpbc_booking_form_structure.wpbc_form_right { |
| 66 |
width: 100%; |
| 67 |
display: flex; |
| 68 |
flex-flow: row wrap; |
| 69 |
align-items: flex-start; |
| 70 |
justify-content: flex-start; |
| 71 |
} |
| 72 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_calendar { |
| 73 |
margin-right: 20px; |
| 74 |
flex: 1 1 auto; |
| 75 |
} |
| 76 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form { |
| 77 |
margin-top: -20px; |
| 78 |
flex: 1 1 300px; |
| 79 |
display: flex; |
| 80 |
flex-flow: row wrap; |
| 81 |
justify-content: flex-start; |
| 82 |
align-items: flex-start; |
| 83 |
} |
| 84 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form > * { |
| 85 |
margin: 15px 0; |
| 86 |
flex: 0 1 100%; |
| 87 |
} |
| 88 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-rangetime, |
| 89 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea, |
| 90 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group:last-child { |
| 91 |
flex: 1 1 auto; |
| 92 |
width: 100%; |
| 93 |
} |
| 94 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form .form-group.wpbc-form-element-textarea textarea { |
| 95 |
width: 90%; |
| 96 |
} |
| 97 |
|
| 98 |
/* Form footer line wrap */ |
| 99 |
.wpbc_booking_form_footer { |
| 100 |
clear: both; |
| 101 |
width: 100%; |
| 102 |
} |
| 103 |
|
| 104 |
|
| 105 |
/* ========================================================================== */ |
| 106 |
/* Booking Form: general body + fields */ |
| 107 |
/* What: basic spacing, inputs, selects, and resources selector */ |
| 108 |
/* ========================================================================== */ |
| 109 |
form.booking_form { |
| 110 |
text-align: left; |
| 111 |
} |
| 112 |
|
| 113 |
.booking_form .booking_form_div { |
| 114 |
margin-left: auto; |
| 115 |
margin-right: auto; |
| 116 |
} |
| 117 |
|
| 118 |
.booking_form_div.wpbc_booking_form_is_submitting { |
| 119 |
position: relative; |
| 120 |
} |
| 121 |
.booking_form_div.wpbc_booking_form_is_submitting > :not(.wpbc_booking_form_submit_overlay) { |
| 122 |
filter: blur(1px); |
| 123 |
opacity: 0.55; |
| 124 |
pointer-events: none; |
| 125 |
-webkit-user-select: none; |
| 126 |
-ms-user-select: none; |
| 127 |
user-select: none; |
| 128 |
} |
| 129 |
|
| 130 |
.booking_form_div.wpbc_booking_form_is_submitting { |
| 131 |
position: relative; |
| 132 |
min-height: 220px; |
| 133 |
} |
| 134 |
.booking_form_div .wpbc_booking_form_submit_overlay { |
| 135 |
position: absolute; |
| 136 |
top: 12px; |
| 137 |
inset: 0; |
| 138 |
pointer-events: none; |
| 139 |
z-index: 50; |
| 140 |
height: auto; |
| 141 |
display: flex; |
| 142 |
align-items: center; |
| 143 |
justify-content: center; |
| 144 |
background: rgba(255, 255, 255, 0.5); |
| 145 |
-webkit-backdrop-filter: blur(1px); |
| 146 |
backdrop-filter: blur(1px); |
| 147 |
} |
| 148 |
.booking_form_div .wpbc_booking_form_submit_overlay .wpbc_spins_loading_container { |
| 149 |
width: max-content; |
| 150 |
min-width: 100%; |
| 151 |
height: 100%; |
| 152 |
min-height: 60px; |
| 153 |
padding: 0; |
| 154 |
border-radius: 6px; |
| 155 |
backdrop-filter: blur(1px); |
| 156 |
pointer-events: auto; |
| 157 |
font-weight: 600; |
| 158 |
} |
| 159 |
|
| 160 |
.booking_form .form-group { |
| 161 |
margin: 15px 0; |
| 162 |
} |
| 163 |
|
| 164 |
/* Resource selector (drop‑down above the form) */ |
| 165 |
.resource_selection_div { |
| 166 |
margin: 40px 0; |
| 167 |
} |
| 168 |
.resource_selection_div select { |
| 169 |
margin: 0 1em; |
| 170 |
} |
| 171 |
|
| 172 |
/* Text-like controls */ |
| 173 |
.booking_form_div textarea, |
| 174 |
.booking_form_div input[type="text"], |
| 175 |
.booking_form_div input[type="email"], |
| 176 |
.booking_form_div select { |
| 177 |
border-color: var(--wpbc_form-field-border-color, #DFDFDF); |
| 178 |
border-radius: 4px; |
| 179 |
border-style: solid; |
| 180 |
border-width: 1px; |
| 181 |
vertical-align: baseline; |
| 182 |
} |
| 183 |
|
| 184 |
/* Time inputs (small width) */ |
| 185 |
.booking_form input.wpdev-validates-as-time { |
| 186 |
width: 50px; |
| 187 |
} |
| 188 |
|
| 189 |
/* Checkbox/Radio list spacing */ |
| 190 |
.booking_form .wpdev-checkbox .wpdev-list-item, |
| 191 |
.booking_form .wpdev-radio .wpdev-list-item { |
| 192 |
margin-right: 0.5em; |
| 193 |
} |
| 194 |
|
| 195 |
/* Focus ring for all focusable inputs */ |
| 196 |
/* FixIn: 9.6.2.5 */ |
| 197 |
.booking_form input[type="text"]:focus, |
| 198 |
.booking_form input[type="password"]:focus, |
| 199 |
.booking_form input[type="color"]:focus, |
| 200 |
.booking_form input[type="date"]:focus, |
| 201 |
.booking_form input[type="datetime"]:focus, |
| 202 |
.booking_form input[type="datetime-local"]:focus, |
| 203 |
.booking_form input[type="email"]:focus, |
| 204 |
.booking_form input[type="month"]:focus, |
| 205 |
.booking_form input[type="number"]:focus, |
| 206 |
.booking_form input[type="search"]:focus, |
| 207 |
.booking_form input[type="tel"]:focus, |
| 208 |
.booking_form input[type="time"]:focus, |
| 209 |
.booking_form input[type="url"]:focus, |
| 210 |
.booking_form input[type="week"]:focus, |
| 211 |
.booking_form select:focus, |
| 212 |
.booking_form textarea:focus { |
| 213 |
box-shadow: 0 0 2px var(--wpbc_form-field-focus-shadow-color, #2d7eff); |
| 214 |
outline: none; |
| 215 |
border-color: var(--wpbc_form-field-focus-border-color, #567cb8); |
| 216 |
} |
| 217 |
|
| 218 |
.booking_form input[type="checkbox"]:focus, |
| 219 |
.booking_form input[type="radio"]:focus { |
| 220 |
box-shadow: 0 0 2px var(--wpbc_form-choice-focus-color, #2d7eff); |
| 221 |
outline: none; |
| 222 |
border-color: var(--wpbc_form-choice-focus-color, #567cb8); |
| 223 |
} |
| 224 |
|
| 225 |
/* Disabled/Booked select options */ |
| 226 |
.booking_form_div select option.booked, |
| 227 |
.booking_form_div select option:disabled { |
| 228 |
color: var(--wpbc_form-field-disabled-color, #ddd); |
| 229 |
} |
| 230 |
|
| 231 |
/* Small selects (visitors count) */ |
| 232 |
.booking_form_div select.col-md-1 { |
| 233 |
float: none; |
| 234 |
padding: 2px 8px; |
| 235 |
min-width: 4em; |
| 236 |
} |
| 237 |
|
| 238 |
|
| 239 |
/* ========================================================================== */ |
| 240 |
/* CAPTCHA */ |
| 241 |
/* What: layout for text captcha, image and input */ |
| 242 |
/* ========================================================================== */ |
| 243 |
.wpbc_text_captcha_container { |
| 244 |
display: flex; |
| 245 |
flex-flow: row wrap; |
| 246 |
justify-content: flex-start; |
| 247 |
align-items: flex-start; |
| 248 |
} |
| 249 |
.wpbc_container_booking_form .wpbc_bfb__field[data-type="captcha"] img.captcha_img, |
| 250 |
.wpbc_container_booking_form .booking_form_div img.captcha_img { |
| 251 |
vertical-align: middle; |
| 252 |
box-shadow: none; |
| 253 |
margin-left: 1em; |
| 254 |
align-self: center; |
| 255 |
} |
| 256 |
.wpbc_container_booking_form .wpbc_bfb__field[data-type="captcha"] .captachinput, |
| 257 |
.wpbc_container_booking_form .booking_form_div .captachinput { |
| 258 |
width: 120px; |
| 259 |
min-width: Min(120px, 100%); |
| 260 |
max-width: 100%; |
| 261 |
flex: 0 1 10em; |
| 262 |
margin: 0; |
| 263 |
} |
| 264 |
|
| 265 |
|
| 266 |
/* ========================================================================== */ |
| 267 |
/* Generic separators + widget container */ |
| 268 |
/* What: hr styling and widget area tweaks */ |
| 269 |
/* ========================================================================== */ |
| 270 |
.booking_form_div hr { |
| 271 |
margin: 0.5em 0; |
| 272 |
border: none; |
| 273 |
color: transparent; |
| 274 |
background: #ececec; |
| 275 |
height: 1.2px; |
| 276 |
box-shadow: none; |
| 277 |
width: 100%; |
| 278 |
} |
| 279 |
|
| 280 |
.widget_wpdev_booking { |
| 281 |
width: 100%; |
| 282 |
float: left; |
| 283 |
margin: 5px 0; |
| 284 |
} |
| 285 |
.widget_wpdev_booking .booking_form input[type="radio"], |
| 286 |
.widget_wpdev_booking .booking_form input[type="checkbox"] { |
| 287 |
width: auto; |
| 288 |
} |
| 289 |
|
| 290 |
|
| 291 |
/* ========================================================================== */ |
| 292 |
/* Field wrapper + inline choice controls */ |
| 293 |
/* What: per‑field container sizing and checkbox/radio alignment */ |
| 294 |
/* ========================================================================== */ |
| 295 |
|
| 296 |
.wpdev-form-control-wrap { |
| 297 |
display: inline-flex; |
| 298 |
flex-flow: row wrap; |
| 299 |
justify-content: flex-start; |
| 300 |
align-items: center; |
| 301 |
margin: 0.25em 0; |
| 302 |
max-width: 100%; |
| 303 |
width: 340px; |
| 304 |
min-width: Min(8em, 100%); |
| 305 |
} |
| 306 |
|
| 307 |
@media (max-width: 782px) { |
| 308 |
.wpdev-form-control-wrap { |
| 309 |
display: flex; |
| 310 |
width: 100%; |
| 311 |
} |
| 312 |
/* Keep checkboxes inline (avoid line breaks for small labels). */ |
| 313 |
.wpdev-form-control-wrap.wpbc_wrap_checkbox { |
| 314 |
display: inline-flex; |
| 315 |
width: auto; /* Avoids wrapping “Fee: [checkbox ...]” onto a new line */ |
| 316 |
} |
| 317 |
} |
| 318 |
|
| 319 |
/* Options groups (radio/checkbox lists) */ |
| 320 |
.wpdev-form-control-wrap .wpdev-radio, |
| 321 |
.wpdev-form-control-wrap .wpdev-checkbox { |
| 322 |
line-height: 100%; |
| 323 |
} |
| 324 |
|
| 325 |
.wpdev-form-control-wrap .wpdev-list-item { |
| 326 |
display: inline-flex; |
| 327 |
flex-flow: row wrap; |
| 328 |
justify-content: flex-start; |
| 329 |
align-items: center; |
| 330 |
height: auto; |
| 331 |
line-height: 2; /* FixIn: 10.3.0.3 */ |
| 332 |
} |
| 333 |
|
| 334 |
.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item { |
| 335 |
flex-flow: row nowrap; |
| 336 |
} |
| 337 |
|
| 338 |
.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, |
| 339 |
.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover, |
| 340 |
.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label, |
| 341 |
.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label:hover { |
| 342 |
display: inline-block; |
| 343 |
} |
| 344 |
.wpbc_wrap_checkbox.wpdev-form-control-wrap .wpdev-list-item label * { |
| 345 |
vertical-align: baseline; |
| 346 |
} |
| 347 |
|
| 348 |
.wpdev-form-control-wrap .wpdev-list-item > * { |
| 349 |
margin: auto; |
| 350 |
} |
| 351 |
.wpdev-form-control-wrap .wpdev-list-item label.wpdev-list-item-label { |
| 352 |
margin-top: 0; |
| 353 |
align-self: center; |
| 354 |
} |
| 355 |
|
| 356 |
/* Control alignment next to labels */ |
| 357 |
div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="checkbox"], |
| 358 |
div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="radio"] { |
| 359 |
margin: 0 0.1em; /* FixIn: 10.3.0.3 */ |
| 360 |
vertical-align: middle; |
| 361 |
} |
| 362 |
div.wpbc_container.wpbc_form .wpdev-form-control-wrap .wpdev-list-item input[type="checkbox"] { |
| 363 |
margin-top: -2px; |
| 364 |
} |
| 365 |
|
| 366 |
|
| 367 |
/* ========================================================================== */ |
| 368 |
/* Legacy “Old Messages” (kept for compatibility) */ |
| 369 |
/* What: historic message styles used in some templates */ |
| 370 |
/* ========================================================================== */ |
| 371 |
.widget_wpdev_booking .booking_form .wpdev-help-message.wpdev-element-message { |
| 372 |
font-size: 0.85em; |
| 373 |
margin: 10px 4px 4px !important; |
| 374 |
} |
| 375 |
.widget_wpdev_booking .booking_form .wpdev-form-control-wrap .wpdev-help-message { |
| 376 |
font-size: 0.85em; |
| 377 |
margin: 2px 8px 2px 0 !important; |
| 378 |
} |
| 379 |
|
| 380 |
/* Messages during AJAX submission */ |
| 381 |
.submiting_content { |
| 382 |
border: 1px solid #5C5; |
| 383 |
font-size: 15px; |
| 384 |
font-weight: 600; |
| 385 |
height: 45px; |
| 386 |
margin: 15px auto; |
| 387 |
text-align: center; |
| 388 |
width: 80%; |
| 389 |
line-height: 1.5em; |
| 390 |
padding: 10px 10% 14px !important; |
| 391 |
} |
| 392 |
|
| 393 |
/* Error look (Bootstrap-like) — FixIn: 8.7.11.10 */ |
| 394 |
.wpdevelop .alert-danger { |
| 395 |
background-image: none; |
| 396 |
background-color: #fff; |
| 397 |
border-radius: 0 2px 2px 0; |
| 398 |
border-width: 1px; |
| 399 |
border-left: 4px solid #c23b3b; |
| 400 |
} |
| 401 |
|
| 402 |
/* Warning notes — FixIn: 9.6.2.4 */ |
| 403 |
.wpdev-help-message.alert.alert-warning, |
| 404 |
.wpdev-help-message .alert.alert-warning { |
| 405 |
color: #916c34; |
| 406 |
background: #fff; |
| 407 |
box-shadow: 0 0px 3px #e0e0e0; |
| 408 |
border: 1px solid #ded1bc; |
| 409 |
border-left: 3px solid #e09118; |
| 410 |
border-radius: 2px; |
| 411 |
margin: 2px 2px 2px 0px; |
| 412 |
padding: 0.5em 1em; |
| 413 |
vertical-align: top; |
| 414 |
font-size: 0.9rem; |
| 415 |
line-height: 1.4rem; |
| 416 |
opacity: 1; |
| 417 |
} |
| 418 |
.booking_form .wpdev-checkbox .wpdev-help-message.alert.alert-warning { |
| 419 |
line-height: inherit !important; |
| 420 |
} |
| 421 |
|
| 422 |
.wpdev-help-message.wpdev-element-message { |
| 423 |
padding: 5px 5px 4px; |
| 424 |
margin: 10px 2px; |
| 425 |
vertical-align: middle; |
| 426 |
display: inline-block; |
| 427 |
} |
| 428 |
|
| 429 |
/* Success/Thank-you note — FixIn: 9.6.2.3 */ |
| 430 |
.submiting_content.wpdev-help-message.alert.alert-warning.alert-success { |
| 431 |
border: 1px solid #d5d5d5; |
| 432 |
border-left: 5px solid #88b706; |
| 433 |
background: #fff; |
| 434 |
box-shadow: 0 1px 10px #ddd; |
| 435 |
color: #707070; |
| 436 |
padding: 11px 10px !important; |
| 437 |
margin: auto; |
| 438 |
height: auto; |
| 439 |
font-size: 1.1em; |
| 440 |
font-weight: 600; |
| 441 |
line-height: 2em !important; |
| 442 |
width: 94%; |
| 443 |
} |
| 444 |
|
| 445 |
/* Inline “form messages” row */ |
| 446 |
.form_bk_messages { |
| 447 |
display: none; |
| 448 |
float: left; |
| 449 |
font-size: 14px; |
| 450 |
font-weight: 600; |
| 451 |
border: 1px solid #9DA; |
| 452 |
background: #FEF9ED; |
| 453 |
color: #555; |
| 454 |
margin: 15px auto; |
| 455 |
padding: 5px 10px; |
| 456 |
text-align: center; |
| 457 |
width: 100%; |
| 458 |
clear: both; |
| 459 |
} |
| 460 |
|
| 461 |
|
| 462 |
/* ========================================================================== */ |
| 463 |
/* New Messages (current UX) */ |
| 464 |
/* What: message containers near fields and full-row notes */ |
| 465 |
/* ========================================================================== */ |
| 466 |
.wpbc_front_end__message_container_right, |
| 467 |
.wpbc_front_end__message_container_left { |
| 468 |
display: inline-flex; |
| 469 |
flex-flow: row wrap; |
| 470 |
justify-content: flex-start; |
| 471 |
align-items: center; |
| 472 |
margin: 10px 1em; |
| 473 |
} |
| 474 |
.wpbc__field .wpbc_front_end__message_container_right, |
| 475 |
.wpbc__field .wpbc_front_end__message_container_left { |
| 476 |
margin: 10px 1em 10px 0; |
| 477 |
} |
| 478 |
.wpbc_front_end__message_container_right .wpbc_front_end__message, |
| 479 |
.wpbc_front_end__message_container_left .wpbc_front_end__message { |
| 480 |
flex: 0 1 auto; |
| 481 |
margin: 0; |
| 482 |
line-height: 1.8em; |
| 483 |
border-radius: 2px; |
| 484 |
} |
| 485 |
|
| 486 |
/* Hide icons for inline (near-field) messages */ |
| 487 |
.wpbc_front_end__message_container_right .wpbc_front_end__message .menu_icon, |
| 488 |
.wpbc_front_end__message_container_left .wpbc_front_end__message .menu_icon { |
| 489 |
display: none; |
| 490 |
} |
| 491 |
|
| 492 |
/* Inline warning/error variants */ |
| 493 |
.wpbc_front_end__message_container_right .wpbc_front_end__message.wpbc_fe_message_warning, |
| 494 |
.wpbc_front_end__message_container_left .wpbc_front_end__message.wpbc_fe_message_warning { |
| 495 |
border: none; |
| 496 |
padding: 1px 20px 1px 0px; |
| 497 |
color: var(--wpbc_form-label-error-color); |
| 498 |
text-shadow: none; |
| 499 |
box-shadow: none; |
| 500 |
} |
| 501 |
.wpbc_front_end__message_container_right .wpbc_front_end__message.wpbc_fe_message_error, |
| 502 |
.wpbc_front_end__message_container_left .wpbc_front_end__message.wpbc_fe_message_error { |
| 503 |
border-color: #dca7a7; |
| 504 |
border-left-color: #c23b3b; |
| 505 |
color: #a94442; |
| 506 |
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); |
| 507 |
} |
| 508 |
|
| 509 |
/* Full-row messages band */ |
| 510 |
.wpbc_front_end__message { |
| 511 |
border-left: 4px solid #fff; |
| 512 |
margin: 10px 0; |
| 513 |
padding: 1px 20px 1px 10px; |
| 514 |
line-height: 2.5em; |
| 515 |
text-align: left; |
| 516 |
border-top: 1px solid #d7d7d7; |
| 517 |
border-right: 1px solid #d7d7d7; |
| 518 |
border-bottom: 1px solid #d7d7d7; |
| 519 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); |
| 520 |
display: inline-block; |
| 521 |
} |
| 522 |
.wpbc_fe_message_error.wpbc_front_end__message { |
| 523 |
background: #ffffff; |
| 524 |
} |
| 525 |
|
| 526 |
/* Message icon spacing */ |
| 527 |
.wpbc_front_end__message i.menu_icon { |
| 528 |
margin: 0 0.5em 0 0; |
| 529 |
} |
| 530 |
|
| 531 |
/* Standard message accent colors (left border & icons) */ |
| 532 |
.wpbc_front_end__message.wpbc_fe_message_info { |
| 533 |
border-left-color: var( --wpbc_admin-theme-color, #00a0d2 ); |
| 534 |
} |
| 535 |
.wpbc_front_end__message.wpbc_fe_message_success { |
| 536 |
border-left-color: #46b450; |
| 537 |
} |
| 538 |
.wpbc_front_end__message.wpbc_fe_message_warning { |
| 539 |
border-left-color: #e09118; |
| 540 |
} |
| 541 |
.wpbc_front_end__message.wpbc_fe_message_error { |
| 542 |
border-left-color: #c23b3b; |
| 543 |
} |
| 544 |
|
| 545 |
.wpbc_front_end__message.wpbc_fe_message_info i.menu_icon { |
| 546 |
color: #0084ad; |
| 547 |
} |
| 548 |
.wpbc_front_end__message.wpbc_fe_message_success i.menu_icon { |
| 549 |
color: #00810b; |
| 550 |
} |
| 551 |
.wpbc_front_end__message.wpbc_fe_message_warning i.menu_icon { |
| 552 |
color: #c17400; |
| 553 |
} |
| 554 |
.wpbc_front_end__message.wpbc_fe_message_error i.menu_icon { |
| 555 |
color: #af5050; |
| 556 |
} |
| 557 |
|
| 558 |
/* “Alt” framed message style */ |
| 559 |
.wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_info { |
| 560 |
border: 2px solid var( --wpbc_admin-theme-color, #00a0d2 ); |
| 561 |
background: #fff; |
| 562 |
border-left: 4px solid var( --wpbc_admin-theme-color, #00a0d2 ); |
| 563 |
box-shadow: 0 0 4px #cfcfcf; |
| 564 |
} |
| 565 |
.wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_success { |
| 566 |
border: 2px solid #00950d; |
| 567 |
background: #fff; |
| 568 |
border-left: 4px solid #00950d; |
| 569 |
box-shadow: 0 0 4px #cfcfcf; |
| 570 |
} |
| 571 |
.wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_warning { |
| 572 |
border: 2px solid #c17400; |
| 573 |
background: #fff; |
| 574 |
border-left: 4px solid #e09118; |
| 575 |
box-shadow: 0 0 4px #cfcfcf; |
| 576 |
} |
| 577 |
.wpbc_fe_message_alt.wpbc_front_end__message.wpbc_fe_message_error { |
| 578 |
border: 2px solid #af5050; |
| 579 |
background: #fff; |
| 580 |
border-left: 4px solid #af5050; |
| 581 |
box-shadow: 0 0 4px #cfcfcf; |
| 582 |
} |
| 583 |
|
| 584 |
|
| 585 |
/* ========================================================================== */ |
| 586 |
/* Misc helpers */ |
| 587 |
/* What: misc small rules: admin counter, popovers, tooltips, transforms */ |
| 588 |
/* ========================================================================== */ |
| 589 |
|
| 590 |
/* Booked Times title in tooltip */ |
| 591 |
.wpbc_booked_times_word { |
| 592 |
font-weight: 600; |
| 593 |
} |
| 594 |
|
| 595 |
/* Garbage container (hidden) */ |
| 596 |
.booking_form_garbage { |
| 597 |
display: none; |
| 598 |
} |
| 599 |
|
| 600 |
/* Help block spacing near inputs */ |
| 601 |
.wpdevelop .booking_form .help-block { |
| 602 |
margin-bottom: 0; |
| 603 |
margin-top: 0; |
| 604 |
} |
| 605 |
|
| 606 |
/* Admin bar booking count badge */ |
| 607 |
#wp-admin-bar-booking_options a span#booking-count { |
| 608 |
background: #EEE; |
| 609 |
border-radius: 10px; |
| 610 |
color: #333; |
| 611 |
display: inline; |
| 612 |
font-size: 10px; |
| 613 |
font-weight: 600; |
| 614 |
padding: 2px 5px; |
| 615 |
text-shadow: none; |
| 616 |
} |
| 617 |
#wp-admin-bar-booking_options a:hover span#booking-count { |
| 618 |
background: #FFF; |
| 619 |
color: #000; |
| 620 |
} |
| 621 |
|
| 622 |
/* Popover styles (Bootstrap-like) */ |
| 623 |
.wpdevelop.popover { |
| 624 |
background: transparent; |
| 625 |
border: none; |
| 626 |
box-shadow: none; |
| 627 |
width: auto !important; |
| 628 |
z-index: 2147483647 !important; |
| 629 |
} |
| 630 |
.wpdevelop.popover.top .arrow { |
| 631 |
border-top: 5px solid rgba(140, 140, 140, 0.8) !important; |
| 632 |
} |
| 633 |
.wpdevelop.popover.bottom .arrow { |
| 634 |
border-bottom: 5px solid rgba(140, 140, 140, 0.8) !important; |
| 635 |
} |
| 636 |
.wpdevelop.popover.left .arrow { |
| 637 |
border-left: 5px solid rgba(140, 140, 140, 0.8) !important; |
| 638 |
} |
| 639 |
.wpdevelop.popover.right .arrow { |
| 640 |
border-right: 5px solid rgba(140, 140, 140, 0.8) !important; |
| 641 |
} |
| 642 |
|
| 643 |
.wpdevelop .popover-inner { |
| 644 |
background: rgba(140, 140, 140, 0.8); |
| 645 |
border-radius: 6px; |
| 646 |
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); |
| 647 |
overflow: hidden; |
| 648 |
padding: 3px; |
| 649 |
width: 150px; |
| 650 |
color: #111; |
| 651 |
} |
| 652 |
.wpdevelop .popover-inner .popover-title { |
| 653 |
background-color: #FFF; |
| 654 |
border-bottom: 0; |
| 655 |
border-radius: 3px 3px 0 0; |
| 656 |
line-height: 1; |
| 657 |
padding: 0; |
| 658 |
font-size: 13px; |
| 659 |
} |
| 660 |
.wpdevelop .popover-inner .popover-content { |
| 661 |
background-clip: padding-box; |
| 662 |
background-color: #FFF; |
| 663 |
border-radius: 0 0 3px 3px; |
| 664 |
padding: 14px; |
| 665 |
} |
| 666 |
.wpdevelop .popover-content, |
| 667 |
.wpdevelop .popover-content p, |
| 668 |
.wpdevelop .popover-content ul, |
| 669 |
.wpdevelop .popover-content ol { |
| 670 |
color: #111; |
| 671 |
} |
| 672 |
|
| 673 |
/* Small tooltip text inside calendar */ |
| 674 |
.wpbc_calendar_tooltip_booking_details { |
| 675 |
font-weight: normal !important; |
| 676 |
font-size: 11px !important; |
| 677 |
} |
| 678 |
|
| 679 |
/* Loading / rotating icons + transforms */ |
| 680 |
.wpbc_animation_pause:before, |
| 681 |
.wpbc_animation_pause { |
| 682 |
animation-play-state: paused !important; |
| 683 |
} |
| 684 |
|
| 685 |
.wpbc_icn_autorenew::before, |
| 686 |
.wpbc_spin, |
| 687 |
.wpbc_spin:before { |
| 688 |
-webkit-animation: spin 2s infinite linear; |
| 689 |
-moz-animation: spin 2s infinite linear; |
| 690 |
-o-animation: spin 2s infinite linear; |
| 691 |
animation: spin 2s infinite linear; |
| 692 |
} |
| 693 |
@-moz-keyframes spin { |
| 694 |
0% { |
| 695 |
-moz-transform: rotate(0deg); |
| 696 |
} |
| 697 |
100% { |
| 698 |
-moz-transform: rotate(359deg); |
| 699 |
} |
| 700 |
} |
| 701 |
@-webkit-keyframes spin { |
| 702 |
0% { |
| 703 |
-webkit-transform: rotate(0deg); |
| 704 |
} |
| 705 |
100% { |
| 706 |
-webkit-transform: rotate(359deg); |
| 707 |
} |
| 708 |
} |
| 709 |
@-o-keyframes spin { |
| 710 |
0% { |
| 711 |
-o-transform: rotate(0deg); |
| 712 |
} |
| 713 |
100% { |
| 714 |
-o-transform: rotate(359deg); |
| 715 |
} |
| 716 |
} |
| 717 |
@keyframes spin { |
| 718 |
0% { |
| 719 |
-webkit-transform: rotate(0deg); |
| 720 |
transform: rotate(0deg); |
| 721 |
} |
| 722 |
100% { |
| 723 |
-webkit-transform: rotate(359deg); |
| 724 |
transform: rotate(359deg); |
| 725 |
} |
| 726 |
} |
| 727 |
|
| 728 |
.wpbc_rotate-90 { |
| 729 |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); |
| 730 |
-webkit-transform: rotate(90deg); |
| 731 |
-moz-transform: rotate(90deg); |
| 732 |
-ms-transform: rotate(90deg); |
| 733 |
-o-transform: rotate(90deg); |
| 734 |
transform: rotate(90deg); |
| 735 |
} |
| 736 |
.wpbc_rotate-180 { |
| 737 |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); |
| 738 |
-webkit-transform: rotate(180deg); |
| 739 |
-moz-transform: rotate(180deg); |
| 740 |
-ms-transform: rotate(180deg); |
| 741 |
-o-transform: rotate(180deg); |
| 742 |
transform: rotate(180deg); |
| 743 |
} |
| 744 |
.wpbc_rotate-270 { |
| 745 |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); |
| 746 |
-webkit-transform: rotate(270deg); |
| 747 |
-moz-transform: rotate(270deg); |
| 748 |
-ms-transform: rotate(270deg); |
| 749 |
-o-transform: rotate(270deg); |
| 750 |
transform: rotate(270deg); |
| 751 |
} |
| 752 |
.wpbc_flip-horizontal { |
| 753 |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); |
| 754 |
-webkit-transform: scale(-1, 1); |
| 755 |
-moz-transform: scale(-1, 1); |
| 756 |
-ms-transform: scale(-1, 1); |
| 757 |
-o-transform: scale(-1, 1); |
| 758 |
transform: scale(-1, 1); |
| 759 |
} |
| 760 |
.wpbc_flip-vertical { |
| 761 |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); |
| 762 |
-webkit-transform: scale(1, -1); |
| 763 |
-moz-transform: scale(1, -1); |
| 764 |
-ms-transform: scale(1, -1); |
| 765 |
-o-transform: scale(1, -1); |
| 766 |
transform: scale(1, -1); |
| 767 |
} |
| 768 |
|
| 769 |
|
| 770 |
/* ========================================================================== */ |
| 771 |
/* Mobile tweaks */ |
| 772 |
/* What: increase input sizes and stack side-by-side layouts */ |
| 773 |
/* ========================================================================== */ |
| 774 |
@media (max-width: 782px) { |
| 775 |
.wpdevelop input[type="text"], |
| 776 |
.wpdevelop input[type="email"], |
| 777 |
.wpdevelop select { |
| 778 |
font-size: 1.1em; |
| 779 |
height: 36px; /* FixIn: 7.2.0.2 */ |
| 780 |
padding: 4px 8px; |
| 781 |
} |
| 782 |
|
| 783 |
/* FixIn: 8.0.1.5 — stack “form right” layout */ |
| 784 |
.wpbc_booking_form_structure.wpbc_form_right, |
| 785 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_calendar, |
| 786 |
.wpbc_booking_form_structure.wpbc_form_right .wpbc_structure_form { |
| 787 |
width: 100%; |
| 788 |
float: none; |
| 789 |
margin-right: 0; |
| 790 |
} |
| 791 |
} |
| 792 |
|
| 793 |
/* ========================================================================== */ |
| 794 |
/* Developer Hints (form hints) */ |
| 795 |
/* What: visual hints for developers inside forms */ |
| 796 |
/* ========================================================================== */ |
| 797 |
|
| 798 |
.booking_form .form-hints-dev { |
| 799 |
margin: 1em 0; |
| 800 |
border-bottom: 1px solid #eee; |
| 801 |
} |
| 802 |
.booking_form .form-hints-dev .dates-hints-dev { |
| 803 |
padding: 2px 4px; |
| 804 |
font-size: 85%; |
| 805 |
color: #c7254e; |
| 806 |
background-color: #f9f2f4; |
| 807 |
border-radius: 2px; |
| 808 |
} |
| 809 |
|
| 810 |
|
| 811 |
/* ========================================================================== */ |
| 812 |
/* DEPRECATED LAYOUTS (kept for compatibility) */ |
| 813 |
/* What: older multi-column structures still used by some templates */ |
| 814 |
/* ========================================================================== */ |
| 815 |
/* 2‑column form with times — FixIn: 9.5.5.3 */ |
| 816 |
.wpbc_row { |
| 817 |
display: flex; |
| 818 |
flex-flow: row wrap; |
| 819 |
justify-content: flex-start; |
| 820 |
align-items: flex-start; |
| 821 |
margin-top: 1em; |
| 822 |
} |
| 823 |
.wpbc_col { |
| 824 |
flex: 0 1 1px; |
| 825 |
margin-right: 4.1em; |
| 826 |
} |
| 827 |
.wpbc_col.wpbc_cal { |
| 828 |
flex: 1 1 50%; |
| 829 |
margin: 1em 0; |
| 830 |
} |
| 831 |
@media (max-width: 782px) { |
| 832 |
.wpbc_col { |
| 833 |
flex: 0 1 auto; |
| 834 |
margin-right: 0; |
| 835 |
min-width: 100%; |
| 836 |
} |
| 837 |
} |
| 838 |
.wpbc_col.wpbc_times { |
| 839 |
flex: 1 1 50%; |
| 840 |
margin: 1em 0; |
| 841 |
} |
| 842 |
.wpbc_col.wpbc_cal > *, |
| 843 |
.wpbc_col.wpbc_times > * { |
| 844 |
width: 93%; |
| 845 |
} |
| 846 |
|
| 847 |
/* 2‑column general form — FixIn: 8.7.7.15 */ |
| 848 |
.wpbc_form_columns { |
| 849 |
width: 99%; |
| 850 |
margin-top: 1em; |
| 851 |
} |
| 852 |
.wpbc_form_columns .wpbc_form_row { |
| 853 |
display: flex; |
| 854 |
flex-flow: row wrap; |
| 855 |
justify-content: space-between; |
| 856 |
} |
| 857 |
.wpbc_form_columns .wpbc_form_field { |
| 858 |
flex: 1 1 14em; |
| 859 |
display: flex; |
| 860 |
flex-flow: row wrap; |
| 861 |
justify-content: flex-start; |
| 862 |
align-items: flex-start; |
| 863 |
align-content: flex-start; |
| 864 |
padding: 0 3% 0 0; |
| 865 |
margin: 0.7em 0; |
| 866 |
} |
| 867 |
.wpbc_form_field.wpbc_cal_field { |
| 868 |
display: block; |
| 869 |
} |
| 870 |
.wpbc_form_field.wpbc_cal_field > * { |
| 871 |
max-width: 95%; |
| 872 |
} |
| 873 |
.wpbc_form_field.wpbc_cal_field .bk_calendar_frame { |
| 874 |
margin: -0.75em 0 0; |
| 875 |
} |
| 876 |
@media (max-width: 782px) { |
| 877 |
.wpbc_form_columns .wpbc_form_field { |
| 878 |
flex: 1 1 100% |
| 879 |
} |
| 880 |
} |
| 881 |
.wpbc_form_columns .wpbc_form_field label, |
| 882 |
.wpbc_form_columns .wpbc_form_field label:hover { |
| 883 |
flex: 0 1 auto; |
| 884 |
margin-right: 2em; |
| 885 |
display: flex; |
| 886 |
flex-flow: column nowrap; |
| 887 |
justify-content: center; |
| 888 |
font-weight: 600; |
| 889 |
} |
| 890 |
.wpbc_form_columns .wpbc_form_field .wpdev-form-control-wrap { |
| 891 |
width: 100%; |
| 892 |
} |
| 893 |
.booking_form .wpbc_form_columns .form-group .controls select, |
| 894 |
.booking_form .wpbc_form_columns select, |
| 895 |
.booking_form .wpbc_form_columns input[type="text"], |
| 896 |
.booking_form .wpbc_form_columns input[type="email"] { |
| 897 |
width: 95%; |
| 898 |
} |
| 899 |
.booking_form .wpbc_form_columns textarea { |
| 900 |
width: 98%; |
| 901 |
} |
| 902 |
|
| 903 |
/* Field help / description: flex with small margin */ |
| 904 |
.booking_form .wpbc_field_description { |
| 905 |
flex: 1 1 100%; |
| 906 |
margin-block-start: 10px; |
| 907 |
} |
| 908 |
.wpbc_bfb__help, |
| 909 |
.wpdev-form-control-wrap + .wpbc_field_description { |
| 910 |
font-size:0.9em; |
| 911 |
} |
| 912 |
.wpdev-form-control-wrap.wpbc_wrap_checkbox + .wpbc_field_description{ |
| 913 |
margin-block-start:10px; |
| 914 |
} |
| 915 |
/* 3‑column general form — FixIn: 8.8.2.6 */ |
| 916 |
.wpbc_form_columns_general .wpbc_form_row_general { |
| 917 |
display: flex; |
| 918 |
flex-flow: row wrap; |
| 919 |
justify-content: space-between; |
| 920 |
} |
| 921 |
.wpbc_form_columns_general .wpbc_form_field_general { |
| 922 |
flex: 0 1 0; |
| 923 |
display: flex; |
| 924 |
flex-flow: row wrap; |
| 925 |
justify-content: flex-start; |
| 926 |
align-items: baseline; |
| 927 |
padding: 0 2% 0 0; |
| 928 |
} |
| 929 |
.wpbc_form_columns_general .wpbc_form_field_general:nth-child(1) { |
| 930 |
min-width: 341px; |
| 931 |
flex: 0 1 auto; |
| 932 |
} |
| 933 |
@media (max-width: 782px) { |
| 934 |
.wpbc_change_over_triangle { |
| 935 |
width: 100%; |
| 936 |
} |
| 937 |
.wpbc_form_columns_general .wpbc_form_field_general:nth-child(1), |
| 938 |
.wpbc_form_columns_general .wpbc_form_field_general:nth-child(2) { |
| 939 |
min-width: 100%; |
| 940 |
flex: 1 1 auto; |
| 941 |
margin-bottom: 2em; |
| 942 |
} |
| 943 |
} |
| 944 |
.wpbc_form_columns_general .wpbc_form_field_general:nth-child(2) { |
| 945 |
flex: 1 1 0; |
| 946 |
padding: 0; |
| 947 |
} |
| 948 |
.wpbc_debug { |
| 949 |
margin-right: 2em; |
| 950 |
} |
| 951 |
.wpbc_debug:last-of-type { |
| 952 |
float: none; |
| 953 |
} |
| 954 |
|
| 955 |
|
| 956 |
/* ================================================================================================================== */ |
| 957 |
/* == Booking Calendar — Front-End CSS (v9.8+) */ |
| 958 |
/* == Conservative cleanup: only dead rules removed, grouped, and documented */ |
| 959 |
/* ================================================================================================================== */ |
| 960 |
|
| 961 |
/* ========================================================================== */ |
| 962 |
/* Form Container & Grid — rows, fields, calendar blocks */ |
| 963 |
/* What: base structure for booking-form rows and fields */ |
| 964 |
/* ========================================================================== */ |
| 965 |
.wpbc_container_booking_form .bk_calendar_frame, |
| 966 |
.wpbc_container_booking_form .block_hints { |
| 967 |
margin-bottom: 5px; |
| 968 |
} |
| 969 |
|
| 970 |
.wpbc_container_booking_form .wpbc_calendar_wraper { |
| 971 |
margin-bottom: 10px; |
| 972 |
} |
| 973 |
|
| 974 |
/* Overall container width & top spacing */ |
| 975 |
.wpbc_container_booking_form { |
| 976 |
width: calc(100% - 10px); |
| 977 |
width: 100%; |
| 978 |
margin: 5px 0; |
| 979 |
} |
| 980 |
|
| 981 |
/* Unified row: flex layout with small gap */ |
| 982 |
.wpbc_container_booking_form .wpbc__row { |
| 983 |
display: flex; |
| 984 |
flex-flow: row wrap; |
| 985 |
justify-content: space-between; |
| 986 |
align-items: flex-start; |
| 987 |
width: 100%; |
| 988 |
gap: 3%; |
| 989 |
} |
| 990 |
|
| 991 |
/* Generic field column (except calendar field) */ |
| 992 |
.wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { |
| 993 |
flex: 1 1 14em; |
| 994 |
display: flex; |
| 995 |
flex-flow: row wrap; |
| 996 |
justify-content: flex-start; |
| 997 |
align-items: flex-start; |
| 998 |
align-content: normal; |
| 999 |
margin: 0.7em 0; |
| 1000 |
} |
| 1001 |
.wpbc_container_booking_form .wpbc__field:first-child { |
| 1002 |
padding-left: 0; |
| 1003 |
} |
| 1004 |
.wpbc_container_booking_form .wpbc__field:last-child { |
| 1005 |
padding-right: 0; |
| 1006 |
} |
| 1007 |
|
| 1008 |
/* Calendar wrapper sizing inside field */ |
| 1009 |
.wpbc_container_booking_form .wpbc__field .wpbc_calendar_wraper { |
| 1010 |
width: 100%; |
| 1011 |
} |
| 1012 |
|
| 1013 |
/* Stack fields on narrow screens. 10.15.1.2. */ |
| 1014 |
@media (max-width: 782px) { |
| 1015 |
.wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) { |
| 1016 |
flex: 1 1 100% !important; |
| 1017 |
padding: 0; |
| 1018 |
} |
| 1019 |
} |
| 1020 |
|
| 1021 |
/* Spacer column element */ |
| 1022 |
.wpbc_container_booking_form .wpbc__spacer { |
| 1023 |
flex: 0 1 auto; |
| 1024 |
padding: 0; |
| 1025 |
margin: 0; |
| 1026 |
display: inline-block; |
| 1027 |
} |
| 1028 |
|
| 1029 |
/* Calendar field specifics */ |
| 1030 |
.wpbc__field.wpbc__cal > * { |
| 1031 |
max-width: 100%; |
| 1032 |
} |
| 1033 |
.wpbc_bfb_form:has(:not(.wpbc__field)) .bk_calendar_frame, |
| 1034 |
.wpbc__field .bk_calendar_frame { |
| 1035 |
margin-top: calc(0.25em + 8px); |
| 1036 |
} |
| 1037 |
.wpbc__field.wpbc__cal .bk_calendar_frame { |
| 1038 |
margin: -0.75em 0 0; |
| 1039 |
} |
| 1040 |
|
| 1041 |
/* Field labels: inline-flex with small gap */ |
| 1042 |
.wpbc_container_booking_form .wpbc__field label:not(.wpbc_static_text), |
| 1043 |
.wpbc_container_booking_form .wpbc__field label:not(.wpbc_static_text):hover { |
| 1044 |
flex: 0 1 auto; |
| 1045 |
display: flex; |
| 1046 |
flex-flow: row wrap; |
| 1047 |
justify-content: flex-start; |
| 1048 |
align-items: center; |
| 1049 |
font-weight:600; |
| 1050 |
gap: 0.2em; |
| 1051 |
} |
| 1052 |
.wpbc_container_booking_form .wpbc__field label:has(input[type="checkbox"]), |
| 1053 |
.wpbc_container_booking_form .wpbc__field label:has(input[type="checkbox"]):hover { |
| 1054 |
display: block; |
| 1055 |
} |
| 1056 |
/* Fixes for inline checkbox texts. Usually it is checkbox with links. */ |
| 1057 |
div div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox * { |
| 1058 |
padding: 0; |
| 1059 |
margin: 0; |
| 1060 |
} |
| 1061 |
div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox, |
| 1062 |
div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox:hover { |
| 1063 |
font-weight: 400; |
| 1064 |
} |
| 1065 |
div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox span, |
| 1066 |
div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox a { |
| 1067 |
display: inline-flex; |
| 1068 |
align-items: center; |
| 1069 |
} |
| 1070 |
div.wpbc_container.wpbc_form .wpbc__field label.wpbc_inline_checkbox * { |
| 1071 |
vertical-align: baseline; |
| 1072 |
} |
| 1073 |
|
| 1074 |
/* Inputs inside field columns */ |
| 1075 |
.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap { |
| 1076 |
width: 100%; |
| 1077 |
} |
| 1078 |
.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_radio, |
| 1079 |
.wpbc_container_booking_form .wpbc__field .wpdev-form-control-wrap.wpbc_wrap_checkbox { |
| 1080 |
align-self: center; |
| 1081 |
} |
| 1082 |
|
| 1083 |
.wpbc_container_booking_form .wpbc__field .form-group .controls select, |
| 1084 |
.wpbc_container_booking_form .wpbc__field select, |
| 1085 |
.wpbc_container_booking_form .wpbc__field input[type="text"], |
| 1086 |
.wpbc_container_booking_form .wpbc__field input[type="email"] { |
| 1087 |
width: 100%; |
| 1088 |
} |
| 1089 |
|
| 1090 |
.wpbc_container_booking_form .wpbc__field textarea, |
| 1091 |
.wpbc_container_booking_form textarea { |
| 1092 |
width: 100%; |
| 1093 |
} |
| 1094 |
|
| 1095 |
/* Inline row variant (fields in a single line) — FixIn: 9.8.8.1 */ |
| 1096 |
.wpbc_row_inline { |
| 1097 |
display: flex; |
| 1098 |
flex-flow: row wrap; |
| 1099 |
justify-content: flex-start; |
| 1100 |
align-items: flex-start; |
| 1101 |
flex: 1 1 auto; |
| 1102 |
} |
| 1103 |
.wpbc_container_booking_form .wpbc__row .wpbc_row_inline label { |
| 1104 |
flex-flow: row wrap; |
| 1105 |
justify-content: flex-start; |
| 1106 |
align-items: center; |
| 1107 |
flex: 1 1 auto; |
| 1108 |
} |
| 1109 |
.wpbc_container_booking_form .wpbc__row .wpbc_row_inline .wpdev-form-control-wrap, |
| 1110 |
.wpbc_container_booking_form .wpbc__row .wpbc_row_inline label .wpdev-form-control-wrap { |
| 1111 |
width: auto; |
| 1112 |
margin: 0 5px; |
| 1113 |
min-width: 1em; |
| 1114 |
} |
| 1115 |
|
| 1116 |
/* ========================================================================== */ |
| 1117 |
/* Calendar Next to Form — two-column helper */ |
| 1118 |
/* What: helper wrappers when calendar sits alongside the form */ |
| 1119 |
/* ========================================================================== */ |
| 1120 |
.wpbc_sections { |
| 1121 |
display: flex; |
| 1122 |
flex-flow: row wrap; |
| 1123 |
justify-content: flex-start; |
| 1124 |
align-items: flex-start; |
| 1125 |
align-content: flex-start; |
| 1126 |
} |
| 1127 |
.wpbc_section_50 { |
| 1128 |
flex: 1 1 48%; |
| 1129 |
margin-bottom: 2em; |
| 1130 |
} |
| 1131 |
.wpbc_section_spacer { |
| 1132 |
flex: 1 1 2%; |
| 1133 |
} |
| 1134 |
.wpbc_section_100 { |
| 1135 |
flex: 0 1 96%; |
| 1136 |
display: flex; |
| 1137 |
flex-flow: row wrap; |
| 1138 |
justify-content: flex-start; |
| 1139 |
align-items: flex-start; |
| 1140 |
margin-bottom: 1em; |
| 1141 |
} |
| 1142 |
.wpbc_section_100 span, |
| 1143 |
.wpbc_section_100 p, |
| 1144 |
.wpbc_section_100 .wpdev-form-control-wrap { |
| 1145 |
flex: 1 1 100%; |
| 1146 |
} |
| 1147 |
.wpbc_section_100 .wpdev-form-control-wrap { |
| 1148 |
display: flex; |
| 1149 |
} |
| 1150 |
.wpbc_container_booking_form .wpbc_section_100 textarea { |
| 1151 |
flex: 1 1 100%; |
| 1152 |
} |
| 1153 |
|
| 1154 |
|
| 1155 |
/* ========================================================================== */ |
| 1156 |
/* Field Sizing — width & height defaults */ |
| 1157 |
/* What: sensible fixed/relative widths; line heights for selects/textarea */ |
| 1158 |
/* ========================================================================== */ |
| 1159 |
.wpbc_container_booking_form p { |
| 1160 |
padding: 0.25em 0; |
| 1161 |
} |
| 1162 |
|
| 1163 |
/* Width defaults for inputs/select/textarea */ |
| 1164 |
.wpbc_container_booking_form select, |
| 1165 |
.wpbc_container_booking_form input[type="text"], |
| 1166 |
.wpbc_container_booking_form input[type="email"], |
| 1167 |
.wpbc_container_booking_form textarea { |
| 1168 |
max-width: Min(30em, 100%); |
| 1169 |
width: 340px; |
| 1170 |
min-width: Min(8em, 100%); |
| 1171 |
} |
| 1172 |
|
| 1173 |
/* In column layouts, ensure controls can stretch */ |
| 1174 |
.wpbc_container_booking_form .wpbc__field select, |
| 1175 |
.wpbc_container_booking_form .wpbc__field input[type="text"], |
| 1176 |
.wpbc_container_booking_form .wpbc__field input[type="email"], |
| 1177 |
.wpbc_container_booking_form .wpbc__field textarea { |
| 1178 |
max-width: 100%; |
| 1179 |
} |
| 1180 |
|
| 1181 |
/* Textareas with specific cols — allow auto width */ |
| 1182 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="0"], |
| 1183 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="1"], |
| 1184 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="2"], |
| 1185 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="3"], |
| 1186 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="4"], |
| 1187 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="5"], |
| 1188 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="6"], |
| 1189 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="7"], |
| 1190 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="8"], |
| 1191 |
.wpbc_container.wpbc_container_booking_form textarea[cols*="9"] { |
| 1192 |
width: auto; |
| 1193 |
} |
| 1194 |
|
| 1195 |
/* Height/line-height for selects */ |
| 1196 |
.resource_selection_div select, |
| 1197 |
.wpbc_container.wpbc_container_booking_form select { |
| 1198 |
height: auto; |
| 1199 |
font-size: 1rem; |
| 1200 |
line-height: 2.4em; |
| 1201 |
padding: 0 0.5em; |
| 1202 |
} |
| 1203 |
.resource_selection_div select option { |
| 1204 |
line-height: 2.4em; |
| 1205 |
padding: 0.5em 0.5em; |
| 1206 |
outline: none; |
| 1207 |
} |
| 1208 |
|
| 1209 |
/* Textareas with row hints — allow auto height */ |
| 1210 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="0"], |
| 1211 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="1"], |
| 1212 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="2"], |
| 1213 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="3"], |
| 1214 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="4"], |
| 1215 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="5"], |
| 1216 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="6"], |
| 1217 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="7"], |
| 1218 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="8"], |
| 1219 |
.wpbc_container.wpbc_container_booking_form textarea[rows*="9"] { |
| 1220 |
height: auto; |
| 1221 |
} |
| 1222 |
.wpbc_form { |
| 1223 |
border:0; |
| 1224 |
} |
| 1225 |
/* Theme quirks: fix min heights in some WP themes (e.g., Twenty Five) */ |
| 1226 |
.is-layout-constrained .wpbc_form { /* FixIn: 10.14.2.1. */ |
| 1227 |
margin: 5px auto 0; |
| 1228 |
max-width: Min(900px, 100%); |
| 1229 |
font-size: 16px; |
| 1230 |
font-weight: 400; |
| 1231 |
/*padding: 0 10px;*/ |
| 1232 |
} |
| 1233 |
|
| 1234 |
/* Narrow screens: table and field widths */ |
| 1235 |
@media (max-width: 670px) { |
| 1236 |
div .wpbc_ideal_payment_table tr td { |
| 1237 |
display: block; |
| 1238 |
} |
| 1239 |
div .wpbc_container_booking_form select, |
| 1240 |
div .wpbc_container_booking_form input[type="text"], |
| 1241 |
div .wpbc_container_booking_form input[type="email"], |
| 1242 |
div .wpbc_container_booking_form textarea { |
| 1243 |
max-width: 98%; |
| 1244 |
width: 98%; |
| 1245 |
border: 1px solid; |
| 1246 |
} |
| 1247 |
} |
| 1248 |
|
| 1249 |
|
| 1250 |
/* ========================================================================== */ |
| 1251 |
/* Booking Form — “Simple / Wizard” variant */ |
| 1252 |
/* What: admin preview + front-end wizard behaviors */ |
| 1253 |
/* ========================================================================== */ |
| 1254 |
|
| 1255 |
/* Admin preview scaling */ |
| 1256 |
.wpbc_center_preview .bk_calendar_frame, |
| 1257 |
.wpbc_center_preview .wpbc__form__div .bk_calendar_frame * { |
| 1258 |
font-size: 14px; |
| 1259 |
} |
| 1260 |
.wpbc_center_preview, |
| 1261 |
.wpbc_center_preview .wpbc__form__div * { |
| 1262 |
font-size: 16px; |
| 1263 |
line-height: 2; |
| 1264 |
} |
| 1265 |
|
| 1266 |
/* Add Booking (admin) */ |
| 1267 |
.add_booking_page_content, |
| 1268 |
.add_booking_page_content p { |
| 1269 |
font-size: 15px; |
| 1270 |
/*line-height: 2;*/ |
| 1271 |
} |
| 1272 |
|
| 1273 |
/* Datepicker fine text */ |
| 1274 |
.datepick-inline .datepick-days-cell div.date-content-bottom, |
| 1275 |
.datepick-inline .datepick-days-cell div.date-content-top { |
| 1276 |
font-size: 0.7em; |
| 1277 |
} |
| 1278 |
|
| 1279 |
/* Simple form base width */ |
| 1280 |
.wpbc_booking_form_simple .wpbc__form__div { |
| 1281 |
width: 100%; |
| 1282 |
} |
| 1283 |
|
| 1284 |
/* Wizard: center the calendar block — FixIn: 10.9.2.1 */ |
| 1285 |
.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field label, |
| 1286 |
.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .wpbc_calendar_wraper { |
| 1287 |
display: flex; |
| 1288 |
flex-flow: column nowrap; |
| 1289 |
align-items: center; |
| 1290 |
justify-content: flex-start; |
| 1291 |
} |
| 1292 |
|
| 1293 |
/* Wizard: legend alignment — FixIn: 10.9.2.1 */ |
| 1294 |
.wpbc_booking_form_simple .wpbc_wizard_step .wpbc_r_calendar.wpbc__field .block_hints { |
| 1295 |
max-width: 550px; |
| 1296 |
justify-content: space-around; |
| 1297 |
} |
| 1298 |
|
| 1299 |
/* Wizard: labels span full width in this layout */ |
| 1300 |
.wpbc_container_booking_form .wpbc_booking_form_simple .wpbc__field label { |
| 1301 |
flex: 1 1 100%; |
| 1302 |
line-height: 2.5; |
| 1303 |
} |
| 1304 |
|
| 1305 |
/* Near-field warning spacing */ |
| 1306 |
.wpbc_calendar_wraper .wpbc_front_end__message_container_right { |
| 1307 |
display:flex; |
| 1308 |
} |
| 1309 |
|
| 1310 |
|
| 1311 |
/* ========================================================================== */ |
| 1312 |
/* Thank You — Confirmation section */ |
| 1313 |
/* What: post-booking message container, headings and layout */ |
| 1314 |
/* ========================================================================== */ |
| 1315 |
.wpbc_ty_hide { |
| 1316 |
display: none !important; |
| 1317 |
} |
| 1318 |
|
| 1319 |
.wpbc_after_booking_thank_you_section { |
| 1320 |
display: flex; |
| 1321 |
flex-flow: column wrap; |
| 1322 |
justify-content: flex-start; |
| 1323 |
align-items: flex-start; |
| 1324 |
max-width: 65rem; |
| 1325 |
margin: auto; |
| 1326 |
} |
| 1327 |
.wpbc_after_booking_thank_you_section * { |
| 1328 |
text-shadow: none; |
| 1329 |
} |
| 1330 |
|
| 1331 |
/* Lead “thank you” line */ |
| 1332 |
.wpbc_after_booking_thank_you_section .wpbc_ty__message { |
| 1333 |
flex: 1 1 auto; |
| 1334 |
padding: 0; |
| 1335 |
margin: 30px 0 10px; |
| 1336 |
font-size: 20px; |
| 1337 |
font-weight: 400; |
| 1338 |
} |
| 1339 |
|
| 1340 |
/* Container + default text colors */ |
| 1341 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container, |
| 1342 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container * { |
| 1343 |
color: #444; |
| 1344 |
} |
| 1345 |
|
| 1346 |
/* Fix color issue for embedded PayPal iframe */ |
| 1347 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container iframe { |
| 1348 |
color: transparent; |
| 1349 |
} |
| 1350 |
|
| 1351 |
/* Confirmation card */ |
| 1352 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container { |
| 1353 |
flex: 1 1 100%; |
| 1354 |
display: flex; |
| 1355 |
flex-flow: column wrap; |
| 1356 |
justify-content: flex-start; |
| 1357 |
align-items: flex-start; |
| 1358 |
box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 6px 0px; |
| 1359 |
border: 1px solid rgb(204, 204, 204); |
| 1360 |
border-radius: 2px; |
| 1361 |
background: #FFF; |
| 1362 |
color: #707070; |
| 1363 |
padding: 10px 15px; |
| 1364 |
box-sizing: border-box; |
| 1365 |
margin: auto; |
| 1366 |
font-size: 1rem; |
| 1367 |
font-weight: 400; |
| 1368 |
line-height: 2.2em; |
| 1369 |
text-align: left; |
| 1370 |
max-width: 100%; |
| 1371 |
width: 100%; |
| 1372 |
} |
| 1373 |
|
| 1374 |
/* Header strip with booking ID */ |
| 1375 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__header { |
| 1376 |
flex: 1 1 100%; |
| 1377 |
border-left: 5px solid #88b706; |
| 1378 |
padding: 5px 20px; |
| 1379 |
font-size: 18px; |
| 1380 |
width: 100%; |
| 1381 |
margin-left: -10px; |
| 1382 |
line-height: 36px; |
| 1383 |
font-weight: 400; |
| 1384 |
} |
| 1385 |
|
| 1386 |
/* Two-column body */ |
| 1387 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content { |
| 1388 |
flex: 1 1 100%; |
| 1389 |
margin-top: 10px; |
| 1390 |
width: 100%; |
| 1391 |
display: flex; |
| 1392 |
flex-flow: row wrap; |
| 1393 |
justify-content: space-between; |
| 1394 |
align-items: flex-start; |
| 1395 |
word-break: normal; |
| 1396 |
hyphens: none; |
| 1397 |
} |
| 1398 |
|
| 1399 |
/* Content blocks */ |
| 1400 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text { |
| 1401 |
flex: 1 1 100%; |
| 1402 |
word-break: break-word; |
| 1403 |
padding: 10px 0; |
| 1404 |
border-top: 1px solid #efefef; |
| 1405 |
} |
| 1406 |
|
| 1407 |
/* Optional 2-column content block */ |
| 1408 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2 { |
| 1409 |
flex: 1 1 22em; |
| 1410 |
width: 48%; |
| 1411 |
margin-right: 1%; |
| 1412 |
} |
| 1413 |
@media (max-width: 670px) { |
| 1414 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_cols_2 { |
| 1415 |
flex: 1 1 100%; |
| 1416 |
} |
| 1417 |
} |
| 1418 |
|
| 1419 |
/* Section headers and small headings */ |
| 1420 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_header { |
| 1421 |
font-size: 18px; |
| 1422 |
line-height: 2em; |
| 1423 |
margin-bottom: 1.2em; |
| 1424 |
} |
| 1425 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text h4 { |
| 1426 |
font-size: 18px; |
| 1427 |
line-height: 1.8em; |
| 1428 |
} |
| 1429 |
|
| 1430 |
/* Costs section alignment */ |
| 1431 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text .wpbc_ty__section_text_costs { |
| 1432 |
text-align: right; |
| 1433 |
padding: 0 2em; |
| 1434 |
} |
| 1435 |
|
| 1436 |
/* Coupon small note */ |
| 1437 |
.coupon_description_wrapper { |
| 1438 |
font-size: 0.7em; |
| 1439 |
font-weight: 400; |
| 1440 |
margin-left: 0.8em; |
| 1441 |
display: inline-flex; |
| 1442 |
flex-flow: row wrap; |
| 1443 |
justify-content: flex-start; |
| 1444 |
align-items: center; |
| 1445 |
} |
| 1446 |
.wpbc_after_booking_thank_you_section .coupon_description_wrapper { |
| 1447 |
font-size: 1em; |
| 1448 |
} |
| 1449 |
|
| 1450 |
/* Gateways area block */ |
| 1451 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content .wpbc_ty__content_text.wpbc_ty__content_gateways { |
| 1452 |
flex: 1 1 100%; |
| 1453 |
display: flex; |
| 1454 |
flex-flow: row wrap; |
| 1455 |
justify-content: space-around; |
| 1456 |
align-items: flex-start; |
| 1457 |
border-top: 0 solid #efefef; |
| 1458 |
} |
| 1459 |
|
| 1460 |
|
| 1461 |
/* ========================================================================== */ |
| 1462 |
/* Payment Gateways — layout */ |
| 1463 |
/* What: gateway cards, iDEAL table, and payment layout */ |
| 1464 |
/* ========================================================================== */ |
| 1465 |
.wpbc_ty__content_gateways .wpbc_ty__gateway { |
| 1466 |
flex: 1 1 100%; |
| 1467 |
margin: 0 5px 1em; |
| 1468 |
display: flex; |
| 1469 |
flex-flow: row wrap; |
| 1470 |
justify-content: flex-start; |
| 1471 |
align-items: flex-start; |
| 1472 |
} |
| 1473 |
.wpbc_ty__content_gateways .wpbc_ty__gateway.wpbc_col_auto_width { |
| 1474 |
flex: 0 1 auto; |
| 1475 |
} |
| 1476 |
|
| 1477 |
.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form { |
| 1478 |
flex: 0 1 auto; |
| 1479 |
min-width: 260px; |
| 1480 |
display: flex; |
| 1481 |
flex-flow: row wrap; |
| 1482 |
justify-content: flex-start; |
| 1483 |
align-items: flex-start; |
| 1484 |
} |
| 1485 |
.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form form { |
| 1486 |
flex: 1 1 100%; |
| 1487 |
display: flex; |
| 1488 |
flex-flow: column wrap; |
| 1489 |
justify-content: flex-start; |
| 1490 |
align-items: center; |
| 1491 |
} |
| 1492 |
/* Small footnote under PayPal button */ |
| 1493 |
.wpbc_paypal_fee { |
| 1494 |
font-size: 0.68em; |
| 1495 |
vertical-align: text-top; |
| 1496 |
line-height: 1em; |
| 1497 |
margin: 7px 0; |
| 1498 |
} |
| 1499 |
|
| 1500 |
/* iDEAL table formatting (FixIn: 10.6.1.1) */ |
| 1501 |
table.wpbc_ideal_payment_table { |
| 1502 |
margin: 10px 0; |
| 1503 |
width: 100%; |
| 1504 |
border: none; |
| 1505 |
} |
| 1506 |
.wpbc_ideal_payment_table td { |
| 1507 |
padding: 10px 0; |
| 1508 |
border: none; |
| 1509 |
} |
| 1510 |
.wpbc_ideal_payment_table td label { |
| 1511 |
font-weight: 600; |
| 1512 |
} |
| 1513 |
|
| 1514 |
|
| 1515 |
/* ========================================================================== */ |
| 1516 |
/* PayPal Standard Checkout — container tweaks */ |
| 1517 |
/* ========================================================================== */ |
| 1518 |
|
| 1519 |
.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div { |
| 1520 |
text-align: left; |
| 1521 |
clear: both; |
| 1522 |
} |
| 1523 |
.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_fee { |
| 1524 |
text-align: center; |
| 1525 |
} |
| 1526 |
.wpbc_ty__content_gateways .wpbc_ty__gateway .wpbc-payment-form.paypal_std_co_div .wpbc_paypal_std_co { |
| 1527 |
padding: 0 2px; |
| 1528 |
flex: 1 1 auto; |
| 1529 |
} |
| 1530 |
|
| 1531 |
|
| 1532 |
/* ========================================================================== */ |
| 1533 |
/* Dark Theme 1 — dark skins for messages and containers */ |
| 1534 |
/* ========================================================================== */ |
| 1535 |
|
| 1536 |
.wpbc_theme_dark_1 .wpbc_front_end__message { |
| 1537 |
background: transparent; |
| 1538 |
box-shadow: 0 0px 3px #3b3b3b; |
| 1539 |
color: #f74748 !important; |
| 1540 |
border-top: 0 !important; |
| 1541 |
border-right: 0 !important; |
| 1542 |
border-bottom: 0 !important; |
| 1543 |
} |
| 1544 |
.wpbc_theme_dark_1 .wpbc_front_end__message.wpbc_fe_message_error { |
| 1545 |
border-left-color: #c23b3b; |
| 1546 |
background: #595959 !important; |
| 1547 |
color: #b9b9b9 !important; |
| 1548 |
} |
| 1549 |
|
| 1550 |
/* Dark theme: thank-you section */ |
| 1551 |
.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__message { |
| 1552 |
color: #cdcdcd; |
| 1553 |
} |
| 1554 |
.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__container * { |
| 1555 |
color: #fff; |
| 1556 |
} |
| 1557 |
|
| 1558 |
/* Fix form field colors in confirmation window (iDEAL etc.) */ |
| 1559 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content input[type=text], |
| 1560 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content select, |
| 1561 |
.wpbc_after_booking_thank_you_section .wpbc_ty__container .wpbc_ty__content textarea { |
| 1562 |
color: var(--wpbc_form-field-text-color); |
| 1563 |
} |
| 1564 |
|
| 1565 |
.wpbc_ideal_payment_table td { |
| 1566 |
vertical-align: middle; |
| 1567 |
} |
| 1568 |
|
| 1569 |
.wpbc_theme_dark_1 .wpbc_after_booking_thank_you_section .wpbc_ty__container { |
| 1570 |
border: 1px solid rgb(0, 0, 0); |
| 1571 |
background: #383a3d; |
| 1572 |
color: #5f5f5f; |
| 1573 |
box-shadow: 0 0px 3px #3b3b3b; |
| 1574 |
} |
| 1575 |
|
| 1576 |
/* Dark theme: booking form text colors. Scope to form content, not Builder UI chrome. */ |
| 1577 |
.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form p, |
| 1578 |
.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form label, |
| 1579 |
.wpbc_theme_dark_1.wpbc_container.wpbc_form p, |
| 1580 |
.wpbc_theme_dark_1.wpbc_container.wpbc_form label { |
| 1581 |
color: var(--wpbc_form-label-color, #989898); |
| 1582 |
} |
| 1583 |
.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form select, |
| 1584 |
.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form textarea, |
| 1585 |
.wpbc_theme_dark_1.wpbc_bfb__theme_scope .wpbc_bfb_form input, |
| 1586 |
.wpbc_theme_dark_1.wpbc_container.wpbc_form select, |
| 1587 |
.wpbc_theme_dark_1.wpbc_container.wpbc_form textarea, |
| 1588 |
.wpbc_theme_dark_1.wpbc_container.wpbc_form input { |
| 1589 |
color: var(--wpbc_form-field-text-color, #444); |
| 1590 |
} |
| 1591 |
|
| 1592 |
|
| 1593 |
/* ========================================================================== */ |
| 1594 |
/* Capacity Hints — tooltips and inline availability */ |
| 1595 |
/* What: availability chips & layout for [capacity_hint] shortcode */ |
| 1596 |
/* ========================================================================== */ |
| 1597 |
|
| 1598 |
.capacity_hint { |
| 1599 |
align-self: baseline; |
| 1600 |
margin: 0; |
| 1601 |
} |
| 1602 |
.capacity_hint .wpbc_chint__full_day_bookings, |
| 1603 |
.capacity_hint.wpbc_chin_newline { |
| 1604 |
flex: 1 1 100%; |
| 1605 |
} |
| 1606 |
.bfb_element:has(.capacity_hint) { |
| 1607 |
align-items: center !important; |
| 1608 |
align-items: center !important; |
| 1609 |
} |
| 1610 |
.wpbc_capacity_hint_container { |
| 1611 |
display: flex; |
| 1612 |
flex-flow: column nowrap; |
| 1613 |
justify-content: flex-start; |
| 1614 |
align-items: flex-start; |
| 1615 |
width: 100%; |
| 1616 |
} |
| 1617 |
.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container, |
| 1618 |
.booking_form_div .wpbc__form__div .wpbc_capacity_hint_container * { |
| 1619 |
font-size: 0.94em; |
| 1620 |
line-height: 1.78; |
| 1621 |
} |
| 1622 |
|
| 1623 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container { |
| 1624 |
flex: 1 1 auto; |
| 1625 |
display: flex; |
| 1626 |
flex-flow: row wrap; |
| 1627 |
justify-content: flex-start; |
| 1628 |
align-items: flex-start; |
| 1629 |
width: 100%; |
| 1630 |
} |
| 1631 |
|
| 1632 |
/* Date line */ |
| 1633 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container { |
| 1634 |
flex: 1 1 100%; |
| 1635 |
display: flex; |
| 1636 |
flex-flow: row wrap; |
| 1637 |
justify-content: flex-start; |
| 1638 |
align-items: flex-start; |
| 1639 |
} |
| 1640 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date { |
| 1641 |
font-weight: 600; |
| 1642 |
flex: 0 1 auto; |
| 1643 |
} |
| 1644 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider { |
| 1645 |
flex: 1 1 auto; |
| 1646 |
display: none; |
| 1647 |
} |
| 1648 |
|
| 1649 |
/* Times line */ |
| 1650 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container { |
| 1651 |
flex: 0 1 auto; |
| 1652 |
display: flex; |
| 1653 |
flex-flow: row wrap; |
| 1654 |
justify-content: flex-start; |
| 1655 |
align-items: flex-start; |
| 1656 |
margin-right: 1em; |
| 1657 |
} |
| 1658 |
|
| 1659 |
/* Availability numbers */ |
| 1660 |
.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__availability { |
| 1661 |
font-weight: 600; |
| 1662 |
padding-left: 0.5em; |
| 1663 |
} |
| 1664 |
.wpbc_chint__availability { |
| 1665 |
color: #890; |
| 1666 |
} |
| 1667 |
.availability_num_0 { |
| 1668 |
color: #dc3400; |
| 1669 |
} |
| 1670 |
.availability_num_1, |
| 1671 |
.availability_num_2 { |
| 1672 |
color: #dc7100; |
| 1673 |
} |
| 1674 |
.availability_num_3, |
| 1675 |
.availability_num_4, |
| 1676 |
.availability_num_5 { |
| 1677 |
color: currentColor; |
| 1678 |
} |
| 1679 |
|
| 1680 |
/* Chosen timeslot highlight */ |
| 1681 |
.wpbc_selected_timeslot { |
| 1682 |
font-weight: 600; |
| 1683 |
text-decoration: underline; |
| 1684 |
text-decoration-style: dashed; |
| 1685 |
} |
| 1686 |
|
| 1687 |
/* Full-day hint compact layout */ |
| 1688 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container { |
| 1689 |
margin: 0; |
| 1690 |
line-height: unset; |
| 1691 |
font-size: 0.85em; |
| 1692 |
flex-flow: row wrap; |
| 1693 |
} |
| 1694 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container { |
| 1695 |
flex: 0 1 auto; |
| 1696 |
flex-flow: row nowrap; |
| 1697 |
width: auto; |
| 1698 |
} |
| 1699 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container { |
| 1700 |
flex: 0 1 auto; |
| 1701 |
flex-flow: row nowrap; |
| 1702 |
} |
| 1703 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__date_container .wpbc_chint__date_divider { |
| 1704 |
flex: 0 1 auto; |
| 1705 |
display: block; |
| 1706 |
} |
| 1707 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot { |
| 1708 |
display: none; |
| 1709 |
} |
| 1710 |
.wpbc_chint__full_day_bookings.wpbc_capacity_hint_container .wpbc_chint__datetime_container .wpbc_chint__time_container .wpbc_chint__timeslot_divider { |
| 1711 |
display: none; |
| 1712 |
} |
| 1713 |
|
| 1714 |
|
| 1715 |
/* ========================================================================== */ |
| 1716 |
/* Misc — demo banner & wizard utilities */ |
| 1717 |
/* ========================================================================== */ |
| 1718 |
|
| 1719 |
.wpbc_message_in_live_demo { |
| 1720 |
background: #ffffff; |
| 1721 |
box-shadow: 0 1px 7px #c8c8c86e; |
| 1722 |
text-align: left; |
| 1723 |
border-left: 4px solid #9580aa; |
| 1724 |
border-top: 1px solid #f0f0f0; |
| 1725 |
border-right: 1px solid #f0f0f0; |
| 1726 |
margin: 10px 0; |
| 1727 |
line-height: 2; |
| 1728 |
padding: 15px 20px; |
| 1729 |
color: #444; |
| 1730 |
border-radius: 8px; |
| 1731 |
font-size: 18px; |
| 1732 |
font-weight: 500; |
| 1733 |
} |
| 1734 |
|
| 1735 |
.wpbc_wizard_step_hidden { |
| 1736 |
display: none; |
| 1737 |
} |
| 1738 |
|
| 1739 |
|
| 1740 |
/* // FixIn: 10.12.4.0. */ |
| 1741 |
.wpbc_logo_20_for_black { |
| 1742 |
background-repeat: no-repeat; |
| 1743 |
background-position: center; |
| 1744 |
display: inline-block; |
| 1745 |
vertical-align: top; |
| 1746 |
background-size: 18px auto; |
| 1747 |
width: 20px; |
| 1748 |
height: 20px; |
| 1749 |
margin-top: 6px; |
| 1750 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTAgNTUwIj48cGF0aCBkPSJNMjc1IDE2Mi4zNmMtOTIuMzIgMC0xNjcuMTUgNzcuODItMTY3LjE1IDE3My44MVMxODIuNjkgNTA5Ljk5IDI3NSA1MDkuOTlzMTY3LjE1LTc3LjgyIDE2Ny4xNS0xNzMuODJTMzY3LjMxIDE2Mi4zNiAyNzUgMTYyLjM2Wm0wIDI2NC41M2MtNTAuMSAwLTkwLjcxLTQwLjYxLTkwLjcxLTkwLjcxczQwLjYxLTkwLjcxIDkwLjcxLTkwLjcxIDkwLjcxIDQwLjYxIDkwLjcxIDkwLjcxLTQwLjYxIDkwLjcxLTkwLjcxIDkwLjcxWiIgc3R5bGU9ImZpbGw6I2FhYTsiIGZpbGwtb3BhY2l0eT0iMC40IiAvPjxwYXRoIGQ9Ik0zNDAuNTMgMzk4LjkxYy0xNC44NSAxNS41MS0zNS4xNiAyNS43Ni01Ny44NCAyNy42Ni01NC44NyA0LjYtMTAxLjY0LTQxLjE0LTk4LjIzLTk2LjEgMi45NC00Ny40NCA0Mi4zNS04NS4wMSA5MC41NC04NS4wMSAyNC44NCAwIDQ3LjM0IDkuOTggNjMuNzIgMjYuMTYgNS44NiA1Ljc4IDE1LjI5IDUuNzMgMjEuMTEtLjA5bDM1LjE0LTM1LjE0YzUuNjktNS42OSA1LjktMTQuODcuNDMtMjAuNzctMzAuNDEtMzIuODMtNzMuMS01My4yNi0xMjAuNC01My4yNi05Mi4zMiAwLTE2Ny4xNSA3Ny44Mi0xNjcuMTUgMTczLjgxUzE4Mi42OSA1MDkuOTkgMjc1IDUwOS45OWM0OC40OSAwIDkyLjE1LTIxLjQ3IDEyMi42OC01NS43NiA1LjI5LTUuOTQgNS4wMi0xNC45Ny0uNi0yMC41OWwtMzUuMDUtMzUuMDVjLTUuOTgtNS45OC0xNS42Ny01Ljc5LTIxLjUxLjMyWiIgIHN0eWxlPSJmaWxsOiNjY2M7Ii8+PHBhdGggZD0iTTExMi41MyAyNjEuMjdjMTIuMzQtMzkuMDcgMzguMzItNzAuMDIgNzcuNzktOTcuMDQuOTItLjYzIDEuNDgtMS42NyAxLjQ4LTIuNzlWMTQuNzZjMC00LjI4LTMuNjgtNy43Ni04LjIyLTcuNzZoLTMuNzZjLTE4LjU2IDAtNzMuMTcgNDAuMy03MS43OSA2MC42MmwtLjE3IDE5Mi45MWMwIDIuNzQgMy44NiAzLjM0IDQuNjguNzNaIiAgc3R5bGU9ImZpbGw6I2NjYzsiLz48L3N2Zz4=') !important; |
| 1751 |
} |
| 1752 |
.wpbc_logo_30_for_white { |
| 1753 |
display: inline-block; |
| 1754 |
background-position: 0 1px; |
| 1755 |
background-repeat: no-repeat; |
| 1756 |
background-size: 30px auto; |
| 1757 |
width: 30px; |
| 1758 |
height: 30px; |
| 1759 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTAgNTUwIj48cGF0aCBkPSJNMjc1IDE2Mi4zNmMtOTIuMzIgMC0xNjcuMTUgNzcuODItMTY3LjE1IDE3My44MVMxODIuNjkgNTA5Ljk5IDI3NSA1MDkuOTlzMTY3LjE1LTc3LjgyIDE2Ny4xNS0xNzMuODJTMzY3LjMxIDE2Mi4zNiAyNzUgMTYyLjM2Wm0wIDI2NC41M2MtNTAuMSAwLTkwLjcxLTQwLjYxLTkwLjcxLTkwLjcxczQwLjYxLTkwLjcxIDkwLjcxLTkwLjcxIDkwLjcxIDQwLjYxIDkwLjcxIDkwLjcxLTQwLjYxIDkwLjcxLTkwLjcxIDkwLjcxWiIgc3R5bGU9ImZpbGw6I2U1ZTVlNTsiIGZpbGwtb3BhY2l0eT0iMS4wIiAvPjxwYXRoIGQ9Ik0zNDAuNTMgMzk4LjkxYy0xNC44NSAxNS41MS0zNS4xNiAyNS43Ni01Ny44NCAyNy42Ni01NC44NyA0LjYtMTAxLjY0LTQxLjE0LTk4LjIzLTk2LjEgMi45NC00Ny40NCA0Mi4zNS04NS4wMSA5MC41NC04NS4wMSAyNC44NCAwIDQ3LjM0IDkuOTggNjMuNzIgMjYuMTYgNS44NiA1Ljc4IDE1LjI5IDUuNzMgMjEuMTEtLjA5bDM1LjE0LTM1LjE0YzUuNjktNS42OSA1LjktMTQuODcuNDMtMjAuNzctMzAuNDEtMzIuODMtNzMuMS01My4yNi0xMjAuNC01My4yNi05Mi4zMiAwLTE2Ny4xNSA3Ny44Mi0xNjcuMTUgMTczLjgxUzE4Mi42OSA1MDkuOTkgMjc1IDUwOS45OWM0OC40OSAwIDkyLjE1LTIxLjQ3IDEyMi42OC01NS43NiA1LjI5LTUuOTQgNS4wMi0xNC45Ny0uNi0yMC41OWwtMzUuMDUtMzUuMDVjLTUuOTgtNS45OC0xNS42Ny01Ljc5LTIxLjUxLjMyWiIgIHN0eWxlPSJmaWxsOiM1NTU7Ii8+PHBhdGggZD0iTTExMi41MyAyNjEuMjdjMTIuMzQtMzkuMDcgMzguMzItNzAuMDIgNzcuNzktOTcuMDQuOTItLjYzIDEuNDgtMS42NyAxLjQ4LTIuNzlWMTQuNzZjMC00LjI4LTMuNjgtNy43Ni04LjIyLTcuNzZoLTMuNzZjLTE4LjU2IDAtNzMuMTcgNDAuMy03MS43OSA2MC42MmwtLjE3IDE5Mi45MWMwIDIuNzQgMy44NiAzLjM0IDQuNjguNzNaIiAgc3R5bGU9ImZpbGw6IzU1NTsiLz48L3N2Zz4=') !important; |
| 1760 |
} |
| 1761 |
|