/*------------ album ------------*/

.album-list {
    margin: 0 -7px;
}

.album-list li {
    width: calc((100% / 4) - 0.1px);
    padding: 0 7px 0px;
    margin-bottom: 14px;
}

.album-list li:nth-child(4n+1) {
    clear: left;
}

.album-list .box {
    position: relative;
}

.album-list .box .cover {
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}

.album-list li .pic {
    overflow: hidden;
    position: relative;
    max-width: 390px;
    margin: 0 auto;
}

.album-list li .pic img {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.album-list .box:hover .pic img {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

.album-list li .pic:before,
.album-list li .pic:after {
    content: "";
    position: absolute;
    transition: all .3s ease;
    opacity: 0;
}

.album-list li .pic:before {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.68);
    z-index: 2;
    transition: all .3s ease;
}

.album-list li .pic:after {
    content: "";
    width: 72px;
    height: 1px;
    background: #fff;
    display: block;
    position: absolute;
    left: 50%;
    margin: 0 0 0 -36px;
    top: 55%;
    z-index: 2;
    transition: all .3s ease;
}

.album-list .box:hover .pic:before,
.album-list .box:hover .pic:after {
    transition: all .3s ease;
    opacity: 1;
}

.album-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 50%;
    margin: -13px 0 0 0;
    width: 100%;
    padding: 0 40px;
    font-size: 18px;
    line-height: 1.2;
    height: 26px;
    color: #fff;
    text-align: center;
    transition: all .2s;
    opacity: 0;
    box-sizing: border-box;
    z-index: 5;
}

.album-list .box:hover .name {
    transition: all .2s;
    opacity: 1;
}
.album-list .fancybox{
    display:none;
}
/*------------ rwd ------------*/

@media screen and (max-width:600px) {
    .album-list li {
        width: 50%;
    }
    .album-list li:nth-child(3n+1) {
        clear: none;
    }
    .album-list li:nth-child(2n+1) {
        clear: left;
    }
}
