/* Core Style */
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:999999; 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;}

/* BoyBlue */
#cboxOverlay{
	background:#000;
}
#colorbox{outline:0; font-weight: 300; font-size: 16px; color:#77797b;}
 #cboxContent{
 	margin-top:40px; 
 	overflow:visible; 
 	background:#transparent;
/* 	padding: 12px 0 9px;*/
 }
        .cboxIframe{background:transparent;}
        #cboxError{padding:50px; border:1px solid #cecccc;}
        #cboxLoadedContent{
        	box-shadow: 0 4px 50px rgba(0,0,0,.4); 
        	overflow: visible 
        	!important; z-index: 3;
        }
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#030c14;}
        #cboxTitle{
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	position:fixed;
        	top:0; 
        	left:0;
        	background: #495059;
        	line-height: 20px;
        	padding: 12px 108px 10px 12px;
        	width: 100%;
        	height: 44px;
        	overflow: hidden;
        	font-weight: 300;
        	color: #b2b8c0;
        	font-size: 22px;
		}
		#cboxTitle .subtitle {
			font-weight: 300;
			color: #b2b8c0;
			display: inline-block;
		}
		#cboxTitle .director {
			color: #777e87;
			font-weight: 400;
			font-size: 16px;
			display: inline-block;
			text-transform: uppercase;
		}
        #cboxCurrent{
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	position:fixed; 
        	top:0; 
        	right: 0; 
        	height: 44px; 
        	color: #b2b8c0;
        	padding: 0 124px 0 0;
        	text-align: right;
        	line-height: 44px;
        	z-index: 2;
		}

        /* 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:10px; 
        	overflow:visible; 
        	text-indent:-9999px; 
        	width:24px; 
        	height:24px; 
        	position:fixed; 
        	top:0;
        	background-color: transparent;
        	background-repeat: no-repeat; 
        	background-position: 50% 50%; 
        	background-size: 70% 70%;
        	z-index: 4;
        	transition: background .2s;
		}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{
        	background-image: url('../images/icon-prev.svg'); 
        	right:70px;
		}
        #cboxNext{
        	background-image: url('../images/icon-next.svg'); 
        	right:36px;
        }
        #cboxClose{
        	background-image: url('../images/icon-close.svg'); 
        	right:0;
        }
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:120px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:80px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:80px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
        
        #cboxPrevious:after, #cboxNext:after, #cboxClose:after {
        	content: '';
         	display: block;
        	position: fixed;
        	color: #b2b8c0;
        	font-weight: 400;
        	text-transform: uppercase;
        	top: 44px;
        	left: 0;
        	width: 100%;
        	height: 44px;
        	line-height: 44px;
        	background: #777e87;
        	text-align: right;
        	box-shadow: 0 15px 30px rgba(0,0,0,.3);
        	padding-right: 10px;
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	z-index: -1;
        	opacity: 0;
        	transition: opacity .4s;
        }
        #cboxPrevious:after {
        	content: 'Previous video.  Your arrow keys work, too.';
        }
        #cboxNext:after {
        	content: 'Next video.  Your arrow keys work, too.';
        }
        #cboxClose:after {
        	content: 'Close video player.  [ESC] works, too.';
        }

@media screen and (min-width: 1101px) {

	#cboxTitle{
		padding-right: 200px;
	}
	#cboxPrevious:hover:after, 
	#cboxNext:hover:after, 
	#cboxClose:hover:after {
	 	opacity: 1;
	}
	#cboxClose:hover,
	#cboxPrevious:hover,
	#cboxNext:hover,
	#cboxNext:active,
	#cboxNext:focus {
		background-size: 85% 85%;
	}
	
}

@media screen and (max-width: 1060px) {

	#cboxCurrent{
		display: none !important;
	}

}

@media screen and (max-width: 700px) {

	#cboxLoadedContent{
		padding:0; 
	}
	#cboxTitle{
		text-indent: -9999px;
	}
	#cboxPrevious{right:auto; left: 0;
	}
	#cboxNext{right: auto; left: 40px;}
	#cboxClose{right:0;}

}