/*
    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;
}

#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;
}

.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: #000;
}

#colorbox {
	outline: 0;
}

#cboxTopLeft {
	width: 14px;
	height: 14px;
	background-color: #FFF;
}

#cboxTopCenter {
	height: 14px;
	background-color: #FFF;
}

#cboxTopRight {
	width: 14px;
	height: 14px;
	background-color: #FFF;
}

#cboxBottomLeft {
	width: 14px;
	height: 46px;
	background-color: #FFF;
}

#cboxBottomCenter {
	height: 46px;
	background-color: #FFF;
}

#cboxBottomRight {
	width: 14px;
	height: 46px;
	background-color: #FFF;
}

#cboxMiddleLeft {
	width: 14px;
	background-color: #FFF;
}

#cboxMiddleRight {
	width: 14px;
	background-color: #FFF;
}

#cboxContent {
	background: #FFF;
	overflow: visible;
}

.cboxIframe {
	background: #FFF;
}

#cboxError {
	padding: 50px;
	border: 1px solid #CCC;
}

#cboxLoadedContent {
	padding-bottom: 13px;
	border-bottom: 1px solid #CFCFCF;
}

#cboxLoadingOverlay {
	background: url(img/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
	background: url(img/loading.gif) no-repeat center center;
}

#cboxTitle, #cboxCurrent, #cboxPrevious, #cboxNext, .cboxSlideshow_on #cboxSlideshow, .cboxSlideshow_off #cboxSlideshow {
	display: none;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxClose {
	position: absolute;
	right: 0;
	bottom: -37px;
	width: 27px;
	height: 27px;
	padding: 0;
	margin: 0;
	border: 0;
	overflow: visible;
	text-indent: -9999px;
	background: url(img/icon_cbox_close.png) no-repeat;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxClose:active {
	outline: 0;
}