.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:before {
    content: '';
    display: block;
    background: url('../../images/common/album/hover.png') 50% 50% / 35% auto no-repeat rgba(251,207,199,0.80);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s;
}
.album-list .box:hover:before {
    opacity: 1;
    background-size: 49% auto;
}
.album-list .fancybox {
    display: none;
}
.album-list .name {
    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 {
    bottom: 0;
}
.photo-title{
    font-size: 18px;
    color: #000000;
    font-weight: bold;
}
.photo-pager{
        color: #fff;
}
.photo-pager b{
       text-decoration: underline;
       color:#f37103;
}

body .fancybox-nav span {
    visibility: visible;
    background: url('../../images/common/album/lightbox_arrow.png') no-repeat;
    width: 30px;
    height: 60px;
    opacity: 0.8;
    margin-top: -30px;
}
body .fancybox-prev span {
    background-position: 0 0;
    left: -65px;
}
body .fancybox-next span {
    background-position: 100% 0;
    right: -65px;
}
body .fancybox-nav:hover span {
    opacity: 1;
}
.fancybox-nav{
    width: 50%;
}
body .fancybox-inner {
    min-height: 50px;
}

@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: 769px) {
     body .fancybox-inner {
        min-height:200px;
    }
    .photo-title{
        font-size: 16px;
}
.photo-pager{
      padding: 8px 0 4px;
}
.album-list .name {
    line-height: 35px;
    height:35px;
}
body .fancybox-nav span {
    background: url('../../images/common/album/lightbox_arrow_small.png') no-repeat;
    width: 15px;
    height: 30px;
    margin-top: 0px;
    z-index:9999;
    top:100%;
}

    body .fancybox-prev span {
    left:auto;
    right:0px;
    background-color:#0000008c;
    padding:0px 10px;
}
body .fancybox-next span {
  background-color:#000000ad;
 background-position: 100% 0;
 padding:0px 10px;
 left:0%;
}

.fancybox-nav span {
    position: absolute;
    top:95%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    visibility: hidden;
}
.fancybox-title{
    margin-top:25px;
}
}
@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;
    }
    body .fancybox-inner {
        min-height:200px;
    }
}
