/* CSS Document */


#gallery {
	width:100%;
	margin:0 auto;
	text-align: center;
	}

#gallery a {
	text-decoration:none;
	}

#gallery .item {
	width: 150px; height: 150px; 
	overflow: hidden;
	background-color: white;
	display: inline-block;
	border: #C5C5C5 1px solid;
	margin: 10px;
	padding: 10px;
}

#gallery .item:hover {
	border: #606060 1px solid;
	}

#gallery .item a { 
    overflow: hidden;
	}

#gallery .item a img {
	height: 100%; 
	align-self: center;
	}

.lightbox {
	/** Hide the lightbox */
	opacity: 0;
	
	/** Apply basic lightbox styling */
	position: fixed;
	z-index: -9999;
	width: 100%;
	height: 100%;
	top: -100%;
	left: 0;
	color:gray;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	-webkit-transition: z-index 0s ease-in-out;
	-moz-transition: z-index 0s ease-in-out;
	-o-transition: z-index 0s ease-in-out;
	transition: z-index 0s ease-in-out;
	background:rgba(255,255,255,.7);
	text-align:center;
	}
	
.lightbox img {
	margin: 10px 0;
}

/** Show lightbox when it is target */
.lightbox:target {
	opacity: 1;
	outline: none;
	top: 0;
	z-index: 9999;
	/*-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	-webkit-transition: z-index 0s ease-in-out;
	-moz-transition: z-index 0s ease-in-out;
	-o-transition: z-index 0s ease-in-out;
	transition: z-index 0s ease-in-out;*/
}

.lightbox .box {
  	width: -webkit-min-content;
  	width: -moz-min-content;
  	width: min-content;
	min-width:280px;
 	margin: 3% auto;
	padding:10px 20px 10px 20px;
	background-color:#FFF;
	box-shadow: 0px 1px 26px -3px #777777; 
	}

.lightbox .title {
	margin:0;
	padding:0 0 10px 0px;
	border-bottom:1px #ccc solid;
	font-size:1.2em;
	}

.lightbox .content {
	display:block;
	position:relative;
	}
	
.lightbox .content .desc {
	z-index:99;
	bottom:0;
	position:absolute;
	padding:10px;
	margin:0 0 4px 0;
	background:rgba(0,0,0,0.8);
	color:#fff;
	font-size:17px;
	opacity:0;
	text-align: left;
/*	transition: opacity ease-in-out 0.5s;
*/	}	
	
.lightbox .content:hover .desc	{
	opacity:1;
}

.lightbox .next,
.lightbox .prev {
	display:block;
	text-decoration:none;
	font-size:1.2em;
	color:gray;
	}
	
.lightbox .close {
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	display:block;
	text-decoration:none;
	font-size:1.5em;
	padding: 4px;
	line-height: 2em;
	color:gray;
	}

.prev {
	float:left;
	}

.next, .close {
	float:right;
	}
	
.clear {
	display:block;
	clear:both;
	}