@charset "utf-8";
/* CSS Document */
/*
Theme Name: meierei
Author: networkerz gmbh
Author URI: http://networkerz.de/
Description: meierei css
Version: 1.0
License: private
License URI: http://www.networkerz.de
*/

* {
	 margin: 0; padding: 0;
	 box-sizing: border-box;
	 }
     
     
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v26-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/montserrat-v26-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/montserrat-v26-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

     

html, body {
	position:relative;
	font-family: 'Montserrat', Arial, Tahoma, Verdana;
	font-weight: normal;
	font-style: normal;	
	font-size:16px;
	color:#000;
	text-align: left;
	line-height: 26px;
	margin:0px;
	padding:0px;
	background-color: #ffffff;
	height:100%;
}


.pixels {
	width:200px;
	height:50px;
	background-color: #005C84;
	position:fixed;
	right:10px;
	color:#fff;
	z-index:15000;
	display:none;
	}

a {
	color:#000000;
	text-decoration:none;
	-webkit-transition: color 0.4s ease;
	-moz-transition: color 0.4s ease;
	transition: color 0.4s ease;
	}
		
a:visited, a:focus {
	text-decoration:none;
	}
		
a:focus {
    outline: none;
}

a:hover,
a:focus {
	color:#b5b5b5;
	text-decoration:none;
	}
	
#nav-toggle {
	display:none;
}	

ul, li {
	margin: 0;
    padding: 0;
	list-style:none;
	}
	
img {
	text-align:left;
	border:none;
	}

.clear {
	clear:both;
	}

hr {
	border-top: 1px solid #88898a;
	border-bottom: 1px solid #88898a;
	height:5px;
	}

.clearfix {
  zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
	
.grey,
blockquote {
	color:#898989; 
	}

p {
    margin: 0 0 20px;
}
	
.container {
	position:relative;
	width:100%;
	padding-right: 0;
	padding-left: 0;
	}
	
.container-inner,
.row {
	width:100%;
	max-width:1280px;
	padding:0px 20px;
	margin:0px auto;
	position:relative;
	}

	
/* FARBEN */

/* rot: #e74a38 */
/* lila: #b24f95 */
/* rötliches Beige: #f5e8e5 */
/* blau: #26215c */



h1 { 
font-family: 'Montserrat', Arial, Tahoma, Verdana;   
font-weight: normal;
	font-style: normal;	
	font-size:28px;
	line-height:30px;
	margin:0px;
	}
	
	.title h1 {
		color:#000;
		font-size:50px;
		line-height:60px;
		}
h2 { 
	font-family: 'Montserrat', Arial, Tahoma, Verdana; 
	font-weight: normal;
	font-style: normal;	
	font-size:26px;
	margin-bottom: 25px;
	}
	
h3 {
	font-family: 'Montserrat', Arial, Tahoma, Verdana; 
	font-size: 70px;
	color:#f5e8e5;
	}

.text-block-1 {
	color: #e74a38;
	}
	
	
.row::after {
    content: "";
    clear: both;
    display: block;
}

      #map {
        height: 550px;
        width: 100%;
		margin-bottom:20px;
      }


/* HEADER */

	

a.logo {
	width:238px;
	height:42px;
	background-image:url(img/logo.png);
	display:block;
	margin-bottom:20px;
	margin-left:0px;
	background-size:238px 42px;
	}
a.scroll-up, a.scroll-up:visited {
    background: url(img/ico-up.png) no-repeat scroll 0 0 rgb(255, 255, 255);
	background-position: center center;
	background-repeat: no-repeat;
	opacity:0.7;
    width: 71px;
    height: 71px;
    position: fixed;
    text-indent: -9999px;
    z-index: 2000;
    right: 20px;
	bottom: 20px;
    display: none;
    outline: none;
	border:1px solid #b6b6b6;
}
	

/* NAV */

nav {
    position: fixed;
	font-family: 'Montserrat', Arial, Tahoma, Verdana; 
    background-color: #fff;
    top: 10px;
    z-index: 1000;
	height:285px;
	width:285px;
	font-style:normal;
    margin: 8px 10px 10px 0px;
}	

    .single-post nav {margin: 8px 10px 10px 0px;}

nav.color-change {
	background-color:#fff;
	}

