/* Site-wide UI that works on any page (new design, demo and the temporary theme): back-to-top button and cookie notice.
   Self-contained colours so it does not depend on the page theme. */
.totop{position:fixed;right:clamp(14px,2vw,28px);bottom:calc(clamp(14px,2vw,28px) + var(--ckh,0px));z-index:60;width:52px;height:52px;border:1px solid rgba(255,255,255,.18);border-radius:50%;
  background:#0E0F12;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px -10px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .4s,transform .6s cubic-bezier(.625,.05,0,1),visibility 0s .4s,background .3s,bottom .4s}
.totop.show{opacity:1;visibility:visible;transform:none;transition:opacity .4s,transform .6s cubic-bezier(.625,.05,0,1),background .3s,bottom .4s}
.totop:hover,.totop:focus-visible{background:#2D9CDB;outline:none}
.totop svg{width:16px;height:18px;transition:transform .5s cubic-bezier(.625,.05,0,1)}
.totop:hover svg{transform:translateY(-3px)}
body:has(.callfab) .totop{bottom:calc(88px + var(--ckh,0px))}   /* temporary theme: above the call button */

.cookie{position:fixed;left:50%;bottom:clamp(12px,2vw,24px);z-index:70;width:min(760px,calc(100% - 24px));transform:translate(-50%,calc(100% + 40px));
  display:flex;align-items:center;gap:20px;padding:18px 18px 18px 22px;background:#0E0F12;color:#D5D8DB;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 50px -18px rgba(0,0,0,.6);font:14px/1.5 "Manrope",system-ui,sans-serif;transition:transform .7s cubic-bezier(.625,.05,0,1)}
.cookie.show{transform:translate(-50%,0)}
.cookie p{margin:0;flex:1}
.cookie b{color:#fff}
.cookie a{color:#6CC2F0;text-decoration:underline;text-underline-offset:2px}
.cookie button{flex:none;min-height:46px;padding:0 26px;border:0;background:#2D9CDB;color:#fff;font:700 13px/1 "Manrope",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.02em;cursor:pointer;transition:background .3s,color .3s}
.cookie button:hover,.cookie button:focus-visible{background:#fff;color:#0E0F12;outline:none}
.cookie .ck-ic{flex:none;width:34px;height:34px}
@media (max-width:600px){.cookie{flex-wrap:wrap;gap:12px;padding:16px}.cookie .ck-ic{display:none}.cookie button{width:100%}}
@media (prefers-reduced-motion:reduce){.totop,.cookie{transition:none}}

/* form field messages (site.js validation), readable on dark and light forms */
.fld__err{display:block;margin-top:6px;color:#F05A5A;font-size:13px;font-weight:600;line-height:1.35}
.fld__err[hidden],.fld__hint[hidden]{display:none}
.fld__hint{display:block;margin-top:6px;font-size:13px;opacity:.85}
.fld__hint button{border:0;background:none;padding:0;color:#2D9CDB;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
[aria-invalid=true]{border-color:#F05A5A!important}
/* our drop-down list for <select> (ui.js) */
.csel{position:fixed;z-index:10050;max-height:320px;overflow:auto;overscroll-behavior:contain;padding:6px;background:#fff;color:#0E0F12;border:1px solid #D5D8DB;
  box-shadow:0 24px 48px -16px rgba(14,15,18,.35);font:500 15px/1.3 Manrope,system-ui,sans-serif;opacity:0;transform:translateY(-4px);transition:opacity .18s,transform .18s;
  scrollbar-width:thin;scrollbar-color:#2D9CDB transparent}
.csel.in{opacity:1;transform:none}
.csel__o{position:relative;padding:11px 14px 11px 34px;cursor:pointer;white-space:nowrap}
.csel__o.is-hl{background:#EAF5FC}
.csel__o.is-on{font-weight:700}
.csel__o.is-on::before{content:"";position:absolute;left:13px;top:50%;width:10px;height:6px;border:solid #1A6FA8;border-width:0 0 2px 2px;transform:translateY(-70%) rotate(-45deg)}
.csel__o--ph{color:#7C8186}
.csel--dark{background:#16181D;color:#fff;border-color:rgba(255,255,255,.16);box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.csel--dark .csel__o.is-hl{background:rgba(45,156,219,.18);color:#fff}
.csel--dark .csel__o.is-on::before{border-color:#6CC2F0}
.csel--dark .csel__o--ph{color:#A0A4A8}
select.csel-open{border-color:#2D9CDB!important}
