/*
 * Theme "poster" (direction F, chosen by Pasi on Mon 16 Nov 2026).
 *
 * A theme is loaded AFTER every other stylesheet of the page, including the partner's brand CSS,
 * and only on an installation or hotel with an active partner brand (setting brand.theme).
 * It changes the look only: no URL, form field, script or behaviour depends on it.
 *
 * The same file is used by the booking engine (ibe/themes/poster/) and by the payment pages
 * (cps/themes/poster/). Keep the two copies identical.
 *
 * A second partner reuses this theme with its own colours: set the variables below in the partner's
 * brand CSS with a selector that outranks this file's ":root", because the brand CSS loads BEFORE
 * the theme: "html:root { --poster-band: #...; --poster-band-hover: #...; }". A plain ":root" there
 * loses to the one below (same weight, later file). Nothing else needs to change.
 *
 * Cache: nginx serves *.css and *.woff2 with a 90-day expiry. With every change to this file bump
 * the "?v=" of the theme link in the three hooks (ibe and frontend decorators/default.jsp, CPS
 * decorators/default.jsp); with a new font file bump the "?v=" of its url() below.
 *
 * Why "html body" and !important: the existing pages and the partner brand CSS set many of the same
 * properties with !important and inline styles; the theme has to win over both.
 *
 * Typeface: Figtree (SIL OFL 1.1, fonts/OFL.txt) stands in for the partner's Gotham until the
 * licence question is answered. Body text uses the partner's own stack (Helvetica Neue Light,
 * Arial elsewhere). Thai and Chinese fall back to the system faces named in the stacks.
 */

@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/figtree-latin-600-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/figtree-latin-ext-600-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/figtree-latin-700-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/figtree-latin-ext-700-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/figtree-latin-800-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poster Head'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/figtree-latin-ext-800-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* Colour roles. Web Connection: brand green #00cc66 (PARTNER_BRAND 1), deep green of direction F. */
  --poster-page: #f1f1ee;          /* page background */
  --poster-surface: #ffffff;       /* room blocks, cards, dialogs, inputs */
  --poster-ink: #10241b;           /* main text */
  --poster-muted: #4a5a52;         /* secondary text (7.0:1 on surface, 6.5:1 on page) */
  --poster-line: #d6dbd7;          /* hairlines between rows */
  --poster-field-line: #77847d;    /* input borders (3.9:1 on white, for a visible control edge) */
  --poster-accent: #00cc66;        /* main call to action */
  --poster-accent-hover: #00b359;
  --poster-accent-ink: #04130b;    /* text on the accent */
  --poster-band: #0b3d2c;          /* header and search band, room-block top edge, secondary buttons */
  --poster-band-hover: #135c43;
  --poster-band-ink: #ffffff;      /* text on the band */
  --poster-band-muted: #c4dccf;    /* labels and quiet text on the band */
  --poster-band-line: #00cc66;     /* the bright line under the search band */
  --poster-error: #b3261e;
  --poster-error-bg: #fbeceb;
  --poster-focus-in: #ffffff;      /* focus ring: inner light ring, outer dark ring, visible on both */
  --poster-focus-out: #0b3d2c;

  /* Type */
  --poster-thai-cjk: 'Thonburi', 'Leelawadee UI', 'Noto Sans Thai', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --poster-font-head: 'Poster Head', 'Gotham', 'Helvetica Neue', Arial, var(--poster-thai-cjk);
  --poster-font-body: 'Helvetica Neue', Helvetica, Arial, var(--poster-thai-cjk);
  --poster-body-weight: 300;       /* Helvetica Neue Light where the device has it; Arial has no light */
  --poster-size-body: 15px;
  --poster-size-small: 13px;
  --poster-size-room: 32px;        /* room names, in capitals */
  --poster-size-room-phone: 27px;
  --poster-size-price: 28px;
  --poster-size-hotel: 34px;
  --poster-track-caps: 0.06em;     /* letter spacing for small capitals */

  /* Shape and space */
  --poster-radius: 0;
  --poster-control-h: 46px;
  --poster-edge: 8px;              /* heavy top edge of room blocks and cards */
  --poster-band-rule: 6px;         /* bright line under the search band */
  --poster-gap: 28px;
}

/* ---------- Base type ---------- */
html body { background: var(--poster-page) !important; color: var(--poster-ink) !important;
  font-family: var(--poster-font-body) !important; font-weight: var(--poster-body-weight); font-size: var(--poster-size-body);
  -webkit-font-smoothing: antialiased; }
