/*
 * VALDIER V3 — base.
 *
 * What the pages still need from the Webflow runtime stylesheet (webflow.css),
 * rewritten with Valdier names: element defaults, the layout grid, the plain
 * button, the navigation bar and its compact menu (js/valdier-site.js), and the
 * About slider (js/valdier-site.js). Every value is the one the export used, so
 * the page renders as before; css/valdier-site.css and the other valdier-*.css
 * files build on it by load order. Loaded after normalize.css.
 *
 * Breakpoints: desktop > 991px · tablet ≤ 991 · mobile landscape ≤ 767 · mobile portrait ≤ 479.
 */

/* ---- Elements ---------------------------------------------------------- */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--vs-page, #fff);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--vs-text, #333);
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}

h5 {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}

h6 {
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

blockquote {
  margin: 0 0 10px 0;
  padding: 10px 20px;
  border-inline-start: 5px solid var(--vs-border, #e2e2e2); /* logical: the quote's rule on the reading side (RTL too) */
  font-size: 18px;
  line-height: 22px;
}

figure {
  margin: 0;
  margin-bottom: 10px;
}

figcaption {
  margin-top: 5px;
  text-align: center;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-inline-start: 40px;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

button, [type='button'], [type='reset'] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* ---- Utilities --------------------------------------------------------- */

.inline-block {
  max-width: 100%;
  display: inline-block;
}

.btn {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

.layout-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

/* ---- Navigation bar (behaviour: js/valdier-site.js) ---------------------
 * Above 991px the links sit in the bar. At 991px and below they hide behind
 * the menu button; opened, the menu is moved into .nav_overlay (created by
 * the script) and slides down from under the bar. */

.nav_bar {
  position: relative;
  background: #ddd;
  z-index: 1000;
}

.nav_bar::before, .nav_bar::after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.nav_bar::after {
  clear: both;
}

.nav_logo {
  position: relative;
  float: left;
  text-decoration: none;
  color: #333;
}

.nav_link {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: #222;
  padding: 20px;
  text-align: start;
  margin-left: auto;
  margin-right: auto;
}

.nav_link.is-current {
  color: #0082f3;
}

.nav_menu {
  position: relative;
  float: right;
}

[data-menu-open] {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #c8c8c8;
  text-align: center;
  overflow: visible;
  min-width: 200px;
}

.is-menu-open {
  display: block;
  position: relative;
}

.nav_overlay {
  position: absolute;
  overflow: hidden;
  display: none;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
}

.nav_overlay [data-menu-open] {
  top: 0;
}

.nav_menu-button {
  position: relative;
  float: right;
  padding: 18px;
  font-size: 24px;
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.nav_menu-button:focus {
  outline: 0;
}

.nav_menu-button.is-open {
  background-color: #c8c8c8;
  color: white;
}

.nav_menu-icon {
  display: block;
  width: 1em;
  height: 1em;
}

@media screen and (max-width: 991px) {
  .nav_bar .nav_menu {
    display: none;
  }

  .nav_bar .nav_menu-button {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .nav_logo {
    padding-inline-start: 10px;
  }
}

/* ---- About slider (behaviour: js/valdier-site.js) ------------------------
 * The slides sit side by side in the mask; the script places them on top of
 * each other (translateX) and cross-fades them. Dots are created by the script. */

.content_slider {
  position: relative;
  height: 300px;
  text-align: center;
  background: #ddd;
  clear: both;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.content_slider-mask {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
  left: 0;
  right: 0;
  height: 100%;
  white-space: nowrap;
}

.content_slide {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
  white-space: normal;
  text-align: start;
}

.content_slide-nav {
  position: absolute;
  z-index: 2;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 10px;
  height: 40px;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.content_slide-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: var(--vs-border, #e3e3e3);
  cursor: pointer;
  margin: 0 4px 0.5em;
  transition: background-color 100ms, color 100ms;
}

.content_slide-dot.is-active {
  background-color: var(--vs-dot, #afafaf);
}

.content_slide-dot:focus {
  outline: none;
  box-shadow: 0px 0px 0px 2px #fff;
}

.content_slide-dot:focus.is-active {
  box-shadow: none;
}

.content_left-arrow, .content_right-arrow {
  position: absolute;
  width: 80px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  cursor: pointer;
  overflow: hidden;
  color: white;
  font-size: 40px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
}

.content_left-arrow:focus, .content_right-arrow:focus {
  outline: 0;
}

.content_left-arrow {
  z-index: 3;
  right: auto;
}

.content_right-arrow {
  z-index: 4;
  left: auto;
}

.content_arrow-icon {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 1em;
  height: 1em;
}

.content_slider-live {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
