/*
    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; -webkit-transform: translate3d(0,0,0);}
#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;}

/* 
    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.
*/
.cboxMovies{
	display: none;
}
#colorbox{
	width:100%!important;
	max-width: 750px;
	left: 50%!important;
	-webkit-transform: translate(-50%,0);
	-moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-o-transform: translate(-50%,0);
	transform: translate(-50%,0);
}
#cboxWrapper{
	max-width: 750px;
	width:100%!important;
	position: relative;
}
#cboxLoadedContent{
	width: 100%;
	max-width: 750px;
	height: auto!important;
}
#cboxLoadedContent .movieWrap{
	position: relative;
	width: 100%;
	padding-bottom: 56%;
}
#cboxLoadedContent .movie{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#cboxOverlay{background:rgba(0,0,0,0.90)}
#colorbox{outline:0;}
#cboxClose{
	position: absolute;
	z-index: 999;
  top: -25px;
  right: 5px;
	outline: none;
	border: 0;
	width: 20px;
	height: 20px;
	text-indent: -999px;
	background:url(../images/icon_close.png) no-repeat;
	background-size: contain;
}