/*
Theme Name: Haufland
Author: Crevis
Author URI: http://www.crevis.ch
Description: A clean responsive Theme
Version: 1.0
License: GNU General Public License
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700|Lato:400,700');
/* Grid */
.container {
	margin-right: auto;
	margin-left: auto;
	padding: 0 20px;
	max-width: 1200px;
	*zoom: 1;
	position: relative;
}
.col {
	display: block;
	float:left;
    position:relative;
    margin:0 0 0 3%;
}
.col:first-child {
    margin-left: 0;
}
.group:before,
.group:after {
    content:""; 
    display:table;
}
.group:after {
    clear:both;
}
.group { 
    zoom:1; /* For IE 6/7 */ 
    clear: both;
	padding: 0px;
	margin: 0px;
}
.span_12_of_12 {
	width: 100%;
}
.span_11_of_12 {
  	width: 91.41%;
}
.span_10_of_12 {
  	width: 82.83%;
}
.span_9_of_12 {
  	width: 74.25%;
}
.span_8_of_12 {
  	width: 65.66%;
}
.span_7_of_12 {
  	width: 57.08%;
}
.span_6_of_12 {
  	width: 48.5%;
}
.span_5_of_12 {
  	width: 39.91%;
}
.span_4_of_12 {
  	width: 31.33%;
}
.span_3_of_12 {
  	width: 22.75%;
}
.span_2_of_12 {
  	width: 14.16%;
}
.span_1_of_12 {
  	width: 5.583%;
}
html, body, div, span, h1, h2, h3, h4, h5, h6, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
html {
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
    font-weight: 400;
	font-size: 14px;
	line-height: 28px;
	color: #1a171b;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
    background:#fff;
    overflow-x: hidden;
}
body.page-template-default {
    background:#f9fbf9;
}
a {
	color: #438d3a;
	border: 0;
	outline: 0;
	-webkit-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-ms-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	text-decoration: none;
}
a:hover {
	color: inherit;
	text-decoration: none;
}
img {
	border: 0;
	outline: 0;
}
img.responsive {
	width: 100%;
	height: auto;
}
p {
	margin: 0 0 20px 0;
}
ul, ol {
	margin: 0 0 20px 16px;
	padding: 0;
	text-align:left;
}
ul {
	list-style: disc;
}
ul li {
    margin-bottom:10px;
}
b, strong {
	font-weight: 700;
}
dfn, cite, em, i {
	font-style: italic;
}
.wrapper {
    overflow-x:hidden;
}
.green {
   color: #438d3a; 
}
.single {
    padding-top:200px;
    margin-bottom:50px;
}
.single h2 {
    text-align:left;
    margin-bottom:20px;
}
.single h2:after {
    display:none;
}
h1 {
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    margin:0;
    font-size:48px;
    line-height:60px;
    color: #fff;
    text-transform:uppercase;
}
h2 {
    font-family: 'Lato', sans-serif;
    font-weight:400;
    margin:0;
    font-size:32px;
    line-height:normal;
    color: #438d3a;
    text-align: center;
    letter-spacing:0.05em;
}
h2:after {
    content: "";
    display:block;
    width:50px;
    margin:20px auto 40px auto;
    border-bottom: 3px solid #438d3a;
    text-align: center;
}
h3 {
    font-family: 'Lato', sans-serif;
    font-weight:700;
    margin:20px 0;
    font-size:18px;
    line-height:normal;
    color: #438d3a;
    letter-spacing:0.05em;
}
.logo {
    position:absolute;
    top:20px;
    left:25px;
}
.header {
    position:absolute;
    top:30px;
    left:0;
    width:100%;
    z-index:1000;
    height:115px;
    background:#fff;
    border-radius:2px;
}
.fixed {
    position: fixed;
    margin:0;
    padding:0;
    width:100%;
    height:50px;
    left:0;
    top:0;
    opacity: 0;
}
.fixed .desktop {
    top: 15px;
    right: auto;
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding-right:20px;
    padding-left:20px;
    text-align: right;
}
.fixed .logo {
    display:none;
}
.dropshadow {
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
}
.textshadow {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}
#projects {
    text-align:left;
    padding:100px 0 80px 0;
}
#projects h2 {
    text-align: left;
    margin:0 0 50px 0;
}
#projects h2:after {
    display:none;
}
#hero {
    background: url('img/herosection-bg.jpg') center top no-repeat;
    background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-size: cover;
    height:100vh;
    width:100%;
    line-height:100vh;
    padding:0;
    text-align:center;
    position:relative;
}
.inner {
    line-height:normal;
    display:inline-block;
    vertical-align: middle;
    width:60%;
}
#services {
    padding:0 0 80px 0;
    text-align:center;
    background:#f9fbf9;
}
.servicebox {
    background:#fff;
    top:-60px;
    margin-bottom:40px;
    border-radius:2px;
    padding-top:80px;
    padding-bottom:80px;
}
.servicebox .fa {
    font-size:96px;
    color: #438d3a;
}
#partner {
    padding:100px 0 80px 0;
    text-align:center;
}
.partner_logo {
    display: inline;
    margin:25px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.partner_logo:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}
