/*  Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  30042016
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
@font-face {
    font-family: 'NeuzeitSLTStd-Book';
    src: url('../fonts/neuzeit-bold.woff2') format('woff2'),
         url('../fonts/neuzeit-bold.woff') format('woff'),
         url('../fonts/neuzeit-bold.ttf') format('truetype');
}

html,
body,
ul {
    margin:0;
    padding:0;
    background-color: #FFF;
    font: normal 20px 'NeuzeitSLTStd-Book', 'Helvetica Neue', Arial, sans-serif;
    font-style: normal;
    line-height: 1;
}

li {
    list-style-type: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

h1.title {
    margin-bottom: 0;
}

h2 {
    font-size: 20px;
}

h2.title {
    font-size: 28px;
}

h2.large {
    font-size: 28px;
    margin-bottom: 40px;
}

h3 {
    font-size: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
}

h4 {
    font-size: 20px;
}

h4.date {
    padding-bottom: 25px;
}

h5 {
    font-size: 60px;
    color: #8c7459;
}

.project-details h2 {
    margin-bottom: 22px;
}

p {
    line-height: 26px;
    padding-bottom: 25px;
}

p:last-child {
    padding: 0;
}

p.large {
    font-size: 24px;
    line-height: 1.4;
}

p.tags {
    font-size: 16px;
    padding-bottom: 20px;
}

/* Viewport Sized Typography */
@media (min-width: 1200px) {

    h1 {
        font-size: 32px;
        font-size: 2.8vw;
    }

    h2 {
        font-size: 20px;
        font-size: 1.8vw;
    }

    h2.large,
    h2.title {
        font-size: 28px; 
        font-size: 2.4vw;   
    }
}

a,
a:visited {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
}

a:hover, 
a:active,
a:focus {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a,
a:hover {
    -webkit-transition: color 0.5s;
    -moz-transition: color 0.5s;
    transition: color 0.5s;
}

a.icon-link,
a.icon-link:hover,
a.icon-link:active,
a.icon-link:focus {
    border: 0;
}

a,
a:visited,
a:hover, 
a:active,
a:focus,
a.navbar-brand span,
a.navbar-brand span:hover,
.navbar-nav,
.navbar-brand,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover,
a.enter,
a.enter:hover,
.project-share a,
.project-share a:hover,
footer a,
footer a:hover {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

img {
    max-width: 100%;
    height: auto; }

/* ==========================================================================
   Browse Happy prompt lte IE 8
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #cc0033;
    color: #FFF;
    padding: 0.5em;
}

.browsehappy a {
    color: #FFF;
    text-decoration: underline;
}

.browsehappy a:hover {
    text-decoration: none;
}

/* ==========================================================================
   HEADER & LOGO
   ========================================================================== */
.navbar-brand {
    height: 36px;
    margin-left: 15px;
    padding: 10px 0;
}

@media (max-width: 767px) {
    .navbar-brand {
        margin-top: 6px;
    }
}

a.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 125px;
    height: 25px;
    background-image: url(../graphics/nordland.svg);
    background-size: 125px 25px;
}

a.navbar-brand span:hover {
    opacity: .65;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
body {
    padding-top: 36px;
}

header {
    height: 36px;
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
    z-index: 1000;
}

.navbar,
.navbar-nav,
.navbar-collapse {
    border: 0;
    background: #FFF;
}
@media (max-width: 767px) {
    .navbar-nav,
    .navbar-collapse {
        height: 100vh;
        transition: opacity .65s, visibility .65s, height .65s;
    }
}

.navbar-nav {
    padding-top: 80px;
}

/* Toggle 
.navbar-toggle {
    padding: 9px 10px;
    margin-top: 10px;
    margin-right: 7px;
    border: 0;
}*/

.navbar-toggle {
    position: fixed;
    top: 10px;
    right: 7px;
    height: 27px;
    width: 99px;
    cursor: pointer;
    transition: opacity .25s ease;
    border: 0 !important;
    background-color: transparent !important;
    z-index: 1081;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #FFF !important; /* for Safari */
}
/*
#nav-icon {
    width: 26px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
    top: 6px;
}

#nav-icon span:nth-child(4) {
    top: 12px;
}

#nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
*/

#nav-icon {
    position: absolute;
    top: 0;
    right: 0;
    height: 27px;
    width: 41px;
}

#nav-icon span {
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transition: all .35s ease;
    cursor: pointer;
    background: url(../graphics/toggle-icon-open.svg) no-repeat center right;
    background-size: 41px 5px;
}

