* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
    height:100%;
    -webkit-text-size-adjust: 100%;
}
    
p { 
	margin:0;
	color: #3c3c3c; 
}

a, a:hover {
	text-decoration: none;
}

a {
	color: #5c5c5c;
}

a:hover {
	color: #aaa;
}

img {
	border: 0;
}

h5 {
	font-weight: normal;
	color: #5c5c5c;
	letter-spacing: 0.75px;
}

body {
    background-color: #787878;
    /*background-color: #848484;*/
    position:relative;
    /*min-height:100%;*/
    margin:0;
    padding:0;
    font-family: Helvetica, Arial, 'Source Sans Pro';
    font-size:14px;
    /*padding-bottom:200px;*/
    -webkit-font-smoothing: subpixel-antialiased; /* apple */
    color: #3c3c3c;
    line-height: 1.07em;
}

.expand {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

a.expand, img.expand {
	display: block;
}

.margin0 {
	margin: 0 !important;	
}

/*************** Head ************/

.startseite #head {
	position: relative;
	height: 94px;
}



#head {
	height: 115px;
	/*padding-top: 20px;*/
	overflow: hidden;
	padding-top: 25px;
	/*position: relative;*/
	max-width: 1200px;
	width: 100%;
	/*z-index: 2000;*/
	margin: 0 auto;
}


#home { 
    float:left;
    /*padding-top: 48px; *//* (118 - 16) / 2 */
    height: 100%;
    width: 225px;
}

#start_vollbild {
	margin: 0 auto;
	width: 100%;
	height: 92%;
	background-size: contain;
	background-position: top center;
	background-repeat: no-repeat;
}

.startseite #home {
	/*padding-top: 30px; *//* (118 - 57) / 2 */
	/*padding-top: 48px; */
	/*padding-left: 48px;*/
	width: 225px;
	height: auto;
}

.startseite .wrapper {
	overflow: hidden;
}

.startseite a.impressum {
	color: #5c5c5c;
	position: absolute;
	right: 0px;
	bottom: 35px;
}
.startseite a.impressum:hover {
	color: #aaa;
}


.startseite .content {
	padding: 0;
	width: 100%;
	padding: 15px;
	padding-top: 0;
}

	#head #home img {
		height: auto;
		width: 128px;
		/*width: 229px;*/
		display: block;
	}

	.startseite #head #home img {
		width: 326px;
		height: auto;
	}


.headwrap {
    overflow: hidden;
    width: 100%;
   	/*max-width: 1200px; */
   	/*margin: auto; */
}
	.nav1 li{
		line-height: normal;
	}
	
	.headwrap .nav1
    {
	    list-style:none;
	    margin:0;
	    padding:0;
	    overflow: auto;
	    margin-bottom: 6px;
    }
    
	.headwrap .nav1 a
    {
    	text-decoration:none;
    	/*color: #414140;*/
    }
    
	.headwrap ul.nav1 .active a
    {
		color:#aaa;
    }

	.headwrap ul.nav1 li
    {
	    float:left;
	    margin-right: 25px;
    }
    
    .headwrap ul.nav_small {
		display: none; /* erst ab 667px, wenn das große ul.nav1 ausgeblendet ist */
	}


#navigation1 {
	height: 100%;
	/*padding-left: 97px;*/
	overflow: hidden;
	/*padding-top: 48px; *//* 118px Kopf :2 - Texthöhe (13px) */
}

	/*.nav {
		overflow: auto;
	}*/
/*************** Content ************/

#wrapper {
    width: 100%;
    max-width: 1200px;
    /*height: 90%;*/
   	height: auto;
    /*max-width: 960px;*/
    /*max-width: 1200px;*/
    margin: auto;
    border: 0;
    position:relative;
    z-index:600;
    overflow: hidden;
}