html body p, html body a, html body li, html body td, html body th, html body label, html body small,
html body input, html body select, html body textarea, html body .btn,
html body span:not([class*="glyphicon"]):not([class*="icon"]):not(.fa):not(.fas):not(.far) {
  font-family: var(--poster-font-body) !important; }
html body b, html body strong { font-weight: 700; }
html body a { color: var(--poster-ink); text-underline-offset: 3px; }
html body a:hover { color: var(--poster-band-hover); }
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body h1 *, html body h2 *, html body h3 *, html body h4 *, html body h5 *, html body h6 * {
  font-family: var(--poster-font-head) !important; color: var(--poster-ink); }
html body section.bg-white, html body .bg-white:not(footer), html body #wrap { background: transparent !important; }

/* ---------- Keyboard focus: two rings, visible on the band and on white ---------- */
html body a:focus-visible, html body button:focus-visible, html body .btn:focus-visible,
html body input:focus-visible, html body select:focus-visible, html body textarea:focus-visible,
html body .form-control:focus, html body [tabindex]:focus-visible {
  outline: 3px solid var(--poster-focus-out) !important; outline-offset: 2px !important;
  box-shadow: 0 0 0 2px var(--poster-focus-in) !important; }
html body #header a:focus-visible, html body #header button:focus-visible, html body #header .btn:focus-visible,
html body .booking-bar a:focus-visible, html body .booking-bar button:focus-visible, html body .booking-bar .btn:focus-visible,
html body .booking-bar input:focus-visible, html body .booking-bar .form-control:focus, html body #cookie-law a:focus-visible {
  outline-color: var(--poster-focus-in) !important; box-shadow: 0 0 0 2px var(--poster-focus-out) !important; }

/* ---------- Header band ---------- */
html body #header { background: var(--poster-band) !important; color: var(--poster-band-ink) !important;
  box-shadow: none !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.14) !important; }
html body #header, html body #header p, html body #header li, html body #header span { color: var(--poster-band-ink) !important; }
html body #header p { color: var(--poster-band-muted) !important; font-size: 12px; }
html body #header a, html body #header .menu-hotel-left a, html body #header .menu-hotel-right a {
  color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--poster-track-caps); font-size: 12px; }
html body #header h1.name-hotel, html body h1.name-hotel.txt-color-hotel, html body #header .txt-color-hotel {
  color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  font-size: var(--poster-size-hotel) !important; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.005em; margin-bottom: 10px; }
/* the white box behind the hotel logo */
html body #hotel_logo > a { display: inline-block; background: #ffffff; padding: 10px 12px; line-height: 0; min-width: 64px; min-height: 48px; }
html body #hotel_logo img#hotel-logo { max-height: 76px; width: auto; max-width: 100%; }
/* language picker on the band */
html body #header .bootstrap-select > .btn, html body #choose_language_mb .btn,
html body .choose-language-mobile, html body .choose-language-mobile .filter-option-inner-inner {
  background: transparent !important; color: var(--poster-band-ink) !important; border: 0 !important; }
/* the open language list is a white menu: its labels are ink, not band text */
html body #header .dropdown-menu, html body .bootstrap-select .dropdown-menu { background: var(--poster-surface) !important; border-radius: var(--poster-radius) !important; }
html body #header .dropdown-menu a, html body #header .dropdown-menu span, html body #header .dropdown-menu li,
html body .bootstrap-select .dropdown-menu a, html body .bootstrap-select .dropdown-menu span {
  color: var(--poster-ink) !important; text-transform: none; letter-spacing: 0; font-family: var(--poster-font-body) !important; font-size: 14px; }
html body #header .dropdown-menu .dropdown-item.active, html body #header .dropdown-menu .dropdown-item:active,
html body .bootstrap-select .dropdown-menu .dropdown-item.active, html body .bootstrap-select .dropdown-menu .dropdown-item:active,
html body #header .dropdown-menu .dropdown-item.active span, html body .bootstrap-select .dropdown-menu .dropdown-item.active span {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; }
html body #header .dropdown-menu .dropdown-item:hover:not(.active), html body .bootstrap-select .dropdown-menu .dropdown-item:hover:not(.active) { background: #e3ece7 !important; }
html body .icon-chart-mb { color: var(--poster-band-ink) !important; fill: currentColor; }
html body #menu_toggle { background: var(--poster-surface) !important; border-radius: var(--poster-radius) !important; color: var(--poster-band) !important; }
html body #sidebar_wrapper { background: var(--poster-band) !important; }
html body #sidebar_wrapper a, html body #sidebar_wrapper h3 { color: var(--poster-band-ink) !important; }

