@charset "utf-8";
/*CSS DOCUMENT*/

/*PHOTO GALLERY MAIN CONTENT*/

.FeaturedPhotosWrapper > h1 {
	color: #1881A4;
	position:relative;
	font-family: 'Open Sans', sans-serif;
	margin:0 auto;
	padding: 15px 0px 15px 0px;
	text-align: center;
}
.FeaturedPhotosWrapper{
	width: 85%;
	margin: 0 auto;
	overflow: hidden;
}
.PhotoGalleryWrapper1{
	font-family: 'Open Sans', sans-serif;
	width: 85%;
	margin: 0 auto;
	overflow: hidden;
}
.PhotoGalleryBlock{
	width: 25%;
	padding-bottom: 25%;
	color: #FFFFFF;
	position: relative;
	float: left;
	background: #FFF;
}
a.BlockInnerContent{
  	position: absolute;
	left: 10px;
	right: 10px;
	top: 10px;
	bottom: 10px;
	background: #CCCCCC;
	overflow: hidden;
}
a.BlockInnerContent > img{
  	height: 100%;
}
/** LIGHTBOX MARKUP **/

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

/*RESPONSIVE RULES*/

@media (min-width: 0px) and (max-width: 420px) {
.PhotoGalleryBlock{
	width: 100% !important;
	padding-bottom: 100% !important;
}
}
@media all and (max-width: 640px) {
.PhotoGalleryBlock{
	width: 50%;
	padding-bottom: 50%;
}
}
@media (min-width: 641px) and (max-width : 768px) {
.PhotoGalleryBlock{
	width: 50%;
	padding-bottom: 50%;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
.PhotoGalleryBlock{
	width: 33%;
	padding-bottom: 33%;
}
}