nav .nav-inner {
	margin-top:2px;
	background-color:#fff;
	padding:20px;
	}
	
	nav ul {
		position:relative;
		max-width:130px;
		}
	
	nav ul li {
		line-height:30px;
		}
        
        nav ul li ul li {
            font-size: 16px;
          line-height: 30px;
        }
        
        nav ul li.wpml-ls-item {display: inline-block;}
	
	nav ul li a {
		font-size:18px;
		text-transform:uppercase;
		}
        
        nav ul li ul li a {font-size: 16px;}

		
		nav ul li.current-page-ancestor ul li a,
		nav ul li.current-menu-item ul li a,
		nav ul li.current-menu-ancestor ul li a,
		nav ul li.current-post-parent ul li a {
			color:#000;
			}

		nav ul li.current-page-ancestor a,
		nav ul li.current-menu-ancestor a,
		nav ul li.current-menu-item a,
		nav ul li ul li.current-page-ancestor a, 
		nav ul li ul li.current-menu-item a,
		nav ul li ul li:hover a,
		nav ul li.current-post-parent a,
		nav ul li.current-post-parent ul li.current-post-parent a,
        nav ul li.wpml-ls-current-language a {
			color:#b5b5b5;
			}
/* Hack: EN Startseite hat contact als current-menu-item  */
	.page-id-6336 nav ul li.current-menu-item a { color:#000; }

	nav ul li.wpml-ls-current-language a { cursor:default; }	

	nav ul li ul {
		position:absolute;
		left:125px;
		bottom:0px;
		width:140px;
		display:none;
		background-color:#fff;
		z-index:1000;
 		height: 150px;
		align-items: left;
		flex-direction: column;
 		-webkit-flex-direction: column;
		justify-content: flex-end;		
		-webkit-justify-content: flex-end;
		}
			
        nav ul li.nav-wir ul,
        nav ul li.nav-projekte ul {top:0px; justify-content: flex-start;
          -webkit-justify-content: flex-start;}
        
        nav ul li.nav-media ul {top:auto; bottom: 0px;}
    nav ul li.nav-wir ul { padding-top:60px; }
		nav ul li:hover ul,
		body.single-post .menu-item-66 ul.sub-menu {
			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;
			}
		
		nav ul li.current-menu-item ul,
		nav ul li.current-page-ancestor ul,
		nav ul li.current-menu-ancestor ul,
		nav ul li.current-post-parent ul {
			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;
			z-index:100;
			}
		
		nav ul li ul li {
			}
			
			nav ul li ul li a {
				color:#000;
				text-transform:none;
				}

			nav ul li ul li a:hover {
				color:#b5b5b5;
				}
				

	.zitat {
		position:absolute;
		font-size:18px;
		text-align:left;
		width:100%;
        max-width: 285px;
		font-family: 'Montserrat', Arial, Tahoma, Verdana; 
        text-transform:none;
	}
  .page-team .zitat p { font-size:16px; }
  .page-team .zitat h4 { font-size:18px; }

  #kontakt .zitat p {
      font-size: 16px;
      margin-bottom: 18px;
      text-align: left;
    }
	#kontakt .zitat h4 { font-size:18px; }

	.zitat a {
		display:block;
		}
.home #kontakt .text-block.zitat a {
  display:inline-block;
} 
	.zitat span {
		font-size: 18px; 
	}
 	  
    .zitat p strong {font-weight: 300;}

.image-swap {position:relative;}
.image-swap img {position:relative; left:0px; top:0px; z-index:1;}
.image-swap img.hover {position:absolute; display:none; left:0px; top:0px; z-index:2;}
.image-swap:hover img.hover {display:block;}

/* MAIN */


section {
	margin-bottom:90px;
	}
	
	section#start {
		margin-bottom:0px;
		}

.main {
	overflow:hidden;
	}
	
	.main img,
	.main #project-detail .big-picture img {
		margin-bottom:0px;
		}
	
	.main #project-detail .box img {
		margin-bottom:25px;
		}
		
	.main #project-detail .box:first-child img {
		margin-bottom: 0px;
	}		
		
	
