.foogallery-album-gallery-list {
	list-style: none !important;
	padding: 0 !important;
}

.foogallery-album-gallery-list li {
	list-style-type: none !important;
	display: inline-block;
}

.foogallery-album-gallery-list .foogallery-pile {
	position: relative;
	z-index: 10;
	float: left;
	margin: 5px 5px 5px 5px !important;
}

/* Stacks created by the use of generated content */
.foogallery-album-gallery-list .foogallery-pile:before,
.foogallery-album-gallery-list .foogallery-pile:after {
	/* content: "";*/
	width: 100%;
	height: 100%;
	position: absolute;
	border: 8px solid #fff;
	left: 0;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* 1st element in stack (behind image) */
.foogallery-album-gallery-list .foogallery-pile:before {
}
/* 2nd element in stack (behind image) */
.foogallery-album-gallery-list .foogallery-pile:after {
	top: -2px; z-index: -20;
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
	transform: rotate(-2deg);
}

.foogallery-album-gallery-list .foogallery-pile .foogallery-pile-inner {
	border: 2px solid #fff;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	line-height: 0;
}

@media screen and (max-width:479px) {
	.foogallery-album-gallery-list .foogallery-pile img {
	    width: 100px;
	    aspect-ratio: auto 100 / 100;
	    height: 90px;
}
}






.foogallery-album-gallery-list .foogallery-pile .foogallery-pile-inner a {
	display: inline-block;
}

.foogallery-album-gallery-list .foogallery-pile img {
}

.foogallery-album-gallery-list .foogallery-pile h3 {
	background: #FFF;
	position: absolute;
	display: block;
	bottom: 5px;
	padding: 5px 5px 0 5px;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	line-height: 1em;
	font-size: 0.8em;
}

/*レスポンシブ*/
@media screen and (max-width:479px) {

.foogallery-album-gallery-list .foogallery-pile h3 {
font-size: 0.6em;
line-height: 1.5em;
}
}


.foogallery-album-gallery-list .foogallery-pile h3 span {

	font-size: 0;
}

.foogallery-album-gallery-list .foogallery-pile a {
	position: relative;
}

.foogallery-album-gallery-list.alignment-left {
	text-align: left;
}

.foogallery-album-gallery-list.alignment-center {
	text-align: center;
}

.foogallery-album-gallery-list.alignment-right {
	text-align: right;
}

/* force no borders */
.foogallery-album-gallery-list .foogallery-pile a,
.foogallery-album-gallery-list .foogallery-pile a:hover {
	border: none !important;
}
