/* This stylesheet generated by Transfonter (https://transfonter.org) on October 23, 2017 6:42 PM */

@font-face {
  font-family: 'HOK Sans';
  src: url('../fonts/HOKSansPro-Book.eot');
  src: url('../fonts/HOKSansPro-Book.eot?#iefix') format('embedded-opentype'),
       url('../fonts/HOKSansPro-Book.woff') format('woff'),
       url('../fonts/HOKSansPro-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HOK Sans';
  src: url('../fonts/HOKSansPro-Bold.eot');
  src: url('../fonts/HOKSansPro-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/HOKSansPro-Bold.woff') format('woff'),
       url('../fonts/HOKSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  background: #fafafb;
  font-family: "HOK Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
}

header {
  height: 25vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo {
  float: right;
  margin-right: 10px;
  width: 60%;
}

.text {
  bottom: 10px;
  color: #171717;
  font-size: 1.6vw;
  letter-spacing: 0.2em;
  position: absolute;
  right: 10px;
}

.text a {
  color: inherit;
  text-decoration: none;
}

.text a.mail {
  background: url('../img/icon-mail.png') no-repeat center transparent;
  background-size: 100%;
  display: inline-block;
  height: 1.47vw;
  width: 2.13vw;
}

.social, address {
  display: inline;
}

.social {
  font-weight: 700;
}

address {
  font-size: 1.7vw;
  font-style: normal;
}

.slider {
  height: 75vh;
  position: absolute;
  width: 100%;
}

.slider.slick-dotted {
  margin-bottom: 0;
}

.slider .slick-list, 
.slider .slick-track,
.slider .item {
  height: 100%;
}

.slider .item {
  background: none center no-repeat transparent;
  background-size: cover;
}

.slider .item-01 {
  background-image: url('../img/slider_1.jpg');
}

.slider .item-02 {
  background-image: url('../img/slider_2.jpg');
}

.slider .item-03 {
  background-image: url('../img/slider_3.jpg');
}

.slider .item-04 {
  background-image: url('../img/slider_4.jpg');
}

.slider .item-05 {
  background-image: url('../img/slider_5.jpg');
}

.slider .slick-dots {
  list-style: none;
  position: absolute;
  margin: 0;
  overflow: hidden;
  padding: 0;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.slider .slick-dots li {
  margin-bottom: 5px;
}

.slider .slick-dots li button {
  background: #f6f7f8;
  border: 0 none;
  height: 18px;
  opacity: 0.6;
  padding: 0;
  text-indent: -200em;
  transition: opacity linear 900ms 0s;
  width: 4px;
}

.slider .slick-dots .slick-active button {
  opacity: 1;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (orientation: landscape) {

  .text {
    font-size: 10px;
  }

  .text a.mail {
    height: 9px;
    width: 13px;
  }

  address {
    font-size: 11px;
  }

  .slider .item-01 {
    background-image: url('../img/slider_1_landscape.jpg');
  }

  .slider .item-02 {
    background-image: url('../img/slider_2_landscape.jpg');
  }

  .slider .item-03 {
    background-image: url('../img/slider_3_landscape.jpg');
  }

  .slider .item-04 {
    background-image: url('../img/slider_4_landscape.jpg');
  }

  .slider .item-05 {
    background-image: url('../img/slider_5_landscape.jpg');
  }

}

@media only screen and (min-width: 64em) {

  header {
    height: 250px;
  }

  .logo {
    width: 418px;
  }

  .text {
    bottom: 20px;
    left: 20px;
    right: auto;
  }
  
  .slider {
    height: calc(100vh - 250px);
  }

}