.startseite #wrapper, .galerieseite #wrapper {
	max-width: none;
}


	.wrapper {
		height: auto;
		height: 100%;
		overflow: auto;
	}
	    
		.main {
			width: 100%;
		    float: left;
		   	height: auto;
		   	overflow: hidden;
		} 	
			
			/*
			.left-info, .left-space {
			    height: 118px;
			    float: left;
			} 		
			
			.left-info {
				height: 100%;
				overflow: hidden;
			}   
			
				.left-info .title {
					font-size: 13px;	
				}
				
				.left-info a {
					color: white;
					display: block;
				}
				
				.left-info a:hover {
					color: black;
				}
			*/
			
				
			/*.right-content*/
			.content {
				height: 100%;
				float: left;
				width: 100%;
				/*padding: 0 15px 15px 0;*/
				position: relative;
			}
			
			.galerieseite .content {
				overflow: hidden;
			}
			

/*************** Start *****************/

.startseite #wrapper {
	overflow: hidden;
}

.startseite #wrapper .content {
	/*width: 110%;*/
	width: 100%;
}

.triptychon {
	width: 31.5%;
	height: 98%;
	margin-right: 12px;
	overflow: hidden;
	position: relative;
	margin-bottom: 5px;
	float: left;
	display: none;
	background-position: center center;
	background-size: cover;
}

.triptychon:last-child{
	margin-right: 0;
}

	.triptychon a {
		width: 100%;
		height: 100%;
	}

	.triptychon a img {
		/*position: absolute;
	    top: -9999px;
	    bottom: -9999px;
	    left: -9999px;
	    right: -9999px;*/
	    margin: auto;
	    width: 100%;
	    height: auto;
	}
	
	/*.triptychon img.landscape {
	    height: 100%;
	    width: auto;
	}
	
	.triptychon img.portrait {
	    height: 100%;
	    width: auto;
	} */

.triptychon:last-child {
	margin-right: 0;
}
			

/*************** Galerieübersicht ************/

.galerie {
    overflow: hidden;
    clear: both;
}

.galerie-titel {
	/*position: absolute;
	top: 0;
	left: -254px; *//* Breite von .left-info */	
	/*text-align: right;*/
	margin-left: 6px;
}


.zeile, .letzte-zeile {
	/*height: 20%;*/
	/*box-sizing: content-box;
	width: 100%;*/
	position: relative;
	float: left; /* anstatt overflow */
	margin: 0 -6px;
	/*margin-bottom: 1%;*/
	margin-bottom: 10px;
}

	/*.zeile .title {
		font-size: 13px;	
	}*/
	
	.zeile .title a {
		color: #aaa;
		display: block;
	}

.letzte-zeile {
	height: 40%;
}

/*.bildbox-startseite {*/
a.bildboxlink, a.bildboxlink_big {
    /* width: 12%;*/
    /*max-width: 125px;*/
    float: left;
    margin: 0 10px 12px 0;
    /*height: 100%;*/
    /*overflow: hidden;*/
    color: #5c5c5c;
    /*font-size: 12px;*/
    position: relative;
}

a.bildboxlink {
	width: 190px;
	margin: 0 6px;
}

	/*a.bildboxlink.last {
		margin-right: 0;
	}*/

a.bildboxlink_big {
    /*width: 24%;*/
}

	p.nbp { /*Titel "Neu bei pete" */
		
	}

	a.bildboxlink:first-child {
		margin-left: 0;
	}
	
	a.bildboxlink:last-child {
		margin-right: 0;
	}
	
	
	a.bildboxlink.mo  { /* Hilfsklasse für den Bildboxlink um den Abstand über making_of zu realisieren */
		margin-right: 10px;
	}
	/*
	a.bildboxlink.mo .galerie-titel {
		top: 50px;
	}*/
	


.bildbox-startseite {
    height: 100%;
    width: 100%;
    /*overflow: hidden;*/
    /*padding-right: 4px;*/
}

