/*slide*/

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }	
}

figure { 
  margin: 0;
  font-family: 'britannic';
  font-weight: 100;
}
div#captioned-gallery { 
  width: 100%; overflow: hidden;
}
figure.slider { 
  position: relative; width: 500%;
  font-size: 1vw; animation: 30s slidy infinite; 
}
figure.slider figure { 
  width: 20%; height: auto;
  display: inline-block;  position: inherit; 
}
figure.slider img { width: 100%; height: auto; }
figure.slider figure figcaption { 
  position: absolute; bottom: 35%;
  background: rgba(256,256,256,0.6);
  color: #333; width: 50%;
  font-size: 120%; padding: 1%;
	font-weight: bold;
  text-align: left;
}



@media (max-width: 0px)  {
	figure.slider figure figcaption { font-size: 150%; padding: 1%;}
	figure.slider { margin-top: 8%;position: relative; width: 500%;}
    figure.slider figure {  width: 30%; }
}


@media (max-width: 960px)  {
	div#captioned-gallery { 
		width: 100%; overflow: hidden; display: none;}
}




/*Fine slide*/	