/*
Theme Name: Nordväggen
Theme URI: http://nordvaggen.se
Author: Fredrik Hjort
Author URI: http://fredrikhjort.com
Description: Skräddarsytt Wordpress-tema för Nordväggen AB. Responsiv "mobile first"-design och brytpunkter från min-width 375, 414, 768, 1024 samt 1200 px.
Version: 1.0
License: Copyright 2017 Nordväggen AB
License URI: 
Tags:
Text Domain: nordvaggen
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,

b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Nordväggen Wordpress theme CSS
   Nordväggen AB - nordvaggen.se
   by Fredrik Hjort – fredrikhjort.com
*/

@font-face {
  src: url('./fonts/dinpro-condbold.woff') format('woff');
  font-family: 'DINProCondBold';
  font-style: normal;
  font-weight: 400;
}

@font-face {
  src: url('./fonts/libre-baskerville-regular.woff') format('woff');
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
}
@font-face {
  src: url('./fonts/libre-baskerville-italic.woff') format('woff');
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
}
@font-face {
  src: url('./fonts/libre-baskerville-700.woff') format('woff');
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
}

body {
  background: #fff;
  color: #000;
  font-size: 16px;
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased !important;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
body.prevent-scrolling {
  overflow: hidden;
  overflow-y: hidden;
}

a {
  color: #cd853f;
  text-decoration: none;
}
a:hover {
  color: #000;
  text-decoration: underline;
}

h2, h3, h4.h3 {
  font-family: DINProCondBold;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Wrappers */

.header-wrapper {
  flex-shrink: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  background-color: rgba(255,255,255,1);
  transition: transform .2s ease-in-out, background-color .2s ease-in-out;
}
body.scrolled .header-wrapper {
  transform: translateY(-100%);
}
.content-wrapper {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  padding-top: calc(2rem + 50px);
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}
.brands-wrapper {
  margin-top: calc(2rem + 50px);
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  background: #eee;
}
.footer-wrapper {
  width: 100%;
}
.products-wrapper {
  margin-top: 3rem;
  padding-top: 3rem;
  padding-bottom: 1rem;
  width: 100%;
}
.cta-wrapper {
  width: 100%;
  background: #eee;
}
.cta-wrapper:before {
  content: " ";
  display: block;
  width: 100%;
  height: calc(2rem + 50px);
  background: #fff;
}
.footer-wrapper {
  background: #000;
  z-index: 2;
}

/* Header */

.header {
  width: 100%;
  max-width: 1200px;
  padding: 1rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  .header h1 {
    flex: 0;
    flex-basis: 200px;
    z-index: 3;
  }
    .header h1 a {
      display: block;
      width: 200px;
      height: 50px;
      color: #000;
      text-decoration: none;
      position: relative;
    }
    .header h1 a span {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 200px;
      height: 50px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: left center;
    }
    .header h1 a span.logo-circle {
      background-image: url('./images/nordvaggen-logo-circle.svg');
      opacity: 1;
      transition: opacity .2s ease-in-out;
    }
    .header h1 a span.logo {
      background-image: url('./images/nordvaggen-logo.svg');
      opacity: 0;
      transition: opacity .2s ease-in-out .1s;
    }
    .header h1 a:hover span.logo-circle {
      opacity: 0;
      transition: opacity .2s ease-in-out .1s;
    }
    .header h1 a:hover span.logo {
      opacity: 1;
      transition: opacity .2s ease-in-out;
    }
  #header-nav {
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    overflow-y: scroll;
    padding: calc(2rem + 50px + 1rem) 0 1rem;
    margin: 0;
    background: #cd853f;
    color: #000;
    -webkit-transition: width 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: width 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
    .header-nav-social {
      margin-top: 2rem;
      padding-left: 1.5rem;
      white-space: nowrap;
    }
    #header-nav li {
      display: block;
    }
    #header-nav .header-nav-social li {
      display: inline-block;
    }
    #header-nav .header-nav-social li:last-child {
      display: none;
    }
      #header-nav li a {
        display: inline-block;
        height: 50px;
        line-height: 50px;
        margin: 0 2rem;
        font-family: DINProCondBold;
        font-size: 28px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        text-align: left;
        white-space: nowrap;
        color: #fff;
        transition: color .2s;
      }
      #header-nav .header-nav-social li a {
        margin: 0;
        text-align: center;
        width: 50px;
      }
      #header-nav li.current-menu-item a {
        border-bottom: 2px solid #fff;
      }
      #header-nav li a:hover {
        color: #000;
        text-decoration: none;
        border-bottom: 2px solid #000;
      }
      #header-nav .header-nav-social li a:hover {
        border-bottom: none;
      }
  #header-nav-trigger {
    display: block;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    position: relative;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
  }
    .burger-top,
    .burger-middle,
    .burger-bottom {
      display: block;
      width: 50px;
      height: 50px;
      position: absolute;
      top: 0;
      left: 0;
      cursor: pointer;
      -webkit-transition: -webkit-transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: -webkit-transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    }
    .bread-top,
    .vego-burger,
    .bread-bottom {
      display: block;
      width: 30px;
      height: 4px;
      border-radius: 2px;
      background-color: #000;
      position: absolute;
      top: 23px;
      left: 10px;
      -webkit-transition: -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
      transition: transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    }
    .vego-burger {
      opacity: 1;
      -webkit-transition: opacity 0.01s 0.15s;
      transition: opacity 0.01s 0.15s;
    }
    .bread-top {
      -webkit-transform: translateY(-9px);
      -ms-transform: translateY(-9px);
      transform: translateY(-9px);
    }
    .bread-bottom {
      -webkit-transform: translateY(9px);
      -ms-transform: translateY(9px);
      transform: translateY(9px);
    }
  #header-nav-mask {
    z-index: 1;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    position: fixed;
    overflow: hidden;
    background: rgba(255,255,255,.6);
    opacity: 0;
    transition: opacity .2s ease-in-out;
  }
  input#header-nav-state {
    display: none;
  }
  input#header-nav-state:checked ~ #header-nav {
    width: 100%;
  }
  input#header-nav-state:checked ~ #header-nav-mask { 
    opacity: 1;
    height: 100vh;
    width: 100%;
  }
  input#header-nav-state:checked ~ #header-nav-trigger .burger-top,
  input#header-nav-state:checked ~ #header-nav-trigger .burger-middle,
  input#header-nav-state:checked ~ #header-nav-trigger .burger-bottom {
    -webkit-transition: -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.15s 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
  input#header-nav-state:checked ~ #header-nav-trigger .burger-top {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  input#header-nav-state:checked ~ #header-nav-trigger .burger-bottom {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  input#header-nav-state:checked ~ #header-nav-trigger .bread-top,
  input#header-nav-state:checked ~ #header-nav-trigger .bread-bottom {
    -webkit-transition: -webkit-transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.15s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
  input#header-nav-state:checked ~ #header-nav-trigger .bread-top,
  input#header-nav-state:checked ~ #header-nav-trigger .bread-bottom {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  input#header-nav-state:checked ~ #header-nav-trigger .vego-burger {
    opacity: 0;
    -webkit-transition: opacity 0.01s 0.15s;
    transition: opacity 0.01s 0.15s;
  }