/* ---------- Step bar (on the band) ---------- */
html body .book-step .txt-name { color: var(--poster-band-muted) !important; font-family: var(--poster-font-head) !important;
  font-weight: 700 !important; text-transform: uppercase; letter-spacing: var(--poster-track-caps); font-size: 12px; }
html body .book-step .active .txt-name { color: var(--poster-band-ink) !important; font-weight: 800 !important; }
html body .book-step .step { color: var(--poster-band-muted) !important; border-color: var(--poster-band-muted) !important;
  background: transparent !important; font-family: var(--poster-font-head) !important; font-weight: 800; border-radius: 50%; }
html body .book-step .active .step, html body #header .book-step .active .step {
  background: var(--poster-accent) !important; border-color: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; }
html body #header .book-step .step:not(.active .step) { color: var(--poster-band-muted) !important; }
html body #header .book-step .txt-name { color: var(--poster-band-muted) !important; }
html body #header .book-step .active .txt-name { color: var(--poster-band-ink) !important; }
html body .book-step .line { background: var(--poster-band-muted) !important; }

/* ---------- Search band ---------- */
html body .booking-bar.bg-color, html body #booking_bar_top, html body #enhancement_bar {
  background: var(--poster-band) !important; border-bottom: var(--poster-band-rule) solid var(--poster-band-line) !important;
  padding-top: 20px !important; padding-bottom: 22px !important; }
html body .booking-bar label, html body #booking_bar_top label, html body #enhancement_bar label {
  color: var(--poster-band-muted) !important; font-family: var(--poster-font-head) !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: var(--poster-track-caps); font-size: 12px !important; }
html body .booking-bar form label, html body #booking_bar_top .box-booking-summary-desktop > label {
  display: block; min-height: 18px; line-height: 18px; margin: 0 0 8px 0 !important; white-space: normal; overflow-wrap: anywhere; }
html body .booking-bar .form-control, html body .booking-bar input, html body .booking-bar .night {
  height: var(--poster-control-h) !important; border-radius: var(--poster-radius) !important; border: 0 !important;
  background: var(--poster-surface) !important; color: var(--poster-ink) !important;
  font-family: var(--poster-font-head) !important; font-weight: 700 !important; font-size: 17px !important;
  padding-left: 12px !important; line-height: var(--poster-control-h); }
html body .booking-bar .night { display: block; text-align: center; padding: 0 !important; }
/* the booking summary drops down from the band onto white: its currency list keeps a visible edge */
html body .booking-bar [id^="collapse_booking_summary"] select.form-control {
  border: 1px solid var(--poster-field-line) !important; height: 40px !important; min-height: 40px; font-size: 15px !important; line-height: normal; padding-left: 8px !important; }
html body #booking_bar_top .box-booking-summary-desktop > br { display: none; }
html body #booking_bar_top .box-booking-summary-desktop { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 12px; }
html body #booking_bar_top .box-booking-summary-desktop > label { flex: 0 0 100%; }
html body .booking-bar input::placeholder { color: var(--poster-muted) !important; font-weight: 600; opacity: 1; }
html body .booking-bar .btn-check-availability {
  height: var(--poster-control-h) !important; min-height: var(--poster-control-h); padding: 0 22px !important;
  background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border: 0 !important;
  border-radius: var(--poster-radius) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  font-size: 16px !important; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
html body .booking-bar .btn-check-availability:hover { background: var(--poster-accent-hover) !important; }
html body #booking_summary, html body #booking_summary_tb {
  min-height: var(--poster-control-h); background: transparent !important; color: var(--poster-band-ink) !important;
  border: 2px solid var(--poster-band-ink) !important; border-radius: var(--poster-radius) !important; }
html body #booking_summary span, html body #booking_summary_tb span { color: var(--poster-band-ink) !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; }
html body #booking_summary .booking-amount, html body #booking_summary_tb .booking-amount, html body .booking-amount {
  background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border-color: var(--poster-accent) !important; }
html body .icon-chart-desktop { color: var(--poster-band-ink); border: 2px solid var(--poster-band-ink); padding: 10px; width: var(--poster-control-h); height: var(--poster-control-h); vertical-align: middle; }
/* phone: the fixed booking summary bar at the bottom */
html body #btn_booking_summary_mb, html body #btn_booking_summary_mb.empty-cart {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border: 0 !important;
  border-top: 4px solid var(--poster-accent) !important; border-radius: 0 !important; }
