/* FlipPraxis website translator: keep the language button visible in the header at every screen width.
   fp-chat.css hides it at 1300px and narrower (".nav .fpt-wrap{display:none}"), which left it reachable
   only inside the mobile menu. These rules are more specific, so they apply whatever order the
   stylesheets load in. Header heights come from site.css (86px, and 68px at 720px and narrower). */
@media (max-width:1300px){
  .nav .nav-links .fpt-wrap{display:inline-flex}
}
@media (max-width:720px){
  .nav .nav-links .fpt-wrap{margin-left:2px}
  .nav .nav-links .fpt-btn{height:36px;padding:0 8px;gap:4px}
  /* Open the language list full width just below the header, so it never runs off the screen. */
  .nav .nav-links .fpt-menu{position:fixed;top:76px;left:12px;right:12px;width:auto;max-height:calc(100vh - 92px)}
}
@media (max-width:360px){
  .nav .nav-links .fpt-btn [data-fpt-label]{display:none}
}