/* Feature image */

.feature-image {
  height: 62vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f6f6f6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
  .feature-intro {
    flex-basis: auto;
    padding: 1rem;
    color: #fff;
    text-align: center;
  }
    .feature-intro-text,
    .front-page-intro-text {
      display: inline-block;
      font-family: DINProCondBold;
      font-size: 36px;
      letter-spacing: 0.04em;
      line-height: 1.05em;
      margin-bottom: 0.25em;
      text-shadow: 0 0 1rem rgba(51,51,51,.2);
    }
    .feature-intro-credit,
    .front-page-intro-credit {
      font-family: DINProCondBold;
      font-size: 18px;
      letter-spacing: 0.04em;
      line-height: 1.05em;
      text-transform: uppercase;
      text-shadow: 0 0 .5rem rgba(51,51,51,.2);
    }

/* Content */

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
  margin-top: 3rem;
}
  .section-column-1 {
    flex: 0;
    flex-basis: 100%;
    max-width: 584px;
  }
  .section-column-2 {
    flex: 0;
    flex-basis: 100%;
    line-height: 1.618em;
    font-size: 16px;
    max-width: 100%;
    margin-top: .5rem;
  }
    .section-column-2 strong {
      font-family: inherit;
      font-weight: 700;
    }
    .section-column-2 p {
      position: relative;
      margin-top: 1.5rem;
    }
    .section-column-2 img {
      display: block;
      max-width: 100%;
      height: auto;
    }
    .section-column-2 p img {
      margin-bottom: 1.5rem;
    }
    .section-column-2 .wp-caption {
      position: relative;
      width: 100%;
      max-width: 100%;
      height: auto;
      margin-bottom: 1.5rem;
    }
      .section-column-2 .wp-caption img {
        display: block;
      }
      .section-column-2 .wp-caption a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.2);
        transition: background-color 300ms ease;
      }
      .section-column-2 .wp-caption a:hover::before,
      .section-column-2 .wp-caption a:focus::before {
        background: rgba(255,255,255,0);
      }
      .section-column-2 a ~ p.wp-caption-text {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: auto;
        transform: translateY(-50%);
        pointer-events: none;
        margin: 0;
        padding: 2rem;
        color: #fff;
        font-family: DINProCondBold;
        font-size: 28px;
        letter-spacing: 0.04em;
        line-height: 1.05em;
        text-align: center;
        text-shadow: 0 0 1rem rgba(0,0,0,.2);
        text-transform: uppercase;
      }
      .section-column-2 a ~ p.wp-caption-text::after {
        content: 'Läs mer';
        display: block;
        width: 150px;
        margin: 1em auto 0;
        border-radius: 2px;
        padding: 0 .5em .125em;
        background: #fff;
        color: #cd853f;
        font-size: 18px;
        text-shadow: none;
      }

