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


#plusgallery {
	zoom: 1;
	color: #222;
	position: relative;
	z-index: 1;
	text-align: left;
}


#plusgallery.loaded {
	background: none;
}

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

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

#plusgallery a, #pgzoomview 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;
}

#plusgallery 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);
}


#plusgallery a:hover, #pgzoomview a:hover {
background-color: #38beea;
}

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

.spacer {
	position: relative;
	z-index: 1;
	background: #fff;
}

/*albums*/


#pgalbums {
	clear: both;
}


.pgalbumthumb {
	float: left;
	width: 200px;
	margin:7px;
}

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

.pgalbumimg {
	display: block;
	xwidth: 100%;
	border: none;
	position: relative;
	z-index: 1;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	margin:auto;
	height:125px;
}


.pgalbumthumb span {
	position: absolute;
	display: block;
}
.pgalbumthumb a{
	cursor:pointer;
}

.pgalbumtitle {
	bottom: 3%;
	left: 3%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,.4);
	font-size:  11px;;
	z-index: 7;
	padding: 2em 3% 3% 3%;
	width: 94%;
}

.pgalbumthumb .pgloading {
	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) no-repeat 50% 50%;
}

.oldie .pgalbumthumb .pgloading {
	top: 3%;
	left: 3%;
}

.pgplus {
	background: #fff;
	line-height: 1em;
	padding: .3em;
	font-size: 1.8em;
	color: #fff;
	position: absolute;
	top: -1.5em;
	width: 1.5em;
	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;
}

.pgalbumlink:hover .pgplus {
	background: #38beea;
	top: 0;
	right: 0;
}

/*thumbs*/
#pgthumbview {
	clear: both;
	display: none;
}

#plusgallery #pgthumbcrumbs {
	margin: 10px 10px 0 10px !important;
	color: #222;
	border-bottom: 1px solid #222;
}

#pgthumbcrumbs li {
	padding: 9px .7em 0 .7em;
	float: left;
	line-height: 1em;
	height: 30px;
}

#pgthumbcrumbs li#pgthumbhome {
	cursor: pointer;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	font-size: 1.5em;
	line-height: .6em;
	padding-left: .4em;
	padding-right: .4em;
	border-right: 1px solid #222;
}

#pgthumbcrumbs li#pgthumbhome:hover {
	background-color: #38beea;
	-webkit-box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
	box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
	color: #fff;
}

.pgthumb {
	float: left;
	width: 14.5833333333333%;
	height: 14.5833333333333%;
	max-width: 140px;
	margin: 10px 1.0417%;
	display: block;
	position: relative;
}

.oldie .pgthumb {
	width: 140px;
	height: 140px;
	margin: 10px;
}

.pgthumb a {
	width: 100%;
	height: 100%;
	padding: 5px; !important;
	margin: 0;
}

.oldie .pgthumb a {
	width: 130px;
	height: 130px;
	padding: 5px;
}

.pgthumb img {
	width: 100%;
	border: none;
	max-width: 130px;
}

#pgcredit {
	text-align: center;
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;
}

#plusgallery #pgcredit a {
	display: inline-block;
	color: #222;
	letter-spacing: 1px;
	background-color: transparent;
	-webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
	padding: .3em .5em .3em .4em;
	font-size: 10px;
	text-transform: uppercase;
}
#pgcredit a:hover {
	background-color: #38beea !important;
	-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
  -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
}

#plusgallery #pgcredit a span {
	color: #666;
	-webkit-transition: color 0.3s ease-out;
	-moz-transition: color 0.3s ease-out;
	-ms-transition: color 0.3s ease-out;
	-o-transition: color 0.3s ease-out;
	transition: color 0.3s ease-out;
}

#plusgallery #pgcredit a:hover span {
	color: #fff;
}

.approve a{
	background-color:#ccc;
	padding:3px;
	color:#fff;
	border-radius:2px;
	cursor:pointer;
}

@media only screen and (max-width: 950px) {
	.pgalbumthumb {
		float: left;
		width: 47.9%;
		margin:1%;
	}
}
@media only screen and (max-width: 770px) {
	.pgalbumthumb {
		float: left;
		width: 31.2%;
		margin:1%;
	}
}

@media only screen and (max-width: 500px) {
	.pgalbumthumb {
		float: left;
		width: 47.9%; 
		margin:1%;
	}
}
@media only screen and (max-width: 350px) {
	.pgalbumthumb {
		float: left;
		width: 95%; 
		margin:1%;
	}
}