/*
    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;}
#cboxWrapper { max-width:none; }
#cboxOverlay{ position:fixed; width:100%; height:100%; overflow: hidden; }
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{ overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{
	margin:0;
	text-decoration: none;
	padding: 0;
	font-size: 1.8em;
}
#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; }

/* 
    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{
	width: 100%;
	background-image: url(../../img/program/pop_bg.png);
	background-repeat: repeat;
}

#colorbox{ outline:0; max-width: 100%; max-height: 100%; }
.video_colorbox#colorbox{ padding: 0; }
    #cboxContent{
		margin: 0; background-color: #fff;
		border-radius: 10px;
	}
    .video_colorbox #cboxContent{
		overflow:visible; background:#000;
	}
        .cboxIframe{ }
        #cboxError{ }
        #cboxLoadedContent{ }
        .video_colorbox #cboxLoadedContent{ padding: 0; }
        #cboxLoadingGraphic{ }
        #cboxLoadingOverlay{ }
        #cboxTitle{ position:absolute; top: 30px; left: 20px; color:#000; }
        #cboxCurrent{ 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 */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border:0; padding:0; margin:0; position:absolute; z-index: 1; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline:0; }

        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
		
        #cboxClose {
			padding: 0; text-align: center; width: 40px; height: 40px;
			transition: all 0.5s; text-decoration: none;
			background-color: #e70707; color: #fff;
			font-size: 1.6em;
			bottom: 0; right: 0; font-family: FontAwesome;
		}
        .video_colorbox #cboxClose{
			top: -40px; right: 0;
		}
        .sp #cboxClose{
			top: auto; right: 50%; bottom: 10px; margin: 0 -50px 0 0;
		}
		
        #cboxClose:hover{ }
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{ right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{ }
        .cboxSlideshow_off #cboxSlideshow{ right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{ }
