/* -EL CAMPANARIO GALLERY STYLES- */
.container {
	width: 100% !important;
}

.gallery {
	background: #FFFFFF;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.gallery h2 {
	color: #9A7333;
	padding: 5px 0px;
}

.gallery h3 {
	color: #1C1C1C;
	padding: 5px 0px 25px 0px;
}

.gallery ul {
	position: relative;
	display: block;
	margin: 0px auto;
	text-align: center;
	padding: 30px 0px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.gallery li {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .5pt;
	color: #9A7333;
	background: #FFFFFF;
	border: 1px solid #9A7333;
	padding: 8px 16px;
	position: relative;
	display: inline-block;
	cursor: pointer;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.gallery li.active {
	color: #FFFFFF;
	background: #9A7333;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.gallery li:hover {
	color: #FFFFFF;
	background: #9A7333;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#masonryGrid {
	width: 100%;
	max-width: 1280px;
	padding: 20px 0px;
	display: flex;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.image-box {
	width: 25%;
	padding: 10px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.image-box img {
	width: 100%;
	opacity: .35;
	display: flex;
	box-shadow: none;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.image-box:hover img {
	opacity: 1;
	box-shadow: rgba(28, 28, 28, 0.25) 0px 5px 10px 0px;
	-webkit-box-shadow: rgba(28, 28, 28, 0.25) 0px 5px 10px 0px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.image-hover {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	display: block;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.image-hover a {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 1;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.image-hover:hover {
	opacity: 1;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.popup-box {
	position: relative;
	width: auto;
	max-width: 780px;
	margin: 0px auto;
	padding: 5px;
	background: #FFFFFF;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.popup-box img {
	width: 100%;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}




/* -MAX WIDHT 1200px- */
@media screen and (max-width: 1200px) {
	.image-box {
		width: 33.33%;
	}
}




/* -MAX WIDHT 768px- */
@media screen and (max-width: 768px) {
	.gallery ul {
		width: 80%;
	}

	.gallery li {
		margin: 10px 5px;
		font-size: 14px;
		padding: 8px 16px;
	}

	.image-box {
		width: 50%;
	}
}




/* -MAX WIDHT 680px- */
@media screen and (max-width: 680px) {
	.gallery ul {
		width: 100%;
	}

	.image-box {
		width: 100%;
	}
}