/* Τένις Ύδρας, landing page reference: the navbar: an information bar over the main bar, the menu (a sheet on phones, a dropdown from 600px).
   From the design's stylesheet (page.css). Its --hx-* tokens are named after an old harbour header: only names. */
/* ---------------------------------------------------------------- navbar: a thin information bar over the main bar; the page links open from the menu button */
.nb{--hx-rule-strong:rgba(244,246,250,.5);--hx-sea:#163D79;--hx-on:#F4F6FA;--hx-muted:#BDCBE3;--hx-rule:rgba(244,246,250,.2);--hx-cta:#F4F5F1;--hx-cta-ink:#163D79;--hx-cta-hover:#FFFFFF;--nb-top:#0F2E5E;
  --nb-btn:rgba(244,246,250,.07);--nb-btn-line:rgba(244,246,250,.28);--nb-btn-on:rgba(244,246,250,.16);--nb-scrim:rgba(6,14,32,.46);
  --pn-bg:#FFFFFF;--pn-ink:#14284A;--pn-muted:#55647C;--pn-line:rgba(20,40,74,.1);--pn-line-strong:rgba(20,40,74,.26);--pn-hover:#F0F3F8;--pn-ico-bg:#E9EEF6;--pn-ico:#1C4B97;
  --pn-shadow:0 28px 56px -20px rgba(9,20,42,.4),0 6px 16px -6px rgba(9,20,42,.16),0 0 0 1px rgba(20,40,74,.06);
  position:relative;z-index:30;display:block;color:var(--hx-on);font-family:'Commissioner','Segoe UI',system-ui,sans-serif}
.nb[data-tone="night"]{--hx-rule-strong:rgba(244,246,250,.42);--hx-sea:#09142A;--hx-muted:#A8B8D6;--hx-rule:rgba(244,246,250,.16);--hx-cta:#FFD27D;--hx-cta-ink:#0A1730;--hx-cta-hover:#FFE3A8;--nb-top:#050C1B;
  --nb-btn:rgba(244,246,250,.06);--nb-btn-line:rgba(244,246,250,.24);--nb-btn-on:rgba(244,246,250,.13);--nb-scrim:rgba(0,0,0,.52);
  --pn-bg:#12213F;--pn-ink:#EEF2F9;--pn-muted:#AEBBD3;--pn-line:rgba(195,210,236,.14);--pn-line-strong:rgba(195,210,236,.32);--pn-hover:rgba(195,210,236,.08);--pn-ico-bg:rgba(195,210,236,.09);--pn-ico:#FFD27D;
  --pn-shadow:0 28px 64px -16px rgba(0,0,0,.66),0 0 0 1px rgba(195,210,236,.12)}
