/*
 * Theme Name: My Timber Starter Theme
 * Description: Starter Theme to use with Timber
 * Author: Upstatement and YOU!
*/

body{
	font-family: "Montserrat", sans-serif;
	color: #4F4F4F;
	background: #F7F7F7;
	font-size: 15px;
	letter-spacing: 1px;
}


body.page-template-page-simple-twig{
	padding-top:200px;
}
body.page-template-page-simple-twig .content{
	min-height: calc(100vh - 296px)
}

.image-line{
	height: 120%;
	border-right: solid 2px;
	position: absolute;
	top: -10%;
	z-index: 12;
}

.image-line.green{
	border-color:  rgb(25, 146, 94);
	left: 16%;
	transform: rotate(19deg);
}

.image-line.orange{
	transform: rotate(30deg);
	left: 19%;
	border-color: #f2ab4f;
}

.mask-image{
	overflow: hidden;
}

.mask-image:before{
	content: "";
	background-image: url(files/img/big.png);
	background-position: left bottom;
	background-size: auto 100%;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
	height: 100%;
	width:100%;
	top: 0;
	pointer-events: none;
	z-index: 13;
	opacity: 0.75;
}

.header-slider-item .image-line.green{
	border-color:  rgb(25, 146, 94);
	left: 13%;
	transform: rotate(19deg);
}

.header-slider-item .image-line.orange{
	transform: rotate(30deg);
	left: 15%;
	border-color: #f2ab4f;
}


.text{
	line-height: 1.5em;
}

.text ul ,
.text ul li{
	line-height: inherit;
}

div.image{
	background-size: cover;
	background-position: center;
}

.background-dark{
	background:#ECECEC;
}

.button-white {
    color: #fff;
    border:solid 1px #fff;
}

.button-white:hover,
.button-white:focus,
.button-white:visited {

    color: #fff;
}

.button-green {
    color: #fff;
    background-color: rgb(25, 146, 94);
    border:solid 1px rgb(25, 146, 94);
}

.button-green:hover,
.button-green:focus,
.button-green:visited {

    color: #fff;
}


.background-white{
	background-color: #fff;
}

.no-padding{
	padding-left: 0;
	padding-right: 0;
}

.text-dark{
	color: #505050;
}

.title-teaser{
	text-align: center;
	font-size: 0.8em;
	text-transform: uppercase;
	line-height: 1.2rem;
}

.title{
	text-align: center;
	font-size: 2em;
	text-transform: uppercase;
}

.headline{
	font-size: 1.3em;
	text-transform: uppercase;
}

header{
	padding:0 0 15px;
	background-color: #F7F7F7;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .5s ease-in-out;
	min-height: 
}

.swiper-button{
	background-image: url(files/img/arrow.png); 
	width: 40px;
	height: 40px;
	background-size: 100%;
}

.swiper-pagination-bullet{
	background-color: #fff;
	width: 12px;
	height: 12px;
	opacity: 1;
}
.news .swiper-pagination-bullet{
	background-color: #fff;

}
.news .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active{
	background-color: #30BEF8;
}

.swiper-button-prev{
	left: 70px;
	transform: rotate(180deg);

}
.swiper-button-next{
	right: 70px;
}


#cookie-notice{
	box-shadow: 0 0 14px 1px #4f9ddc;
}

header .small-header{
	background:#ECECEC;
	font-size: .8em;
	transition: all .5s ease-in-out;
	max-height: 42px;
	overflow: hidden;
}

header .small-header .header-item{
	margin-left: 50px;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	height: 42px;
	line-height: 42px;
}



header .small-header a,
header a.mobile-link,
header .small-header a:hover,
header .small-header a:visited,
header .small-header a:focus{
	color: rgb(25, 146, 94);
	text-decoration: none;
}


header .small-header .header-item a:hover{
	opacity: 0.8;
}

header .small-header .header-item:after{
	content: "";
	position: absolute;
	right: -25px;
	height: 20px;
	border-left: solid 1px;
	top:10px;
}

header .small-header .header-item:last-child:after{
	display: none;
}

header .small-header .header-item img{
	max-width: 22px;
	margin-right: 5px;
	display: inline-block;
	vertical-align: middle;

}

