/*  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;
    color: #000;
}

li {
    list-style-type: none;
}

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

h1,
h2.title {
    font-size: 32px;
    margin-bottom: 30px;
}

h2 {
    font-size: 20px;
}

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

h2.x-large {
    font-size: 42px;
    font-size: calc( 28px + (48 - 24) * (100vw - 320px)/(1280 - 320));
    margin-bottom: 40px;
}
#intro h2 {
    font-size: 24px;
    font-size: calc( 24px + (70 - 24) * (100vw - 320px)/(1280 - 320));
}

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;
}

/* 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 {
        font-size: 28px; 
        font-size: 2.4vw;   
    }
}

a,
a:visited {
    color: #000;
    text-decoration: none;
    border-bottom: 2px 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;
}

/* ==========================================================================
   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 {
    margin-left: 15px;
    padding: 10px 0;
}

.navbar-brand h1 {
    font-size: 20px;
    color: #000;
}

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

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

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

@media (max-width: 767px) {

    #body {
        margin-top: 60px;
    }
}

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;
}

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

.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.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%;
        z-index: 1000;
    }

    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  {
        text-align: center;
        margin-right: 0;
    }   
}

@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) {
    .col-sm-6.wow {
        padding: 0;
    }
}

section.content {
    padding: 0 15px;
}

@media (min-width: 768px) {
    section.content {
        padding: 0 7px;
    }
}

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

/* Carousel */
#myCarousel a {
    border: none !important; }

.carousel {
    position: relative;
    padding-right: 80px; }

.carousel-inner img {
    width: 100%;
    height: auto; }

/* Shadows */
.carousel-control.left,
.carousel-control.right {
    background-image: none;
    -webkit-transition: all 0.45s;
        -moz-transition: all 0.45s;
        -ms-transition: all 0.45s;
        -o-transition: all 0.45s;
        transition: all 0.45s; } 

.carousel-control {
  filter: alpha(opacity=100);
  opacity: 1;
}

.carousel-control:hover,
.carousel-control:focus {
  filter: alpha(opacity=50);
  opacity: .5;
}

.carousel-control .icon-next {
    position: absolute;
    top: 42.5%; }

.carousel-control .icon-next {
    right: 0;
    width: 55px;
    height: 48px;
    margin: 0; }

.carousel-control .icon-next:before {
    content: '';
    display: inline-block;
    width: 55px;
    height: 48px;
    background: transparent;
    border-radius: 100%;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1NSA0Ny45IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1NSA0Ny45OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMxLjEsNDcuOWgtNS42TDQ3LjMsMjZIMHYtNC4yaDQ3LjNMMjUuNCwwaDUuNkw1NSwyMy45TDMxLjEsNDcuOXoiLz4KPC9nPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    background-size: 55px 48px;
    background-position: 0px 0px;
    text-indent: -9999px; }

@media (max-width: 479px) {

    .carousel {
        padding-right: 0; }

    .carousel-control {
        display: none;
    }
}

/* Fading */
.carousel.carousel-fade .item {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity:0; }

.carousel.carousel-fade .active.item {
    opacity:1; }

.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
    left: 0;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0); }

.carousel.carousel-fade .next,
.carousel.carousel-fade .prev {
    left: 0;
    z-index: 1;
    opacity: 1; }

.carousel.carousel-fade .carousel-control {
    z-index: 3; }

.arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -12px;
  color: #FFF;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  opacity: 0.65;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.arrow:hover {
  color: #FFF;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

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

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


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

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

.project-inner {
    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;
    padding: 8% 10%;
    text-align: center;
}

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

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

/* Detail page */
.content-inner {
    padding-left: 15px;
    padding-right: 15px;
}

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

@media (max-width: 767px) {
    .shop {
        padding-bottom: 60px;
    }
}

.project-share {
    padding-bottom: 25px;
}

@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 {
    border-bottom: 0;
}

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

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

@media (min-width: 768px) {
    .project-description,
    .project-colors,
    .order {
        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 img {
    max-width: 100%;
}

#contact .row,
#contact img {
    padding-bottom: 60px;
}

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

/* 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;
    }
}

/* Detail page */
.content-inner {
    padding-left: 15px;
    padding-right: 15px;
}
.project-caption {
    padding: 15px 15px 30px 15px;
}

@media (min-width: 768px) {
    .content-inner {
        padding: 60px 100px 0 100px;
    }
    .project-caption {
        padding: 30px 100px 60px 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: 0; /* 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 */
    }
}

@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;
        padding-bottom: 60px;
    }  
}

.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-share {
    padding-bottom: 25px;
}

@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;
}

/* ==========================================================================
   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 .service li a,
.btn-forward .service li a {
    width: 12px;
    height: 20px;
    color: transparent;
    border-bottom: 0;
    display: block;
    text-indent: -9999px;
}

.btn-back .service li 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 .service li 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;
}

