/* Public layout — the old Layout/master.blade.php styles, copied value for value (owner instruction 9 Nov 2026:
   every size as on the old site). The markup of header.blade.php / footer.blade.php is copied too (row / col-12 /
   container-fluid wrappers), so Bootstrap gives the same widths and offsets.
   Fonts: the old font files and @font-face rules, unchanged (crosswind page text, VERDANA footer and text blocks,
   Square numbers, lemonmilk live draw page). The old master also declared VOXIS, used by no rule, so not served.
   Deliberate differences from the old page (reported to the owner):
   - the old pages were rendered in browser quirks mode (their <style> block came before <!doctype>), where the
     unitless "right: 15; top: 10" of the language select works; here the same position is written in px;
   - the old header/content rows were 12 px wider than the window on each side, so the old page scrolled sideways
     by 12 px; here the same rows are clipped (overflow-x: hidden), everything inside keeps its old position;
   - quirks-mode effects of the old page are reproduced in standards mode: the stray </p> in the old footer made
     an empty paragraph (copied in the footer markup) and image-only lines had no text descender gap (line-height 0
     on the footer icon row).
   - decision Q1 (the language select never covers logo, brand or menu): on a phone held sideways the menu keeps
     clear of the select (padding-right 130px), on a phone (max-width 450px) the select sits 3px higher (7px).
   - tablet held upright (451-900px portrait): the header is stacked (see that rule) instead of squeezing the page.
   Kept exactly as old although it looks broken: on phones (max-width 450px) the header has a fixed height of 140px
   and the 4th menu item wraps below the orange band. */

@font-face {
  font-family: 'VERDANA';
  src: url('/font/VERDANA.TTF');
}

@font-face {
  font-family: 'Square';
  src: url('/font/Square.TTF');
}

@font-face {
  font-family: 'crosswind';
  src: url('/font/crosswind.TTF');
}

/* The old rows are 12px wider than the window on each side: cut off here. "clip" on body (not "hidden") so body
   does not become a scroll container and the overflow never counts as page width. */
html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

body {
  font-family: 'crosswind';
  background-image: url('/image/background_vp.png');
}

/* header.blade.php: <div class="row" style="display: block;"> (inline style not allowed by the CSP) */
.row.header-row {
  display: block;
}

.div-language {
  position: absolute;
  right: 15px;
  top: 10px;
}

.div-language span {
  font-size: 0.8em;
  color: white;
}

.div-language select {
  border: none;
  border-radius: 5px;
  background-color: rgb(255, 224, 130);
  color: rgb(179, 68, 4);
  width: 100px;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 0.7em;
  text-align: center;
}

.div-header-vp {
  background-image: url('/image/top_background.png');
  height: 100px;
  background-size: cover;
}

.div-vp {
  padding-top: 15px;
  padding-left: 40px;
  float: left;
}

.div-vp img {
  width: 70px;
  height: auto;
}

.div-vp a {
  text-decoration: none;
}

.div-vp span {
  font-size: 1.3rem;
  color: white;
  padding-left: 10px;
}

.div-nav-header {
  float: right;
  padding-right: 30px;
  padding-top: 44px;
}

.div-nav-header li {
  padding-right: 20px;
}

.div-nav-header .nav a {
  font-size: 1rem;
  color: white;
  text-decoration: none;
}

/* Menu items whose page is not built yet: same place and size as a link, not clickable (owner decision Q2). */
.div-nav-header .nav .nav-disabled {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: default;
}

.div-footer-vp {
  background-image: url('/image/button_background.png');
  height: 180px;
  padding-top: 40px;
  padding-left: 45px;
  background-size: cover;
}

.div-left-footer-vp {
  float: left;
  color: white;
  font-family: 'VERDANA';
  width: 45%;
  text-align: left;
  font-size: 0.8em;
}

.div-left-footer-vp .div-footer-vp-icon-vp-left img {
  width: 70px;
  height: auto;
}

.div-left-footer-vp .div-footer-vp-icon-vp-left span {
  font-size: 1.5em;
  padding-left: 10px;
  color: white;
  font-family: 'crosswind';
}

.div-footer-vp-text-vp-left {
  margin-top: 10px;
}

.div-right-footer-vp {
  float: right;
  width: 55%;
  padding-right: 100px;
  color: white;
}

.div-right-footer-vp .div-right-footer-vp-div {
  display: inline-block;
  float: right;
  text-align: center;
}

