/* Course finder add-on. Rules are scoped to the finder, apart from the marked Find your course size and chat position rules. */
#bfcf-tab{position:fixed;right:18px;bottom:88px;z-index:86;width:310px;height:76px;display:flex;align-items:center;justify-content:center;gap:14px;background:#2f7690;color:#fff;border:2px solid #fff;border-radius:4px;padding:0 14px;cursor:pointer;box-shadow:0 12px 32px #0007;text-align:left;font:600 17px/1.35 var(--sans,sans-serif);transition:background .2s,transform .2s}
html.bfcf-off #bfcf-tab{display:none}
#bfcf-tab:hover{background:#1c4a5d;transform:translateY(-2px)}
#bfcf-tab svg{width:26px;height:26px;flex:none;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}
#bfcf-tab::after{content:"\2192";font-size:22px;line-height:1}
/* Find your course: same button and link as before, just larger and easier to see. */
body .findbtn{right:18px;bottom:18px;width:310px;height:60px;box-sizing:border-box;justify-content:center;padding:0 14px;font-size:14px;border:2px solid #fff;border-radius:4px;box-shadow:0 12px 32px #0007}
body .findbtn::after{content:"\2192";font-size:19px;line-height:1;letter-spacing:0}
/* The chat bubble, its box and its hint move up to make room for the two buttons. */
html:not(.bfcf-off) body .wabtn.chatfab{bottom:178px}
html:not(.bfcf-off) body .chatpanel{bottom:244px;max-height:calc(100vh - 254px);max-height:calc(100dvh - 254px);overflow-y:auto}
html:not(.bfcf-off) body .chatnudge{bottom:188px}
#bfcf{position:fixed;inset:0;z-index:1400}
#bfcf[hidden],#bfcf [hidden]{display:none!important}
#bfcf *{box-sizing:border-box}
#bfcf .bfcf-shade{position:absolute;inset:0;background:#0f2f3c8c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .28s}
#bfcf .bfcf-panel{position:absolute;top:0;bottom:0;right:0;width:min(560px,100%);background:#fff;color:#10181a;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .28s ease;box-shadow:-12px 0 50px #0005;outline:0;font-family:var(--sans,sans-serif)}
#bfcf.open .bfcf-shade{opacity:1}
#bfcf.open .bfcf-panel{transform:none}
#bfcf .bfcf-top{display:flex;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e4ddd0}
#bfcf .bfcf-top button,#bfcf .bfcf-restart{background:none;border:0;padding:8px 0;cursor:pointer;color:#66767a;font:600 11px var(--sans,sans-serif);letter-spacing:.14em;text-transform:uppercase}
#bfcf .bfcf-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:26px 34px 40px}
#bfcf .bfcf-title{font:500 40px/1.1 var(--serif,serif);text-align:center;margin:0 0 22px}
#bfcf .bfcf-steps{display:flex;gap:6px;list-style:none;margin:0 0 30px;padding:0}
#bfcf .bfcf-steps li{flex:1;border-top:2px solid #e4ddd0;padding-top:8px;font:600 10px var(--sans,sans-serif);letter-spacing:.1em;text-transform:uppercase;color:#9aa5a8;margin:0}
#bfcf .bfcf-steps li.done{border-color:#10181a;color:#10181a}
#bfcf .bfcf-steps li.now{border-color:#3f8aa3;color:#1c4a5d}
#bfcf .bfcf-q{font:500 28px/1.2 var(--serif,serif);text-align:center;margin:0 0 20px;padding:0;color:#10181a;text-transform:none;letter-spacing:0}
#bfcf .bfcf-list{display:grid;gap:10px}
#bfcf .bfcf-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#bfcf .bfcf-none{margin-top:22px}
#bfcf .bfcf-region{font:600 11px var(--sans,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:#1c4a5d;margin:22px 0 10px}
#bfcf .bfcf-opt{display:flex;flex-direction:column;justify-content:center;gap:5px;text-align:left;background:#fff;border:1px solid #e4ddd0;border-radius:4px;padding:16px 18px;cursor:pointer;font:500 15px/1.3 var(--sans,sans-serif);color:#10181a;min-height:56px}
#bfcf .bfcf-opt:hover,#bfcf .bfcf-opt.on{border-color:#3f8aa3;background:#f5f0e8}
#bfcf .bfcf-opt small{font:600 10px var(--sans,sans-serif);letter-spacing:.12em;text-transform:uppercase}
#bfcf .bfcf-opt small.open{color:#1c6b4a}
#bfcf .bfcf-opt small.wait{color:#7d868a}
#bfcf .bfcf-card{background:#f5f0e8;border:1px solid #e4ddd0;border-radius:4px;padding:22px;margin:0 0 14px}
#bfcf .bfcf-card h3{font:600 25px/1.2 var(--serif,serif);margin:0 0 8px;color:#10181a;text-transform:none;letter-spacing:0}
#bfcf .bfcf-card p{margin:0 0 12px;font-size:14px;line-height:1.5}
#bfcf .bfcf-card .bfcf-kick{font:600 10px var(--sans,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:#1c4a5d;margin:0 0 8px}
#bfcf .bfcf-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
#bfcf .bfcf-btn{display:inline-block;background:#3f8aa3;color:#fff;border:1.5px solid #3f8aa3;border-radius:2px;padding:12px 18px;text-decoration:none;cursor:pointer;font:600 11px var(--sans,sans-serif);letter-spacing:.12em;text-transform:uppercase;text-align:center}
#bfcf .bfcf-btn.ghost{background:transparent;color:#1c4a5d;border-color:#1c4a5d}
#bfcf .bfcf-note{font-size:13px;line-height:1.55;color:#2b3638;margin:0 0 12px}
#bfcf .bfcf-note a,#bfcf .bfcf-alt a,#bfcf .bfcf-status a{color:#1c4a5d;text-decoration:underline}
#bfcf .bfcf-more{border-top:1px solid #e4ddd0;margin-top:20px;padding-top:26px}
#bfcf .bfcf-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px;scroll-margin-top:10px}
#bfcf .bfcf-tabs button{background:#fff;border:1.5px solid #1c4a5d;border-radius:2px;color:#1c4a5d;padding:14px 12px;cursor:pointer;font:600 11px/1.5 var(--sans,sans-serif);letter-spacing:.1em;text-transform:uppercase}
#bfcf .bfcf-tabs button[aria-expanded=true]{background:#1c4a5d;color:#fff}
#bfcf .bfcf-mail{display:grid;gap:12px;margin:0}
#bfcf .bfcf-mail label{display:grid;gap:5px;font:500 13px var(--sans,sans-serif);color:#2b3638;margin:0}
#bfcf .bfcf-mail input,#bfcf .bfcf-mail textarea{width:100%;border:1px solid #cfc8ba;border-radius:3px;padding:12px;font:400 16px var(--sans,sans-serif);background:#fff;color:#10181a;margin:0}
#bfcf .bfcf-status{font-size:13px;margin:0;min-height:1em}
#bfcf .bfcf-kj iframe{width:100%;min-height:600px;border:0;display:block}
#bfcf .bfcf-alt{font-size:13px;margin:8px 0 0}
#bfcf button:focus-visible,#bfcf a:focus-visible,#bfcf-tab:focus-visible{outline:3px solid #d9b98c;outline-offset:2px}
@media(max-width:700px){
  #bfcf-tab{right:10px;bottom:70px;width:260px;height:62px;gap:11px;padding:0 10px;font-size:15px}
  #bfcf-tab svg{width:21px;height:21px}
  body .findbtn{right:10px;bottom:10px;width:260px;height:52px;font-size:12.5px;padding:0 10px}
  html:not(.bfcf-off) body .wabtn.chatfab{bottom:142px}
  html:not(.bfcf-off) body .chatpanel{bottom:200px;max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px)}
  html:not(.bfcf-off) body .chatnudge{bottom:152px}
  #bfcf .bfcf-scroll{padding:20px 18px 36px}
  #bfcf .bfcf-title{font-size:32px}
}
@media(max-width:360px){#bfcf .bfcf-grid,#bfcf .bfcf-tabs{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#bfcf .bfcf-panel,#bfcf .bfcf-shade,#bfcf-tab{transition:none}}
/* Shorter screens: a more compact chat box, so the raised box stays clear of the top menu. */
@media (min-width:701px) and (max-height:880px),(max-width:700px) and (max-height:700px){
  html:not(.bfcf-off) body .chatpanel{padding:11px 16px 14px}
  html:not(.bfcf-off) body .chatpanel .chatsub{margin:2px 0 8px;font-size:12.5px;line-height:1.4}
  html:not(.bfcf-off) body .chatpanel .chatwa{padding-top:8px;padding-bottom:8px}
  html:not(.bfcf-off) body .chatpanel .chator{margin:7px 0 6px}
  html:not(.bfcf-off) body .chatpanel .chatform{gap:5px}
  html:not(.bfcf-off) body .chatpanel .chatform input{padding-top:6px;padding-bottom:6px}
  html:not(.bfcf-off) body .chatpanel .chatform textarea{height:46px;min-height:46px;padding-top:6px;padding-bottom:6px}
  html:not(.bfcf-off) body .chatpanel .chatform .btn{padding-top:10px;padding-bottom:10px}
}
