/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp {
    padding: 0;
    margin: 0;

    vertical-align: top;

    border: 0;
    outline: none;
}

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10020;
}

.fancybox-skin {
    position: relative;

    color: #444;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    background: #f9f9f9;
    text-shadow: none;
}

.fancybox-opened {
    z-index: 10030;
}

.fancybox-opened .fancybox-skin {
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
       -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
            box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

.fancybox-outer,
.fancybox-inner {
    position: relative;
}

.fancybox-inner {
    overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
    -webkit-overflow-scrolling: touch;
}

.fancybox-error {
    padding: 15px;
    margin: 0;

    font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;

    white-space: nowrap;

    color: #444;
}

.fancybox-image,
.fancybox-iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.fancybox-image {
    max-width: 100%;
    max-height: 100%;
}

#fancybox-loading,
.fancybox-close,
.fancybox-prev span,
.fancybox-next span {
    background-image: url("../images/fancybox_sprite.png");
}

#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10060;

    margin-top: -22px;
    margin-left: -22px;

    cursor: pointer;

    opacity: .8;
    background-position: 0 -108px;
}

#fancybox-loading div {
    width: 44px;
    height: 44px;

    background: url("../images/fancybox_loading.gif") center center no-repeat;
}

.fancybox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 10040;

    width: 36px;
    height: 36px;

    cursor: pointer;
}

.fancybox-nav {
    position: absolute;
    top: 0;
    z-index: 10040;

    width: 40%;
    height: 100%;

    cursor: pointer;
    text-decoration: none;

    background: transparent url("../images/blank.gif"); /* helps IE */

    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.fancybox-prev {
    left: 0;
}

.fancybox-next {
    right: 0;
}

.fancybox-nav span {
    position: absolute;
    top: 50%;
    z-index: 10040;

    visibility: hidden;
    width: 36px;
    height: 34px;
    margin-top: -18px;

    cursor: pointer;
}

.fancybox-prev span {
    left: 10px;

    background-position: 0 -36px;
}

.fancybox-next span {
    right: 10px;

    background-position: 0 -72px;
}

.fancybox-nav:hover span {
    visibility: visible;
}

.fancybox-tmp {
    position: absolute;
    top: -99999px;
    left: -99999px;

    visibility: hidden;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    width: auto;
    overflow: hidden !important;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;

    display: none;
    overflow: hidden;

    background: url("../images/fancybox_overlay.png");
}

.fancybox-overlay-fixed {
    position: fixed;
    right: 0;
    bottom: 0;
}

.fancybox-lock .fancybox-overlay {
    overflow: auto;
    overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
    position: relative;
    z-index: 10050;

    visibility: hidden;

    font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;

    text-shadow: none;
}

.fancybox-opened .fancybox-title {
    visibility: visible;
}

.fancybox-title-float-wrap {
    position: absolute;
    right: 50%;
    bottom: 0;
    z-index: 10050;

    margin-bottom: -35px;

    text-align: center;
}

.fancybox-title-float-wrap .child {
    display: inline-block;
    padding: 2px 20px;
    margin-right: -100%;

    font-weight: bold;
    line-height: 24px;

    white-space: nowrap;

    color: #fff;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
            border-radius: 15px;
    background: transparent; /* Fallback for web browsers that doesn't support RGBa */
    background: rgba(0, 0, 0, .8);
    text-shadow: 0 1px 2px #222;
}

.fancybox-title-outside-wrap {
    position: relative;

    margin-top: 10px;

    color: #fff;
}

.fancybox-title-inside-wrap {
    padding-top: 10px;
}

.fancybox-title-over-wrap {
    position: absolute;
    bottom: 0;
    left: 0;

    padding: 10px;

    color: #fff;
    background: #000;
    background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {
    #fancybox-loading,
    .fancybox-close,
    .fancybox-prev span,
    .fancybox-next span {
        background-image: url("../images/fancybox_sprite@2x.png");
        background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
    }

    #fancybox-loading div {
        background-image: url("../images/fancybox_loading@2x.gif");
        background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
    }
}

#fancybox-thumbs {
    position: fixed;
    left: 0;
    z-index: 900;

    width: 100%;
    overflow: hidden;
}