.div-footer-vp-right-top {
  font-size: 0.8em;
}

.div-footer-vp-right-top .footer-vp-color {
  padding-left: 5px;
  color: rgb(255, 224, 130);
  font-size: 1.2em;
}

.div-footer-vp-right-list-icon {
  line-height: 0; /* old quirks mode: no descender gap under the icon images */
}

.div-footer-vp-right-list-icon div {
  display: inline-block;
  padding-left: 7px;
  padding-right: 7px;
}

.div-footer-vp-right-copyright {
  margin-top: 13px;
  line-height: 0; /* old quirks mode: the line is as high as the 0.8em text only (see the span rule) */
}

.div-footer-vp-right-copyright span {
  font-family: 'VERDANA';
  font-size: 0.8em;
  line-height: 1.5;
}

.fixed-bottom11 {
  position: static;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

@media (max-width: 1000px) and (orientation: landscape) {
  .div-header-vp {
    height: 60px;
  }

  .div-vp {
    padding-top: 15px;
  }

  .div-vp img {
    width: 30px;
  }

  .div-vp span {
    font-size: 1em;
  }

  .div-nav-header {
    padding-top: 18px;
    /* owner decision Q1: the language select (top right) must not cover the menu; on a phone held sideways the
       old page let it cover the last menu items, so the menu keeps clear of it here (only difference to the old) */
    padding-right: 130px;
  }

  .div-nav-header .nav a,
  .div-nav-header .nav .nav-disabled {
    font-size: 0.7rem;
  }

  .div-left-footer-vp .div-footer-vp-icon-vp-left img {
    width: 40px;
    height: auto;
  }

  .div-footer-vp-icon-vp-left span {
    font-size: 1.1em !important;
  }

  .div-footer-vp {
    height: 200px;
  }
}

/* Tablet held upright (451-900px): the old header did not fit on one line there, its floating menu hung below the
   orange band and squeezed every page into a strip about 100px wide (content outside the window). Here the header
   is stacked like the phone layout instead, so the pages keep their normal width. Desktop, laptop and phone are
   unchanged (as old). */
@media (min-width: 451px) and (max-width: 900px) and (orientation: portrait) {
  .div-header-vp {
    height: auto;
    padding-bottom: 10px;
  }

  .div-vp {
    float: none;
    text-align: center;
    padding-left: 0;
    padding-top: 50px;
  }

  .div-nav-header {
    float: none;
    padding: 10px 0 0;
  }

  .div-nav-header .nav {
    justify-content: center;
  }
}

@media (max-width: 450px) {
  /* decision Q1: on the old phone layout the select covered the top 2px of the brand text; 3px higher it does not */
  .div-language {
    top: 7px;
  }

  .div-header-vp {
    height: 140px;
  }

  .div-vp {
    padding-top: 30px;
    padding-left: 0px;
    float: none;
    text-align: center;
    width: 100%;
  }

  .div-vp img {
    width: 50px;
  }

  .div-vp span {
    font-size: 1em;
  }

  .div-nav-header {
    float: none;
    padding-right: 0px;
    padding-top: 20px;
    width: 100%;
  }

  .div-nav-header div {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }

  .div-nav-header li {
    padding-right: 3px;
  }

  .div-nav-header .nav a,
  .div-nav-header .nav .nav-disabled {
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
  }

  .div-content {
    padding-bottom: 60px;
  }

  .div-footer-header {
    padding: 0;
    margin: 0;
  }

  .div-footer-vp {
    width: 100%;
    margin: 0;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 60px;
    height: 320px;
  }

  .div-left-footer-vp {
    width: 100%;
    font-size: 0.7em;
    text-align: justify;
  }

  .div-footer-vp-icon-vp-left {
    text-align: center;
  }

  .div-left-footer-vp .div-footer-vp-icon-vp-left img {
    width: 50px;
  }

  .div-footer-vp-icon-vp-left span {
    font-size: 1.2em !important;
  }

  .div-right-footer-vp {
    margin-top: 30px;
    width: 100%;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    float: none;
    font-size: 0.8em;
    padding-bottom: 30px;
  }

  .div-right-footer-vp .div-right-footer-vp-div {
    float: none;
  }

  .div-footer-vp-right-list-icon div {
    padding-left: 3px;
    padding-right: 3px;
  }

  .div-footer-vp-right-list-icon div img {
    width: 20px;
    height: auto;
  }
}