.nb a{color:inherit}
/* skip link: hidden until it gets keyboard focus */
.nb .nb-skip{position:absolute;z-index:10;top:8px;left:16px;padding:12px 18px;border-radius:999px;background:var(--pn-bg);box-shadow:var(--pn-shadow);color:var(--pn-ink);font-size:15px;font-weight:600;text-decoration:none;transform:translateY(-200%);transition:transform .2s}
.nb .nb-skip:focus,.nb .nb-skip:focus-visible{transform:none;outline:2px solid var(--pn-ico);outline-offset:2px;border-radius:999px}
.nb-in{max-width:1680px;margin:0 auto;padding:0 16px}
@media (min-width:720px){.nb-in{padding:0 32px}}
@media (min-width:1080px){.nb-in{padding:0 40px}}
/* the information bar: where and when on the left; the credit, day/night and language on the right */
.nb-top{position:relative;z-index:1;background:var(--nb-top);font-size:13px;line-height:1.3;color:var(--hx-muted);transition:background-color 1.2s}
.nb-top-in{display:flex;align-items:center;justify-content:space-between;gap:0 20px;min-height:42px}
.nb-info{display:none;align-items:center;gap:0 22px;min-width:0;margin:0}
.nb-fact{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.nb-fact .tx-ico{width:15px;height:15px;stroke-width:1.7}
.nb-fact-place{display:none}
.nb-tools{display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;gap:0 10px}
.nb-credit{margin-right:auto;white-space:nowrap;letter-spacing:.01em}
@media (min-width:600px){.nb-info{display:flex}.nb-tools{flex:0 0 auto}.nb-credit{margin-right:4px;padding-right:14px;border-right:1px solid var(--hx-rule)}}
@media (min-width:760px){.nb-fact-place{display:inline-flex}}
/* a long line of hours (when the court is closed on some days, core.hours) takes the place's room up to 900px */
@media (max-width:899px){.nb-info[data-long] .nb-fact-place{display:none}}
/* day/night: a moon (a sun at night) that switches the page; language: ΕΛ / EN, the chosen one bright */
.nb-mode{position:relative;display:inline-grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--hx-muted);cursor:pointer;transition:color .2s,background-color .2s;-webkit-tap-highlight-color:transparent}
.nb-mode::after{content:"";position:absolute;inset:-6px}
.nb-mode:hover{color:var(--hx-on);background:rgba(244,246,250,.08)}
.nb-mode .tx-ico{width:16px;height:16px}
.nb-mode .nb-i-sun,.nb-mode[aria-pressed="true"] .nb-i-moon{display:none}
.nb-mode[aria-pressed="true"] .nb-i-sun{display:block}
.nb-lang{position:relative;display:flex;align-items:center;gap:1px;margin-left:2px;padding-left:12px;color:var(--hx-muted)}
.nb-lang::before{content:"";position:absolute;left:0;top:50%;width:1px;height:16px;margin-top:-8px;background:var(--hx-rule)}
.nb-lang span{font-size:12.5px;opacity:.55}
.nb-lang button{position:relative;display:inline-grid;place-items:center;min-width:28px;height:32px;margin:0;padding:0 5px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:12.5px;font-weight:600;letter-spacing:.06em;cursor:pointer;transition:color .2s;-webkit-tap-highlight-color:transparent}
.nb-lang button::after{content:"";position:absolute;inset:-6px 0}
.nb-lang button[aria-pressed="true"]{color:var(--hx-on);font-weight:700;cursor:default}
.nb-lang button[aria-pressed="false"]:hover{color:var(--hx-on)}
/* the main bar: one row at every width. Phones: brand, a short booking button and the menu (sign in moves into the menu).
   From 800px: brand, sign in, booking and the menu. From 1200px: brand, the page links, sign in and booking, no menu.
   Only «Σύνδεση»: the sign-in page has the way in for someone new. */
.nb-bar{position:relative;z-index:1;background:var(--hx-sea);transition:background-color 1.2s}
.nb-bar>.nb-in{position:relative}
.nb-main{display:flex;align-items:center;gap:8px;min-height:64px;padding:10px 0}
.nb-h1{margin:0 auto 0 0;font:inherit;min-width:0}
.nb-brand{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none}
.nb-brand:hover{text-decoration:none!important}
.nb-emblem{display:flex;align-items:center;justify-content:center;flex:none;padding:4px 6px;border-radius:9px;background:#F4F5F1;transition:background-color 1.2s}
.nb-emblem img{display:block;height:28px;width:auto}
.nb[data-tone="night"] .nb-emblem{background:#E6EBF3}
.nb-name{display:flex;flex-direction:column;gap:4px;min-width:0}
.nb-word{font-family:'GFS Didot',Georgia,'Times New Roman',serif;font-size:21px;line-height:1;font-weight:400;white-space:nowrap}
.nb-muni{font-size:9.5px;line-height:1;font-weight:600;letter-spacing:.12em;color:var(--hx-muted);white-space:nowrap}
.nb-acts{display:flex;align-items:center;gap:16px;flex:none}
.nb-account{display:none;align-items:center;flex:none}
.nb-account a{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 9px;font-size:15px;font-weight:550;white-space:nowrap;text-decoration:none;color:var(--hx-on)}
.nb-account a:first-child{padding-left:2px}
.nb-account .tx-ico{width:17px;height:17px}
.nb-account a:hover{text-decoration:underline;text-underline-offset:4px}
.nb-cta{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:0 17px;border-radius:999px;background:var(--hx-cta);color:var(--hx-cta-ink);font-size:15px;font-weight:650;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .25s,color 1.2s}
.nb .nb-cta{color:var(--hx-cta-ink)}
.nb-cta:hover{text-decoration:none!important;background:var(--hx-cta-hover)}
.nb-cta-l{display:none}
/* the page links in the bar, beside the brand: from 1200px, where they fit in Greek too (below that they are in the menu) */
.nb-nav{display:none}
.nb .nb-nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 13px;font-size:15px;font-weight:550;line-height:1;white-space:nowrap;text-decoration:none;color:var(--hx-on)}
.nb .nb-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.nb .nb-nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
/* the menu button: three lines that turn into a cross while the menu is open */
.nb-menu{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:999px;background:var(--nb-btn);box-shadow:inset 0 0 0 1px var(--nb-btn-line);color:var(--hx-on);font-size:15px;font-weight:550;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .2s,box-shadow .2s}
.nb-menu:hover{background:var(--nb-btn-on)}
.nb-menu[aria-expanded="true"]{background:var(--nb-btn-on);box-shadow:inset 0 0 0 1px var(--hx-rule-strong)}
.nb-menu .tx-ico{width:20px;height:20px}
.nb-menu-t{display:none}
.nb-burger path{transform-origin:12px 12px;transition:transform .34s cubic-bezier(.3,.7,.2,1),opacity .2s}
.nb-menu[aria-expanded="true"] .nb-b1{transform:rotate(45deg) translateY(5px)}
.nb-menu[aria-expanded="true"] .nb-b2{opacity:0;transform:scaleX(.2)}
.nb-menu[aria-expanded="true"] .nb-b3{transform:rotate(-45deg) translateY(-5px)}
.nb a:focus-visible,.nb button:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:6px}
.nb .nb-mode:focus-visible,.nb .nb-lang button:focus-visible{outline:2px solid var(--hx-on);outline-offset:1px}
.nb .nb-menu:focus-visible,.nb .nb-cta:focus-visible{border-radius:999px}
/* the menu: on phones a sheet under the bar over a dimmed page; from 600px a dropdown under the button; from 1200px none (the links
   are in the bar). A click outside closes it. */
