.gallery_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: .3s ease;
  transition: .3s ease;
}

.gallery_container:hover .gallery_overlay {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.gallery {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.gallery_container {
  position: relative;
  margin: 0;
  padding: 0;
  text-align:center
}

.gallery_container img {
  -moz-filter:none;
	-ms-filter:none;
	-o-filter:none;
	filter:none;
}
.gallery_container:hover img {
  -moz-filter:grayscale(1);
	-ms-filter:grayscale(1);
	-o-filter:grayscale(1);
	filter:grayscale(1);
}

.gallery_image {
  display: block;
  width: 100%;
  height: auto;
  
}


.hiddenPic {
	display:none;
}

.photo_gallery_thumb_container {
	width:107px;
	height:107px;
	padding:10px;
}

.photo_gallery_thumb_shade {
	width:100px;
	height:75px;
	padding:0;
	background-color:red;
	z-index:2;
}

.photo_gallery_thumb_image {
	z-index:1;
}

#photo_gallery_photo_name {
	margin:auto;
	text-align:center;
	padding:10px;
}

#photoholder {
	position:relative;
	padding-top:20px;
	margin-top: 50px auto;
}

#slideshow_previous {
	position:absolute;
	top:0;
	left:0;
	width:50%;
	height:100%;
	z-index: 999;
}

#slideshow_next {
	position:absolute;
	top:0;
	right:0;
	width:50%;
	height:100%;
	z-index: 999;
}

span.previous_loop {
	position:absolute;
	top:45%;
	left:0;
	font-family:'Roboto',sans-serif;
	color:#333;
	font-size:60px;
	font-weight:100;
	text-decoration:none!important;
	text-shadow:2px 2px 0 #fff;
	opacity: .25
}

span.next_loop {
	position:absolute;
	top:45%;
	right:0;
	width:50px;
	height:50px;
	font-family:'Roboto',sans-serif;
	color:#333;
	font-size:60px;
	font-weight:100;
	text-decoration:none!important;
	text-shadow:2px 2px 0 #fff;
	opacity: .25
}

#return_button {
	position:absolute;
	bottom:5px;
	left:50px;
}

.cat_name {
	color: white;
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
	text-shadow: 1px 1px 2px black;
	text-align: center !important
}