#nav-icon span:nth-of-type(2) {
    top: 11px;
}

#nav-icon span:nth-of-type(3) {
    top: 22px;
}

#nav-icon.open {
    padding-top: 10px;
    height: 60px;
    width: 81px;
}

#nav-icon.open .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: url(../graphics/toggle-icon-close.svg) no-repeat;
    margin-top: 15px;
    background-size: 81px 5px;
}

#nav-icon.open .middle {
    opacity: 0;
}

#nav-icon.open .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: url(../graphics/toggle-icon-close.svg) no-repeat;
    margin-top: 15px;
    background-size: 81px 5px;
}

/*
#nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}
*/
@media (min-width: 768px) {
    header {
        height: auto;
        position: fixed;
        top: 0;
        transition: top 0.2s ease-in-out;
        width: 100%;
    }

    body {
        padding-top: 90px;
    }

    .navbar,
    .navbar-nav,
    .navbar-collapse {
        border: 0;
        background: transparent;
    }

    .navbar-default {
        background-color: transparent;
    }

    .nav-up {
        top: -90px;
    }

    .navbar-brand,
    .navbar-nav {
        padding: 10px 0;
    }

    .navbar {
        height: 90px;
        margin-bottom: 0px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .navbar-brand {
        margin-left: 0 !important;
        margin-top: 32px;
        margin-bottom: 20px;
    }

    .navbar-nav {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.navbar-nav {
    background-color: transparent;
}

/* Navigation colors */
.navbar-default .navbar-nav > li > a {
    color: #000;
    border: 0;
    padding: 10px 0;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #b1b3b6;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #b1b3b6;
    background-color: transparent;
}

/* Menu items */
.navbar-nav > li > a {
    font-size: 20px;
    margin-right: 40px;
    margin-left: 0;
    padding: 0;
}

.navbar-nav > li:last-child > a {
    margin-right: 0;
}

@media (max-width: 767px) {
    .navbar-nav > li > a,
    .navbar-nav li  {
        font-size: 36px;
        text-align: center;
        margin-right: 0;
        line-height: 1.5;
    }   
}

@media (min-width: 768px) {
    .navbar-brand {
        padding-left: 85px;
    }

    .navbar-nav {
        padding-right: 100px;
    } 

    .navbar-default .navbar-nav > li > a {
        color: #000;
        padding-bottom: 2px;
        border-bottom: 3px solid transparent;
    }

    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: #000;
        border-bottom: 2px solid #000;
        background-color: transparent;
    }

    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
        color: #000;
        background-color: transparent;
        border-bottom: 2px solid #000;
        background-color: transparent;
    }  
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

.col-sm-6,
.col-md-6,
.col-md-12,
.col-sm-12 {
    padding-left: 7px;
    padding-right: 7px;
}

@media (max-width: 767px) {

    #body {
        margin-top: 60px;
    }

    .col-sm-6.wow {
        padding: 0;
    }

    .col-sm-12.project-image-full {
        padding: 0;
    }
}

section.content {
    padding: 0 15px;
}

@media (min-width: 768px) {
    #home {
        margin-top: 60px;
    }
    section.content {
        padding: 0 7px;
    }
}

section.content,
.arrow-up,
.social {
  margin-bottom: 80px;
}

.row img {
    width: 100%;
}
 
