.column {
	display: inline-block;
	text-align: center;
}

figure {
	overflow: hidden;
}

a p {
	color: black;
	margin-top: 8px;
	font-family: 'Open Sans', sans-serif;
}

a:hover {
	text-decoration: none;
}

.column img {
	display: block;
	width: 100%;
	height: 300px;
}
.column#caption {
	position: relative;
}
.column#caption .text {
		position: absolute;		
    top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 10;
    opacity: 0;
    transition: all 0.8s ease;			
}
.column#caption .text h1 {		
		margin: 0;		
		color: white;
}
.column#caption:hover .text {
	opacity: 1;
	
}
.column#caption:hover img {
	-webkit-filter: sepia(90%);
}

.frame {
	text-align: center;	
	position: relative;
	cursor: pointer;	
	perspective: 500px; 
	margin-bottom: 20px;
}
.frame img {
	width: 100%;	
}
.frame .details h1 {
	font-size: 15px;
    line-height: 19px;
}
.frame .details p {
	font-size: 13px;
}
.frame .details {
	width: 80%;
    height: 90%;
    padding: 20px;
	position: absolute;
	content: "";
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotateY(90deg);
	transform-origin: 50%;
	background: rgba(35, 64, 143, 0.6);
    color: #fff;
	opacity: 0;
	transition: all 0.4s ease-in;
	
}
.frame:hover .details {
	transform: translate(-50%, -50%) rotateY(0deg);
	opacity: 1;
}
.modal-header .close {
	outline: none;
}
/* Media Queries */
@media (min-width: 1200px) {
	.team-modal {
	    max-width: 768px;
	}
}
@media(max-width: 767px) {
	.frame .details h1 {
	    font-size: 16px;
	}
	.frame .details p {
		font-size: 15px;
	}
	.frame {
		padding: 20px 100px;
	}
}
