/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorboxTrailer, #cboxTrailerOverlay, #cboxTrailerWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxTrailerWrapper {max-width:none;}
#cboxTrailerOverlay{position:fixed; width:100%; height:100%;}
#cboxTrailerMiddleLeft, #cboxTrailerBottomLeft{clear:left;}
#cboxTrailerContent{position:relative;}
#cboxTrailerLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTrailerTitle{margin:0;}
#cboxTrailerLoadingOverlay, #cboxTrailerLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxTrailerPrevious, #cboxTrailerNext, #cboxTrailerClose, #cboxTrailerSlideshow{cursor:pointer;}
.cboxTrailerPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxTrailerIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorboxTrailer, #cboxTrailerContent, #cboxTrailerLoadedContent{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.
*/
#cboxTrailerOverlay{background:url(images/overlay.png) repeat 0 0;}
#colorboxTrailer{outline:0;}
    #cboxTrailerTopLeft{width:21px; height:21px; background-color:#000000;}
    #cboxTrailerTopRight{width:21px; height:21px; background-color:#000000;}
    #cboxTrailerBottomLeft{width:21px; height:21px; background-color:#000000;}
    #cboxTrailerBottomRight{width:21px; height:21px; background-color:#000000;}
    #cboxTrailerMiddleLeft{width:21px; background-color:#000000;}
    #cboxTrailerMiddleRight{width:21px; background-color:#000000;}
    #cboxTrailerTopCenter{height:21px; background-color:#000000;;}
    #cboxTrailerBottomCenter{height:21px; background-color:#000000;}
    #cboxTrailerContent{background:#000; overflow:hidden;}
        .cboxTrailerIframe{background:#000;}
        #cboxTrailerError{padding:50px; border:1px solid #ccc;}
        #cboxTrailerLoadedContent{margin-bottom:28px;}
        #cboxTrailerTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxTrailerCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
        #cboxTrailerLoadingOverlay{background-color:#000000;}
        #cboxTrailerLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxTrailerPrevious, #cboxTrailerNext, #cboxTrailerSlideshow, #cboxTrailerClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxTrailerPrevious:active, #cboxTrailerNext:active, #cboxTrailerSlideshow:active, #cboxTrailerClose:active {outline:0;}

        #cboxTrailerSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxTrailerPrevious{position:absolute; bottom:0; left:0; background:url(images/controls5.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxTrailerPrevious:hover{background-position:-75px -25px;}
        #cboxTrailerNext{position:absolute; bottom:0; left:27px; background:url(images/controls5.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxTrailerNext:hover{background-position:-50px -25px;}
        #cboxTrailerClose{position:absolute; bottom:0; right:0; background:url(images/tojiru_25-25.png) no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxTrailerClose:hover{background-position:0px 0px;}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxTrailerIE #cboxTrailerTopLeft,
.cboxTrailerIE #cboxTrailerTopCenter,
.cboxTrailerIE #cboxTrailerTopRight,
.cboxTrailerIE #cboxTrailerBottomLeft,
.cboxTrailerIE #cboxTrailerBottomCenter,
.cboxTrailerIE #cboxTrailerBottomRight,
.cboxTrailerIE #cboxTrailerMiddleLeft,
.cboxTrailerIE #cboxTrailerMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}