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