html body #btn_booking_summary_mb span { color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important;
  font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.04em; }
html body #btn_booking_summary_mb .booking-amount { color: var(--poster-accent-ink) !important; }

/* ---------- Room list ---------- */
html body .check-show-rates label, html body .taxes label { color: var(--poster-muted) !important; font-size: var(--poster-size-small); }
html body .room-list { background: var(--poster-surface) !important; border: 0 !important; border-top: var(--poster-edge) solid var(--poster-band) !important;
  border-radius: var(--poster-radius) !important; margin-bottom: var(--poster-gap) !important; box-shadow: none !important; padding-bottom: 8px; }
html body .room-list > .row { border: 0 !important; background: transparent !important; }
html body .room-photo .photo-container { background: #cfd4d0; min-height: 200px; }
html body .total-number-room-photo { background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border-radius: 0 !important;
  font-family: var(--poster-font-head) !important; font-weight: 700; }
html body .room-list h2, html body .room-list h2 a, html body .room-name a {
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; font-size: var(--poster-size-room) !important;
  line-height: 1.04 !important; text-transform: uppercase; letter-spacing: 0.004em; color: var(--poster-band) !important;
  text-decoration-color: var(--poster-accent) !important; text-decoration-thickness: 3px; text-underline-offset: 5px;
  margin: 14px 0 8px; overflow-wrap: anywhere; }
html body .room-list .more-detail a { font-family: var(--poster-font-head) !important; font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--poster-track-caps); font-size: 12px; color: var(--poster-band) !important; }
html body .room-list p, html body .room-list p span, html body .room-list .txt-drop { color: var(--poster-ink); }
html body .room-list .txt-drop, html body .room-list .txt-drop span { color: var(--poster-muted) !important; }
html body .promotion-list { border-top: 1px solid var(--poster-line) !important; padding-top: 10px; margin-top: 4px; }
html body .promotion-list hr { border-color: var(--poster-line) !important; }
html body .room-list h5, html body .box-detail-pro h5 { font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  font-size: 18px !important; color: var(--poster-ink) !important; }
html body .short-desc { color: var(--poster-muted) !important; }
html body .box-pro-price .price, html body .room-list .price {
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; font-size: var(--poster-size-price) !important;
  color: var(--poster-ink) !important; letter-spacing: -0.005em; line-height: 1.1; }
html body .box-pro-price .currency { font-family: var(--poster-font-head) !important; font-weight: 800 !important; color: var(--poster-muted) !important;
  letter-spacing: var(--poster-track-caps); font-size: 13px !important; }
html body .box-pro-price .basic-price, html body .box-pro-price .basic-price span, html body .avg-per-night {
  color: var(--poster-muted) !important; font-size: 12px !important; }
/* ADD: solid deep-green block */
html body .box-btn-add .btn-add-list, html body .btn-add-list {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border: 0 !important;
  border-radius: var(--poster-radius) !important; min-height: 50px; min-width: 96px;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.06em; }
html body .btn-add-list span, html body .btn-add-list i { color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important; }
html body .box-btn-add .btn-add-list:not(:disabled):not(.disabled):hover, html body .btn-add-list:hover { background: var(--poster-band-hover) !important; color: var(--poster-band-ink) !important; }
html body .btn-na, html body .btn-na.btn-action { background: #e3e6e3 !important; color: #4a5a52 !important; border-color: #e3e6e3 !important; border-radius: 0 !important; }

/* ---------- Buttons ---------- */
html body .btn-main, html body .btn-action, html body .btn-primary, html body .btn-success, html body .btn-cart, html body .btn-add,
html body .btn-book, html body .btn-book-summary, html body .btn-confirm, html body .btn-accept, html body .modal-footer .btn-primary,
html body #checkoutButton, html body .loginBtn_sign_in, html body #cookie-law .btn-ok {
  background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border: 0 !important;
  border-radius: var(--poster-radius) !important; min-height: 48px; box-shadow: none !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em; font-size: 16px !important; }
html body .btn-book span, html body .btn-book-summary span, html body .btn-confirm span, html body #checkoutButton span { color: var(--poster-accent-ink) !important; font-family: var(--poster-font-head) !important; }
html body .btn-main:hover, html body .btn-action:hover, html body .btn-primary:hover, html body .btn-success:hover, html body .btn-book:hover,
html body .btn-book-summary:hover, html body .btn-confirm:hover, html body .btn-accept:hover, html body #checkoutButton:hover, html body #cookie-law .btn-ok:hover {
  background: var(--poster-accent-hover) !important; color: var(--poster-accent-ink) !important; }
