html { 
  	box-sizing: border-box; 
	padding: 0;
	margin: 0;	
} 

*, ::before, ::after { 
	box-sizing: inherit; 
}

.gallery{
  color: #FFFFFF;
  font-family: "Arial", sans-serif;
}

  /* slide in captions found @http://css-tricks.com/slide-in-image-captions/ */
figure { 
  padding:0; 
  margin:0 -20px;;
  display: block; 
  position: relative; 
  overflow: hidden; 
}

figure:before { 
  content: "."; 
  position: absolute; 
  background: rgba(0,0,0,0.75); 
  color: #000000;
  width: 14px;
  height: 14px;
  bottom:10px; left:10px;
  border-radius: 7px;
  text-align: center;
  font-size: 7px;
  line-height: 10px;
  transition: all 2.6s ease;
  opacity: 0.75;  
}
figure:hover:before {
  opacity: 0;
}

figcaption { 
  position: absolute; 
  background: rgba(0,0,0,0.75); 
  color: white; 
  padding: 0px 20px;
  width:100%; 
  opacity: 0;
  top: -20%
/*----- bottom: -20%; ----------*/
  left: 0;
  transition: all 2.6s ease;
}

figcaption p {
  margin: 7px 7px 0;
  padding: 0;
}


figure:hover figcaption {
  opacity: 1;
  top: 0;
  /*--- bottom: 0; --*/
}




