#gallery {
	width:100%;
	float:left;
	margin:0 auto;
	}

#gallery a {
	text-decoration:none;
	}
	#gallery .item {
		width: 65%;
		float: left;
		padding: 0 0px 11px;
	}


#gallery .item a { 
    overflow: hidden;
	}

#gallery .item a img {
	height: auto; 
	align-self: center;
	margin-top: 0; margin-bottom:0;
	}

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

/* #gallery1 {
	width:550px;
	margin:0 auto;
	} */

#gallery1 a {
	text-decoration:none;
	}

	#gallery1 .item {
		width: 80%;
		float: none;
		padding: 0 5px;
		margin: 0 auto;
	}

#gallery1 .item a { 
    overflow: hidden;
	}

#gallery1 .item a img {
	height: auto; 
	align-self: center;
	margin-top: 0; margin-bottom:20px;
	}
/*-------------------*/

#gallery2 {
    /* width: 550px; */
    margin: 0 auto;
    text-align: center;
    width: 100%;
    float: left;
    /* text-align: center; */
}

#gallery2 a {
	text-decoration:none;
	}

#gallery2 .item {
	width:50%; float:left; padding: 0 5px;
	}


#gallery2 .item a { 
    overflow: hidden;
	}

#gallery2 .item a img {
	height: auto; 
	align-self: center;
	margin-top: 0; margin-bottom:0;
	}
/*-------------------*/


.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: -webkit-min-content;
  	width: -moz-min-content;
  	width: min-content;
	min-width:600px;
 	margin: 2% auto;
	padding:10px 20px 10px 20px;
	background-color:#FFF;
	box-shadow: 0px 1px 26px -3px #777777; 
	}

.lightbox .title {
	margin:0;
	padding:0;
	font-size:22px;
	}

.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 .next,
.lightbox .prev{
	background: #333 none repeat scroll 0 0;
    color: #fff;
    display: block;
    font-size: 16px;
    padding: 5px;
    text-decoration: none;
	}
.lightbox .close1 {
	background: #333 none repeat scroll 0 0;
    border-radius: 37px;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 8px 2px;
    text-decoration: none;
	}

.prev {
	float:left;
	}

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