
.pop-gallery-pos {
    display: none;
    position: fixed;
    z-index: 350;
    top: 10%;
    left: 27%;
}

.site-cover[rel="pop-gallery"] {
    background-color: rgba(2,55,105,0.3);
}


.pop-gallery {
    display: table;
    -outline: 2px dashed blue;
    -background: rgba(255,255,255,0.1);
    -webkit-animation-duration: 800ms;
-moz-animation-duration: 800ms;
-o-animation-duration: 800ms;
animation-duration: 800ms;}

.pop-gallery-view {
    display: block;
    position: relative;
    padding: 40px;
    padding-bottom: 0px;
    background-color: #ffffff;
}

.pop-gallery-image {
    display: block;
    width: 639px;
    height: 427px;
    position: relative;
    background-color: rgba(74,129,218,0.05);
}


.pop-gallery-image-src {
    display: block;
    position: absolute;
    top: 0; right: 0;
    bottom: 0; left: 0;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }


.pop-gallery-cmd {
    position: absolute;
    right: 0;
    top: 0;
}

.pop-gallery-close {
    display: block;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-transition: opacity .3s ease;
-moz-transition: opacity .3s ease;
-ms-transition: opacity .3s ease;
-o-transition: opacity .3s ease;
transition: opacity .3s ease;
    opacity: .5;
}

.pop-gallery-close:hover {
    opacity: 1;
}


.pop-gallery-close .icon {
    position: relative;
    left: 12px;
    top: 12px;
}


.pop-gallery-iHand {
    display: block;
    position: absolute;
    /*[#tI1] -top: px;*/
    top: 50%;
    margin-top: -28px;
}

.pop-gallery-iHand.-left {
    left: 15px
}

.pop-gallery-iHand.-right {
    right: 15px
}
.pop-gallery-iHand-icon {
    display: inline-block;

    padding: 10px;
                -moz-border-radius: 28px;
-webkit-border-radius: 28px;
border-radius: 28px;    background-color: #ffffff;

    cursor: pointer;
}

.pop-gallery-iHand.-off .pop-gallery-iHand-icon {
    cursor: default;
}

.pop-gallery-iHand-icon-img {
    position: relative;
    opacity: 1;
    display: inline-block;
    float: left;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: opacity .3s ease;
-moz-transition: opacity .3s ease;
-ms-transition: opacity .3s ease;
-o-transition: opacity .3s ease;
transition: opacity .3s ease;
}

.pop-gallery-iHand.-off .pop-gallery-iHand-icon-img {
    opacity: .25;
}

.pop-gallery-iHand.-left .pop-gallery-iHand-icon-img {
    background-image: url('/site/img//arrow/boxy-sm/cr/arrow-left.t.png');
}
.pop-gallery-iHand.-right .pop-gallery-iHand-icon-img {
    background-image: url('/site/img//arrow/boxy-sm/cr/arrow-right.t.png');
}

.pop-gallery-iHand.-left:active .pop-gallery-iHand-icon-img {
    left: -1px;
}
.pop-gallery-iHand.-right:active .pop-gallery-iHand-icon-img {
    right: -1px;
}
.pop-gallery-iHand.-off:active .pop-gallery-iHand-icon-img {
    left: 0;
    right: 0;
}



.pop-gallery-content {
    background-color: white;
    padding: 20px 0;
}

.pop-gallery-content .txt {
    padding: 6px 0;
    text-align: center;
}

.pop-gallery-title, .pop-gallery-title * {
    font-size: 18px;
    font-weight: bold;
}

.pop-gallery-text.-off {
    display: none;
}

@media (max-width: 759px) {
    .pop-gallery-pos {
        left: 0 !important;
        width: 100%;
    }
    .pop-gallery {
        width: 100%;
    }
    .pop-gallery-image {
        width: 100%;
    }
}

@media (max-height: 617px) {

    .pop-gallery-pos {
        top: 0  !important;
        height: 100%;
    }
    .pop-gallery {
        display: block;
        height: 100%;
    }
    .pop-gallery-image {
        height: 100%;
    }

    .pop-gallery-view {
        height: 100%;
        padding-bottom: 0;
        padding-top: 0;
    }

    .pop-gallery-content {
        position: absolute;
        left: 0; right: 0;
        bottom: 0;
    }
}