.text-container {
    margin: 0 0 0 25%;
    max-width: 590px;
    position: relative;
}
	
	#start {
		height: 100vh;
		overflow: hidden;
		position: relative;
		z-index: 10;
		}
		
		.headline-wrapper {
			color: #000;
			font-size: 72px;
			position: absolute;
			text-align: center;
			top: 50%;
			transform: translate(0px, -50%);
			width: 100%;
			z-index:100;
      display:none;
		}
.headline-wrapper.active {
  display:block;
}
		.headline-wrapper h1 {
			font-size: 72px;
			line-height: 80px;
			font-family: 'Montserrat', Arial, Tahoma, Verdana; 
		}	
	
		#start .zitat {
			left:auto;
			right: 35px;
			top:30px;
			font-size:18px;
			line-height:22px;
			padding:20px;
			width:auto;
			background-color:#fff;
			max-width:200px;
			}	
			
			#start .zitat p:last-of-type {
    			margin: 0 0 0px;
			}
			
			.zitat-container {
				width:100%;
				position:absolute;
				z-index:1000;
				top:0px;
				}
    
    .splide,
    .splide__track {
      height: 100%;
    }
			
    .splide__slide img {
      z-index: 1;
      display: block;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      object-position: center center;
    }

    .splide__slide h1 {
        position: absolute;
        top: 50vh;
        width:100%; 
        text-align: center;
        color: #fff;
        font-size: 60px;
        line-height: 70px;
        font-weight: 600;
        padding: 0px 30px;
        text-shadow: 0px 0px 4px rgba(0,0,0,0.35);
        text-transform: uppercase;
    }



#wir {
    width: 100%;
    background: #ffffff;
	overflow:hidden;
}
	#wir .row {
		height: 100%;
		}
	
	.sticky-parent {
		width:245px;
		position:absolute;
		background-color: transparent;
		height:100%;
        right: 0px;
	}
		.sticky-parent-inner {
			position:relative;
			background-color: transparent;
			}
	
		.text-block {
			float: left;
			padding: 10px 0 0;
			position: absolute;
		}
		
		#project-detail .text-block {
			position:relative;
			}
	
		.text-block p {
			margin-bottom:0px;
			}
	
	.box {
		width:100%;
		position:relative;
		}
	
	.text-content {
		width: 50%;
		height: auto;
		position: relative;
		margin-top: 30px;
		margin-left:25%;
		}
  .home #kontakt .text-content {
      margin-top:90px;
    }
		
		.box img {
			width:100%;
			max-width:100%;
			margin-bottom:25px;
			height: auto;
			}
            
            .box .text-content img {
                width: auto;
            }
			
			.box img:last-child {
			  margin-bottom:0px;
			}
			


#kunden {

	}
	
.page-media.kunden .item-hover h2 {
  font-size: 18px;
  line-height: 20px;
  background-color: #fff;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}	


	
#kontakt {
    width: 100%;
    background: #fff;
	}
	
	
	
#awards img {
	width:calc(48% - 10px);
	height:auto;
	margin-right:20px;
	margin-bottom:20px;
	display:inline-block;
	}
	
	#awards img:nth-child(even) {
		margin-right:0px;
		}

	


/* PROJECTS */

.page-projects section,
.page-media section,
.page-template-wir section {
	margin-top:10px;
	}
	
	.page-projects .container-inner,
	.page-media .container-inner {
		max-width:1280px;
		}
		
		
	
	.grid-item nav {
		height: 305px;
		padding-top: 0px;
		position: fixed;
		top: 0;
		background-color:#fff;
	}
	

.grid {
  background: #fff;
  position: relative;
  padding-left: 305px;
  
}

.page-template-startseite .grid {margin-top: 10px; padding-left: 294px;}

.page-template-startseite #kontakt .text-content {
  width: 285px;
  margin-left: calc(25% - 5px);
}

.page-template-startseite #kontakt .sticky-parent {
  width: 285px;
  right: auto;
  left: 610px;
}

	  /* clear fix */
	.grid:after {
	  content: '';
	  display: block;
	  clear: both;
	}


	.grid-item {
	  float: left;
	  width: 285px;
	  height: 285px;
	  background-color:#fff;
	  margin:10px;
	  position:relative;
	}
	
		.page-media .grid-item {
			background-color:#eee;
			}	

	
		.grid-item img {
			width:100%;
			max-width:285px;
			height:auto;
			max-height:285px;
			}

