/* 2026-10-17 (Chris): new home page search (only used by search_box_new_tpl.php) */
.slideshow-bg.cmh-on{height:auto!important;min-height:660px;padding:0!important}
#cmHome{position:relative;z-index:5;max-width:1120px;margin:0 auto;padding:180px 16px 90px;font-family:Lato,Arial,sans-serif;color:#1d2433}
#cmHome *{box-sizing:border-box;letter-spacing:normal}
.cmh-phonephoto{display:none}
.cmh-words{text-align:center;color:#fff;min-height:82px;margin-bottom:16px;transition:opacity .6s ease}
.cmh-words.fade{opacity:0}
.cmh-nowords{min-height:0;margin:0}
.cmh-big{font:600 42px/1.15 Georgia,'Times New Roman',serif;text-shadow:0 2px 14px rgba(0,0,0,.55),0 0 2px rgba(0,0,0,.35)}
.cmh-small{font-size:18px;margin-top:6px;text-shadow:0 1px 9px rgba(0,0,0,.6)}
.cmh-card{background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:14px;box-shadow:0 8px 26px rgba(0,0,0,.25);padding:14px 16px}
.cmh-closed{padding:22px;text-align:center;font-size:20px}
.cmh-row{display:grid;grid-template-columns:1.3fr 1.2fr .9fr auto;gap:10px;align-items:stretch}
.cmh-f{display:block;text-align:left;border:1px solid #c8cfdb;border-radius:9px;padding:8px 12px;background:#fff;cursor:pointer;font:inherit;color:inherit;position:relative;min-height:54px;margin:0;width:100%}
.cmh-f:focus-within,.cmh-f:focus{outline:2px solid #194eb0;outline-offset:1px}
.cmh-f small{display:block;font-size:11px;font-weight:bold;color:#667;letter-spacing:.05em;text-transform:uppercase;line-height:1.4}
.cmh-v{display:block;font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:16px}
.cmh-v.ph{color:#8a94a3}
.cmh-caret{position:absolute;right:12px;top:50%;font-style:normal;color:#667}
.cmh-f.sel{border-color:#194eb0;background:#f3f7ff}
.cmh-code input{border:0;padding:0;margin:0;font-size:15px;width:100%;background:transparent;height:21px;color:#1d2433;outline:none;box-shadow:none}
.cmh-code.off{background:#f4f6f9;cursor:default}
.cmh-code.off input{color:#8a94a3}
.cmh-code.need{border-color:#194eb0;background:#fff;box-shadow:0 0 0 3px rgba(25,78,176,.15)}
.cmh-go{background:#194eb0;color:#fff;border:0;border-radius:9px;font:bold 16px Arial,sans-serif;padding:0 22px;white-space:nowrap;cursor:pointer;min-height:54px}
.cmh-go:hover{background:#143f8f}
.cmh-expand{display:flex;align-items:center;gap:10px;margin:10px 0 0;font-size:14px;color:#194eb0;background:none;border:0;padding:2px 0;cursor:pointer;text-align:left;font-family:inherit}
.cmh-expand b{font-weight:bold}
.cmh-expand .cmh-sub{color:#556}
.cmh-ic{width:30px;height:22px;border-radius:5px;background:linear-gradient(#7fe0dc,#1667a8);position:relative;flex:0 0 auto}
.cmh-ic:after{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:#f4ecd8;border-radius:5px 5px 0 0}
.cmh-err{margin-top:10px;background:#fff4f2;border:1px solid #f0c2b8;color:#8a2a17;border-radius:8px;padding:9px 12px;font-size:14px}
.cmh-panel{margin-top:12px;background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.cmh-ptop{display:flex;justify-content:space-between;align-items:center;gap:10px}
.cmh-ptop h4{margin:0;font-size:18px;font-weight:bold;color:#1d2433}
.cmh-x{background:none;border:0;color:#194eb0;font-weight:bold;font-size:14px;cursor:pointer;white-space:nowrap;padding:4px}
.cmh-hint{font-size:14px;color:#556;margin:4px 0 10px}
.cmh-mapscroll{border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #dfe5ee}
.cmh-map{position:relative;width:100%;user-select:none;-webkit-user-select:none}
.cmh-map img{display:block;width:100%;height:auto}
.cmh-pin{position:absolute;transform:translate(-50%,-50%);width:28px;height:28px;border-radius:50%;border:3px solid #fff;color:#fff;font:800 12px/22px Arial,sans-serif;text-align:center;cursor:pointer;padding:0;box-shadow:0 2px 5px rgba(0,0,0,.35);z-index:2}
.cmh-pin:hover,.cmh-pin:focus{transform:translate(-50%,-50%) scale(1.15);outline:none}
.cmh-pin.on{width:36px;height:36px;line-height:30px;font-size:13px;box-shadow:0 0 0 6px rgba(25,78,176,.25),0 2px 6px rgba(0,0,0,.35);z-index:3}
.cmh-lab{position:absolute;transform:translateX(-50%);background:rgba(255,255,255,.96);border-radius:11px;padding:2px 9px;font:bold 12.5px/18px Arial,sans-serif;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:pointer;z-index:1;border:0}
.k-code{background-color:#194eb0}.k-open{background-color:#1e8a4a}.k-club{background-color:#c7902a}.k-off{background-color:#9aa3b2}
.t-code{color:#194eb0}.t-open{color:#1e8a4a}.t-club{color:#a8761b}.t-off{color:#7b8494}
.cmh-box{position:absolute;width:300px;background:#fff;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.32);padding:13px 15px 15px;font-size:14px;line-height:1.4;z-index:6}
.cmh-box .bt{font-weight:bold;font-size:16px;display:flex;align-items:center;gap:8px;padding-right:22px}
.cmh-box .bt i{font-style:normal;flex:0 0 auto;width:24px;height:24px;border-radius:50%;color:#fff;font:bold 12px/24px Arial;text-align:center}
.cmh-box .bs{color:#556;font-size:13px;margin:2px 0 8px}
.cmh-box .tag{display:inline-block;font-size:12px;font-weight:bold;border-radius:20px;padding:3px 10px;margin-bottom:6px}
.tag-code{background:#e6edfb;color:#194eb0}.tag-open{background:#e3f4e8;color:#1e8a4a}.tag-off{background:#eef0f4;color:#596273}
.cmh-box .bp{margin:4px 0 0;color:#333}
.cmh-box .bp b{color:#a8761b}
.cmh-box .bb{display:block;width:100%;text-align:center;color:#fff;font-weight:bold;border:0;border-radius:8px;padding:11px;margin-top:10px;cursor:pointer;font-size:15px}
.cmh-box .bb[disabled]{background:#cfd5de;cursor:not-allowed}
.cmh-box .bx{position:absolute;right:10px;top:6px;background:none;border:0;color:#99a;font-size:20px;cursor:pointer;line-height:1}
.cmh-legend,.cmh-callegend{display:flex;gap:16px;font-size:13px;color:#445;margin:10px 2px 0;flex-wrap:wrap}
.ld{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:5px;vertical-align:-1px}
.ld.sq{border-radius:3px}
.cmh-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cmh-chip{border:1px solid #c8cfdb;border-radius:20px;padding:5px 11px 5px 5px;font-size:13.5px;display:flex;align-items:center;gap:6px;background:#fff;cursor:pointer;font-family:inherit;color:#1d2433}
.cmh-chip i{font-style:normal;width:21px;height:21px;border-radius:50%;color:#fff;font:bold 11px/21px Arial;text-align:center}
.cmh-chip.on{background:#194eb0;color:#fff;border-color:#194eb0;font-weight:bold}
.cmh-chip.on i{background:#fff!important;color:#194eb0}
.cmh-chip.off{color:#7b8494}
.cmh-swipe{display:none;font-size:12px;color:#667;margin-top:6px}
/* calendar */
.cmh-cal{display:grid;grid-template-columns:auto 1fr 1fr auto;gap:8px 24px;align-items:start;margin-top:8px}
.cmh-nav{background:none;border:0;color:#194eb0;font-size:28px;line-height:1;cursor:pointer;padding:0 6px;margin-top:-2px}
.cmh-nav[disabled]{color:#c9ced8;cursor:default}
.cmh-mon h5{text-align:center;margin:0 0 6px;font-size:17px;font-weight:bold;color:#1d2433}
.cmh-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0;text-align:center}
.cmh-grid .dw{font-size:11px;font-weight:bold;color:#7b8494;padding:4px 0}
.cmh-day{border:0;background:none;font:15px Arial,sans-serif;color:#1d2433;height:38px;border-radius:7px;cursor:pointer;padding:0;width:100%}
.cmh-day:hover{background:#eef3fc}
.cmh-day.past,.cmh-day.closed{color:#c3c8d1;cursor:default;background:none}
.cmh-day.closed{background:#f3f4f7;border-radius:0}
.cmh-day.phone{background:#fbf1dc;color:#a7894f;cursor:default}
.cmh-day.next{color:#1d2433}
.cmh-day.in{background:#e3eafa;border-radius:0}
.cmh-day.s,.cmh-day.e{background:#194eb0!important;color:#fff!important;font-weight:bold}
.cmh-day.s{border-radius:7px 0 0 7px}.cmh-day.e{border-radius:0 7px 7px 0}.cmh-day.s.e{border-radius:7px}
.cmh-calfoot{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e3e8ef;margin-top:12px;padding-top:12px}
.cmh-range{font-size:16px;font-weight:bold}
.cmh-phone{font-size:13px;color:#556;margin-top:2px}
.cmh-done{background:#194eb0;color:#fff;border:0;border-radius:9px;font:bold 16px Arial,sans-serif;padding:11px 26px;cursor:pointer}
.cmh-done[disabled]{opacity:.45;cursor:not-allowed}
/* strip under the slider (Award / Promo Box) */
.cmh-strip{background:#fff;border-top:1px solid #e3e8ef;padding:18px 16px}
.cmh-sin{max-width:1120px;margin:0 auto;font-size:14px;color:#445;line-height:1.5}
.cmh-sin:after{content:"";display:block;clear:both}
.cmh-sin img{max-width:100%;height:auto}
/* tablet */
@media (max-width:991px){
  #cmHome{padding-top:110px}
  .cmh-row{grid-template-columns:1fr 1fr}
  .cmh-go{min-height:50px}
  .cmh-big{font-size:34px}
}
/* phone */
@media (max-width:767px){
  /* phones: one small photo instead of the full slideshow (the slideshow stays hidden on phones, as before) */
  .cmh-phonephoto{display:block;position:absolute;left:0;right:0;top:0;height:300px;background:url(../images/cm_phone_photo.jpg?v=20261017b) center 40%/cover no-repeat}
  #cmHome .cmh-words,#cmHome .cmh-card{position:relative;z-index:1}
  .slideshow-bg.cmh-on{min-height:0}
  #cmHome{padding:24px 12px 22px}
  .cmh-words{min-height:0;margin:0 0 150px}
  .cmh-big{font-size:27px}
  .cmh-small{font-size:15px}
  .cmh-nowords{margin-bottom:190px}
  .cmh-row{grid-template-columns:1fr}
  .cmh-expand{flex-wrap:wrap;gap:4px 10px}
  .cmh-panel{padding:12px}
  .cmh-mapscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .cmh-map{width:760px}
  .cmh-swipe{display:block}
  .cmh-box{position:relative!important;left:auto!important;top:auto!important;width:auto;margin-top:10px;box-shadow:0 2px 10px rgba(0,0,0,.15);border:1px solid #d6dde8}
  .cmh-cal{grid-template-columns:auto 1fr auto;gap:8px 6px}
  .cmh-mon.m2{display:none}
  .cmh-calfoot{flex-direction:column;align-items:stretch}
  .cmh-done{width:100%}
  .cmh-strip{text-align:center}
}
/* theme button styles reset for our buttons */
#cmHome button{height:auto;line-height:1.35;text-transform:none;float:none;box-shadow:none}
#cmHome .cmh-pin{line-height:22px}
#cmHome .cmh-pin.on{line-height:30px;box-shadow:0 0 0 6px rgba(25,78,176,.25),0 2px 6px rgba(0,0,0,.35)}
#cmHome .cmh-pin{box-shadow:0 2px 5px rgba(0,0,0,.35)}
#cmHome .cmh-day{height:38px;line-height:38px}
#cmHome .cmh-go{min-height:54px}
#cmHome .cmh-expand{white-space:normal}
#cmHome .cmh-expand b,#cmHome .cmh-expand .cmh-sub{display:inline}
@media (max-width:767px){#cmHome .cmh-expand{display:grid;grid-template-columns:30px 1fr;gap:2px 10px;align-items:center}#cmHome .cmh-expand .cmh-sub{grid-column:2}}

/* quick pavilion list */
#cmHome .cmh-pav{cursor:pointer}
#cmHome .cmh-pav select{display:block;width:100%;border:0;background:transparent;font:15px/1.35 Lato,Arial,sans-serif;color:#1d2433;padding:0 18px 0 0;margin:0;height:21px;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;cursor:pointer}
#cmHome .cmh-pav select.ph{color:#8a94a3}
#cmHome .cmh-pav select option{color:#1d2433}
#cmHome .cmh-pav select option:disabled{color:#a0a7b3}
#cmHome .cmh-pav .cmh-caret{pointer-events:none}
/* 2026-10-17: the site theme paints every button dark blue on hover; keep our own colors */
#cmHome .cmh-expand:hover,#cmHome .cmh-expand:focus,#cmHome .cmh-x:hover,#cmHome .cmh-nav:hover,#cmHome .cmh-box .bx:hover{background:transparent!important;box-shadow:none!important}
#cmHome .cmh-expand:hover b,#cmHome .cmh-x:hover{text-decoration:underline}
#cmHome .cmh-f:hover{background:#fff!important;border-color:#194eb0}
#cmHome .cmh-f.sel:hover{background:#f3f7ff!important}
#cmHome .cmh-code.off:hover{background:#f4f6f9!important;border-color:#c8cfdb}
#cmHome .cmh-go:hover,#cmHome .cmh-done:hover{background:#143f8f!important}
#cmHome .cmh-done[disabled]:hover{background:#194eb0!important}
#cmHome .k-code:hover{background-color:#143f8f!important}
#cmHome .k-open:hover{background-color:#176d3a!important}
#cmHome .k-club:hover{background-color:#a8761b!important}
#cmHome .k-off:hover{background-color:#9aa3b2!important}
#cmHome .cmh-box .bb[disabled]:hover{background:#cfd5de!important}
#cmHome .cmh-lab:hover{background:#fff!important}
#cmHome .cmh-chip:hover{background:#eef3fc!important}
#cmHome .cmh-chip.on:hover{background:#194eb0!important}
#cmHome .cmh-day:hover{background:#eef3fc!important}
#cmHome .cmh-day.in:hover{background:#e3eafa!important}
#cmHome .cmh-day.s:hover,#cmHome .cmh-day.e:hover{background:#194eb0!important}
#cmHome .cmh-day.phone:hover{background:#fbf1dc!important}
#cmHome .cmh-day.past:hover{background:none!important}
#cmHome .cmh-day.closed:hover{background:#f3f4f7!important}