#portfolio {
    padding:100px 0 80px 0;
    text-align:center;
    background:#f9fbf9;
}
.portfolio-slider {
    margin-top:30px;
    text-align:left;
}
.screen {
	background-color: rgba(0,0,0,0.4);
    box-shadow: inset 0 0 30px #333;
	left: 0;
	top: 0;
	border-radius: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	opacity: 0;
	z-index: 1000;
    text-align: center;
    display:table-cell;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.screen:hover {
  opacity: 1
}
h3.title {
    color: #fff;
    padding-top:30%;
    display:block;
    padding:30% 15px 0 15px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#contact {
    padding:100px 0 80px 0;
    text-align:center;
    background:#f9fbf9;
}
.desktop {
    margin:0;
    padding:0;
    list-style:none;
    font-size:14px;
    font-family: 'Lato', sans-serif;
    font-weight:700;
    text-transform: uppercase;
    letter-spacing:0.05em;
    position:absolute;
    right:30px;
    top:44px;
}
.desktop li {
    margin:0 0 0 40px;
    padding:0;
    display: inline;
}
.desktop li a {
    color: #1a171b;
}
.desktop li a:hover {
    color: #438d3a;
}
.hamburger {
	display: none;
}
.scroll {
    text-align: center;
    color: #fff;
    z-index: 10000;
    position: absolute;
    bottom: 80px;
    left:50%;
}
.scroll span {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 35px;
    margin-left: -32px;
    border: 1px solid #fff;
    border-radius: 50px;
}
.scroll span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    animation: scrolling 2s infinite;
    -webkit-animation: scrolling 2s infinite;
    -moz-animation: scrolling 2s infinite;
    -o-animation: scrolling 2s infinite;
}
@keyframes scrolling {
    0% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 15px);
        -webkit-transform: translate(0, 15px);
        -moz-transform: translate(0, 15px);
        -o-transform: translate(0, 15px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.scrollToTop {
	width: 30px;
	height: 30px;
	position: fixed;
	z-index: 100;
    bottom: 20px;
	right: 15px;
	font-size: 24px;
    line-height: 32px;
	display: none;
	color: #438d3a;
	background: #f9fbf9;
	text-align: center;
    border-radius: 2px;
}
.scrollToTop:hover {
	background-color: #438d3a;
	color: #fff;
}
.footer {
    background:#222f21;
    color:#f9fbf9;
    min-height:30px;
    padding:10px 0;
    font-size:12px;
    line-height:20px;
    text-align:center;
}
.meta {
    display: inline;
    margin:0 0 0 5px;
    padding:0;
    list-style:none;
}
.meta li {
    display: inline;
    margin:0;
    padding:0;
}
.meta li a {
    padding: 0 5px;
    color:#f9fbf9;
}
.meta li a:hover {
    color:#fff;
}
.fa-kontakt {
    color:#438d3a;
    font-size:96px !important;
}
input, select, textarea {
	font-size: 100%;
	font-family: 'Open Sans', sans-serif;
	vertical-align: baseline;
	*vertical-align: middle;
	margin: 0 0 15px 0;
}
input {
	line-height: normal;
	*overflow: visible;
}
input[type="button"], input[type="reset"], input[type="submit"] {
	border: 0;
	border-radius: 2px;
	-webkit-appearance: none;
	cursor: pointer;
	margin-top: 10px;
	background: #438d3a;
    color:#fff;
    font-weight:700;
    line-height: 1;
	padding: 10px 20px;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	color: #fff;
	float:left;
}
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	background: #222f21;
	-webkit-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	-ms-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}