.stamp {
  width: 285px;
  height: 285px;
  background-color:#fff;
  position: absolute;
  margin:10px;
  background: #fff;
  z-index: 1;
  pointer-events: none;  
}


.item-hover {
    background: rgba(255, 255, 255, 0.7) none repeat scroll 0 0;
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
	-webkit-transition: all 0.1s ease-in 0s;
	-moz-transition: all 0.1s ease-in 0s;
	transition: all 0.1s ease-in 0s;
	width: 100%;
}

	.text-only .item-hover,
	.page-media .item-hover {
		opacity:1;
		background:none;
		}


.item-hover-table {
    display: table;
    height: 100%;
    width: 100%;
}

.item-hover-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  height: 280px;
  align-content: center;
}

.item-hover h2 {
    color: #000000;
    font-size: 18px;
    margin: 0;
    text-align: center;
	font-family: 'Montserrat', Arial, Tahoma, Verdana; 
}


	.text-only a h2 {
		color:#000000;
		-webkit-transition: color 0.2s ease;
		-moz-transition: color 0.2s ease;
		transition: color 0.2s ease;
		}

	.text-only a h2:hover {
		color:#b5b5b5;
		}

	.page-media .item-hover h2 {
		font-size:18px;
		}
	
	.page-projects .item-hover h2 {
        font-size: 18px;
        text-transform: uppercase;
		}
  
  .grid-item:hover .item-hover {
	  opacity:1;
	  }
	  
	  .item-hover img {
		  width:auto;
		  height:auto;
		  max-width:180px;
		  max-height:180px;
		  margin:0px;
		  }
.kunden .item-hover img {
  filter: grayscale(1);
}
  
  .grid-item .date {
	  position:absolute;
	  top:18px;
	  width:calc(100% - 40px);
	  text-align:center;
	  font-size:18px;
	  }
      
  .grid-item .title-oben {margin-bottom: 10px; display: block;}
  .grid-item .title-unten {margin-top: 10px; display: block;}

  .grid-item a.read-more {
	  position:absolute;
	  bottom:14px;
	  width:100%;
	  text-align:center;
	  left:0px;
	  font-size:18px;
	  }
  

section#project-detail {
	padding:20px;
	} 
section#project-detail .sticky-parent .zitat {
  text-transform:uppercase;
}
section#project-detail .sticky-parent-inner {
  margin-top: 0 !important;
  height: 100% !important;
  display: flex;
  align-items: center;
}	
.big-picture {
	position: relative;
}	
	
	.big-picture img {
		width:100%;
		height:auto;
		}
	
	.big-picture div a {
    background-position: center center;
    background-repeat: no-repeat;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    color: #fff !important;
    display: block;
    font-size: 1px;
    font-weight: 300;
    height: 71px;
    line-height: 71px;
    opacity: 1 !important;
    overflow: hidden;
    text-align: center;
    text-indent: -2000px;
    text-shadow: none;
    width: 71px;
}

	.big-picture div a:hover {
		background-color:rgba(256,256,256,0.1);
	}

	div.previous-post {
		position:absolute;
		left:-1px;
		bottom:0px;
		height: 71px;
		width: 71px;
	}

	div.previous-post a {
	    background-image: url("img/ico-prev.png");
	}

	div.next-post {
		position:absolute;
		right:-1px;
		bottom:0px;
		height: 71px;
		width: 71px;
	}

	div.next-post a {
	    background-image: url("img/ico-next.png");
	}


	#project-detail .info-text,
	blockquote{
		text-align:left;
		width:268px;
		font-family: 'Montserrat', Arial, Tahoma, Verdana; 
		font-size:16px;
		line-height:22px;
		margin-left:0px;
		padding: 0px;
		border-left: 0px;
        float: right;
		}
		
		.text-block.info-text p {
			margin-bottom:20px;
			padding: 0px 3px;
			}
/*  Datenschutz  */
.page-id-7630 .text-content ul {
	margin-left:15px;
	margin-bottom:20px;
}
.page-id-7630 .text-content li {
	list-style: square;
}	
/* FOOTER */
footer {
	position:relative;
	font-style: normal;	
	font-size:15px;
	color:#000000;
	text-align:center;
	padding: 50px 20px 50px 20px;
	background-color:#eeeeee;
	}