.bildbox-startseite .img {
	/*width: 100%;
	height: 80%;*/
	width: 190px;
	height: 160px;
	overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    /*-webkit-box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.3);
	box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.3);*/
}

.bildbox-startseite .txt {
	font-size: 14px;
	line-height: 16px;
	height: 2.5em;
}

.bildbox-startseite img {
	/*position: absolute;*/
    margin: auto;
}

	.bildbox-startseite img.landscape {
	    height: 100%;
	    width: auto;
	}
	
	.bildbox-startseite img.portrait {
	    width: 100%;
	    height: auto;
	}

.bildbox-startseite:first-child{
    margin-left: 0;
}
.bildbox-startseite:last-child{
    margin-right: 0;
}

.galerie-titel, .img-full-titel /*, .left-info, .left-space */{
	display: block;
	width: 254px;
	padding-bottom: 11px;
	/*text-align: right;*/
    color: #aaa; 
    /*overflow: auto;*/
    font-size: 18px;
}


/******************* Galerie ******************/

/* body.galerieuebersicht */

/*.galerieuebersicht .content {
	display: none;
}*/

.img-full-titel {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	font-size: 18px;
	position: absolute;
    bottom: 24px;
}

.galerie-navigation {
	overflow: hidden;
	/*margin-right: 15px;*/
	position: absolute;
	top: 61px; /* 71px + abstand | 118px Kopf + 21px Titelhöhe - 41px Selbsthöhe*/
	z-index: 1000;
}

