/*------------ album ------------*/
.album-list {
    max-width: 1200px;
    margin: 60px auto 0;
}
.album-list .item {
    width: 25%;
}
.album-list .item:nth-child(4n+1) {
    clear: left;
}
.album-list .box {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.album-list .box .cover{
    position: absolute;
    font-size: 0;
    top: 0;bottom: 0;
    left: 0;right: 0;
    z-index: 30;
}
.album-list .fancybox {
    display: none;
}
.album-list .pic {
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.album-list .pic:before,
.album-list .pic:after {
    content: "";
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    opacity: 0;
}
.album-list .pic:before {
    content: "";
    width: 87px;
    height: 87px;
    top: 0%;
    left: 50%;
    margin: -43px 0 0 -43px;
    background: url('../../images/common/album/ic.png');
    z-index: 5;
}
.album-list .pic:after {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
}
.album-list .box:hover .pic:before,
.album-list .box:hover .pic:after {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 1;
}
.album-list .box:hover .pic:before {
    top: 50%;
}
.album-list .name {
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    width: 100%;
    color: #D9DFCE;
    font-weight: bold;
    font-size: 16px;
    bottom: 0;
    padding: 8px 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.album-list .box:hover .name {
    background: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
/*------------ fancybox ------------*/
body .fancybox-image {
    padding: 0 5px;
    box-sizing: border-box;
}
body .fancybox-nav span {
    visibility: visible;
    width: 25px;
    height: 25px;
    background: url('../../images/common/album/arrow.png');
    right: -25px;
}
body .fancybox-prev span {
    transform: rotate(180deg);
    left: -25px;
}
body .fancybox-title {
    padding: 0 5px;
}
.photo-pager {
    font-size: 13px;
    color: #0C3146;
    text-align: right;
}
.photo-pager b {
    font-size: 14px;
    color: #2A9990;
}
.photo-title {
    color: #2A9990;
    font-size: 15px;
    font-weight: bold;
    margin: 5px 0 10px;
}
.photo-intro {
    color: #666666;
    font-size: 15px;
    line-height: 1.2;
    margin: 0 0 30px;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1200px) {
    .album-list {
        max-width: 900px;
    }
    .album-list .item {
        width: calc((100% / 3) - 0.1px);
    }
    .album-list .item:nth-child(4n+1) {
        clear: none;
    }
    .album-list .item:nth-child(3n+1) {
        clear: left;
    }
}
@media screen and (max-width: 767px) {
    .album-list {
        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;
    }
    body .fancybox-nav span {
        right: 0px;
    }
    body .fancybox-prev span {
        left: 0px;
    }
}
@media screen and (max-width: 500px) {
    .album-list .item {
        width: 100%;
    }
}