div.impressum {
	cursor: pointer;
	}
div.impressum div.inner {
    max-height: 0px;
	overflow:hidden;
	-webkit-transition: max-height 1.5s ease;
    -moz-transition: max-height 1.5s ease;
    transition: max-height 1.5s ease;
	max-width:500px;
	margin:0 auto;
}
div.impressum div.inner.ok {
    max-height: 1500px;
	overflow: visible;
	}
	
	footer ul li {
		display:inline-block;
		padding:0px 8px;
		border-right:1px solid #000;
		line-height:14px;
		}
		
		footer ul li:last-child {
			border-right:0px;
			}
            
            footer ul li a {text-transform: uppercase;}
            
            footer p a,
            footer p {text-decoration: none; text-transform: lowercase;}
	
.text-content iframe {
	margin-bottom:25px;
	}	
	
	
@media (max-width:1250px) {
		
        .page-template-startseite #kontakt .text-content {
          margin-left: calc(25% + 3px);
        }
        
        .page-template-startseite #kontakt .sticky-parent {
          width: 285px;
          right: auto;
          left: 610px;
        }

}
    
@media (max-width:1200px) {

	.headline-wrapper h1 {
		font-size: 46px;
	}
    
    .zitat {
      text-align: left;
      }
	
    .box {
        width: calc(100% - 300px);
        margin-left: 300px;
    }
  
.text-content {
    width: calc(100% - 290px);
    margin-left: 0;
  }
  
.page-template-startseite #kontakt .text-content {
    margin-left: 0px;
  }
  
.page-template-startseite #kontakt .sticky-parent {
    left: 305px;
}
		
	.zitat {
	width: 100%;
	}
	
 #project-detail .info-text, blockquote {
    width: 100%;
  }


.text-block.info-text blockquote {        
	width: 100%;    
}

	
}		


@media (max-width:1024px){

	nav {
		position: relative;
		width: auto;
		min-width: 285px;
	}
	
	nav .nav-inner {
		padding:20px 20px 18px 24px;
	}	

	.grid-item nav {
		position: relative;
	}
    
    .grid {
      padding-left: 13px;
    }

.page-template-startseite .grid {margin-top: 10px; padding-left: 0px;}

  .page-template-startseite #kontakt .text-content {
    width: 285px;
    margin-left: 10px;
  }

.page-template-startseite #kontakt .sticky-parent {
    width: 285px;
    right: auto;
    left: 313px;
  }
    
.box {
    width: 100%;
    margin-left: 0px;
  }
  
	.sticky-parent {
		width: 235px;
	}	
    
 .text-content {
    width: calc(100% - 300px);
    margin-left: 0;
  }

	
	div.next-post {
		right: -1px;
	}	
	
	div.previous-post {
		left: -1px;
	}
    
    #start {
      height: calc(100vh - 285px);
    }
    
    .splide__slide h1 {
      top: calc(50% - 10px);
    }
    


}

@media (max-width:800px){


.page-template-startseite #kontakt .sticky-parent {
    width: 100%;
    right: auto;
    left: 0px;
    margin: 0px;
  }
  
  .page-template-startseite .box {
    width: calc(100% - 46px);
    margin-left: 10px;
    margin-right: 10px;
  }

.page-template-startseite #kontakt .text-content {
    margin-left: 0px;
  }

    .splide__slide h1 {
      font-size: 45px;
      line-height: 55px;
      padding: 0px 30px;
      top: calc(50% - 30px);
    }

	.sticky-parent {
		width: 100%;
		float: none;
		display: block;
		position: relative;
		max-width: none;
		margin: 0px auto;
		
	}

	.sticky-parent-inner {
		margin-top:0px !important;
		height:auto !important;
	}
	
	.text-content {
		width: 100%;
		max-width:none;
		margin-left: auto;
		margin-right:auto;
		margin-top:0px;
	}	
    
  .home #kontakt .text-content {
    margin-top:0px;
  }
	.text-content p {
		text-align:left;
	}
	
    .text-block.zitat {
        margin: 45px 0px 20px 0px;
        position: relative;
        float: none;
      }	
	
	#project-detail .info-text, blockquote {
		width: 100%;
		max-width:none;
		margin: 0px auto;
		float: none;
	}	
	
