/*
    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;}
#colorbox, #cboxWrapper {overflow:visible;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#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;}
.cboxIframe{width:100%; height:100%; display:block; border: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.
*/
#cboxOverlay{
	background:#fff;
	opacity:0.5 !important;
}
#colorbox{
	-webkit-box-shadow:0 0 24px rgba(0,0,0, 0.5);
	        box-shadow:0 0 24px rgba(0,0,0, 0.5);
}
#cboxContent{
	margin:0;
	/*padding:0 55px 30px;*/
	/*padding:10px;*/
	padding:0;
	overflow:visible;
	background:white;
}

/* Calendar event */
.colorbox-cep {
	/*padding-right:20px !important;
	padding-bottom:20px !important;*/
}
.colorbox-cep #cboxContent {
	padding:10px;
}
.colorbox-cep #cboxTitle{
	display:none !important;
}
/* Photo gallery */
.colorbox-gallery {
	/*padding-right:110px !important;
	padding-bottom:30px !important;*/
}
.colorbox-gallery #cboxContent {
	padding:0 55px 30px;
}

.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:white;}
#cboxLoadingGraphic{background:url(../i/loader.gif) no-repeat center center;}
#cboxLoadingOverlay{background:white;}

#cboxTitle{
	position:absolute;
	background:white;
	left:55px;
	right:55px;
	bottom:0;
	padding:5px 10px 7px;
	text-align:center;
}
#cboxCurrent{
	position:absolute;
	right:205px;
	top:-22px;
	text-indent:-9999px;
}
#cboxSlideshow,
#cboxPrevious,
#cboxNext,
#cboxClose {
	position:absolute;
	text-indent:-9999px;
}
#cboxPrevious,
#cboxNext {
	width:55px;
	top:0;
	bottom:0;
	background:#f3f3f3;
}
#cboxPrevious:hover,
#cboxNext:hover {
	background:#e3e3e3;
}
#cboxPrevious {left:0;}
#cboxNext {right:0;}

#cboxPrevious:after,
#cboxNext:after {
	position:absolute;
	display:block;
	content:"";
	width:0;
    height:0;
	left:23px;
	top:50%;
	margin-top:-6px;
	color:#2770ae;
    border-top:6px solid transparent;
	border-bottom:6px solid transparent;
}
#cboxPrevious:after {
	border-right:9px solid;
}
#cboxNext:after {
	border-left:9px solid;
}
#cboxClose{
	right:-14px;
	top:-12px;
	width:32px;
	height:33px;
	background:url(../i/icons.png) -220px -280px no-repeat;
	z-index: 999;
}
/*
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
*/