.galerie-navigation .verlauf {
	pointer-events: none;
	position: absolute;
	right: 0;
	bottom: 0;
	background-image: url("/files/verlauf.png");
	width: 100px;
	height: 50px;
	z-index: 100;
}

	.galerie-navigation a { /* Klötzchen */
		display: inline-block;
		width: 16px;
		height: 21px;
		/*border: 1px solid #5f5e5e;
		color: #5f5e5e;*/
		border: 1px solid #5c5c5c;
		color: #5c5c5c;
		margin-right: 4px;
	}
	
	.galerie-navigation a:last-child {
		margin-right: 0;
	}
	
	.galerie-navigation a:hover, .galerie-navigation a.active {
		border: 1px solid #aaa;
		color: #aaa;
	}
	
		.galerie-menueblock {
			float: left;
			margin-right: 24px;
			height: 41px; /* h5 (13px) + h5 margin-bottom(5px) + Klötzchen(21px) = 39px */ 
			margin-bottom: 12px; /* Rest (118-48-13-6 = 51; 51 - 39 = 12) */
			overflow: hidden;
			left: 0;
			position: relative;
		}
		
		.galerie-menueblock:last-child {
			margin-right: 0;
		}
		
		.galerie-menueblock .titlebox {
			/*overflow: hidden;*/
			height: 18px;
		}
		
		.galerie-menueblock .titlebox h5 {
			margin-bottom: 5px;
			display: block;
		}
		
		
		.galerie-menueblock .titlebox h5.last {
			display: none;
			position: absolute;
			right: 0;
			top: 0;
			text-align: right;
		}
		
	.galerie-navigation #slidebox {
		overflow: hidden;
		height: 41px;
	}
	
	#bildinfo {
		font-size: 13px;
		/*width: 100%;*/
		padding-top: 3px;
		
		overflow: auto;
		position: absolute;
		/*top: 140px;  Bildkante */
		top: 76px;
		/* left: 150px; */
		z-index: 1000;
		/*display: none;*/
	}
	
	.bildinfo_titel {
		color: #aaa;
		font-size: 13px;
		width: 100%;
		padding-top: 28px;
		/*font-weight: 600;*/
		position: relative;
		height: 100%;
	}
	
	.bildinfo_titel a {
		color: #aaa !important;
	}
	
	#bildinfo #bildinfo_button {
		background: none;
		border: none;
		cursor: pointer;
		background-color: #787878;
		color: #aaa;
		border: 1px solid #aaa;
		float: left;
		display: none;
		font-family: Helvetica, Arial, 'Source Sans Pro';
		/*font-size:12px;*/
		line-height: 15px;
		/*text-align: right;
		display: none;*/
		padding: 2px 7px;
		/*margin-bottom: 10px;*/
		/*background-color: #dadada;*/
	}
	
	#bildinfo #bildinfo_button:hover {
		color: #5c5c5c;
		position: relative;
	}
	
	#bildinfo #bildinfo_button.info_offen {
		
		border-bottom: none;
	}
	
	#bildinfo #bildinfo_button.info_offen:after {
		content: '';
		position: absolute;
		height: 4px;
		background-color: #787878;
		top: -3px;
	}
	
	#bildinfo .infotext {
		/*float: right;*/
		/*width: 158px;*/
		clear: both;
		display: none;
		/*width: 300px;*/
		max-width: 450px;
		padding: 7px;
		/*position: absolute;
		z-index: 999;*/
		/*margin-left: 10px;*/
		/*margin-right: -180px; *//* 158px Breite + 10px margin-left + 12px padding-right von left-info */
		/*position:absolute;
		z-index: 200;*/
		/*background-color: rgba(132, 132, 132, 0.7);*/
		/*background-color: #dadada;*/
		line-height: 1.25em;
		background-color: #787878;
		color: #aaa;
		padding-bottom: 22px;
		margin: 1px;
		margin-top: 0;
	}
	
	#bildinfo #close_x {
		position: absolute;
		bottom: 7px;
		right: 7px;
		display: none;
		cursor: pointer;
		color: #5c5c5c;
	}
	
	#bildinfo #close_x:hover {
		color: #aaa;
	}
	
	.img-full {
		/*text-align: center;*/
		/*width: 100%;
		height: 100%;*/
		/*width: auto;
		height: auto;*/
		/*-webkit-box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.5);
		-moz-box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.5);
		box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.5);
		border: 1px solid #000;*/
		overflow: hidden;
		/*position: relative;*/
		text-align: center;
		/*background-size: cover;
		background-position: center center;*/
		padding: 0 15px 15px 15px;
	}
	
	.img-full img {
		/*min-width: 100%;
		min-height: 100%;*/
		/*position:absolute;*/
		display: none;
		/*top: 50%;*/
		/*left: 50%;*/
	}

	/*.right-*/ .content .img-full img.landscape {
		width: 100%;
		height: auto;
	}
	
	/*.right-*/ .content .img-full img.portrait {
		height: 100%;
		width: auto;
	}
	
	/*.right-*/ .content .img-full .bildnavigation-links {
		width: 50%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		cursor: url("/files/files/hand-left.png"), w-resize;
		z-index: 100;
	}
	
	/*.right-*/ .content .img-full .bildnavigation-rechts {
		width: 50%;
		height: 100%;
		position: absolute;
		top: 0;
		right: 0;
		cursor: url("/files/files/hand-right.png"), e-resize;
		z-index: 101;
	}


/*.right-*/ .content .rightcol,/*.right-*/ .content .leftcol
{
	width:45%;
	/*max-width:400px;*/
	float:left;
	font-size:14px;
}

/*.right-*/ .content .leftcol
{
	margin-right:20px;
}


/*.right-*/ .content .rightcol h1,/*.right-*/ .content .leftcol h1 {
    font-weight: normal;
    font-size: 18px;
    margin: 0px;
}


/*.right-*/.content .rightcol a,/*.right-*/ .content .leftcol a
{
	/*color:inherit;*/
}

/*.content .rightcol a:hover, .content .leftcol a:hover {
	color: #fff;
}*/


.sid5 /*.right-*/.content .leftcol
{
	width:70%;
	/*max-width:600px;*/
}

.sid5 /*.right-*/.content .rightcol
{
	width:25%;
	/*max-width:500px;*/
}