.nb-scrim{position:fixed;inset:0;z-index:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:var(--nb-scrim);opacity:0;visibility:hidden;cursor:default;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,visibility 0s linear .3s}
.nb[data-menu="open"] .nb-scrim{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s}
.nb-panel{position:absolute;z-index:5;top:100%;left:0;right:0;padding:8px 8px 16px;border-radius:0 0 20px 20px;background:var(--pn-bg);box-shadow:var(--pn-shadow);color:var(--pn-ink);opacity:0;visibility:hidden;transform:translateY(-10px);transform-origin:50% 0;pointer-events:none;
  transition:opacity .16s ease-in,transform .2s ease-in,visibility 0s linear .2s,background-color 1.2s}
.nb[data-menu="open"] .nb-panel{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .22s cubic-bezier(.2,.7,.3,1),transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s,background-color 1.2s}
.nb-links{display:grid;gap:2px}
.nb .nb-link{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;column-gap:14px;min-height:62px;padding:10px 12px 10px 8px;border-radius:12px;color:var(--pn-ink);text-decoration:none;opacity:0;transform:translateY(6px);
  transition:opacity .18s,transform .3s cubic-bezier(.2,.8,.2,1),background-color .16s}
.nb[data-menu="open"] .nb-link{opacity:1;transform:none}
.nb[data-menu="open"] .nb-link:nth-child(2){transition-delay:.04s,.04s,0s}
.nb[data-menu="open"] .nb-link:nth-child(3){transition-delay:.08s,.08s,0s}
.nb[data-menu="open"] .nb-link:nth-child(4){transition-delay:.12s,.12s,0s}
.nb .nb-link:hover{background:var(--pn-hover);text-decoration:none}
.nb-link-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--pn-ico-bg);color:var(--pn-ico);transition:background-color 1.2s,color 1.2s}
.nb-link-ico .tx-ico{width:20px;height:20px;stroke-width:1.7}
.nb-link-txt{display:grid;min-width:0}
.nb-link-t{font-size:15.5px;font-weight:600;line-height:1.25}
.nb-link-go{width:18px;height:18px;color:var(--pn-muted);opacity:.6;transition:opacity .16s,transform .22s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover){.nb-link-go{opacity:0;transform:translateX(-5px)}.nb-link:hover .nb-link-go,.nb-link:focus-visible .nb-link-go{opacity:1;transform:none}}
.nb .nb-panel a:focus-visible{outline:2px solid var(--pn-ico);outline-offset:-2px;border-radius:12px}
.nb .nb-panel .nb-pbtn:focus-visible{outline-offset:2px;border-radius:999px}
/* under the links on phones and tablets: sign in and sign up */
.nb-panel-foot{display:grid;gap:16px;margin-top:8px;padding:16px 8px 0;border-top:1px solid var(--pn-line)}
.nb-panel-acct{display:grid}
.nb .nb-pbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 14px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--pn-line-strong);color:var(--pn-ink);font-size:15px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .16s,box-shadow .16s}
.nb .nb-pbtn:hover{background:var(--pn-hover);text-decoration:none}
.nb-pbtn .tx-ico{width:17px;height:17px}
/* small phones: a tighter brand so the booking button keeps its room; under 360px the municipality may take two lines */
@media (max-width:399px){.nb-emblem img{height:27px}.nb-muni{font-size:9px;letter-spacing:.09em}.nb-cta{padding:0 15px}}
@media (max-width:359px){.nb-main{gap:6px}.nb-brand{gap:8px}.nb-emblem{padding:3px 5px;border-radius:8px}.nb-emblem img{height:24px}.nb-name{gap:3px}.nb-word{font-size:18px}.nb-muni{max-width:104px;font-size:8.5px;line-height:1.2;letter-spacing:.08em;white-space:normal}.nb-cta{padding:0 12px;font-size:14px}}
@media (min-width:600px){
  .nb-main{gap:12px}
  .nb-brand{gap:13px}
  .nb-emblem{padding:4px 7px;border-radius:10px}
  .nb-emblem img{height:34px}
  .nb-name{gap:5px}
  .nb-word{font-size:25px}
  .nb-muni{font-size:10.5px;letter-spacing:.15em}
  .nb-cta{padding:0 22px;font-size:15.5px}
  .nb-cta-l{display:inline}.nb-cta-s{display:none}
  .nb-menu{width:auto;padding:0 18px 0 15px}
  .nb-menu-t{display:inline}
  .nb-menu .tx-ico{width:18px;height:18px}
  .nb-scrim{background:transparent}
  .nb-panel{top:calc(100% + 8px);left:auto;right:16px;width:392px;padding:8px;border-radius:16px;transform:translateY(-8px) scale(.97);transform-origin:calc(100% - 40px) 0}
  .nb-panel-foot{padding:14px 8px 8px}
}
@media (min-width:720px){.nb-panel{right:32px}}
@media (min-width:800px){
  .nb-main{column-gap:16px;padding:14px 0}
  .nb-acts{column-gap:16px}
  .nb-account{display:flex}
  .nb-panel-foot{display:none}
}
@media (min-width:1080px){
  .nb-main{column-gap:16px;min-height:86px;padding:8px 0}
  .nb-emblem{padding:5px 9px;border-radius:12px}
  .nb-emblem img{height:46px}
  .nb-muni{font-size:11px;letter-spacing:.17em}
  .nb-word{font-size:31px}
  .nb-panel{right:40px}
}
@media (min-width:1200px){
  .nb-h1{margin-right:0}
  .nb-nav{display:flex;align-items:center;margin-right:auto;padding-left:8px}
  .nb-nav::before{content:"";flex:none;width:1px;height:30px;margin-right:11px;background:var(--hx-rule)}
  .nb-menu,.nb-panel,.nb-scrim{display:none}
}