/* Products Instagram */

.products #sb_instagram {
  margin-top: 1rem;
}

.products #sb_instagram .sbi_photo_wrap {
  border-radius: 2px;
  overflow: hidden;
}

.products #sb_instagram #sbi_load .sbi_load_btn:hover,
.products #sb_instagram #sbi_load .sbi_load_btn:focus {
  opacity: 1;
  filter: none;
}

/* Call to action (and som Products Instagram styling) */

.cta {
  width: 100%;
  max-width: 584px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
  .cta h2, .cta p {
    flex-basis: 100%;
  }
  .cta p {
    line-height: 1.618em;
    font-size: 18px;
    margin-top: 2rem;
  }
  .cta form {
    width: 100%;
    margin-top: .5rem;
  }
  .products #sb_instagram #sbi_load .sbi_load_btn,
  .cta input,
  .cta button,
  .cta textarea {
    box-sizing: border-box;
    font-family: 'Libre Baskerville';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding: .75rem 1rem;
    border: none;
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
    background: #fff;
  }
  .products #sb_instagram #sbi_load .sbi_load_btn {
    max-width: 200px;
  }
  .contact-nordvaggen-message textarea {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    font-size: 0;
    transition: font-size .2s .2s ease-in-out, margin-top .2s .2s ease-in-out, padding .2s .2s ease-in-out;
  }
  #contact-nordvaggen-message-state {
    display: none;
  }
  #contact-nordvaggen-message-state:checked ~ .contact-nordvaggen-message textarea {
    font-size: 16px;
    padding: .75rem 1rem;
  }
  .cta label {
    display: inline-block;
    font-family: DINProCondBold;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1em;
    padding: .75em 1rem;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    margin: 1rem auto 0 auto;
    color: #cd853f;
    overflow: hidden;
    transition: color .2s ease-in-out, height .2s ease-in-out, padding .2s ease-in-out, margin .2s ease-in-out;
  }
    .cta label:before {
      display: inline-block;
      content: "\2715";
      position: relative;
      right: .5rem;
      height: 18px;
      width: 18px;
      transform: rotate(-45deg);
      transition: transform .2s ease-in-out;
    }
  .cta label:hover {
    color: #000;
  }
  #contact-nordvaggen-message-state:checked ~ label {
    height: 0;
    padding: 0;
    margin: 0;
  }
  /*#contact-nordvaggen-message-state:checked ~ label:before {
    transform: rotate(0deg);
  }*/
  .products #sb_instagram #sbi_load .sbi_load_btn,
  .cta input[type=submit] {
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #333;
    background: #cd853f;
    border-radius: 2px;
    box-shadow: 0px 4px #99642f;
    color: #fff;
    font-family: DINProCondBold;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.05em;
    text-transform: uppercase;
    text-align: center;
    outline: none;
    top: 0;
    position: relative;
    transition: top 80ms, box-shadow 80ms;
    cursor: pointer;
  }
  .products #sb_instagram #sbi_load .sbi_load_btn:active,
  .cta input[type=submit]:active {
    top: 4px;
    box-shadow: 0px 0px #99642f;
  }
  .cta p.error {
    font-family: DINProCondBold;
    font-size: 18px;
    margin: .5rem auto 0 auto;
    text-transform: uppercase;
    color: #c00;
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
    text-align: left;
  }
  .cta h3.success {
    margin-top: 3rem;
    color: #360;
  }
  .cta p.success {
    color: #360;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
    max-width: none;
  }
  .cta p.error:empty,
  .cta p.success:empty {
    display: none;
  }

