/*
    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; 
}
#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
	clear: left;
}
#cboxContent {
	position: relative; 
	background: #ffffff;
	margin: 1em;
	margin-bottom: 4em;
}
#cboxLoadedContent {
	overflow: auto;
}
#cboxTitle {
	margin: 0;
	display: block;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
	position: absolute; top: 0;
	left: 0;
	width: 100%;
}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
}
.cboxPhoto {
	float: left; 
	margin: auto; 
	border: 0; 
	display: block;
}
.cboxIframe {
	width: 100%; 
	height: 100%; 
	display: block; 
	border: 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 {
	background: #ffffff;
}
#cboxContent {
	margin-top: 1em;
}
#cboxError {
	padding: 50px; 
	border: 1px solid #ccc;
}
#cboxLoadedContent {
	margin: 0 auto;
	border: 1px solid #000; 
	background: #FFFFFF;
}
#cboxTitle {
	padding: 1em;
	width: 100%;
	position: absolute; 
	left: -16px; 
	color: #000000;
}
#cboxCurrent {
	position: absolute; 
	top: -20px; 
	right: 0; 
	color: #ccc; 
	display:  none !important;
}
#cboxSlideshow {
	position: absolute; 
	top: -20px; 
	right: 90px; 
	color: #FFFFFF;
}
#cboxPrevious {
	display:  block!important;
	position: absolute; 
	top: 50%; 
	left: 2px; 
	margin-top: -32px; 
	width: 28px; 
	height: 65px; 
	text-indent: -9999px; 
	background: url(images/controls.png) no-repeat center left;
	border: none;
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	opacity: 0.5;
	border-radius: 0 5px 5px 0;
}
#cboxPrevious:hover {
	background-color: #000000;
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	opacity: 0.5;
}

#cboxNext {
	display:  block!important;
	position: absolute; 
	top: 50%; 
	right: 2px; 
	margin-top: -32px; 
	width: 28px; 
	height: 65px; 
	text-indent: -9999px; 
	background: url(images/controls.png) no-repeat center right;
	border: none;
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	opacity: 0.5;
	border-radius: 5px 0 0 5px;
}

#cboxNext:hover {
	background-color: #000000;
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	opacity: 0.5;
}


#cboxLoadingOverlay {
	background: #808080;
}
#cboxLoadingGraphic {
	background: url(images/loading.gif) no-repeat center center;
}
#cboxClose {
	position: absolute; 
	top: 0px;
	right: 5px; 
	display: block; 
	width: 38px; 
	height: 25px; 
	background: url(images/controls.png) no-repeat top center; 
	background-color: #000000;
	text-indent: -9999px; 
	border: none;
	border-radius: 0 0 10px 10px;
}
#cboxClose:hover {
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	opacity: 0.5;
}
#colorbox:focus  {
	outline: none!important;
}
#cboxContentbutton  {
	border: none;
}
.cboxPhoto  {
	max-width: 100% !important;
	height:  auto;
}