.overlay {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -moz-linear-gradient(top, transparent 1%, transparent 32%, rgba(0,0,0,0.2) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, transparent), color-stop(32%, transparent), color-stop(100%, rgba(0,0,0,0.2)));
  background: -webkit-linear-gradient(top, transparent 2%, transparent 32%, rgba(0,0,0,0.2) 100%);
  background: -o-linear-gradient(top, transparent 2%, transparent 32%, rgba(0,0,0,0.2) 100%);
  background: -ms-linear-gradient(top, transparent 2%, transparent 32%, rgba(0,0,0,0.2) 100%);
  background: linear-gradient(to bottom, transparent 2%, transparent 32%, rgba(0,0,0,0.2) 100%);
}


.GalGrid {
	margin: 0;
	padding:  0;
	list-style: none;
	position: relative;
	width: 100%;
	font-family: 'Pragati Narrow', sans-serif;
}

.GalGrid li {
	position: relative;
	float: left;
	overflow: hidden;
	width: 33%; /* Fallback */
}

.GalGrid li a,
.GalGrid li a img {
	display: block;
	width: 100%;
	cursor: pointer;
}

.GalGrid li a img {	max-width: 100%;
      filter: grayscale(0%);
      -webkit-filter: grayscale(0%);  /* For Webkit browsers */
      filter: gray;  /* For IE 6 - 9 */
      -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

.GalGrid li a:hover img{
      filter: grayscale(100%);
      -webkit-filter: grayscale(100%);

      -webkit-transform:scale(1.2);-moz-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2);-webkit-transition:filter 0.6s, -webkit-transform 0.6s;transition:filter 0.6s, transform 0.6s;-webkit-backface-visibility:hidden;-webkit-perspective:1000
            filter: none;
            -webkit-transition: all .6s ease;
}


/* Flexbox is used for centering the heading */
.GalGrid li a div {
	position: absolute;
	left: 1px;
	top: 1px;
	right:1px;
	bottom:1px;
	background: rgba(33,33,33,0.2);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
 text-shadow: 2px 1px #000;
}

.GalGrid li a:hover div {
	opacity: 1; 
}


.GalGrid li a div h3 {
	width: 100%;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.4em;
	letter-spacing: 2px;
	padding: 0 10px;
	
}

.desc {
	font-size: 10px;}


.GalGrid li {border-right: 1px solid #fff;border-bottom: 1px solid #fff;}
/*BORDER FIX*/
.GalGrid li:last-child a {border: none;}

/* Example for media query: change number of items per row */



@media screen and (max-width: 1200px) {
	.GalGrid li {
		width: 33.0% /* Fallback */
		
	}
}

@media screen and (max-width: 900px) {
	.GalGrid li {
		width: 49.8% /* Fallback */
	}
}



@media screen and (max-width: 750px) {
	.GalGrid li {
		width:100%;
	}
}



