@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-collapse li {
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  overflow: hidden;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
 
  padding: 0 5%;
  z-index: 100;

  display: flex;                /* ALIGN LOGO + MENU */
  align-items: center;
  justify-content: space-between;

  font-family: 'lato', sans-serif;
  transition: all 0.5s;
}

/* ------------------------------------------
  LOGO
--------------------------------------------- */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-as {
  width: 200px;
  height: 100px;                /* BIG LOGO */
  background: url(../img/val4.png) no-repeat center;
  background-size: contain;     /* NEVER CROPS */
}

/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  background: rgba(0,0,0,.5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  inset: 0;
  transition: opacity 300ms;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

/* ------------------------------------------
  NAVIGATION
--------------------------------------------- */

.nav-collapse,
.nav-collapse * {
  box-sizing: border-box;
}

.nav-collapse {
  float: right;
}

.nav-collapse ul {
  display: flex;                /* MENU INLINE */
  align-items: center;
}

.nav-collapse li {
  float: left;
}

.nav-collapse .menulink a {
  text-decoration: none;
  padding: 5px 20px;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;              /* BIGGER TEXT */
  letter-spacing: 1px;
  line-height: 1;
}

.nav-collapse a:hover,
.nav-collapse .active a {
  color: #D44638;
}

/* ------------------------------------------
  MOBILE TOGGLE
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src: url("../icons/responsivenav.ttf") format("truetype");
}

.nav-toggle {
  text-indent: -300px;
  overflow: hidden;
  width: 70px;
  height: 200px;                /* MATCH LOGO */
  position: relative;
  float: right;
}

.nav-toggle:before {
  font: normal 34px/200px "responsivenav";
  content: "\2261";
  color: #fff;
  position: absolute;
  width: 100%;
  text-align: center;
}

.nav-toggle.active:before {
  content: "\78";
}

/* ------------------------------------------
  DESKTOP
--------------------------------------------- */

@media (min-width: 768px) {

  .js .nav-collapse {
    position: relative;
    max-height: none;
  }

  .nav-toggle {
    display: none;
  }

  .mask {
    display: none !important;
  }

  .nav-collapse {
    margin-left: auto;          /* FORCE RIGHT */
  }
}
