#lightbox {
	margin: 10px auto;
	//width: 520px; 
}
#lightbox h3 {
	text-transform: uppercase;
	text-align: center;
	padding-top: 30px;
	//padding-bottom: 20px;
	margin: 20px;
	color: #fff;
	//background: rgba(255, 255, 255, 0.1);
}
#lightbox p {
	text-transform: uppercase;
	text-align: center;
	//padding: 10px;
	margin: 20px;
	color: #fff;
	//background: rgba(255, 255, 255, 0.1);
}
#lightbox hr {
	max-width: 50px;
	color: #fff;
}
#lightbox ul {
	overflow: hidden;
}

@media only screen and (max-width: 768px) {
	#lightbox {
		margin: 10px auto;
		width: 100%; 
	}
}

/*Image styles*/
#lightbox ul li {
	float: left;
	padding: 10px;
	background: #fff;
	list-style-type: none;
	position: relative;
	cursor: pointer;
}
@media only screen and (max-width: 768px) {
	#lightbox ul li {
		width: 100%; 
	}
}

/*No right margin for images in the 2nd column*/
#lightbox ul li:nth-child(even) {
	margin-right: 0;
}
#lightbox ul li img {
	display: block;
}

/*Image titles*/
#lightbox .image_title {
	width: 350px; height: 263px;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 10px;
	left: 10px;
	display: table;
	/*Hover effect - default state*/
	opacity: 0;
	transition: all 0.5s;
}
#lightbox .title {
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	text-align: center;
	/*Vertical center align*/
	display: table-cell;
	vertical-align: middle;
	/*Hover effect - default state*/
	transform: scale(0.2);
	transition: all 0.25s;
}
@media only screen and (max-width: 768px) {
	#lightbox .image_title {
		width: 100%; 
	}
}

/*Zoom icon over each title using iconfont and pseudo elements*/
#lightbox .title::before {
	color: #fff;
	opacity: 0.5;
	display: block;
	line-height: 36px;
}
/*Hover states*/
#lightbox li:hover {
	//box-shadow: inset 0 0 10px 1px rgba(0, 0, 0, 0.75);
}
#lightbox li:hover .image_title {
	opacity: 1;
}
#lightbox li:hover .title {
	transform: scale(1);
}

/*Lightbox element style*/
.lb_backdrop {
	background: rgba(0, 0, 0, 0.9);
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
}
/*The canvas contains the larger image*/
.lb_canvas {
	background: white;
	width: 50px; height: 50px;
	position: fixed;
	top: 0; left: 0; /*Will be centered later by Jquery*/
	//box-shadow: 0 0 20px 5px black;
	padding: 10px;
}
/*A separate class for loading GIF, for easy Jquery handling*/
.lb_canvas.loading {
	background: white url("http://thecodeplayer.com/uploads/media/loading.gif") center center no-repeat;
}
/*Lightbox Controls*/
.lb_controls {
	width: 400px; 
	background: rgba(0, 0, 0, 0.75);
	position: fixed;
	bottom: 10px;
	color: white;
	/*To horizontally center it*/
	left: 0; right: 0; margin: 0 auto; 
}
.lb_controls span {
	line-height: 30px;
	height: 30px;
}
.lb_controls span.inactive {
	opacity: 0.25;
}
.lb_previous, .lb_next {
	position: absolute;
	top: 0;
	padding: 5px 12px;
	font-family: websymbols;
	font-size: 14px;
	background: black;
	cursor: pointer;
}
.lb_previous {
	left: 0;
	//border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.lb_next {
	right: 0;
	//border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.lb_title {
	text-align: center;
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	padding: 5px 0;
	font-weight: bold;
}