/* Carousel */
/* Fading */
.carousel-fade .carousel-inner > .item {
    transition-property: none; /* opacity */
}
.carousel-fade .carousel-inner > .item,
.carousel-fade .carousel-inner > .item.active.left {
    opacity: 0;
}
.carousel-fade .carousel-inner > .item.active,
.carousel-fade .carousel-inner > .item.next.left {
    opacity: 1;
}
.carousel-fade .carousel-inner > .next,
.carousel-fade .carousel-inner > .prev,
.carousel-fade .carousel-inner > .active.left,
.carousel-fade .carousel-inner > .active.right {
    left: 0;
}
.carousel-fade .carousel-inner > .item.next,
.carousel-fade .carousel-inner > .item.active.right,
.carousel-fade .carousel-inner > .item.prev,
.carousel-fade .carousel-inner > .item.active.left {
    transform: translate3d(0, 0, 0);
}

.carousel-control {
    display: none;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none; /* Shadows */
}

.centered-content {
    text-align: center;
}

/* Project items */
@media (max-width: 767px) {
    .main-image {
        padding-left: 0;
        padding-right: 0;
    }
}

.project {
    position: relative;
    padding-bottom: 15px;
}

.project-inner {
    z-index: 999;
    position: absolute;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /* justify-content: center; Syntax for all */
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    /* align-items: center; Syntax for all */
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.ie9 .project {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.ie9 .project-inner {
    display: table-cell;
    vertical-align: middle;
    padding: 12.5% 25%;
    margin-top: 10%;
}

.project-inner:hover {
    opacity: 1;
}

.project-title {
    background: #FFF;
    width: 70%;
    padding: 8% 10%;
    text-align: center;
}

@media (min-width: 481px) {
    .project-title {
        width: 50%;
        padding: 8% 10%;
    }
}

@media (min-width: 768px) {
    .project-title {
        width: 60%;
        padding: 8% 10%;
    }
}

@media (min-width: 992px) {
    .project-title {
        width: 50%;
        padding: 8% 10%;
    }
}

@media (min-width: 1200px) {
    .project-title {
        width: 38%;
    }
}

.project-title h2 {
    font-size: 20px;
    color: #000;
}

.project-title h4 {
    font-size: 16px;
    color: #000;
    padding: 0;
    margin: 0;
    line-height: 20px;
}

.rollover-image img:last-child,
.rolloverSliderImage .rolloverSlider img {
    display: none;
}

.rollover-image:hover img:first-child,
.rolloverSliderImage:hover #carouselRollover {
    display: none;
}

.rollover-image:hover img:last-child,
.rolloverSliderImage:hover .rolloverSlider img {
    display: inline-block;
}

/* Detail page */

.content-inner {
    padding-left: 15px;
    padding-right: 15px;
}

#contact .project-details {
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    #contact .pt-60 {
        padding-top: 60px;
    }
}

@media (min-width: 768px) {
    .content-inner {
        padding: 60px 100px 0 100px;
    }
}

@media (min-width: 992px) {
    .project-wrapper { /* makes children equal height */
        display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex;     /* NEW - Chrome */
        display: flex;
    }

    .project-social {
        -ms-flex-align: end; /* ie10 */
        -webkit-align-self: flex-end;
        align-self: flex-end; 
    }
}