header .menu-container{
	 display: flex;
  height: 100%;
   flex-direction: column-reverse;
  align-items: flex-end;
}


header.background{
	padding: 5px 0;
	border-bottom: solid 1px rgba(0,0,0,0.3);
/*	background:#4a4e50;*/
}
header.background  .small-header{
	max-height: 0;
}

header.background.page-header h1{	
	top:-5px;
    max-width: 230px;
}


header ul{
	  display: inline-block;
  align-self: flex-end;
  margin-bottom: 0;
  margin-top: 20px;
}

header .menu-item{
	float: left;
	list-style-type: none;
	
	
}
header .menu-item a,
footer .menu-item a{
	
	text-transform: uppercase;
	transition: all .2s ease-in-out;
}
header .menu-item a{
	
	font-size: 0.7em;
	padding: 5px 10px;
	line-height: 30px;
	color: #4F4F4F;
	text-decoration: none;
	transform: translateY(0);
	transition: all .2s ease-in-out;
	display: inline-block;
	border-bottom: 2px solid transparent;
}

header .menu-item a:hover,
footer .menu-item a:hover{
	color: #4F4F4F;
	text-decoration: none;
	transform: translateY(-5px);
	border-bottom: 2px solid rgb(25, 146, 94);
}

header .menu-item a.active{
	border-bottom: 2px solid #31bef8;
}

.navbar-toggle{
    padding: 15px;
    border-radius: 0 0 0 5px;
    transform: translateY(-50%);
    color: #fff;
    position: absolute;
    right: 30px;
    cursor: pointer;
    top: 50%;
}


.navbar-toggle .icon-bar {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
  margin: 0;
  background-color: rgb(25, 146, 94);
  /*box-shadow: 0 0 5px 0 rgb(60,161,104);*/
}

.nav-icon span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}

.nav-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.nav-icon span:nth-child(3) {
  bottom: 0;
  transform-origin: left center;
}
/*header.open .navbar-toggle .icon-bar{
    box-shadow: none;
}*/

header.page-header h1{	
	top:0;
	left: 0;
    position: absolute;
    max-width: 290px;
    transition: all .5s ease-in-out;
}

header.page-header.open .nav-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 4px;
  left: 5px;
}

header.page-header.open .nav-icon span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

header.page-header.open .nav-icon span:nth-child(3) {
  transform: rotate(-45deg);
  top: 25px;
  left: 5px;
}


header .menu-item.active a{
	border-color:  #4f9ddc;
}

.header-slider .swiper-button-prev,
.header-slider .swiper-button-next{
	bottom: 20px;
	top: auto;

}

.h2, h2{
	font-size: 1.8em;
}

.header-slider-item{
	position: relative;
	padding-top: 45%;
	background-size: cover;
	background-position: center;
	max-height: 100vh;
	min-height: 500px;
}





.header-slider-item .slider-info{
	background:rgba(255,255,255,0.75);
	padding: 20px;
	position: absolute;
	z-index: 2;
	right: 10%;
	max-width: 420px;
	bottom: 0
}
.header-slider-item .slider-info .teaser{
	font-size: 0.9em;
	position: relative;
}
.header-slider-item .slider-info .teaser:after{
	content: "";
	width: 100px;
	border-bottom: solid 1px;
	position: absolute;
	left: 0;
	bottom: -20px;
}
.header-slider-item .slider-info h2{
	text-transform: uppercase;
}
.header-slider-item .slider-info h3{
	font-size: 0.8rem;
}

 .side-menu{
 	position: fixed;
 	top:50%;
 	transform:translateY(-50%);
 	right: 40px;
 	width: 12px;
 	z-index: 999;
 	display: none;
 }

 .side-menu .point{
 	display: block;
 	width: 12px;
 	height: 12px;
 	border-radius: 100%;
 	background-color: #fff;
 	margin-bottom: 8px;
 	cursor: pointer;
 	border: solid 1px #aaa;
 }

 .side-menu .point.active{
 	background-color:#30BEF8;
 }


.service .image{
	position: relative;
}


