@keyframes slider {     
  
  0% { left: 0px; opacity: 1; }           
 23% { left: 0px; opacity: 1; }     
    
  28% { left: -800px; opacity: 1; }     
  56% { left: -800px; opacity: 1; } 
   
  61% { left: -1600px; opacity: 1; }    
  89% { left: -1600px; opacity: 1; } 
    
  94% { left: -2400px; opacity: 1; }   	

/*    	
	 Different method of sliding 
	 0% { transform: translateX(0px); }
	23% { transform: translateX(0px); }
		
	
	28% { transform: translateX(-800px); }
	56% { transform: translateX(-800px); }
	
	61% { transform: translateX(-1600px); }
	89% { transform: translateX(-1600px); }
	
	94% { transform: translateX(-2400px); }
		
	94.01% { transform: translateX(0px); }
*/  
} 

body { background: #fff; } 

div#slidercontainer { 
  position: relative; 
  overflow: hidden; 
  background: #000;
  width: 800px; 
}
div#slidercontainer { 
  width: 800px;
  height: 250px; 
}

div#slider img { 
  width: 800px;
  height: 250px; 
  float: left; 
}

div#css3slider { 
  position: absolute; 
  width:3600px; 
  animation-name:slider;
  animation-duration:10s;
  animation-timing-function: ease-in-out; 
  animation-iteration-count:infinite;
}

div#css3slider:hover { 
  animation-play-state:paused; }
}


div#css3slider img { 
  float: right ;  
  width: 800px;
}
 

div#slidercontainer:after { 
  content: "||"; 
  font-size: 30px; 
  position: absolute; 
  z-index: 12; 
  color: rgba(255,255,255, 0); 
  left: 770px; top: 210px; 
  transition: 0.5s ease-out; 
}

div#slidercontainer:hover:after { 
  color: rgba(255,255,255, 0.6);  
}



/* -------- Fading animation 

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {left: 0px;}
  to {left: 500px;}
  
  from {opacity: .4} 
  to {opacity: 1}

  
}

@keyframes fade {
  from {left: 0px;}
  to {left: 200px;}
  
  from {opacity: .4} 
  to {opacity: 1}

}

*/

/* On smaller screens, decrease text size */
/*
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}



/* ####### Collapsible content #######
body {
  background: #fff;
}

.container {
  margin: 0px auto;
  width: 800px;
  height: 250px;
  overflow: hidden;
  border: 0px solid;
  border-top-color: #856036;
  border-left-color: #5d4426;
  border-bottom-color: #856036;
  border-right-color: #5d4426;
  position: relative;
}

.photo {
  position: absolute;
  animation: round 16s infinite;
  opacity: 0;
}

@keyframes round {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
img:nth-child(1) {
  animation-delay: 12s;
}

img:nth-child(2) {
  animation-delay: 8s;
}

img:nth-child(3) {
  animation-delay: 4s;
}

img:nth-child(4) {
  animation-delay: 0s;
}

 
.contentbox {
   position: relative;
  margin: auto;
  }