@media (min-width: 768px) {
    .project-images-container {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-wrap: wrap; /* for ie10 */
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .project-images-container {
        padding-top: 60px;  
    }

    .project-image-wrapper {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 49.9%; /* Safari needs width */
    }

    .wrapper-wide {
        width: 99.8%;
    }
}

.info-article {
    padding-bottom: 60px;    
}

.clients .info-article {
    padding-bottom: 0;
}
.clients .project-description {
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .clients .info-article {
        padding-bottom: 0;
    }
    .clients .info-article:last-child h2 {
        display:  none !important;
    }
    .clients .info-article:last-child {
        margin-top: -10px;
    }
    
}

@media (min-width: 992px) {
    .info-article-container {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-wrap: wrap; /* for ie10 */
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .info-article {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 49.9%; /* Safari needs width */
        padding-right: 80px;
    }  
}

.info-article img {
    max-width: 240px;
}

@media (max-width: 1200px) {
    .info-article img {
        margin-bottom: 45px;
    }    
}

.info-article li {
    font-weight: normal;
    line-height: 26px;
    list-style: none;
    padding: 0 0 0 15px;
} 

.info-article li:before {
    content: '-';
    display: block;
    height: 0;
    width: 0;
    left: -15px;
    top: 0;
    position: relative;
}

.project-social p {
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    .project-share {
        float: right;
    }    
}

.project-share p,
.project-share a {
    display: inline-block;
    padding-right: 10px;
}

.project-share img {
    width: 26px;
    height: 26px;
}

.downloads {
    padding-bottom: 60px;
}

.downloads a {
    background: url(../graphics/download.svg) no-repeat 0 0;
    font-size: 20px;
    padding: 0 0 30px 40px;
    line-height: 40px;
}

@media (max-width: 480px) {
    .downloads a,
    .downloads p {
        font-size: 16px;
    }
}

.downloads a,
#contact a,
h2.title a {
    border-bottom: 0;
}

.downloads a:hover,
#contact a:hover,
h2.title a:hover {
    border-bottom: 0;
    color: #b1b3b6;
    cursor: pointer;
}

.info-title-full {
    margin-bottom: 60px;
}

.project-description {
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .project-description {
        margin-bottom: 60px;
    }
}

.project-images-container {
    padding: 0;
}

.project-images-title {
    padding-top: 60px;
}

/* Anchors */
.anchor {
    display: block;
    height: 92px; /* same height as header */
    margin-top: -92px; /* same height as header */
    visibility: hidden;
}

@media (min-width: 768px) {
    .anchor {
        display: block;
        height: 20px;
        margin-top: -20px;
        visibility: hidden;
    }
}

.project-images-container {
    padding-top: 7px;
}

.project-image {
    padding: 7px 0 7px 0;
}

.project-image-description p {
    font-size: 16px;
    padding-top: 5px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mp4-container {
    margin-bottom: -10px;
}

/* News */
li a.news {
    display: none;
}

li a.news:first-child {
    display: inline-block;
}

#news .project-images-container {
    padding-bottom: 100px;
}

#news .container-fluid:last-child .project-images-container {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    #news .project-images-container {
        padding-bottom: 40px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: #FFF;
    color: #000;
    text-align: center;
}

footer a:hover {
    opacity: 0.35;
}

.arrows {
    position: relative;
    padding-bottom: 85px;
}

.arrow-up img {
    width: 22px;
    height: 12px;
}

.arrow-up,
.social a {
    padding: 5px;
}

.social img {
    width: 26px;
    height: 26px;
}

.social a:hover,
.project-share a:hover {
    opacity: 0.35;
}

/* Footer navigation */

.btn-back {
    float: left;
    width: 12px;
    height: 20px;    
}

.btn-home {
    position: absolute;
    left: 0;
    right: 0;
    width: 23px;
    margin: 0 auto;
}

.btn-forward {
    float: right;
    width: 12px;
    height: 20px; 
}

@media (max-width: 768px) {
    .btn-back {
        padding-left: 15px;   
    }

    .btn-forward {
        padding-right: 15px;   
    }
}

.btn-back a,
.btn-forward a {
    width: 12px;
    height: 20px;
    color: transparent;
    border-bottom: 0;
    display: block;
    text-indent: -9999px;
}

.btn-back a {
    background: url(../graphics/arrow-back.svg) no-repeat;
    background-size: 12px 20px;
}

.btn-home a  {
    width: 23px;
    height: 23px;
    background: url(../graphics/btn-home.svg) no-repeat;
    background-size: 23px 23px;
    color: transparent;
    border-bottom: 0;
}

.btn-forward a {
    background: url(../graphics/arrow-forward.svg) no-repeat;
    background-size: 12px 20px;
    float: right;
}

/* ==========================================================================
   SELECTION
   ========================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #000;
    color: #FFF;
}

::selection {
    text-shadow: none;
    background: #000;
    color: #FFF;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #e7e7e0;
}

