.pageTitle {
display: block;
margin: 0 0 0.2em 0;
color: #3CA0D0;
line-height: 1em;
font-size: 2.2em;
}

.pageSubtitle {
display: block;
margin: 0 0 0.4em 0;
color: #333;
line-height: 1em;
font-size: 1.4em;
}

/* EFFECTS
===================================================== */
.roundedCorners {
	-webkit-border-radius: 5px;
    border-radius: 5px;
}

.roundedCornersTop {
	-webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.roundedCornersBottom {
	-webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

.boxShadow {
	-webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.25);
	box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

/* LAYOUT
===================================================== */
.wrapper {
margin: 20px auto;
width: 600px;
}

.top {
padding: 20px 0;
width: 100%;
min-height: 300px;
text-align: center;
}
	
.main {
margin: 5% 0;
padding: 2% 2% 5% 2%;
width: 96%;
border-bottom: solid 1px #ccc;
background: none;
}
	
	
	
/* GALLERY
===================================================== */
.galleryItem {
position: relative;
display: inline-block;;
margin: 0 13px;
padding: 0;
width: 250px;
height: 250px;
-webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.25);
box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.galleryItem img {
width: 250px;
height: 250px;
}

.caption {
position: relative;
z-index: 10;
display: inline-block;
width: 250px;
height: 250px;

}

.caption::before {
	content: attr(data-title);
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 250px;
	height: 0;
	color: #feb600;
	background: rgba(8,37,105,0.5);
	line-height: 1.4em;
	font-weight: 300;
	font-size: 60px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.caption::after {
content: attr(data-description);
position: absolute;
bottom: -0;
left: 0;
width: 250px;
height: 0;
overflow: hidden;
color: #fff;
background: #0a93ef;
line-height: 1.4em;
font-weight: 300;
font-size: 30px;

-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}

.caption:hover::before {
	height: 125px;
}

.caption:hover::after {
	bottom: 0;
	height: 125px;
}