@keyframes slidy {
	0% { left: 0%; }
	7% { left: 0%; }
	14% { left: -100%; }
	21% { left: -100%; }
	28% { left: -200%; }
	35% { left: -200%; }
	42% { left: -300%; }
	49% { left: -300%; }
	56% { left: -400%; }
	63% { left: -400%; }
	70% { left: -500%; }
	77% { left: -500%; }
	84% { left: -600%; }
	91% { left: -600%; }
}

div#slider { overflow: hidden; width: 320px; max-width:100%; float:left; margin-bottom:120px;}

div#slider figure div calendar {
	width: 100%;
	height: 40px;
	display: block;
	font-size: 25px;
	background-color: #CF2A07;
	margin-bottom: 15px;
	font-weight: bold;
	text-align: center;
}

div#slider figure div {
	float: left;
	width: 300px;
	max-width: calc(20% - 20px);
	height: 300px;
	margin: 10px;
	padding: 20px;
	border: 1px solid #684554;
	border-radius: 5px;
	box-shadow: 2px 3px #3A262F;
	background-color: #9A2A12;
	font-size: 18px;
	color: white;
}
  
div#slider figure {
	position: relative;
	width: 2240px;
	max-width: 700%;
	margin: 0;
	left: 0;
	text-align: left;
	animation: 40s slidy infinite;
}

.showtwo {
	display: block;
}

.showthree {
	display: block;
}
  
@media only screen and (max-width: 1200px) {
.showthree {
  display: none;
}
.showfootthree {
  display: none;
}
}

@media only screen and (max-width: 1024px) {
.showtwo {
  display: none;
}	
.showfoottwo {
	display: none;
}  
}

@keyframes slidyPast {
	0%  { color: gray; }
	95% { color: gray; }
}

@keyframes slidyNow {
	0% { color: white; }
	20% { color: white; }
	40% { color: gray; }
	95% { color: gray; }
}

@keyframes slidyFuture {
	0%  { color: gray; }
	20% { color: gray; }
	25% { color: white; }
	95% { color: white; }
}