input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input[type=text], input[type=email], textarea {
	color: #000;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	width: 100%;
	-webkit-appearance: none;
	box-sizing: border-box;
	padding: 6px;
}
textarea {
	overflow: auto;
	vertical-align: top;
	resize:none;
}
.wpcf7 {
    margin-top:25px !important;
}
.wpcf7-response-output {
	margin: 0 auto !important;
    width: 46%;
    border-radius: 2px;
}
.wpcf7-validation-errors {
	color: #f00;
}
div.wpcf7-mail-sent-ok {
    border-color: #438d3a;
}
.wpcf7-not-valid {
	border: 1px solid #f00 !important;
}
.wpcf7-not-valid-tip {
    display:none !important;
}
.hidden {
    opacity:0;
}
.visible {
    opacity:1;
}
.animated {
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

@keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
    -webkit-transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
    -webkit-transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
    -webkit-transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
    -webkit-transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
    -webkit-transform: none;
  }
}
.bounceInDown {
    animation-name: bounceInDown;
    -webkit-animation-name: bounceInDown;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fadeIn {
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    -webkit-transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
  }
}
.fadeInUp {
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}
.animated.bounceIn {
    animation-duration: .75s;
    -webkit-animation-duration: .75s;
}
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
    -webkit-transform: scale3d(.3, .3, .3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(.9, .9, .9);
    -webkit-transform: scale3d(.9, .9, .9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(.97, .97, .97);
    -webkit-transform: scale3d(.97, .97, .97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
  }
}
.bounceIn {
    animation-name: bounceIn;
    -webkit-animation-name: bounceIn;
}
/* Slider */
.slick-loading .slick-list {
    background: #f9fbf9 url('img/ajax-loader.gif') center center no-repeat;
}
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    border: 0;
	outline: 0;
    position: relative;
    overflow: hidden;
}
.portfolio-slider .slick-slide {
    margin: 0 1vw 2vw 1vw;
}
.slick-slide img {
    display: block;
    width: 100%;
	height: auto;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.slick-dotted.slick-slider {
    margin-bottom: 30px;
}
.slick-dots {
    position: absolute;
    bottom: -30px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:hover:before {
    opacity: 1;
}
.slick-dots li button:before {
    font-size: 30px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #438d3a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #438d3a;
}
@media ( max-width : 1280px) {
    .top, .servicebox {  
        margin-left:20px;
        margin-right:20px;
    }
}
@media ( max-width : 960px) {
    .desktop, .hidden_phone, .fixed {
        display:none;
    }
	.col {
        margin:0;
	}
    .span_1_of_12, .span_2_of_12, .span_3_of_12,
    .span_4_of_12, .span_5_of_12, .span_6_of_12,
    .span_7_of_12, .span_8_of_12, .span_9_of_12,
    .span_10_of_12, .span_11_of_12, .span_12_of_12 {
		width: 100%; 
	}
    .wpcf7-response-output {
        width:auto;
    }
    .hamburger {
		display: block;
	}
    .fixed {
        height:45px;
    }
    .fixed .fa-menu {
        top:5px;
    }
	.fa-menu, .fa-close {
		position: absolute;
		cursor: pointer;
		top: 20px;
		right: 15px;
		font-size: 26px !important;
        color:#438d3a;
	}
    .sidr {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
        height:100%;
        min-height:100%;
		z-index: 999999;
		overflow-x: hidden;
		overflow-y: auto;
		font-size: 14px;
        text-transform:uppercase;
        font-weight:700;
		background: #fff;
		color: #1a171b;
        letter-spacing:0.05em;
	}
	.sidr ul {
		display: block;
		margin: 60px 0 0 0;
		padding: 0;
		border-top: 1px solid #d9d9d9;
	}
	.sidr ul li {
		display: block;
		margin: 0;
		line-height: 50px;
		border-bottom: 1px solid #d9d9d9
	}
	.sidr ul li a {
		padding: 0 15px;
		display: block;
		text-decoration: none;
		color: #438d3a;
	}
	.sidr ul li ul {
		border-bottom: 0;
		margin: 0;
	}
	.sidr ul li ul li {
		line-height: 50px;
		font-size: 16px;
	}
	.sidr ul li ul li:last-child {
		border-bottom: 0;
	}
	.sidr ul li ul li a {
		color: #1a171b;
		padding-left: 30px;
	}
}
@media ( max-width : 767px) {
    .inner {
        width:100%;
    }
    body {
        font-size: 13px;
        line-height: 26px;
    }
    h1 {
        font-size:40px;
        line-height:50px;
    }
    h2 {
        font-size:26px;
    }
    h3 {
        font-size:16px;
    }
    .container {
        padding:0 15px;
    }
    .header {
        height:80px;
        top:20px;
    }
    .top {
        margin-left:15px;
        margin-right:15px;
    }
    .logo {
        width:120px;
        height:auto;
        top:10px;
        left:15px;
    }
    .servicebox {
        padding-top:60px;
        padding-bottom:60px;
    }
    .single {
        padding-top:150px;
        margin-bottom:30px;
    }
}
@media ( max-width : 480px) {
    body {
        font-size: 13px;
        line-height: 26px;
    }
    .scroll {
        display:none;
    }
    h1 {
        font-size:34px;
        line-height:46px;
    }
    h2 {
        font-size:24px;
        line-height:normal;
    }
    h3 {
        font-size:15px;
        line-height:normal;
    }
    #portfolio, #contact, #partner, #projects {
        padding:50px 0 40px 0;
    }
    #services {
        padding:0 0 40px 0;
    }
}
/* fix iOS bug not displaying 100vh correctly */
/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	#hero {
		height: 768px;
        line-height: 768px;
        background-attachment: scroll;
	}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	#hero {
		height: 1024px;
        line-height: 1024px;
        background-attachment: scroll;
	}
}
/* iphone5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
	#hero {
		height: 320px;
        line-height: 320px;
        background-attachment: scroll;
	}
}
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
	#hero {
		height: 568px;
        line-height: 568px;
        background-attachment: scroll;
	}
}
/* iPhone 4 */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
	#hero {
		height: 320px;
        line-height: 320px;
        background-attachment: scroll;
	}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
	#hero {
		height: 480px;
        line-height: 480px;
        background-attachment: scroll;
	}
}