/* secondary: outlined deep green */
html body .box-btn-add .btn-register, html body .btn-register, html body .btn-skip, html body .btn-change, html body .btn-decline,
html body .box-btn .secondary-action, html body .btn-member-reg, html body .btn-back, html body a.btn-secondary {
  background: var(--poster-surface) !important; color: var(--poster-band) !important; border: 2px solid var(--poster-band) !important;
  border-radius: var(--poster-radius) !important; min-height: 46px; text-decoration: none !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em;
  line-height: 1.2 !important; padding-top: 11px !important; padding-bottom: 11px !important; }
html body .box-btn-add .btn-register:hover, html body .btn-register:hover, html body .btn-skip:hover, html body .btn-change:hover,
html body .btn-decline:hover, html body .btn-member-reg:hover, html body .btn-back:hover, html body a.btn-secondary:hover {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; }
html body .btn-validate, html body .box-promo-code .btn-validate {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border: 0 !important; border-radius: var(--poster-radius) !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em; min-height: 46px; }
html body .btn-outline-secondary.btn-plus, html body .btn-outline-secondary.btn-minus {
  color: var(--poster-band) !important; border: 2px solid var(--poster-band) !important; border-radius: var(--poster-radius) !important; background: var(--poster-surface) !important;
  min-width: 44px; min-height: 44px; font-weight: 800; }
html body .btn-outline-secondary.btn-plus:hover, html body .btn-outline-secondary.btn-minus:hover { background: var(--poster-band) !important; color: var(--poster-band-ink) !important; }

/* ---------- Inputs and selects (outside the band) ---------- */
html body .form-control, html body select.form-control, html body .bootstrap-select > .dropdown-toggle {
  border-radius: var(--poster-radius) !important; border: 1px solid var(--poster-field-line) !important;
  min-height: 44px; background-color: var(--poster-surface); color: var(--poster-ink) !important; font-weight: 400; font-size: 15px; }
html body .form-control:disabled, html body .form-control[readonly] { background-color: #eceeec !important; color: var(--poster-ink) !important; }
html body input.required, html body select.required, html body textarea.required { border-left: 4px solid var(--poster-error) !important; }
html body .ng-dirty .ng-invalid, html body .form-control.ng-dirty.ng-invalid { border-color: var(--poster-error) !important; background-color: var(--poster-error-bg) !important; }
html body .text-danger, html body .error, html body .help-inline.error, html body .alert-danger { color: var(--poster-error) !important; }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--poster-band); width: 18px; height: 18px; vertical-align: -3px; }
html body label, html body .control-label { color: var(--poster-ink); }

/* ---------- Date picker (jQuery UI) ---------- */
html body #ui-datepicker-div, html body .ui-datepicker { border: 0 !important; border-top: var(--poster-edge) solid var(--poster-band) !important;
  border-radius: var(--poster-radius) !important; box-shadow: 0 18px 40px -12px rgba(11,61,44,.45) !important; background: var(--poster-surface) !important;
  padding: 0 !important; font-family: var(--poster-font-body) !important; }
html body .ui-datepicker .ui-datepicker-header { background: var(--poster-band) !important; border: 0 !important; border-radius: 0 !important; color: var(--poster-band-ink) !important; padding: 12px 0 !important; }
html body .ui-datepicker .ui-datepicker-title, html body .ui-datepicker .ui-datepicker-title span {
  color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.04em; }
html body .ui-datepicker .ui-datepicker-prev, html body .ui-datepicker .ui-datepicker-next {
  border: 2px solid var(--poster-band-ink) !important; border-radius: 0 !important; background: transparent !important; top: 9px !important; cursor: pointer; }
html body .ui-datepicker .ui-datepicker-prev .ui-icon, html body .ui-datepicker .ui-datepicker-next .ui-icon { filter: invert(1) brightness(2); }
html body .ui-datepicker select.ui-datepicker-month, html body .ui-datepicker select.ui-datepicker-year {
  background: var(--poster-surface) !important; color: var(--poster-ink) !important; border: 0 !important; border-radius: 0 !important;
  font-family: var(--poster-font-head) !important; font-weight: 700 !important; height: 30px; }
