/*------------ album ------------*/

.album-list {
    margin: 0 -15px;
}

.album-list li {
    width: 33.3%;
    padding: 0 15px;
     margin-bottom:45px;
}
.album-list .box {
    position: relative;
}

.album-list .item .cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
.album-list li:nth-child(3n+1) {
    clear: left;
}

.album-list li .pic {
    display: block;
    position: relative;
    overflow: hidden;
    /* max-width:304px; */
}
.album-list .txt{
    margin: -20px 35px 0;
    display:block;
    position: relative;
    padding: 25px 0px 0;
    font-size:  16px;
}

.album-list .pic img{
    width:100%;
}
.album-list .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.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.album-list li:hover .pic img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.fancybox-title-outside-wrap{
        margin-top: 50px;
}
.album-list li .pic:before,
.album-list li .pic:after,
.album-fancybox .slider-nav .pic:before,
.album-fancybox .slider-nav .pic:after {
    content: "";
    position: absolute;
    transition: all .2s;
    opacity: 0;
}


.album-fancybox .slider-nav .pic:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(53, 53, 38, .80);
}


.album-fancybox .slider-nav .pic:after {
    content: "\e100d";
    font-size: 30px;
    z-index: 100;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
}

.album-list a:hover .pic:before,
.album-list a:hover .pic:after,
.album-fancybox .slider-nav .item:hover .pic:before,
.album-fancybox .slider-nav .item:hover .pic:after,
.album-fancybox .slick-current .pic:before,
.album-fancybox .slick-current .pic:after {
    transition: all .2s;
    opacity: 1;
}

.album-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    height:30px;
    box-sizing: border-box;
    transition: all .2s;
    padding: 0 15px;
}
.album-list li a{
      white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ç‡ˆç®±CSS */
body .fancybox-album .fancybox-skin {
    margin: 0 auto 150px;
}

body .fancybox-nav span {
    visibility: visible;
    width: 50px;
    height: 50px;
    left: -80px;
    margin-top:10px;
}


body .fancybox-next span {
    left: auto;
    transform: rotate(180deg);
    right: -80px;
}

.photo-title {
    margin: 10px 0 0px 0;
    font-size: 18px;
    padding: 8px 0px 3px;
    font-weight: normal;
    text-align:  left;
}

.photo-title i {
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 2px 0;
    display: none;
}

.photo-intro {
    font-size: 15px;
    line-height: 1.8;
}

.photo-pager {
    text-align: center;
    font-size: 18px;
    margin: 20px 0 0 0;
    position: absolute;
    width: 100%;
     font-family:'arial';
}

.photo-pager b {
    display: inline-block;
    margin: 0 3px;
}

body #fancybox-thumbs ul li {
    padding: 10px;
    opacity: 1;
}

body #fancybox-thumbs ul li a {
    border: 0;
    background: none;
    outline: none;
}

body #fancybox-thumbs ul li.active {
    opacity: 1;
    border: 0;
    padding: 10px;
}

body #fancybox-thumbs ul li a:before,
body #fancybox-thumbs ul li a:after {
    position: absolute;
    opacity: 0;
    transition: all .2s;
}

body #fancybox-thumbs ul li a:before {
    content: "\e901";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 50%;
    left: 50%;
    font-size: 28px;
    margin: -14px 0 0 -14px;
    z-index: 10;
    display:none;
}

body #fancybox-thumbs ul li a:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
     opacity: 1;
}

body #fancybox-thumbs ul li.active a:after,
body #fancybox-thumbs ul li a:hover:after {
    opacity:0;
    transition: all .2s;
}



/*------------ rwd ------------*/

@media screen and (max-width:1280px) {
    .album-list {
        margin: 0 auto;
    }
    .album-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .album-list li:nth-child(5n+1) {
        clear: none;
    }
    .album-list li:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 1000px) {
    .album-list {
        margin: 0 auto;
    }
    .album-list li {
        width: 50%;
        padding: 0 5px;
        margin-bottom: 25px;
    }
    .album-list li:nth-child(3n+1) {
        clear: none;
    }
    .album-list li:nth-child(2n+1) {
        clear: left;
    }
    .album-list li .name {
    padding: 3px 5px;
}

.album-list li .name i {
    font-size: 16px;
}
.album-list .txt{
    padding: 15px 5px 0;
    margin: -20px 10px 5px;
}
}

@media screen and (max-width:769px) {
      body .fancybox-nav span {
        left: 0;
    }
    body .fancybox-next span {
        left: auto;
        right: 0px;
    }
}
