/* CSS Document */

#gallery {
	width:auto;
	margin:-95px auto;
	}

#gallery a {
	text-decoration:none;
	}

#gallery .item a { 
    overflow: hidden;
	}

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

.lightbox {
	/** Hide the lightbox */
	display: none;
	
	/** Apply basic lightbox styling */
	position: fixed;
	z-index: 9999;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	color:#333333;
	}

.lightbox:target {
    /** Show lightbox when it is target */
    display: block;
    outline: none;
}

.lightbox .box {
  	width: auto;
 	margin: 2% 12%;
	padding:10px 15px 15px 15px;
	background-color:#FFF;
	border-radius: 2px !important;
	box-shadow: 0px 2px 33px rgba(0, 0, 0, 0.33); 
	}

.lightbox .title {
	margin:0;
	padding:0 0 20px 0px;
	}

.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;
	transition: opacity ease-in-out 0.5s;
	}	
	
.lightbox .content:hover .desc	{
	opacity:1;
}

.lightbox .close {
	display:block;
	text-decoration:none;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size:38px;
	color:#444;
	}

.prev {
	float:left;
	}

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