html body .ui-datepicker th, html body .ui-datepicker th span { color: var(--poster-muted) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  text-transform: uppercase; font-size: 11px; letter-spacing: var(--poster-track-caps); }
html body .ui-datepicker td a.ui-state-default, html body .ui-datepicker td span.ui-state-default {
  border: 0 !important; background: transparent !important; color: var(--poster-ink) !important; text-align: center;
  font-family: var(--poster-font-head) !important; font-weight: 700 !important; border-radius: 0 !important; }
html body .ui-datepicker td a.ui-state-default:hover { background: #e3ece7 !important; }
html body .ui-datepicker td a.ui-state-highlight { box-shadow: inset 0 -3px 0 var(--poster-accent); }
html body .dp-highlight .ui-state-default, html body #ui-datepicker-div .ui-state-active, html body .ui-datepicker td a.ui-state-active,
html body .ui-datepicker td.dp-highlight a.ui-state-default, html body .ui-datepicker td.dp-highlight a.ui-state-default:hover {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border-radius: 0 !important; }
html body .ui-datepicker-group-first { border-right: 1px solid var(--poster-line) !important; }
html body .ui-datepicker-group-last { background: transparent !important; }

/* ---------- Dialogs, booking summary dropdown, price summary ---------- */
html body .modal-content { border: 0 !important; border-top: var(--poster-edge) solid var(--poster-band) !important; border-radius: var(--poster-radius) !important; }
html body .modal-header { border-bottom: 1px solid var(--poster-line) !important; }
html body .modal-content h2, html body .modal-content h3, html body .modal-content h4 { text-transform: uppercase; font-weight: 800 !important; color: var(--poster-band) !important; }
html body .modal-content .close, html body .close-summary { color: var(--poster-band) !important; opacity: 1; font-size: 28px; }
html body [id^="collapse_booking_summary"] .card-body, html body [id^="collapse_booking_summary"] {
  border-radius: var(--poster-radius) !important; }
html body [id^="collapse_booking_summary"] { border: 0 !important; border-top: var(--poster-edge) solid var(--poster-band) !important;
  box-shadow: 0 18px 40px -12px rgba(11,61,44,.45) !important; background: var(--poster-surface) !important; }
html body .name-total-price h5, html body .title-total-taxes p { font-family: var(--poster-font-head) !important; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 800 !important; }
html body .total-price h4, html body .total h4 { font-family: var(--poster-font-head) !important; font-weight: 800 !important; font-size: 26px !important; color: var(--poster-ink) !important; }
html body .detail-room-summary .name-room p { font-family: var(--poster-font-head) !important; font-weight: 800; text-transform: uppercase; }
html body .detail-room-summary .price-room p { font-family: var(--poster-font-head) !important; font-weight: 800; }

/* ---------- Cards on the payment steps (booking engine and payment page) ---------- */
html body .card { border: 0 !important; border-radius: var(--poster-radius) !important; background: var(--poster-surface) !important; box-shadow: none !important; }
html body .card-header, html body .card-header.skin-heading, html body .skin-heading, html body .bg-color-privileges,
html body .MorePromotion .card .card-header, html body .x-rate-detail thead th {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border: 0 !important; border-radius: 0 !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em;
  padding-top: 12px !important; padding-bottom: 12px !important; border-bottom: 4px solid var(--poster-accent) !important; }
html body .card-header *, html body .skin-heading * { color: var(--poster-band-ink) !important; }
html body .x-column > .card, html body .view-container .card { margin-bottom: var(--poster-gap); }
html body .box-total .currency, html body .box-total .amount { font-family: var(--poster-font-head) !important; font-weight: 800 !important; }
html body .box-total p:not(.details), html body .box-total p:not(.details) span { font-family: var(--poster-font-head) !important; font-weight: 800 !important; font-size: 22px !important; }
html body .box-total .details, html body .box-total .details span { color: var(--poster-muted) !important; font-weight: 700 !important; }
html body .cart-room-list h4 b, html body .cart-room-list h4 { font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; color: var(--poster-band) !important; }
html body #selection label, html body #selection span { font-size: 15px; color: var(--poster-ink) !important; }
html body #selection > div > div { padding: 6px 0; border-bottom: 1px solid var(--poster-line); }
/* CPS: the card frame of Omise is an iframe from cdn.omise.co; only the dark overlay around it is ours */
html body #checkoutButton { width: 100%; min-height: 52px; }

/* ---------- Booking engine: payment step, thank-you, modify/cancel (black box headers today) ---------- */
html body .box-payment, html body .box-modify, html body .box-thank, html body .thank {
  border: 0 !important; border-radius: var(--poster-radius) !important; background: var(--poster-surface) !important; }
html body .box-payment .box-header, html body .box-modify .box-header, html body .box-thank .box-header,
html body .box-thank-service .thead-dark th, html body .thank .thead-dark th {
  background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border: 0 !important;
  border-bottom: 4px solid var(--poster-accent) !important; padding-top: 10px !important; padding-bottom: 8px !important; }
html body .box-payment .box-header p, html body .box-modify .box-header p, html body .box-thank .box-header p, html body .box-thank-service .thead-dark th {
  color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px !important; }
html body .box-thank-service .table td { border-color: var(--poster-line) !important; }
html body .thank .head-thank { border-bottom: 1px solid var(--poster-line); }
html body .thank .head-thank h2 { font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase;
  color: var(--poster-band) !important; letter-spacing: 0.01em; line-height: 1; }
html body .thank .head-thank h3 { font-family: var(--poster-font-head) !important; font-weight: 700 !important; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--poster-ink) !important; font-size: 18px !important; }
html body .thank .reservation-id strong { font-family: var(--poster-font-head) !important; font-weight: 800; color: var(--poster-band); }
html body .thank .btn-reservation {
  background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border: 0 !important; border-radius: var(--poster-radius) !important;
  min-height: 46px; line-height: 1.2 !important; padding-top: 13px !important; padding-bottom: 13px !important;
  font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em; }