.service-headline{
	padding:20px 40px;
	background:rgb(25, 146, 94);
	color: #fff;
	text-transform: uppercase;
	font-size: 1em;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.service-col ul{
	padding: 20px 0;
}

.service-col ul li{
	list-style-type: none;
	padding-left: 30px;
	position: relative;
	margin-bottom: 10px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.service-col ul li:before{
	content: "";
	position: absolute;
	left: 0;
	background-position: center;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	background-size: 20px;
	background-image: url(files/img/check.png);
}

.service-col ul li:after{
	content: "";
	position: absolute;
	width: calc(100% - 30px);
	right: 0;
	bottom: 0;
	border-bottom: solid 1px rgba(0,0,0,0.3);
}

.service-col ul li:last-child:after{
	display: none;
}


.service-col ul li em{
	margin-bottom: 10px;
	display: block;
}


.service-col .mask-image{
	overflow: hidden;
	border-radius: 8px;
}


.service-col .caption {
	position: relative;
}

.service-col .caption:after {
	content: "";
	height: calc(100% - 150px);
	position: absolute;
	top: 75px;
	border-right: 1px solid rgba(0,0,0,0.1);
	right: -15px;
}
.service-col:last-child .caption:after {
	display: none;
}

  .references{
  	height: 600px;
  }
   .references .swiper-wrapper{
   	height: 100%;
   }

 .references .swiper-slide{
 	width: auto;
 	height: 100%;
 }
 .references .swiper-slide a{
 	display: inline-block;
 	max-width: none;
 	height: 100%;
 }

 .references .reference-name{
 	position: absolute;
 	transform: translate(-50%,-50%);
 	top: 50%;
 	left: 50%;
 	padding: 20px;
 	font-size: 1.5em;
 	background-color: rgba(255,255,255,0.75);
 	opacity:0;
 	transition: opacity .3s ease-in-out;
 	max-width: calc(100% - 40px)
 }


  .references .reference:hover .reference-name{
  	opacity: 1;
  }
.references .reference img {
    height: 100%;
    max-width: none;
    width: auto;
}

  .plyr--full-ui.plyr--video .plyr__control--overlaid{
  	display: none;
  }


  .video-container {
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    height: 100%;
}
  .video-container.no-background {
  	background: none !important;
  }

.video-container .play-button{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	background-image: url(files/img/play-button.png);
	width: 50px;
	height: 50px;
	background-size: 100%;
	background-repeat: no-repeat;
	z-index: 2;
}

.video-container .plyr-video{
	display: none;
}

.video-container .plyr{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	z-index: 3;
}

.sign{
	margin-top: -20px;
    margin-left: 20px;
    position: relative;
    z-index: 1;
    transform: rotate(-10deg);
}

.about-text{
	position: relative;
	z-index: 2;
}

.section.news{
background: linear-gradient(135deg, rgba(25,146,94,1) 0%, rgba(13,144,116,1) 100%);}
}

body.lightcase-iframe footer,
body.lightcase-iframe #cookie-notice{
	display: none !important;
}

.contact-col{
	border-right: 1px solid;
}
.contact-col:last-child{
	border-right: none;
}
.contact-col p{
	margin-bottom: 0;
}
.contact-col .button-default{
	margin-top: 15px;
}

.contact-icon{
	max-width: 60px;
}


#map-anfahrt{
  height: 500px;
}


#google-input {
    padding: 10px;
    border-radius: 3px;
    box-shadow: none;
    border: solid 1px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: block;
    color: #333;
}

#distance {
    line-height: 1.3em;
    margin-top: 15px;
}

#duration {
    margin-bottom: 10px;
}

.headline-404{
	font-size: 6em;
	font-weight: bold;	
}
.text-404{
	font-size: 1.2em;
}

body.no-post footer{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;

}


footer{
	background-color: #4a4e50;
	padding: 30px 0;
}
footer li{
 list-style-type: none;
 float: left;
}

footer li a{
	color: #fff !important;
	text-transform: uppercase;
	margin-left: 20px;
	text-decoration: none;
}
footer li a:hover,
footer li a:visited,
footer li a:focus{
	outline: none;
	text-decoration: none;
}

