#slider, ul
{
	height: 500px;
}

#slider {
	position:relative;
	margin:auto;
	overflow: hidden;
	padding: 0;
	margin-top:30px;
	margin-bottom:30px;
	background-color:white;	
  box-shadow: 0px 0px 3px rgb(184,120,194,1); 
	text-align:center;
}

#slider li
{
	float: left;
	position: relative;
	display: inline-block;
	height: 480px;
}

#slider ul
{
	list-style: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 9000px;
	transition: left .3s linear;
	-moz-transition: left .3s linear;
	-o-transition: left .3s linear;
	-webkit-transition: left .3s linear;
	margin-left: -25px;
  color: #666;
}

/*** Content ***/

.slider-container
{
	margin: 0 auto;
	padding: 0;
  min-height: 480px;
}

.slider-container h4
{
 	color: #412d8c;
 	font-size:1.4em;
 	margin: 10px;
}

.slider-container  p
{
	margin: 10px;
	line-height: 150%;
	text-align: justify;
}

#slider ul
{
	-webkit-animation: slide-animation 40s infinite;
	-moz-animation: slide-animation 40s infinite;
	animation: slide-animation 40s infinite;
	-o-animation: slide-animation 40s infinite;
}

/* use to paused the content on mouse over */

#slider ul:hover
{
	-moz-animation-play-state: paused;
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
	-o-animation-play-state: paused;
}

.caption {
display: inline-block;
position: relative;
}
.caption img {
display:block;
}
.caption:after {
	position: absolute;
	left: auto;
	width: 90%;
	margin: 2% 0 0 5%;
	font-weight: 300;
	color: #000000;	
	content: attr(data-title);
	top: 95%;
	padding: 20px 10px 0px 0px;
	font-size: 1.0em;
	text-align:center;
}

img.titles {
	opacity:0.65;
}
img.titles:hover {
	opacity:1;
}

/*** target hooks ****/
/* SLIDE AUFTEILEN IN DIE ANZAHL DER EINTRÄGE!
Es rutscht immer um den Prozentsatz weiter, den das Bild im Slider Container einnimmt (33.3% bei 3 Bildern, 50% bei 2 Bildern, 100% bei 1 Bild).
So viele Schritte wie Einträge: 5 Einträge = 5 Schritte inkl. 0 und Max. */



/**************************** Mobile Portrait ***********************************/
@media screen and (max-width: 320px){ 
	
/* 1 Bild = 100% Versatz */
@keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-webkit-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-moz-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-o-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}	

img.titles {
	width:300px;
	height:auto;
	padding:3px;
}

#slider { width:320px; height:520px; padding:0; box-shadow:0;}
#slider li { width:320px; padding:0; box-shadow:0;}
.slider-container { width:300px; margin:2px; padding:5px; }
.slider-container p { text-align:justify; font-size:1.2em; }

	
}

/******************************* mobile landscape *********************************/
@media screen and (min-width: 321px) and (max-width: 480px) {
	
/* 1 Bild = 100% Versatz */
@keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-webkit-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-moz-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

@-o-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-100%; }
30% { left:-200%; } 
40% { left:-300%; } 
50% { left:-400%; }
60% { left:-500%; }
70% { left:-600%; }
80% { left:-700%; }
90% { left:-800%; }
100% { left: 0%; }
}

img.titles {
	width:300px;
	height:auto;
	padding:3px;
}

#slider { width:320px; height:530px; padding:0; box-shadow:0;}
#slider li { width:320px; padding:0; box-shadow:0;}
.slider-container { width:300px; margin:2px; padding:5px; }
.slider-container p { text-align:justify; font-size:1.2em; }
}

/******************************** big mobile *******************************/
@media screen and (min-width: 481px) and (max-width: 768px) {
	
/* 2 Bilder = 1/2 Versatz */
@keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-50%; }
30% { left:-100%; } 
40% { left:-150%; } 
50% { left:-200%; }
60% { left:-250%; }
70% { left:-300%; }
80% { left:-350%; }
90% { left:-400%; }
100% { left: 0%; }
}

@-webkit-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-50%; }
30% { left:-100%; } 
40% { left:-150%; } 
50% { left:-200%; }
60% { left:-250%; }
70% { left:-300%; }
80% { left:-350%; }
90% { left:-400%; }
100% { left: 0%; }
}

@-moz-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-50%; }
30% { left:-100%; } 
40% { left:-150%; } 
50% { left:-200%; }
60% { left:-250%; }
70% { left:-300%; }
80% { left:-350%; }
90% { left:-400%; }
100% { left: 0%; }
}

@-o-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-50%; }
30% { left:-100%; } 
40% { left:-150%; } 
50% { left:-200%; }
60% { left:-250%; }
70% { left:-300%; }
80% { left:-350%; }
90% { left:-400%; }
100% { left: 0%; }
}
	
img.titles {
	width:220px;
	height:auto;
	padding:3px;
}

#slider { width:460px; height:410px; padding:0; box-shadow:0;}
#slider li { width:230px; padding:0; box-shadow:0;}
.slider-container { width:220px; margin:1px; padding:2px; }
.slider-container p { text-align:justify; font-size:1.2em; }
}

/********************************** Tablet ***********************************/
@media screen and (min-width: 769px) and (max-width: 959px) {
	
/* 3 Bilder = 1/3 Versatz */
@keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-webkit-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-moz-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-o-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}
		
img.titles {
	width:220px;
	height:auto;
	padding:5px;
}

#slider { width:720px; height:420px; padding:0; box-shadow:0;}
#slider li { width:240px; padding:0; box-shadow:0;}
.slider-container { width:220px; margin:3px; padding:3px; }
.slider-container p { text-align:justify; font-size:1.2em; }
}

/********************************** Desktop ***********************************/
@media screen and (min-width: 960px) {

/* 3 Bilder = 1/3 Versatz */
@keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-webkit-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-moz-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}

@-o-keyframes slide-animation {
0% { left: 0%; }
10% { left: 0%; }
20% { left:-33.3%; }
30% { left:-66.6%; } 
40% { left:-99.9%; } 
50% { left:-133.3%; }
60% { left:-166.6%; }
70% { left:-199.9%; }
80% { left:-233.3%; }
90% { left:-266.6%; }
100% { left: 0%; }
}
	
img.titles {
	width:300px;
	height:auto;
	padding:2px;	
}

#slider { width:950px; height:530px; padding:0; box-shadow:0;}
#slider li { width:316px; height:padding:0; box-shadow:0;}
.slider-container { width:300px; height: margin:3px; padding:2px; }
.slider-container p { text-align:justify; font-size:1.2em; }

}