/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#colorbox, #cboxWrapper{overflow:visible;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxContent{margin-top:25px;}
        .cboxIframe{background:#000;}
        #cboxError{padding:50px; border:1px solid #ccc;}
/*        #cboxLoadedContent{background:#000;}*/
        /*#cboxLoadedContent img{border: 1px solid #454545; width: 95%;}*/
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #cboxCurrent{display: none!important;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
/*        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; width:28px; height:65px; text-indent:-9999px;}*/
        #cboxPrevious{
            position:absolute;
            top:44%;
            left:-60px;
            width:65px;
            height:76px;
            text-indent:-9999px;
            background: url(../images/common/fancybox/btn_prev.png) no-repeat left;
            -webkit-background-size: contain;
            background-size: contain;
            border: none;
        }
        @media screen and (max-width:640px) {
          #cboxPrevious{
          top: 100%;
          left: 0;
          }
        }
/*        #cboxPrevious:hover{background-position:bottom left;}*/
        #cboxPrevious:hover{opacity:0.7;}
/*        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; width:28px; height:65px; text-indent:-9999px;}*/
        #cboxNext{
            position:absolute;
            top:44%;
            right:-67px;
            width:65px;
            height:76px;
            text-indent:-9999px;
            background: url(../images/common/fancybox/btn_next.png) no-repeat left;
            -webkit-background-size: contain;
            background-size: contain;
            border: none;
        }
        @media screen and (max-width:640px) {
          #cboxNext{
            top: 100%;
            right: 0;
          }
        }
/*        #cboxNext:hover{background-position:bottom right;}*/
        #cboxNext:hover{opacity:0.7;}
        #cboxLoadingOverlay{background:#000;}
        /*#cboxLoadingGraphic{background:url(../image/common/loading.gif) no-repeat center center;}*/
        #cboxClose{position:absolute; top:-22px; right: -26px; display:block; background:url(../images/common/fancybox/btn_close.png) no-repeat top center / 100% auto; width:50px; height:50px; text-indent:-9999px; padding:0; border:none;}
        #cboxClose:hover{opacity:0.8; filter: alpha(opacity=80); -ms-filter: "alpha( opacity=80 )";}


@media screen and (min-width: 1800px) {
        #cboxPrevious{
            left:0;
        }
        #cboxNext{
            right:0;
        }
        #cboxClose{
          right: 20px;
        }
}