/* signed in: the name with its initials and a sign-out button in the bar, both in the menu's foot */
.nb-user{gap:9px!important}
.nb-ava{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:rgba(244,246,250,.16);color:var(--hx-on);font-size:11.5px;font-weight:700;letter-spacing:.02em;line-height:1}
.nb .nb-link[aria-current="page"]{background:var(--pn-hover)}
.nb-panel-user{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;color:var(--pn-ink)}
.nb .nb-panel-me{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;color:var(--pn-ink);text-decoration:none}
.nb .nb-panel-me:hover strong{text-decoration:underline;text-underline-offset:4px}
.nb-panel-user .nb-ava{width:40px;height:40px;background:var(--pn-ico-bg);color:var(--pn-ico);font-size:13px}
.nb-panel-user strong{min-width:0;font-size:15.5px;font-weight:650;overflow-wrap:anywhere}
.nb-panel-user .nb-pbtn{padding:0 16px}
/* ours: on hover, only the name is underlined, not the initials beside it (an underline on the link would reach them) */
.nb-account .nb-user:hover{text-decoration:none}
.nb-account .nb-user:hover .nb-user-name{text-decoration:underline;text-underline-offset:4px}
/* ours: «Developed by PaperTrail» leads to papertrail.gr, and looks as it did, underlined on hover */
a.nb-credit{color:inherit;text-decoration:none}
a.nb-credit:hover{text-decoration:underline;text-underline-offset:3px}