html body .thank .btn-reservation:hover { background: var(--poster-accent-hover) !important; color: var(--poster-accent-ink) !important; }
html body .thank a:not(.btn), html body .payment a.float-right { color: var(--poster-band) !important; text-decoration: underline; }
html body .box-payment hr { border-color: var(--poster-line) !important; }
html body .box-payment h5, html body .thank h5 { font-family: var(--poster-font-head) !important; font-weight: 800 !important; color: var(--poster-ink) !important; }
html body .box-payment .optional { color: var(--poster-muted) !important; }
/* the promotion-code button next to its field: room for the word */
html body .box-payment .btn-validate { padding-left: 10px !important; padding-right: 10px !important; letter-spacing: 0.02em; font-size: 13px !important; }
/* modify/cancel: Continue stays the main action; it is disabled until the form is complete */
html body .box-modify .btn-continue {
  background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border: 0 !important; border-radius: var(--poster-radius) !important;
  min-height: 46px; font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.05em; }
html body .box-modify .btn-continue:disabled, html body .box-modify .btn-continue.disabled { opacity: .5; }
html body .box-modify .btn-back, html body .box-modify .btn-continue { width: 100%; }

/* inline red text (balance due, "on request"): the theme's error red, 6.5:1 on white */
html body .thank [style*="color: red"], html body .thank [style*="color:red"], html body .thank [style*="color: red"] b,
html body .box-payment [style*="color: red"], html body .box-payment [style*="color:red"] { color: var(--poster-error) !important; }
/* member sign-in dialog: grey links and the OR divider were 3.7:1 and 2.5:1 */
html body .modal-content a:not(.btn), html body .modal-content a:not(.btn) b, html body .modal-content a.x-agreement strong { color: var(--poster-band) !important; }
html body .modal-content .or-text p { color: var(--poster-muted) !important; }
html body .loginBtn_sign_in { width: 100%; }

/* the booking summary drops down from the band onto white: its labels are ink, not band text */
html body [id^="collapse_booking_summary"] label, html body #booking_bar_top [id^="collapse_booking_summary"] label { color: var(--poster-muted) !important; }
/* payment page (CPS): Bootstrap blue labels, 4.0:1 */
html body .text-primary { color: var(--poster-band) !important; }

/* ---------- Frontend WAR (legacy pages: cancel link of older confirmation emails, gateway returns) ---------- */
html body#mainlayout-default { background: var(--poster-page) !important; color: var(--poster-ink) !important; font-family: var(--poster-font-body) !important; }
html body#mainlayout-default .column_title { background: var(--poster-band) !important; border-bottom: 4px solid var(--poster-accent) !important; padding: 10px 12px 8px !important; height: auto !important; }
html body#mainlayout-default .column_title h2 { color: var(--poster-band-ink) !important; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 15px !important; }
html body#mainlayout-default #step-two, html body#mainlayout-default #step-one { background: var(--poster-surface); padding-bottom: 24px; }
html body#mainlayout-default label { color: var(--poster-ink) !important; font-weight: 700; }
html body#mainlayout-default input[type="text"], html body#mainlayout-default input:not([type]), html body#mainlayout-default select, html body#mainlayout-default textarea {
  border: 1px solid var(--poster-field-line) !important; border-radius: var(--poster-radius) !important; min-height: 34px; padding: 4px 8px;
  font-size: 15px; color: var(--poster-ink); background-color: var(--poster-surface); box-sizing: border-box; }