.text-block.zitat.sticky_column.is_stuck {
	position:relative !important;
	top:auto !important;
	bottom:auto !important;
}


#start .zitat {
    left: auto;
    right: 35px;
    top: 20px;
    font-size: 17px;
    line-height: 22px;
    padding: 20px;
    width: auto;
    max-width: 240px;
}
.home #kontakt .zitat p {
      font-size: 18px;
      margin-bottom: 0;
      text-align: left;
    }
    
    .box {
    width: calc(100% - 46px);
    margin-left: 23px;
    margin-right: 23px;
  }

}

@media (max-width:710px){

	#awards img {
		width: 65%;
		height: auto;
		margin-right: auto;
		margin-left:auto;
		margin-bottom: 20px;
		display: block;
	}
	
	#awards img:nth-child(2n) {
		margin-right: auto;
		margin-left:auto;
	}
	
	.grid-item {
		float: none;
		margin: 10px auto;
		position: relative;
		text-align: center;
	}	
	
.grid-item:first-of-type {   
    text-align: left;
}	
	
	.grid-item img {
		width: 100%;
		height: auto;
		max-height: 385px;
	}	
	
.grid-item.text-only {
	display:none;
	}
    
.page-template-startseite #kontakt .box {
    width: 285px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width:600px){

    .splide__slide h1 {
      font-size: 35px;
      line-height: 45px;
      padding: 0px 30px;
      top: calc(50% - 30px);
    }

nav {
	height:auto;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;	
}

ul.haupt-nav {
	display:none;
}

ul.haupt-nav.active {
	display:block;
    margin-bottom: 20px;
}

.box {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

#nav-toggle {
display: block;
    position: absolute;
    right: 0px;
    top: 16px;
    width: 30px;
    height: 30px;
}

#nav-toggle span {margin-top: 10px;}
	
	#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
	  cursor: pointer;
	  border-radius: 1px;
	  height: 5px;
	  width: 30px;
	  background: #000000;
	  position: absolute;
	  display: block;
	  content: '';
	}
	#nav-toggle span:before {
	  top: -10px;
	}
	#nav-toggle span:after {
	  bottom: -10px; 
	}	
	

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 500ms ease-in-out;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
	#start {
		height: calc(100vh - 100px);
	}
.grid {
    padding-left: 0px;
  }

.grid-item nav {
    height: auto;
}

.grid-item {
   margin:10px auto;
}

.grid-item img {   
    max-height: none;
	width: 100%;
}

.big-picture img {
    width: calc(100% + 80px);
    height: auto;
    margin-left: -40px;
}


div.next-post {
    right: -41px;
	height: 61px;
	width: 61px;
}

div.previous-post {
    left: -41px;
	height: 61px;
	width: 61px;	
}

.big-picture div a {
    height: 61px;
    line-height: 61px;
    width: 61px;
}

nav .nav-inner {
    padding: 10px;
}

.single nav .nav-inner {
    padding: 20px;
}

#start .zitat {
		left: 50%;
		right: auto;    
		margin-left: -100px;
	}

}

@media (max-width:500px){


 .big-picture div a {
    height: 45px;
    line-height: 45px;
    width: 45px;
    background-size: 32px auto;
  }
  
div.previous-post {
    left: -41px;
    height: 45px;
    width: 45px;
  }  
  
div.next-post {
    right: -41px;
    height: 45px;
    width: 45px;
  }  
  
}


@media (max-width:400px){

#project-detail .info-text, blockquote,
#kontakt .zitat h4,
.home #kontakt .zitat p,
body {
  font-size: 13px;
  line-height: 20px;
}

footer {
  font-size: 11px;
  line-height: 16px;
}

section {
  margin-bottom: 20px;
}

footer ul li {font-size: 12px;}

	a.logo {
		width: 200px;
		height: 38px;
		background-size: 197px auto;
		background-repeat: no-repeat;
	}
	.grid-item .item-hover {
	  opacity:1;
	  background-color: rgba(255, 255, 255, 0);
		display: none;
	  }
	.page-media .grid-item .item-hover {
		display:block;
	} 
	  #start .zitat {
	  	display:none;
		}

	.page-projects .item-hover h2 {
	  display: none;
	}

}
