/*
    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;}
#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;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}


#cboxOverlay{background:#000;}
#colorbox{outline:0; /*box-shadow: 0 0 12px #333;*/ background-color: transparent; }
#cboxTopLeft, #cboxTopRight, #cboxBottomLeft, #cboxBottomRight{width:0; height:0; }
#cboxMiddleLeft, #cboxMiddleRight{width:0; }
#cboxTopCenter, #cboxBottomCenter{height:0; }
.cboxIframe{background:#d6d6d6;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxPrevious{position:absolute; bottom:0; left:0; /*background:url(images/controls.png) no-repeat -75px 0;*/ width:25px; height:25px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:-75px -25px;}
#cboxNext{position:absolute; bottom:0; left:27px; /*background:url(images/controls.png) no-repeat -50px 0;*/ width:25px; height:25px; text-indent:-9999px;}
#cboxNext:hover{background-position:-50px -25px;}
/*#cboxClose{position:absolute; top:5%; left:50%; background:url(../images/140606/btn_close.png) no-repeat; width:150px; height:41px; text-indent:-9999px; outline:none; background-position: center 41px; }*/
#cboxClose{position:absolute;top:5%;left: 40%;background:url(/nitetai/images/140606/btn_close.png) no-repeat;width:150px;height:41px;text-indent:-9999px;outline:none;/* background-position: center; */}
#cboxClose:hover{ background-position: center -41px !important; }
.cboxPhoto{
  cursor: url(/nitetai/images/140606/cursor_grab.cur), all-scroll;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}
.ui-draggable-dragging{
  cursor: url(/nitetai/images/140606/cursor_grabbing.cur), all-scroll;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}

@media only screen and (max-width: 479px) {
  #cboxClose {
    top:5%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    left: inherit;
    background-position: top;
  }
}
