/* Layout - Startseite */

/* Content */

#ContentWrapper {
	margin: 100vh auto 50px auto;
}
#ContentWrapper > div > section {
	padding: 1px 0px 0px 0px;
}

/* Animation */

#GalleryWrapper {
	height: 100%;
	top: 0px;
}
#GalleryWrapper:after {
	top: 76px;
}
#GalleryWrapper > form {
    top: 20%;
}
#GalleryWrapper > .animation > .wrapper > img.animate {
    margin-left: 0;
}
#GalleryWrapper > .animation > .wrapper > .text {
	display: block !important;
	font-size: 50px !important;
	position: relative;
}
#GalleryWrapper > .animation > .wrapper > .text_2 {
	font-size: 28px !important;
	line-height: 1.2;
	opacity: 0.5;
}

/* Navigation */

#GalleryWrapper > .animation > .next,
#GalleryWrapper > .animation > .prev {
	background: url('/media/cms/cms.png') no-repeat scroll -2px -1239px;
	background-size: 321.42857142857144%; /* 90 */
	cursor: pointer;
	display: block;
	font-size: 40px;
	height: 56px;
	margin: -28px 0 0;
	position: absolute;
	top: 50%;
	width: 28px;
	z-index: 999999;
}
#PageNav.open + #ContentWrapper + #FooterWrapper + #GalleryWrapper > .animation > .next,
#PageNav.open + #ContentWrapper + #FooterWrapper + #GalleryWrapper > .animation > .prev {
	display: none;
}
#GalleryWrapper > .animation > .prev {
	left: 20px;
}
#GalleryWrapper > .animation > .next {
	background-position: -2px -1345px;
	right: 20px;
}

/* Buttons */

#GalleryWrapper > ul {
	bottom: 50px;
	left: 50%;		
	margin: 0px 0px 0px -171px;
	position: absolute;	
	z-index: 4;
}
#GalleryWrapper > ul > li {	
	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 35px;
	color: #FFFFFF;
	display: block;
	float: left;
	font-size: 22px;
	height: 50px;
	margin: 10px 0 10px 18px;
	transition: all 200ms ease-in-out 0s;
	width: 50px;		
    -moz-transition: all 200ms ease-in-out 0s;
    -o-transition: all 200ms ease-in-out 0s;
    -webkit-transition: all 200ms ease-in-out 0s;
}
#GalleryWrapper > ul > li:first-child {
	margin-left: 0;
}
#GalleryWrapper > ul > li:hover {
	background: rgba(255, 255, 255, 0.8);	
	color: #592025;
	cursor: pointer;
}
#GalleryWrapper > ul > li:after {
	font-family: "fontello";
	font-weight: normal;
	line-height: 1;
	margin: -11px 0px 0px -1px;
	position: absolute;
	text-align: center;
	text-shadow: 0px 0px 15px #FFFFFF;
	top: 50%;
	width: 50px;
}
#GalleryWrapper > ul > li.scroll {		
	height: 70px;
	margin-bottom: 0px;
	margin-top: 0px;	
	width: 70px;		
}
#GalleryWrapper > ul > li.scroll:after {
	content: '\E805';
	font-size: 48px;
	width: 70px;
	margin: -20px 0px 0px -1px;
}
#GalleryWrapper > ul > li.language {	
    line-height: 1;
    padding: 12px 0 0;
    text-align: center;
}
#GalleryWrapper > ul > li.language > a {
	color: #FFFFFF;
	display: block;
	font-weight: 300;
}
#GalleryWrapper > ul > li.language > a:hover {
	color: #2D3C52;
}
#GalleryWrapper > ul > li.facebook:after {
	content: '\E80C';
}
#GalleryWrapper > ul > li.googlep:after {			
	content: '\E80D';
}

/* Einzelteaser */