.textseite .main,.textseite .wrapper {
    overflow:visible;
}


.textseite .spalt3 > div
{
	width:30%;
	min-width:185px;
	float:left;
	margin-right:10px;
}

.leftcol, .rightcol
{
	line-height:1.35em;
}
.grau, h1.grau,/*.right-*/ .content .rightcol h1.grau,/*.right-*/ .content .leftcol h1.grau
{
	color: #3c3c3c;
}

.leftcol a, .rightcol a {
	color: #3c3c3c;
}

.leftcol a:hover, .rightcol a:hover {
	color: #aaa;
}

@media screen and (max-width: 1247px) {
	#wrapper {
		max-width: none;
		padding: 0 24px;
	}
	
	.startseite #wrapper, .galerieseite #wrapper {
		padding: 0;
	}
	
	.galerieseite #wrapper .img-full-titel {
		left: 24px;
	}
	
	.startseite #head, .galerieseite #head {
		padding-left: 24px;
	}
	
	.startseite a.impressum {
		right: 24px;
	}

}

@media screen and (max-width: 867px) {
	.headwrap ul.nav1 {
		max-width: 370px;
		overflow: hidden;
	}
	
	.headwrap ul.nav1{
		text-align: left;
	}
	
	.headwrap ul.nav1 li {
		float: none;
		display: inline-block;
	}
	
	.headwrap ul.nav1 li:last-child {
		margin-right: 0;
	}
	
}

@media screen and (max-width: 658px) {
	#wrapper #home {
		max-width: 201px;
	}
	
	.headwrap .nav {
		max-width: 195px; 
		text-align: right;
	}
	
	.headwrap .nav ul.nav1 {
		display: none;
	}
	
	.headwrap .nav ul.nav_small {
		display: inline-block;
		text-align: left;
		margin: 0;
		padding: 3px;
	}
	
	/*<img src="./files/hamburger.gif" alt="Menü" height="16" width="20" onmouseover="this.src=\'./files/hamburger_hover.gif\';" onmouseout="this.src=\'./files/hamburger.gif\';">*/
	
	.headwrap .nav ul.nav_small li.small_button {
		background: url("/files/hamburger.gif");
		width: 20px;
		height: 16px;
		cursor: pointer;
	}
	
	.headwrap .nav ul.nav_small li.small_button:hover {
		background: url("/files/hamburger_hover.gif");
	}
	
	.headwrap .nav ul.nav_small.active li.small_button:hover {
		background: url("/files/hamburger.gif");
	}
	
	.headwrap .nav ul.nav_small li {
		list-style: none;
		/*padding-right: 2px;*/
	}
	
	.headwrap .nav ul.nav_small a {
		display: inline-block;
		padding-bottom: 10px;
		color: #000;
	}
	
	.headwrap .nav ul.nav_small a:hover {
		color: #000 !important;
	}
	
	.headwrap .nav ul.nav_small.active {
		background-color: #aaa;
	}
	
	/*.headwrap .nav ul.nav_small.active:hover {
		background-color: transparent;
	}
	
	.headwrap .nav ul.nav_small.active ul:hover {
		background-color: #fff;
	}*/
	
	
		.headwrap .nav ul.nav_small ul {
			display: none;
			position: absolute;
			z-index: 3000;
			background-color: #aaa;
			width: 103px;
			margin-left: -80px;
			top: 70px;
			padding: 8px;
		}
		/*
		.headwrap .nav ul.nav_small li:hover ul {
			display: block;
			max-width: 192px;
		} */
		
		.headwrap .nav ul.nav_small ul li a{
			display: block;
			/*padding: 15px 2px;*/
		}
		
		.content .rightcol,/*.right-*/ .content .leftcol {
			float: none;
			width: 100%;
		}
		
}

@media screen and (max-width: 658px) and (orientation: portrait) {
	a.impressum {
		display: none;
	}
}
