/* =Typography
-----------------------------------------------------------------------------*/
body {
	background-color: #f6f5ed;
}
h1, h2, h3, h4, h5 {
	font-family: 'Oswald', 'Trebuchet MS', Helvetica, Arial, sans-serif;
}
h2, h3 {
	font-weight: normal;
}


/* =Common
-----------------------------------------------------------------------------*/
img,
#feedback,
#banner,
#intro li {
	border-radius: 3px;
}


/* =Layout
-----------------------------------------------------------------------------*/
.wrapper {
	padding: 0 10px;
	width: 94%;
	max-width: 1300px;
	margin: auto;
}
#outer {
	padding: 3em 0 1em 0;
	margin: 1em 0 3em 0;
	background:  #282828;
	box-shadow: 0 3px 7px #000 inset;
	color: #f2f2f2;
}
#outer h2,
#outer h3 {
	color: #ccc;
}


/* =Header
-----------------------------------------------------------------------------*/
#header {
	padding-top: 15px;
	margin-bottom: .6em;
}
#header h1 {
	float: left;
	font-size: 32px;
	margin-top: 1px;
	margin-bottom: 0;
	color: rgba(0, 0, 0, .8);
}
#header nav {
	margin-top: 1.2em;
	margin-bottom: 0;
	float: right;
	text-transform: uppercase;
}

/* =Promo
-----------------------------------------------------------------------------*/
#promo {
	margin-bottom: 1.5em;
}

/* =Intro
-----------------------------------------------------------------------------*/
#intro .subheader {
	color: rgba(0, 0, 0, .4);
	padding-bottom: .3em;
	border-bottom: 1px solid #ccc;
}
#intro li {
	background-color: #e9e6da;
}


/* =Feedback
-----------------------------------------------------------------------------*/
#feedback {
	background-color: #000;
	padding: 2em 3em;
}

/* =Banner
-----------------------------------------------------------------------------*/
#banner {
	line-height: 0;
	padding: 1.5em;
	background-color: #e9e6da;
}

/* =Blocks
-----------------------------------------------------------------------------*/
#blocks dl {
	overflow: hidden;
	margin: 0;
	padding-bottom: 1.5em;
}
#blocks dt {
	float: left;
	width: 40%;
	margin-right: 8%;
}
#blocks dt a  {
	padding: 4px 3px 3px 3px;
	background-color: #fff;
	border: 1px solid #000;
	box-shadow: 4px 4px 0 #000;
}
#blocks dd {
	margin: 0 0 0 0;
	float: left;
	width: 50%;
	padding-bottom: 1.5em;
	
}

#blocks dd h4 {
	color: #ffffff;
}

/* =Partners
-----------------------------------------------------------------------------*/
#partners {
	padding-top: 1.5em;
}
#partners h4 {
	color: #666;
}


/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	color: #888;
	margin-top: 3em;
	padding-bottom: 100px;
	font-size: .9em;
	padding-top: 3em;
	background-color: #fff;
	overflow: hidden;
	box-shadow: 0 2px 4px #bbb inset;
}
#footer section {
	float: left;
}
#footer nav {
	float: right;
}
#footer nav ul {
	list-style: none;
	margin: 0;
}
#footer nav ul li {
	float: left;
	margin-left: 2em;
}

.logo {
	background: url(../_img/logo.gif);
	background-size:100%;
	background-repeat:no-repeat;
	background-origin:border-box;
	height:88px;
	width: 271px;
}
.logo-header {
	margin-bottom: 0 !important;
}
.sub-div {
	background: #F6F5ED;
}
.sub-line {
		text-align:center;
		padding-top: 3%;
}

.sub-mobil h1 {
	background: #282828;
	text-align:center;
	color: #F6F5ED;
	width: 90%;
	margin-left: 5%;
}
.sub-mobil i { margin-right: 5%; font-size: 1.5em}

.sub-item {
	
	/*background-size:100%;
	background-repeat:no-repeat;
	background-origin:border-box;*/
	text-align: right;
	margin-right: 5%
}
.sub-logo {
	background: url(../_img/logo_pattern.gif) ;
	background-repeat: no-repeat;
	background-position: left bottom ;
	background-origin:content-box;
	
}

.liste {
	margin: 0 0 0 1em;
}

a.nowandthen{
position:relative;
display: block;
overflow:hidden;
cursor: pointer;
width: 170px; /* set width of image container */
height: 227px; /* set height of image container */
}

a.nowandthen img{
position:absolute;
left:0;
top:0;
width: 100%;
height: 100%;
-moz-transition: all 0.5s ease; /* enable transition */
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
z-index: 2;
clip: rect(0,200px,200px,0); /* clip values should be rect(0,image_width,image_height,0) */
padding: 5px
}


a.nowandthen img:nth-of-type(2){ /* hide "after" image beneath "before" so it's initially out of view */
z-index: 1;
}
.errorField { border-color: #ef6465 !important}

a.nowandthen:hover img:nth-of-type(1){ /* clip "before" image to reveal "after" */
clip: rect(0,0,200px,0); /* clip values should be rect(0,0,image_height,0) */
opacity: 0;
}


a.nowandthen.alt{
width: 200px; /* set width of image container */
height: 200px; /* set height of image container */
}

a.nowandthen.alt img{
clip: rect(0,200px,200px,0); /* clip values should be rect(0,image_width,image_height,0) */
}

a.nowandthen.alt:hover img:nth-of-type(1){
clip: rect(0,0,200px,0); /* clip values should be rect(0,0,image_height,0) */
}

.galleryLinks { display: none}
#cboxTitle { margin-left: 60px !important}

#impressum ul  { margin: 0;}
#impressum ul li { list-style: none}
#impressum ul li i { display: inline-block; width: 1em}


/* =Tablet (Portrait)
-----------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .wrapper { width: 748px; }
}


/* =Mobile (Portrait)
-----------------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
	.wrapper { width: 300px; }
	#header h1 { float: none; }
	#header nav { float: none; }
	#header nav ul li { margin: 0; margin-right: 1em; font-size: .85em; }
    #partners ul li { padding-bottom: 1em; text-align: center; }
    #feedback { padding: 1.5em; }
    #banner { text-align: center; margin-bottom: 1.5em; }
	#blocks dt, #blocks dd { float: none; width: auto; }
	#footer section, #footer nav { float: none; }
	#footer nav ul { margin-top: 1em; }
	#footer nav ul li { margin: 0; margin-right: 1em; }
}


/* =Mobile (Landscape)
-----------------------------------------------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.wrapper { width: 420px; }
}