#fancybox-thumbs.bottom {
    bottom: 2px;
}

#fancybox-thumbs.top {
    top: 2px;
}

#fancybox-thumbs ul {
    position: relative;

    padding: 0;
    margin: 0;

    list-style: none;
}

#fancybox-thumbs ul li {
    float: left;
    padding: 1px;

    opacity: .5;
}

#fancybox-thumbs ul li.active {
    padding: 0;

    opacity: .75;
    border: 1px solid #fff;
}

#fancybox-thumbs ul li:hover {
    opacity: 1;
}

#fancybox-thumbs ul li a {
    position: relative;

    display: block;
    overflow: hidden;

    border: 1px solid #222;
    outline: none;
    background: #fff;
}

#fancybox-thumbs ul li img {
    position: relative;

    display: block;
    max-width: none;
    padding: 0;

    border: 0;
}

.fancybox-inner {
    display: inline-block;
}
.fancybox-outer {
    text-align: center;
}
.fancybox-nav {
    width: 30px;
}
.fancybox-error {
    color: #fff;
}
.tool-box {
    position: fixed;
    height: 40px;
    background: #060606;
    border-radius: 3px;
    bottom: 60px;
    left: 50%;
    margin-left: -116px;
    z-index: 10031;
}
.icon {
    display: inline-block;
}
.image-icon {
    display: inline-block;
    margin: 10px 18px 0;
}
.image-icon i {
    display: inline-block;
    width: 20px;
    height: 20px;
}
.big > i{
    background-position: -120px -140px;
}
.big > i:hover{
    background-position: -100px -140px;
}
.big-disabled > i {
    background-position: -80px -140px;
}
.scale > i{
    background-position: -20px -140px;
}
.scale > i:hover{
    background-position: -174px 0px;
}
.scale-disabled > i {
    background-position: -140px -108px;
}
.right-rotate > i{
    background-position: 0px -140px;
}
.right-rotate > i:hover{
    background-position: -140px -140px;
}
.image-delete > i{
    background-position: -140px -88px;
}
.image-delete > i:hover{
    background-position: -140px -68px;
}
.image-more > i{
    background-position: -60px -140px;
}
.image-more > i:hover{
    background-position: -40px -140px;
}

.next-and-prev > div{
    position: fixed;
    width: 100px;
    top: 0;
    bottom: 0;
}

.next-and-prev > div i {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -35px;
    margin-top: -35px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 10031;
}
.image-prev {
    left: 0;
}
.image-next {
    right: 0;
}
.image-prev i {
    background-position: -70px -70px;
}
.image-prev i:hover {
    background-position: 0px -70px;
}
.image-next i {
    background-position: -70px 0px;
}
.image-next i:hover {
    background-position: 0px 0px;
}

.more-tool {
    display: none;
    width: 87px;
    right: -48px;
    position: absolute;
    bottom: 42px;
    line-height: 30px;
    font-size: 14px;
    font-family: 微软雅黑;
    text-align: left;
}
.more-tool ul {
    background: #222;
    border-radius: 3px;
    color: #ddd;
}
.more-tool ul li {
    padding-left: 5px;
    cursor: pointer;
    border-bottom: #5a5757 solid 1px;
}
.more-tool ul li:hover {
    background: #444;
}
.image-close {
    position: fixed;
    background-position: -140px -34px;
    width: 34px;
    height: 34px;
    z-index: 10032;
    right: 50px;
    top: 50px;
    cursor: pointer;
}
.image-close:hover {
    background-position: -140px 0px;
}
.next-and-prev {
    position: absolute;
    z-index: 10031;
}
.image-loading {
    display: inline-block;
    width: 44px;
    height: 44px;
    background: url("../images/fancybox_loading.gif") center center no-repeat;
}
.image-error {
    text-align: center;
    color: #fff;
    line-height: 16px;
    font-size: 13px;
}
.image-icons {
    background-image: url(../images/spritesheet.png);
    background-repeat: no-repeat;
}
