/*------------ album ------------*/

.album-list {
    max-width: 1000px;
    margin: 0 auto;
}

.album-list li {
    width: 25%;
}

.album-list li:nth-child(4n+1) {
    clear: left;
}

.album-list li .pic {
    overflow: hidden;
    position: relative;
    max-width: 250px;
    margin: 0 auto;
}

.album-list li .cover {
    transition: all .2s;
    width: 90px;
    height: 90px;
    transform-origin: 50% 50%;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -45px 0 0 -45px;
    opacity: 0;
    z-index: 50;
}

.album-list li .cover:after {
    content: "\e1000";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 24px;
    transform: rotate(45deg);
    transform-origin: -90% 80%;
    position: absolute;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.album-list li .cover:before {
    content: "MORE";
    font-size: 14px;
    position: absolute;
    /* margin: 0 0 0 -33px; */
    transform-origin: -130% -25%;
    transform: rotate(45deg);
    line-height: 1;
    font-family: 'Cabin', sans-serif;
}

.album-list li .pic a:nth-child(2):before {
    content: "";
    position: absolute;
    transition: all .2s;
    opacity: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.album-list .box:hover .cover,
.album-list .box:hover .pic a:before {
    opacity: 1;
}

.album-list li .name a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.2;
    padding: 13px 15px;
}

.album-list .box:hover .name a {
    transition: all .2s;
}


/*------------ rwd ------------*/

@media screen and (max-width:900px) {
    .album-list {
        max-width: 750px;
    }
    .album-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .album-list li:nth-child(4n+1) {
        clear: none;
    }
    .album-list li:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 600px) {
    .album-list {
        max-width: 500px;
    }
    .album-list li {
        width: 50%;
    }
    .album-list li:nth-child(3n+1) {
        clear: none;
    }
    .album-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 450px) {
    .album-list {
        max-width: 250px;
    }
    .album-list li {
        width: 100%;
        padding: 0 0 15px;
    }
}