/* Products & Brands */

.products,
.brands {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  text-align: center;
}
  .brands ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    margin-top: 1.5rem;
  }
    .brands li {
      flex: 0 0 50%;
    }
      .brands img {
        display: inline-block;
        max-width: 200px;
        max-height: 75px;
      }
      .brands a {
        display: block;
        padding: 1rem 0;
        margin: .5rem;
        text-align: center;
      }

/* Footer */

.footer {
  width: 100%;
  max-width: 1200px;
  padding: 3rem 1rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
  .footer-menu {
    flex: 0 0 auto;
    display: inline-block;
    text-align: center;
    margin: 1rem 0;
  }
  .footer-menu .menu-item {
    display: inline;
  }
  .footer-menu .menu-item a {
    display: inline-block;
    font-size: 1.6rem;
    text-align: center;
    line-height: 50px;
    width: 50px;
    color: #fff;
    opacity: .5;
    transition: opacity .2s;
  }
  .footer-menu .menu-item a:hover {
    opacity: 1;
  }
  .footer p {
    color: rgba(255,255,255,.5);
    font-family: DINProCondBold;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.05em;
    text-transform: uppercase;
    text-align: center;
  }

/* Front-page */

body.front-page {
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
body.front-page:not(.scroll-treshold) .header-wrapper {
  background-color: rgba(255,255,255,0);
}
  body.front-page:not(.scroll-treshold) .header h1 a span.logo-circle {
    background-image: url('./images/nordvaggen-logo-circle-white.svg');
  }
  body.front-page:not(.scroll-treshold) .header h1 a span.logo {
    background-image: url('./images/nordvaggen-logo-white.svg');
  }
  body.front-page:not(.scroll-treshold) .bread-top,
  body.front-page:not(.scroll-treshold) .vego-burger,
  body.front-page:not(.scroll-treshold) .bread-bottom {
    background-color: #fff;
  }
  body.front-page:not(.scroll-treshold) #header-nav li a {
    color: #fff;
  }
  body.front-page:not(.scroll-treshold) #header-nav li.current-menu-item a {
    border-bottom-color: #fff;
  }
  body.front-page:not(.scroll-treshold) #header-nav li a:hover {
    border-bottom-color: #fff;
  }

