.album-list {
    max-width: 1200px;
    margin: 0 auto;
}
.album-list .item {
    width: 25%;
}
.album-list .item:nth-child(4n+1) {
    clear: left;
}
.album-list .box {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.album-list .fancybox {
    display: none;
}
.album-list .name{
    position: absolute;
    background: rgba(255,255,255,0.9);
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    transition: all .3s ease;
    opacity: 0;
    padding:15px;

}
.album-list .box:hover .name{
    opacity: 1;
}
.album-list li .cover{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 0;
    text-indent: -9999px;
}
.album-list .name a{
    position: absolute;
	top:50%;
    left: 0;
    right: 0;
    color: #111111;
    bottom: 15px;
    font-size: 15px;
    line-height: 35px;
    padding: 0 10px;
    height: 40px;
    overflow: hidden;
    transition: all 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

@media screen and (max-width: 1000px) {
    .album-list {
        max-width: 900px;
    }
    .album-list .item {
        width: 33.33%;
    }
    .album-list .item:nth-child(4n+1) {
        clear: none;
    }
    .album-list .item:nth-child(3n+1) {
        clear: left;
    }
}
@media screen and (max-width: 600px) {
    .album-list .item {
        width: 50%;
    }
    .album-list .item:nth-child(3n+1) {
        clear: none;
    }
    .album-list .item:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 400px) {
    .album-list .item {
        width: 100%;
    }
    .album-list .item:nth-child(n) {
        clear: none;
    }
}