#memory_photos
{
	margin: 1px auto 10px;
	width: 100%;
	position: relative;
	padding: 1% 0 0%;
}
#memory_photos UL
{
	margin: 0 auto;
	vertical-align: top;
	text-align: center;
	max-width: 1600px;
}
#memory_photos LI
{
	display: inline-block;
	vertical-align: top;
	align-content: center;
	text-align: center;
	width: 20.5%;
	margin: 2%;
	text-transform: uppercase;
}
.memory_photos_container
{
	position: relative;
}
.memory_photos_container_image
{
	display: block;
	width: 100%;
	height: auto;
}
.memory_photos_overlay
{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.786);
	overflow: hidden;
	width: 100%;
	height: 0px;
	transition: 0.5s ease;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
.memory_photos_container:hover .memory_photos_overlay
{
	height: 100%;
}
.memory_photos_text
{
	color: white;
	font-size: 1.1em;
	padding: 10px 20px;
}
@media screen and (max-width: 1600px)
{
	#memory_photos LI
	{
		display: inline-block;
		vertical-align: top;
		align-content: center;
		text-align: center;
		width: 27.5%;
		margin: 2%;
		text-transform: uppercase;
	}
}
@media screen and (max-width: 1200px)
{
	#memory_photos LI
	{
		display: inline-block;
		vertical-align: top;
		align-content: center;
		text-align: center;
		width: 41.5%;
		margin: 2%;
		text-transform: uppercase;
	}
}
@media screen and (max-width: 800px)
{
	#memory_photos LI
	{
		display: inline-block;
		vertical-align: top;
		align-content: center;
		text-align: center;
		width: 86.5%;
		margin: 2%;
		text-transform: uppercase;
	}
}
