.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 .box .pic a:before {

    content: '';

    display: block;

    background: url('../../images/common/album/hover.png') 50% 50% / 35% auto no-repeat rgba(17, 55, 134, 0.33);

    position: absolute;

    top: 0;

    bottom: 0;

    left: 0;

    right: 0;

    opacity: 0;

    transition: all 0.3s;

}

.album-list .box:hover .pic a:before {

    opacity: 1;

    background-size: 49% auto;

}

.album-list .fancybox {

    display: none;

}

.album-list .name a {

    position: absolute;

    left: 0;

    right: 0;

    bottom: -50px;

    background: rgba(0,0,0,0.6);

    color: #fff;

    font-size: 15px;

    line-height: 45px;

    padding: 0 12px;

    height: 45px;

    white-space: nowrap;

    text-overflow: ellipsis;

    overflow: hidden;

    transition: all 0.3s;

}

.album-list .box:hover .name a{

    bottom: 0;

}



@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;

    }

}