html{ 
min-height:100%;

}
body{
	height:100%;
	background-color: #FFF;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	}

#wrap{    /*   header   */
text-align: center;
	max-width: 800px;
	margin: 15px auto 40px;
}

.main{ /*   logo   */
text-align:center;
background-color: #FFF;
margin: 0 0 10px 0;
}

#gallery {
	min-height:512px;
	
	}

#gallery li{ 
	list-style:none; 
	perspective:100px; 
	-webkit-perspective:100px; 
	margin:0 12px 24px 12px; 
	float:left; /* ----------------------------------- Thumbnails links oder rechts angeschlagen --------------------------------- */
	position:relative; 
	transition:.1s; 
	-webkit-transition:0.1s; 
	}

#inhalt { 
font-family: 'Open Sans', sans-serif;
	font-weight: 400;
text-align: center;
letter-spacing: 2px;
height:auto;
margin: 150px 0 0 0;
}

#inhalt a {
	padding: 5px 6px;
	background: #fff;
	color: #444;
	font-size: 0.9em;
	letter-spacing: 2px;
	/*float: left;*/
	/* some height would be nice */
	line-height: 1.5em;
	/* adjusting height */
	/* display: block; or inline-block */
	text-transform: uppercase;
}	
#inhalt a:hover {
	background: #000;
	color: #fff;
	text-decoration: none;
}



	
@-webkit-keyframes bg{ 
	0%{ background-size:120% 120%; }
	100%{ background-size:100% 100%; } 
}


/*----- Navigation  --------------------------------------*/


#nav {
	margin: 0 0 20px 0;
	}
#nav ul {
	color: #444;
	background: #ffffff;
	list-style: none;
	/* contain the list items */
	overflow: hidden;
	/*margin: 0 auto;
	display: table;*/ /* ul will behave like a table now */
	text-align: center;
}

#nav ul li {
	/* float: left; */
	display: inline-block;
}

#nav ul li a {
	padding: 5px 6px;
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 0.9em;
	letter-spacing: 2px;
	/*float: left;*/
	/* some height would be nice */
	line-height: 1.5em;
	/* adjusting height */
	display: block; /* or inline-block */
	text-transform: uppercase;
	text-decoration: none;
}

#nav ul li a:hover {
	background: #000;
	color: #fff;
	text-decoration: none;
}


.current {
	border-bottom: 1px solid #444; /* aktiver Link  */
	}	
	
#abstand {
	clear: both;
	}	
	
/*----------------- Footer --------------------*/

#footer {
	float: none;
	width: auto;
	text-align: center;
	}
#footer ul {
	margin:0;
	}	
	
/*----------------- Navigation Footer ---------*/

.paginate {
  text-align: center; }
  .paginate ul {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    text-align: center; }
  .paginate li {
    display: inline; }
  .paginate a {
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
    margin: 1px 2px;
    padding: 5px 15px;
    display: inline-block;
    border-top: 1px solid #fff;
    text-decoration: none;
    color: #444;
    font-size: smaller;
    font-family: "Helvetica Neueu", Helvetica, Arial, sans-serif;
    text-shadow: white 0 1px 0;
    background-color: #f5f5f5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#eaeaea));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -moz-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -ms-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -o-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: linear-gradient(top, #f9f9f9, #eaeaea);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea'); }
    .paginate a:first-child, .paginate a.first {
      margin-left: 0; }
    .paginate a:last-child, .paginate a.last {
      margin-right: 0; }
    .paginate a:hover, .paginate a:focus {
      border-color: #fff;
      background-color: #ccc;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#fafafa));
      background-image: -webkit-linear-gradient(top, #fefefe, #fafafa);
      background-image: -moz-linear-gradient(top, #fefefe, #fafafa);
      background-image: -ms-linear-gradient(top, #fefefe, #fafafa);
      background-image: -o-linear-gradient(top, #fefefe, #fafafa);
      background-image: linear-gradient(top, #fefefe, #fafafa);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#fafafa'); }
    .paginate a.more {
      box-shadow: 0 0 0 0 transparent;
      border: 0 none;
      background: transparent;
      margin-left: 0;
      margin-right: 0; }
    .paginate a.active {
      box-shadow: rgba(0, 0, 0, 0.75) 0 0 0 0 inset;
      border-color: #505050;
      color: #f2f2f2;
      text-shadow: black 0 1px 0;
      background-color: #676767;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#5f5f5f), to(#5c5c5c));
      background-image: -webkit-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -moz-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -ms-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -o-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: linear-gradient(top, #5f5f5f, #5c5c5c);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5f5f5f', EndColorStr='#5c5c5c'); }

@media only screen and (max-width: 1024px) {  
	#wrap{
	width: 100%;
	margin: 40px auto;
	background-color: #FFF;
}

#gallery{ 
width:100%; /* ----------------------------- breite Gallery --------------------------------- */
margin: 0 auto 40px;
min-heigh:500px;
}


@media only screen and (min-width:48.125em) and (orientation: landscape) {
	#wrap{    /*   header   */
text-align: center;
	width: 100%;
	margin: 15px auto 40px;
}
.main{ /*   logo   */
text-align:center;
background-color: #FFF;
margin: 0 ;
}


#nav {
	width: 100%;
	margin: 0 0 10px 0;
}

#nav ul li a {
	font-size: 0.8em;
}

#footer {
	margin: -50px 0 0 0 ;
	}	
} 


@media only screen and (min-width:46.875em) and (orientation: portrait) {
	#wrap{
	width: 650px;
	margin: 20px auto 0;
}

.main{ 
position: relative;
margin: 0 0 20px  0;
font-size:1.2em; 
color:#000;
font-family:'Open Sans', sans-serif; 
font-weight: 300;
line-height: 1.1em;
letter-spacing:2px;
text-align: center;
}

#nav {
	font-family: "Open Sans", sans-serif;
	width: 100%;
	margin: 0 0 35px 0;
	position: relative;
	}
	#gallery{ 
width:100%; /* ----------------------------- breite Gallery --------------------------------- */
min-height: 620px;
margin-bottom: 20px;
}
}
/*------- smartphones ----------- */
@media only screen and (max-width: 30em) {
		
#wrap{
	width: 100%;
	margin: 20px 0 0 -10px;
	background-color: #FFF;

}

.main{ 
position: relative;
margin: 0 0 10px 0;
font-size:1.8em; 
color:#888;
font-family:'Open Sans', sans-serif; 
font-weight: 300;
line-height: 1.1em;
}
 
 #gallery {
	 width: 100%;
	min-height:512px;
	margin: 0 auto 0;
	}

#inhalt { 
 width: 100%;
font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 0.9em;
	line-height:1.4em;
text-align: center;
letter-spacing: 1px;
height:auto;
margin: 50px 0 0 10px;
}

#nav {
	margin: 0 0 20px 0;
	}
		
.nav a {
  text-decoration: none;
  padding: 4px 10px 4px 10px;
  color: #220000;
}
.nav a:hover {
  background-color: #444;
    text-decoration: none;
  color: #FFF;
  }
 
.nav a.active {
	  text-decoration: none;
  background-color: #fff;
  color: #000;
  cursor: default;
}

#footer {
	float: none;
	width: auto;
	text-align: center;
	margin: 0 0 30px 0;
	}

}