body.front-page .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: none !important;
}
body.front-page .video-wrapper {
  background-image: url('./images/nordvaggen-video-poster.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
body.front-page video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.front-page-intro {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  min-height: 100vh;
  z-index: 2;
}
  .front-page-intro-text,
  .front-page-intro-credit {
    flex-basis: 100%;
  }
.front-page-presentation {
  background: #fff;
  flex: 0 0 100%;
  padding: 1.5rem 1em 3rem;
  z-index: 2;
}
.front-page-presentation p {
  line-height: 1.618em;
  font-size: 20px;
  max-width: 584px;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
body.front-page .footer-wrapper {
  margin-top: 0;
}

/* Larger resolutions */

@media (min-width: 375px) {
  .section-column-2 {
    font-size: 18px;
  }

  .brands li {
    flex-basis: 33%;
  }
}

@media (min-width: 414px) {
  input#header-nav-state:checked ~ #header-nav {
    width: 285px;
  }

  .brands li {
    flex-basis: 25%;
  }
}

@media (min-width: 616px) {
  .section-column-2 {
    max-width: 584px;
  }
}

@media (min-width: 768px) {
  .content-wrapper {
    padding-top: calc(4rem + 50px);
  }

  .cta-wrapper:before {
    height: calc(4rem + 50px);
  }

  .header {
    padding: 2rem 1rem;
  }

  body.front-page .content-wrapper {
    margin-top: 0;
  }

  .feature-image {
    height: 0;
    padding-top: 42.1875%;
    display: block;
    position: relative;
  }
    .feature-intro {
      position: absolute;
      width: 40%;
      top: 4rem;
      right: 5rem;
      padding: 0;
    }
      .feature-intro-text,
      .front-page-intro-text {
        font-size: 50px;
      }

  .section-column-2 a ~ p.wp-caption-text {
    font-size: 36px;
  }

  .brands li {
    flex-basis: 20%;
  }
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }

  .header-wrapper {
    transition: background-color .2s ease-in-out;
  }
  body.scrolled .header-wrapper {
    transform: none;
  }

  .header {
    padding-right: 0;
  }
  #header-nav {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: 50px;
    flex: 0 0 auto;
    justify-content: space-between;
    padding: 0;
    overflow-y: hidden;
    -webkit-transition: none;
    transition: none;
    background: none;
  }
    #header-nav li {
      display: inline;
      flex: 1;
    }
      #header-nav li a {
        text-align: center;
        color: #cd853f;
      }
      #header-nav li.current-menu-item a {
        border-bottom-color: #cd853f;
      }
      #header-nav li a:hover {
        border-bottom-color: #333;
      }
  .header-nav-social,
  #header-nav-trigger,
  #header-nav-state,
  #header-nav-mask {
    display: none;
  }

  .front-page-presentation {
    flex-basis: calc(60% - 4rem);
    padding: 0 1rem 0 2rem;
    order: 0;
    margin-top: calc(4rem + 50px);
    margin-bottom: calc(4rem + 50px);
    background: none;
    color: #fff;
  }
    .front-page-presentation p {
      margin-top: 0;
    }
    .front-page-presentation p + p {
      margin-top: 1.5rem;
    }
  .front-page-intro {
    flex-basis: 40%;
    order: 1;
  }

  .section {
    padding: 0 2rem;
    justify-content: flex-start;
  }
  .section-column-1 {
    flex-basis: 27.5%;
    margin-right: 6.5%;
    text-align: right;
  }
  .section-column-2 {
    flex-basis: 66%;
    margin-top: 0;
    max-width: 584px;
  }
    .section-column-2 p {
      margin-top: 0;
    }
    .section-column-2 img + p,
    .section-column-2 p + p,
    .section-column-2 p + div {
      margin-top: 1.5rem;
    }
}

/* Static site additions */

/* Inline SVG icons (replace Font Awesome 4.7; same metrics as .fa / .fa-fw) */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.14285714em;
}
.icon-fw {
  width: 1.28571429em;
}

/* Instagram link that replaces the live feed on Produkter */
.products p {
  margin-top: 1.5rem;
}

/* Feature images (were inline styles in the WordPress theme) */
.feature-image-produkter {
  background-image: url('../uploads/nordvaggen-produkter.jpg');
}
.feature-image-om-oss {
  background-image: url('../uploads/nordvaggen-om-oss.jpg');
}
.feature-image-kontakt {
  background-image: url('../uploads/nordvaggen-kontakt.jpg');
}
