/*=======================================
  GALLERY SECTION ANIMATION
  =======================================*/
.icon {
	position: relative;
	line-height: 0;
	margin-bottom: 2em;
	overflow: hidden;
	padding:1px;
	box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.7);
	-webkit-align-content: right;
    align-content: right;
}
.photo {
	position: relative;
	line-height: 0;
	margin-bottom: 2em;
	overflow: hidden;
	border-radius: 8px;
	padding:1px;
	border:2px solid #021a40;
	box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.7);
	-webkit-align-content: right;
    align-content: right;
}

.photo-container {
	text-align: center;
	margin: 15px auto;
	background-color: #ff0;
	width: 300px;
    height: 169px;
	-webkit-align-content: right;
    align-content: right;
}

.photo-container img {
 	max-width: 100%;
	width: 300px;
	height: 169px;
}

.photo-overlay {
	color: #fff;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0; 
	left: 0;
	padding-left: 20px;
	padding-right: 20px;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0, .5);
}

.white-head {
	color: #C9BDAA;
	margin-top: 5%;
}

/* ================================= 
  Photo Overlay Transitions
==================================== */

.photo-overlay {
	opacity: 0;
	transition: opacity .5s;
	border-radius: 10px;
	cursor: pointer;
}
.photo-overlay:hover {
	opacity: 1;
}

.photo img {
	transition: transform .5s;
	transform-origin: 50% 50%;
}

.photo:hover img {
	transform: scale(1.1);
}

.icon img { 
	transition: transform .5s;
	transform-origin: 50% 50%;
}

.icon:hover img {
	transform: scale(1.1);
}
