.album-list {
    margin: 0 -1%;
}
.album-list .item {
    width: 25%;
    padding: 0 1%;
}
.album-list .item:nth-child(4n+1) {
    clear: left;
}
.album-list .box {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 530px;
    margin: 0 auto 26px;
    text-align: center;
}
.album-list .fancybox {
    display: none;
}
.album-list .pic {
    position: relative;
    overflow: hidden;
}
.album-list .name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(106, 57, 6, 0.8);
    color: #F2E5C6;
    font-size: 15px;
    font-weight: bold;
    line-height: 50px;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 50px;
    padding: 0 12px;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.album-list .box:hover .name {
    background: rgba(251, 200, 43, 0.8);
    color: #6A3906;
}
.fancybox-album .fancybox-close {
    background: url('../../images/common/lightbox_close.png') no-repeat;
    width: 35px;
    height: 35px;
    right: -5px;
    top: -40px;
}
.fancybox-album .fancybox-close:hover {
    background-position: 0 100%;
}
.fancybox-album .fancybox-skin {
    background: #fff;
    margin: 40px 60px 70px;
    border: 3px solid #FABE00;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.fancybox-album.fancybox-opened .fancybox-skin {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.fancybox-album .fancybox-nav span {
    background: url('../../images/common/album/lightbox_arrow.svg');
    width: 41px;
    height: 41px;
    margin-top: -20px;
    visibility: visible;
}
.no-svg .fancybox-album .fancybox-nav span {
    background-image: url('../../images/common/album/lightbox_arrow.svg');
}
.fancybox-album .fancybox-prev span {
    background-position: 0 0;
    left: -70px;
}
.fancybox-album .fancybox-next span {
    background-position: 100% 0;
    right: -70px;
}
.fancybox-album .fancybox-prev:hover span {
    background-position: 0 100%;
}
.fancybox-album .fancybox-next:hover span {
    background-position: 100% 100%;
}
.fancybox-album .fancybox-title {
    color: #878787;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
}
.fancybox-album .photo-title {
    color: #5F370A;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    background: url('../../images/common/album/title_ic.png') 5px 0 no-repeat;
    padding-left: 32px;
    margin-bottom: 10px;
    min-height: 21px;
}
.fancybox-album .photo-pager {
    float: right;
    color: #F29600;
    font-family: 'Crimson Text',Arial, '微軟正黑體', 'Microsoft JhengHei', serif;
    font-size: 15px;
    font-weight: bold;
    margin: 0 6px;
}
.fancybox-album .photo-intro {
    background: url('../../images/common/border_dot2_h.png') repeat-x;
    padding: 10px;
}
body #fancybox-thumbs ul li,
body #fancybox-thumbs ul li.active {
    opacity: 1;
}
body #fancybox-thumbs ul li a {
    border: 2px solid #F29600;
    background: #fff;
}
body #fancybox-thumbs ul li.active a {
    border-color: #6A3906;
}

@media screen and (max-width: 1200px) {
    .album-list {
        margin: 0 -7px;
    }
    .album-list .item {
        padding: 0 7px;
    }
}
@media screen and (max-width: 1000px) {
    .album-list .item {
        width: 50%;
    }
    .album-list .item:nth-child(4n+1) {
        clear: none;
    }
    .album-list .item:nth-child(2n+1) {
        clear: left;
    }
    .album-list .name {
    font-size: 14px;
    line-height: 35px;
    height: 35px;
}
.album-list .box {
    margin: 0 auto 15px;
}
}
@media screen and (max-width: 767px) {

     .fancybox-album .fancybox-skin {
        margin: 40px 0 70px;
    }
    .fancybox-album .fancybox-close {
        right: 50%;
        margin-right: -18px;
    }
    .fancybox-album .fancybox-prev span,
    .fancybox-album .fancybox-next span {
        top: -55px;
        margin: 0;
    }
    .fancybox-album .fancybox-prev span {
        left: -12px;
    }
    .fancybox-album .fancybox-next span {
        right: -12px;
    }
}
/*
@media screen and (max-width: 500px) {
    .album-list .item {
        width: 100%;
    }
    .album-list .item:nth-child(n) {
        clear: none;
    }
}*/