#GalleryWrapper > .introTeaser {
    left: 50%;
    margin: -190px 0 0 -550px;
    position: absolute;
    top: 50%;
    z-index: 9;
}
#GalleryWrapper > .introTeaser > article {
	background: #592025;
	background: rgba(22, 58, 89, 0.9);
	border: 1px solid #592025;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
	padding: 62px 0 0 0;
	position: relative;
	width: 350px;
}
#GalleryWrapper > .introTeaser > article > h2 {
	display: none;
}
#GalleryWrapper > .introTeaser > article > figure > a {
	display: block;
    margin: 0 -1px;
}
#GalleryWrapper > .introTeaser > article > figure > a > img {
	display: block;
	width: 100%;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption {
	padding: 17px 18px;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > a {
	color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    left: 18px;
    position: absolute;
    text-transform: uppercase;
    top: 17px;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p {
	color: #FFFFFF;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p > span.text {
    display: table;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2;
    padding: 0 110px 0 0;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p > span.text > a {
	color: #FFFFFF;
    display: table;
    font-size: 18px;
    font-weight: 500;
    margin: 13px 0 0;
    opacity: 0.5;
    text-transform: uppercase;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p > span.text > a:hover {
	opacity: 1;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p > span.date {
	display: none;
}
#GalleryWrapper > .introTeaser > article > figure > figcaption > p > span.addition {
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjciLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(top,  rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#ffffff',GradientType=0 );
	border: 1px solid #FFFFFF;
	border-radius: 45px;
	box-shadow: 2px 0px 5px #0B0B0B;
	color: #592025;
    font-size: 30px;
    font-weight: 300;
    height: 90px;
    line-height: 1.5;
    padding: 21px 0 0;
    position: absolute;
    right: 8.571428571428571%; /* 30 */
    text-align: center;
    top: 227px;
    width: 90px;	
}

/* Elemente - Teaser */

.cmsTeaser > article {
	margin-right: 3.63636363636364%;
	width: 30.90909090909091%;
}
.cmsTeaser > article:nth-of-type(2n) {
	margin-right: 3.63636363636364%;
}
.cmsTeaser > article:nth-of-type(2n+1) {
	clear: none;
}
.cmsTeaser > article:nth-of-type(3n) {
	margin-right: 0px;
}

@media all and (max-width: 1300px){

	#GalleryWrapper > form {
		left: auto;
		margin-left: 0;
		right: 100px;
	}

}
@media all and (max-height: 1030px){

	#GalleryWrapper > .animation > .wrapper > .text {
		display: none !important;
	}

}
@media all and (max-width: 950px){

	.cmsTeaser > article {
		margin-right: 3.63636363636364%;
		width: 48.18181818181818%;
	}
	.cmsTeaser > article:nth-of-type(2n) {
		margin-right: 0px;
	}
	.cmsTeaser > article:nth-of-type(2n+1) {
		clear: left;
	}
	.cmsTeaser > article > figure > a > img {
		margin-left: -215px;
		width: 430px;
	}

}
@media all and (max-width: 810px){

	.cmsTeaser > article > figure > a > img {
		margin-left: -181px;
		width: 362px;
	}

}
@media all and (max-width: 600px){

	#GalleryWrapper > .animation > .next,
	#GalleryWrapper > .animation > .prev {
		display: none;
	}

}
@media all and (max-width: 550px){

	.cmsTeaser > article {
		clear: both;
		float: none;
		margin-right: 0 !important;
		width: 100%;
	}
	#ContentWrapper {
		margin-bottom: 80px;
	}

}
@media all and (max-width: 500px){

	#ContentWrapper {
		margin-top: 80px;
	}

}
@media all and (max-height: 540px){

	#GalleryWrapper > form {
		background: none;
		border: none;
		height: 90px;
		left: auto;
		padding-top: 0;
		right: 55px;
		width: 90px;
		top: 100px;
	}
	#GalleryWrapper > form > h2,
	#GalleryWrapper > form > div.arrival,
	#GalleryWrapper > form > div.departure,
	#GalleryWrapper > form > div.days {
		display: none;
	}	
	#GalleryWrapper > form > div.submit {
		background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
		border: 1px solid #FFFFFF;
		border-radius: 75px;
		height: 90px;
		width: 90px;		
	}
	#GalleryWrapper > form > div.submit:after {
		content: "Jetzt buchen";
		font-size: 16px;
		text-transform: uppercase;
		top: 29px;	
	}

}
@media all and (max-width: 600px){

	#GalleryWrapper > form {
		border: none;
		height: 80px;
		left: auto;
		padding-top: 0;
		right: 15px;
		width: 80px;
		top: 100px;
	}
	#GalleryWrapper > form > h2,
	#GalleryWrapper > form > div.arrival,
	#GalleryWrapper > form > div.departure,
	#GalleryWrapper > form > div.days {
		display: none;
	}	
	#GalleryWrapper > form > div.submit {
		background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
		border: 1px solid #FFFFFF;
		border-radius: 75px;
		height: 80px;
		width: 80px;		
	}
	#GalleryWrapper > form > div.submit:after {
		content: "Jetzt buchen";
		font-size: 15px;
		text-transform: uppercase;
		top: 25px;		
	}

}