

.imageGrid 
{
  line-height: 0;
}

.imageGrid .tile 
{
  width:calc(25% - 41px); /* size of image */
  min-height:30em; /* size of image */
  line-height: 1.2;
  display:inline-block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: 5px solid #12222f;
  overflow: visible;
  position: relative;
  left: 150px;
  color:#fff;
  font-family:"Verdana",sans-serif;
  text-shadow: 2px 2px 2px #000;
  cursor: pointer; 
  cursor: hand;
}

/* Image container */
.imageGrid .tile:before 
{
  content: '';
  display: block;
  width: auto;
  height: 100%;
  z-index: 0;
  position: absolute;
}

/* Image shadow -- puts the black filter over picture when hovered*/
.imageGrid .tile:hover:before 
{
  display: block;
  background-color: rgba(15,15,15,0.5);
}

/* Name */
.imageGrid .tile .textWrapper 
{
  text-align: center;
  vertical-align: middle;
  width: 100%;
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: .75em;
  background-color: rgba(15,15,15,0.5);
}

/* Hides the information */
.imageGrid .tile .textWrapper .content 
{
  display: none;
}

/* Information */
.imageGrid .tile:hover .textWrapper .content 
{
  display: block;
  text-shadow: none;
  position: absolute;
  top: -200%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 15px;
}

.imageGrid .tile:hover .textWrapper .content h2 
{
  margin: 0;
}

/* Tablet and phone adjustments */
/* -----------------------------*/
@media (max-width: 1000px) 
{
  .imageGrid .tile 
  {
    width: 50%;
	left: 0px;
  }
}
 
@media (max-width: 700px) 
{
  .imageGrid .tile 
  {
    width: 100%;
	left: 0px;
  }
  
}
/* Style based on one found at https://codepen.io/Ketziel/pen/peAdK */
