/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid {
	overflow:hidden;
	position: relative;
	clear: both;
	margin: 0px auto;
	list-style: none;
}

.grid-item	{
	float: left;
	background:transparent;
}

.grid-item-container	{
	position:relative;
	margin:4px;
	overflow:hidden;
}

.grid-item-container img {
	position: relative;
	display: block;
	min-height: auto;
	max-width: 100%;
}

.grid-item-container figcaption {
	padding: 1em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
}

.grid-item-container figcaption::before,
.grid-item-container  figcaption::after {
	pointer-events: none;
}

.grid-item-container figcaption,
.grid-item-container   > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */

.grid-item-container   > a {
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
	z-index:99;
}

.grid-item-container figcaption h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid-item-container figcaption h2 span {
	font-weight: 800;
}

.grid-item-container figcaption h2,
.grid-item-container figcaption p {
	margin: 0;
}

.grid-item-container figcaption p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* ---- .pinterest ---- */

.pinterest figcaption {
	position: relative;
	width: 100%;
	height: 100%;
	}
		
 .pinterest  {
	/* background: #FEFEFE; */
	box-shadow: 0px 1px 2px rgba(6, 6, 6, 0.81);
	margin: 4px;
	padding: 15px 15px 0px;
	background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.63), rgba(206, 206, 206, 0.4)) repeat scroll 0% 0%;
	background: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.63), rgba(206, 206, 206, 0.4)) repeat scroll 0% 0%;
	background: transparent -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.63), rgba(206, 206, 206, 0.4)) repeat scroll 0% 0%;	
}

 .pinterest img {
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;
	margin-bottom: 5px;
}

.pinterest figcaption {
    padding: .4em;
}

.pinterest figcaption h2 {
	font: 16px/20px Arial, sans-serif;
	color: #333;
	margin: 0px 0px 10px 0px;
	padding:0;
	}

.pinterest figcaption p {
	font: 12px/18px Arial, sans-serif;
	color: #333;
	padding:0;
	}

/* ---- .imagegrid ---- */	
	
.imagegrid img {
	width: 100%;
	padding-bottom: 0px;
	margin-bottom: 5px;
}

.imagegrid figcaption p {
    display: block;
    padding: 10px;
    background: #666 none repeat scroll 0% 0%;
    font: 12px/18px Arial,sans-serif;
    color: #FFF;
    margin: 40px 0 0 0;
}
		
.imagegrid figcaption h2 {
    border-radius: 2px;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    color: #F00;
    background: #FFF none repeat scroll 0% 0%;
    text-transform: uppercase;
    padding: 1px 10px 0px;
    font-weight: 200;
}

/* ---- .apollo ---- */	

.apollo	{
	background: rgba(252, 252, 252, 0.15) none repeat scroll 0%;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.68);
	margin: 4px;
	padding: 10px 10px 5px 10px;
	}

.apollo img {
	width: 100%;
	padding-bottom: 0px;
	margin-bottom: 5px;
}

.apollo figcaption p {
    display: block;
    padding: 10px;
    background: #666 none repeat scroll 0% 0%;
    font: 12px/18px Arial,sans-serif;
    color: #FFF;
    margin: 0px;
}
		
.apollo figcaption h2 {
	display:none;
    border-radius: 2px 8px 2px 8px;
    position: absolute;
	right:30%;
    left: 30%;
    font-size:16px;
    color: #F00;
    background: #FFF none repeat scroll 0% 0%;
    text-transform: uppercase;
	text-align:center;
    padding: 6px;
    font-weight: 200;
}
