.list-h > li a.fancybox,
.list-h .item a.fancybox,
.list-v li a.fancybox {
    display: block;
}
.album-img {
    margin: 0 auto 20px;
}
.album-list {
    margin: 0 -10px;
}
.album-list .item {
    width: calc(100% / 3);
    padding: 0 10px;
    margin: 0 auto 15px;
}
.album-list .item:nth-child(3n+1) {
    clear: left;
}
.album-list .item:nth-child(2n+1) {
    clear: none;
}
.album-list .box {
    position: relative;
    overflow: hidden;
}
.album-list li a.cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
.album-list .box .pic:before {
    content: "";
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 24px);
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}
.album-list .box .pic:after {
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    left: calc(50% - 12px);
    top: calc(50% - 20px);
    opacity: 1;
    transition: all .3s ease;
    color: #FFE;
    font-size: 26px;
    font-family: 'icon-font' !important;
    content: "\e901";
}
.masonry-list .item:nth-of-type(n) {
    clear: none!important;
}
.album-list .fancybox {
    display: none;
}
/*------------ thumbs ------------*/
#fancybox-thumbs {
	position: fixed;
	left: 0;
	width: 100%;
	overflow: hidden;
	z-index: 8050;
}
#fancybox-thumbs.bottom {
	bottom: 2px;
}
#fancybox-thumbs.top {
	top: 2px;
}
#fancybox-thumbs ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
#fancybox-thumbs ul li {
	float: left;
	padding: 1px;
	opacity: 0.5;
}
#fancybox-thumbs ul li.active {
	opacity: 0.75;
	padding: 0;
	border: 1px solid #fff;
}
#fancybox-thumbs ul li:hover {
	opacity: 1;
}
#fancybox-thumbs ul li a {
	display: block;
	position: relative;
	overflow: hidden;
	border: 1px solid #222;
	background: #111;
	outline: none;
}
#fancybox-thumbs ul li img {
	display: block;
	position: relative;
	border: 0;
	padding: 0;
	max-width: none;
}
/*------------ rwd ------------*/
@media screen and (max-width: 767px) {
    .album-img {
        margin: 0 auto 10px;
    }
    .album-list{
        margin: 0 -5px;
    }
    .album-list .item {
        width: 50%;
        padding: 0 5px;
        margin: 0 auto 10px;
    }
    .album-list .item:nth-child(3n+1) {
        clear: none;
    }
    .album-list .item:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 480px) {
    .album-list{
        margin: 0;
    }
    .album-list .item {
        width: 100%;
        padding: 0;
    }
    .album-list .item:nth-child(n) {
        clear: none;
    }
}
