.clearfix:before, .clearfix:after { content: ""; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


#lesgallery {
	height: auto;
	zoom: 1;
	color: #222;
	position: relative;
	z-index: 1;
	background: url(../images/plusgallery/loading-albums.gif) no-repeat 50% 50%;
	text-align: left;
	margin: 70px 0px 0px 0px;
}


#lesgallery.loaded {
	background: none;
}

#lesgallery ul {
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#lesgallery * {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#lesgallery a {
	display: block;
	-webkit-transition: all 0.3s ease-out 0.1s;
	-moz-transition: all 0.3s ease-out 0.1s;
	-ms-transition: all 0.3s ease-out 0.1s;
	-o-transition: all 0.3s ease-out 0.1s;
	transition: all 0.3s ease-out 0.1s
	-webkit-backface-visibility: hidden;
	text-decoration: none;
}

#lesgallery a {
	background-color: #fff;
	display: block;
	color: #222;
	-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 1px 1px 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 1px 1px 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 1px 1px 5px rgba(0, 0, 0, 0.3);
}


#lesgallery a:hover, #pgzoomview a:hover {
	background-color: #3aa835;
}

#lesgallery a img {
	display: block;
	max-width: 100%;
	/*max-height: 100%;*/
}

.spacer {
	position: relative;
	z-index: 1;
	background: #fff url(../images/plusgallery/loading-albums.gif) no-repeat 50% 50%;
}


#lesalbums {
	clear: both;
}


.lesalbumthumb {
	float: left;
	width: 17.91666666666%;
	max-width: 172px;
	margin: 1.04166666666%;
}

#lesgallery .lesalbumlink {
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
	padding: 3%; 
}

.lesalbumimg {
	display: block;
	width: 100%;
	border: none;
	position: relative;
	z-index: 1;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
}


.lesalbumthumb span {
	position: absolute;
	display: block;
}

.lesalbumtitle {
	bottom: 3%;
	left: 3%;
	background: #e7ff66;
	color: #000;
	text-shadow: 1px 1px 2px rgba(0,0,0,.1);
	z-index: 7;
	width: 94%;
}

.lesalbumthumb .lesloading {
	width: 95.4545454545455%; /*210/220*/
	height: 95.4545454545455%; /*210/220*/
	top: 2.3809523809524%;/*5/210*/
	left: 2.3809523809524%;/*5/210*/
	z-index: 6;
	background: rgba(0,0,0,.8) url(../images/plusgallery/loading-gallery.gif) no-repeat 50% 50%;
}

.oldie .lesalbumthumb .lesloading {
	top: 3%;
	left: 3%;
}

.lesplus {
	background: #fff;
	line-height: 1.3em;
	padding: .2em;
	font-size: 1.2em;
	color: #fff;
	position: absolute;
	top: -2.6em;
	width: 100%;
	right: -1.5em;
	z-index: 7;
	text-align: center;
	font-weight: 100;
	-webkit-transition: all 0.3s ease-out 0.1s;
	-moz-transition: all 0.3s ease-out 0.1s;
	-ms-transition: all 0.3s ease-out 0.1s;
	-o-transition: all 0.3s ease-out 0.1s;
	transition: all 0.3s ease-out 0.1s;
	text-shadow: 1px 1px 2px rgba(0,0,0,.1);
}

.lesalbumlink:hover .lesplus {
	background: #3aa835;
	top: 0;
	right: 0;
}


@media only screen and (max-width: 768px) {
	.lesalbumthumb, .pgthumb { margin: 1.302083333333%;/*10/768*/ }
	.lesalbumthumb { width: 22.395833333333%; /*172/768*/ }
	.pgthumb { width: 17.395833333333%; /*153.6/768*/ }
}

@media only screen and (max-width: 480px) {
	.lesalbumthumb, .pgthumb { margin: 2.083333333333%;/*10/480*/ }
	.lesalbumthumb { width: 29.16666666666%; /*140/480*/ }
	.pgthumb { width: 20.833333333333%; /*100/480*/ }
}

@media only screen and (max-width: 320px) {
	.lesalbumthumb, .pgthumb { margin: 3.125%;/*10/480*/ }
	.lesalbumthumb { width: 43.75%; /*140/320*/ }
	.pgthumb { width: 27.083333333333%; /*86.66666666666667/320*/ }
}