/*
    colorboxyoutube Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorboxyoutube, #cboxyoutubeOverlay, #cboxyoutubeWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxyoutubeWrapper {max-width:none;}
#cboxyoutubeOverlay{position:fixed; width:100%; height:100%;}
#cboxyoutubeMiddleLeft, #cboxyoutubeBottomLeft{clear:left;}
#cboxyoutubeContent{position:relative;}
#cboxyoutubeLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxyoutubeTitle{margin:0;}
#cboxyoutubeLoadingOverlay, #cboxyoutubeLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxyoutubePrevious, #cboxyoutubeNext, #cboxyoutubeClose, #cboxyoutubeSlideshow{cursor:pointer;}
.cboxyoutubePhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxyoutubeIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorboxyoutube, #cboxyoutubeContent, #cboxyoutubeLoadedContent{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 colorboxyoutube.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxyoutubeOverlay{background:#000000; opacity: 0.8; filter: alpha(opacity = 80);}
#colorboxyoutube{outline:0;}
    #cboxyoutubeContent{margin-top:0; overflow:visible; background:#000;}
/*	#cboxyoutubeContent{margin-top:32px; overflow:visible; background:#000;} */
        .cboxyoutubeIframe{background:#fff;}
        #cboxyoutubeError{padding:50px; border:1px solid #ccc;}
        #cboxyoutubeLoadedContent{background:#000; padding:1px;}
        #cboxyoutubeLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxyoutubeLoadingOverlay{background:#000;}
        #cboxyoutubeTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxyoutubeCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxyoutubePrevious, #cboxyoutubeNext, #cboxyoutubeSlideshow, #cboxyoutubeClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxyoutubePrevious:active, #cboxyoutubeNext:active, #cboxyoutubeSlideshow:active, #cboxyoutubeClose:active {outline:0;}

        #cboxyoutubePrevious{background-position:0px 0px; right:44px;}
        #cboxyoutubePrevious:hover{background-position:0px -25px;}
        #cboxyoutubeNext{background-position:-25px 0px; right:22px;}
        #cboxyoutubeNext:hover{background-position:-25px -25px;}
        #cboxyoutubeClose{background-position:-50px 0px; right:0;}
        #cboxyoutubeClose:hover{background-position:-50px -25px;}
        .cboxyoutubeSlideshow_on #cboxyoutubePrevious, .cboxyoutubeSlideshow_off #cboxyoutubePrevious{right:66px;}
        .cboxyoutubeSlideshow_on #cboxyoutubeSlideshow{background-position:-75px -25px; right:44px;}
        .cboxyoutubeSlideshow_on #cboxyoutubeSlideshow:hover{background-position:-100px -25px;}
        .cboxyoutubeSlideshow_off #cboxyoutubeSlideshow{background-position:-100px 0px; right:44px;}
        .cboxyoutubeSlideshow_off #cboxyoutubeSlideshow:hover{background-position:-75px -25px;}
