/* ----- Image grids ----- */
.zoom-container, .zoom-container-size
{
	position: relative;
	overflow: hidden;
	display: inline-block;
	width: 25%;
	font-size: 16px;
	font-size: 1rem;
	border: 5px solid transparent;
	vertical-align: top;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.zoom-container img,.zoom-container-size img
{
	display: block;
	width: 100%;
	height: auto;
	-webkit-transition: all .5s ease; /* Safari and Chrome */
	-moz-transition: all .5s ease; /* Firefox */
	-ms-transition: all .5s ease; /* IE 9 */
	-o-transition: all .5s ease; /* Opera */
	transition: all .5s ease;
}

.zoom-container .zoom-caption,
.zoom-container-size .zoom-caption
{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	background: rgba(0, 0, 0, .5);
	-webkit-transition: all .5s ease; /* Safari and Chrome */
	-moz-transition: all .5s ease; /* Firefox */
	-ms-transition: all .5s ease; /* IE 9 */
	-o-transition: all .5s ease; /* Opera */
	transition: all .5s ease;
}

.zoom-container .zoom-caption h3,
.zoom-container-size .zoom-caption h3
{
	display: block;
	text-align: center;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.5em;
	font-weight: 900;
	letter-spacing: -1px;
	text-transform: uppercase;
	color: #fff;
	margin: 23% 0 0;
	padding: 10px 0;
	border-top: 5px solid rgba(255, 255, 255, .15);
	border-bottom: 5px solid rgba(255, 255, 255, .15);
}

.zoom-container:hover img
{
	-webkit-transform:scale(1.25); /* Safari and Chrome */
	-moz-transform:scale(1.25); /* Firefox */
	-ms-transform:scale(1.25); /* IE 9 */
	-o-transform:scale(1.25); /* Opera */
	transform:scale(1.25);
}

.zoom-container:hover .zoom-caption,
.zoom-container-size:hover .zoom-caption
{
	background: none;
}


/* grid effects */

#tab_events, #tab_graphicdesign, #tab_photography
{
	list-style: none;
	font-size: 0px;
	margin: 0 -10px 0 0;
}

#tab_events .item, #tab_graphicdesign .item, #tab_photography .item
{
	position: relative;
	-webkit-flex: 1 0 25%;
	flex: 1 0 25%;
	overflow: hidden;
	outline: none;
	width: 25%;

	border: 5px solid #2a2e39;
	border-width: 0 5px 10px;
}

/* grid style */

.grid
{
	margin: 0 auto;

	position: relative;
	overflow: hidden;
	font-size: 1rem;
	vertical-align: top;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.grid-sizer,
.grid-item
{
	width: -webkit-calc(25% - 10px);
	width: calc(25% - 10px);
	margin-bottom: 10px;
}

@media (max-width: 1400px)
{
	.grid-sizer, .grid-item
	{
		width: -webkit-calc(33.3333333333333333% - 10px);
		width: calc(33.3333333333333333% - 10px);
	}
}

@media (max-width: 947px)
{
	.grid-sizer, .grid-item
	{
		width: -webkit-calc(50% - 10px);
		width: calc(50% - 10px);
	}
}

@media (max-width: 480px)
{
	.grid-sizer, .grid-item
	{
		width: -webkit-calc(100% - 10px);
		width: calc(100% - 10px);
	}
}


/* vim: set ts=2 sw=2 smarttab: */
