/**
 * All of the CSS for public-facing functionality
 */


.grid {
	position: relative;
	margin: 0 auto;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	cursor: pointer;
	margin-bottom: 20px; /* to help with positioning of download icon */
}

.listview .grid figure {
	width: 99%;
}

.listview .grid {
	text-align: left;
}

.grid figure img {
	position: relative;
	display: block;
	max-width: 100%;
}

.grid figure figcaption {
	padding: 0.5em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

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

.grid figure figcaption,
.grid figure figcaption > 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 figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h6 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h6 span {
	font-weight: 800;
}

.grid figure h6,
.grid figure p {
	margin: 0;
}

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



 /* ---------------------------------------
	jig
--------------------------------------- */
.justified-gallery img {
    padding: 4px !important;
}

.justified-gallery a {
	border-bottom: 0 !important;
}


.grid {
	width:100%;
}

/*.grid .thumbnail {
	width:30%;
	float: left;
}*/

/* Image border */
/*.grid img  
{
	margin: 5px;
	padding: 5px;
	border: 1px solid #efefef;
	background: #fff;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
}*/
.details ul {
	margin: 0;
	padding: 0;
}
.details li {
	list-style: none;
	margin-left: 0 !important;
}

li.details {
	font-size: small;
}



 /* -----------------------------