.x-gallery-outer {
	border: 0;
	text-align: center;
	width:100%;
}
.x-gallery {
	list-style:none;
	margin:0;
	padding:0;
	border: 0;
	text-align:justify;
}
.x-gallery li {
	float:left;
	position:relative;
	width: 32%;
	margin-right:2%;word-break:break-all;overflow:hidden;height:239px;
}
.x-gallery li:nth-child(3) {margin-right:0px;}
.x-gallery li:last-child {margin-right:0px;display:none;}
.x-gallery .photo img {
	width: 100%;
	height: auto;
	transform:scale(1.4); -webkit-transform:scale(1.4); -moz-transform:scale(1.4)
}
.x-gallery .text {
	position:absolute;
	bottom:0px;
	z-index:100;
	background:black;
	opacity: 0.7;
	width: 100%;
	font-size: 1em;
	text-align:center;
}
.x-gallery .text a {
	color: white;
	line-height:1;
}
.x-gallery .text .title {
	font-weight: bold;
	overflow:hidden;
	line-height:1;
	margin-bottom:0px !important;padding:10px;
}
.x-gallery .text .desc {
	margin-bottom: 0.25em;
	padding: 0 0.4em;
	font-size: 1em;
	height: 1em;
	overflow:hidden;
}

@media all and ( max-width: 50em ) {
	/*.x-gallery li:nth-child(3) {
		display: none;
	}*/
	.x-gallery li {
		width: 49% !important;height:180px;margin-bottom:10px;
	}
	.x-gallery li:nth-child(even) {margin-right:0px;}
	.x-gallery .text .desc {
		display:none;
	}
.x-gallery li:nth-child(3) {margin-right:2%;}
.x-gallery li:last-child {margin-right:0px;display:block;}
}