/* ---------- Payment pages: login (CPS) ---------- */
html body #loginForm.form-signin { max-width: 420px; margin: 40px auto 16px !important; padding: 24px; background: var(--poster-surface);
  border-top: var(--poster-edge) solid var(--poster-band); }
html body #loginForm .form-signin-heading { font-family: var(--poster-font-head) !important; font-weight: 800 !important; text-transform: uppercase; color: var(--poster-band) !important; }
html body #loginForm input.input-block-level { display: block; width: 100%; min-height: 44px; margin: 0 0 12px; padding: 6px 10px; box-sizing: border-box;
  border: 1px solid var(--poster-field-line) !important; border-radius: var(--poster-radius) !important; font-size: 16px; }
html body #loginForm .btn-primary { width: 100%; margin-top: 8px; }
html body #loginForm ~ p { max-width: 420px; margin-left: auto !important; margin-right: auto !important; }
/* CPS: the QR code step of PromptPay and WeChat Pay */
html body #qrCode img { border: 1px solid var(--poster-line); padding: 8px; background: #fff; max-width: 100%; }
html body #cancelQRButton { background: var(--poster-surface) !important; color: var(--poster-band) !important; border: 2px solid var(--poster-band) !important;
  border-radius: var(--poster-radius) !important; min-height: 46px; width: 100%; font-family: var(--poster-font-head) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: 0.05em; }
html body #cancelQRButton:hover { background: var(--poster-band) !important; color: var(--poster-band-ink) !important; }

/* ---------- Tooltips, badges ---------- */
html body .tooltip-inner { background: var(--poster-band) !important; color: var(--poster-band-ink) !important; border-radius: 0 !important; }
html body .badge, html body .label-promo { background: var(--poster-accent) !important; color: var(--poster-accent-ink) !important; border-radius: 0 !important; }

/* ---------- Cookie notice ---------- */
html body #cookie-law { background: var(--poster-band) !important; border-top: 4px solid var(--poster-accent); }
html body #cookie-law p { color: var(--poster-band-ink) !important; }
html body #cookie-law a.cookie-link { color: var(--poster-band-ink) !important; text-decoration: underline; }
html body #cookie-law .btn-ok { padding: 12px 18px !important; display: inline-block; }

/* ---------- Footer ---------- */
html body footer.footer { background: var(--poster-surface) !important; border-top: var(--poster-edge) solid var(--poster-band) !important; margin-top: 12px; }
html body footer .btn-privacy a, html body footer .btn-privacy { border-radius: 0 !important; border-color: var(--poster-band) !important; color: var(--poster-band) !important;
  font-family: var(--poster-font-head) !important; font-weight: 700; }

/* ---------- Phone ---------- */
@media (max-width: 575.98px) {
  html body #header { padding-top: 14px !important; padding-bottom: 14px !important; }
  /* pages without a hotel (refused cart, unknown hotel): the empty header must still hold the language picker and the menu button */
  html body #header { min-height: 64px; }
  /* labels that today's page hides on phones (.hide-null, styles.css) stay hidden */
  html body .booking-bar form label.hide-null, html body .booking-bar label.hide-null { display: none !important; }
  html body #hotel_logo > a { padding: 6px 8px; min-height: 40px; }
  html body #hotel_logo img#hotel-logo { max-height: 52px; }
  html body .room-list h2, html body .room-list h2 a, html body .room-name a { font-size: var(--poster-size-room-phone) !important; }
  html body .box-pro-price .price, html body .room-list .price { font-size: 26px !important; }
  html body .room-photo .photo-container { min-height: 180px; }
  html body .booking-bar .btn-check-availability { font-size: 13px !important; letter-spacing: 0.02em; padding: 0 8px !important; width: 100%; white-space: normal; line-height: 1.1; }
  html body .booking-bar .form-control, html body .booking-bar input { font-size: 16px !important; }
  html body .phone-button-container .btn-add-list { width: 100%; }
}
