		/*	mediaboxAdvanced Black theme	*/
		/*	version 2.1 - August 2010		*/
		/*	for mediaboxAdvanced v.1.3.1	*/

		/*	Overlay background styling	*/

#mbOverlay {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

		/*	Legacy fix for older browsers	*/

#mbOverlay.mbOverlayFF {
	background: transparent url(../images/80.png) repeat;
}

#mbOverlay.mbOverlayIE {
	position: absolute;
}

		/*	Overlay panel styling	*/

#mbCenter {
	position: absolute;
	z-index: 9999;
	left: 50%;
	/*overflow: hidden;*/
	background-color: #f2f2f2;
	border-radius: 4px;
	-webkit-box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
	-khtml-box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
	-moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
	box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
}

#mbCenter img{
	border-radius: 4px 4px 0 0 ;
}

#mbCenter.mbLoading {
	background: #fff url(../images/loading-light.gif) no-repeat center;
		/*	This style is applied only during animation.	*/
		/*	For example, the next lines turn off shadows	*/
		/*	improving browser performance on slow systems.	*/
		/*	To leave shadows on, just remove the following:	*/
	-webkit-box-shadow: none;
	-khtml-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#mbImage {
	position: relative;
	left: 0;
	top: 0;

		/*	Inline content styling	*/

	line-height: 20px;
	font-size: 12px;
	color: #333;
	text-align: left;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 5px;
}

		/*	Title, Caption and Button styling	*/

#mbBottom {
	color: #000;
	text-align: left;
	padding: 0 8px 5px;
	font-size: 1.5rem;
}

#mbTitle {
	display: inline;
	color: #333;
	line-height: 20px;
	font-size: 12px;
}

#mbNumber {
	display: inline;
	color: #333;
	line-height: 14px;
	font-size: 10px;
	margin: auto 10px;
}

#mbCaption {
	display: block;
	color: #333;
	line-height: 14px;
	font-size: 10px;
}

#mbCloseLink {
	outline: none;
	width: 25px;
	height:50px;
	line-height:53px;
	text-align: center;
	font-weight: normal;
	font-size: 16px;
	opacity: 0.4;
}
#mbPrevLink, #mbNextLink{
	outline: none;
	line-height:53px;
	text-align: center;
	font-weight: normal;
	font-size: 16px;
	opacity: 0.4;
}

#mbPrevLink, #mbNextLink {
	position: absolute;
	top:0;
	width: 50%;
	height:100%;
	margin:0 0 0 0 ;
	background:#f2f2f2;
	opacity: 0;
	z-index: 9999;
}
#mbPrevLink {
	left:0;
	padding:0 0px 0 0;
	border-radius:5px 0 0 5px;
}
#mbNextLink {
	right:0;
	padding:0 0 0 0px;
	border-radius:0 5px 5px 0;
}

#mbCloseLink {
    position: absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	line-height:100%;
	padding: 0 0 0 0;
    color: #666;
	background:#fff;
	opacity: 0;
	text-align: center;
	border-radius:5px;
}


#mbPrevLink b, #mbNextLink b, #mbCloseLink b {
	text-decoration: underline;
}

#mbPrevLink big, #mbNextLink big, #mbCloseLink big {
	font-size: 24px;
	line-height: 20px;
}

#mbBottom a, #mbBottom a:link, #mbBottom a:visited {	/* Thanks to Danny Jung for feedback and corrections */
	text-decoration: none;
	color: #666;
}

#mbBottom a:hover, #mbBottom a:active {
	text-decoration: none;
	color: #000;
}

/*	Error message styling	*/

#mbError {
	position: relative;
	font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
	line-height: 20px;
	font-size: 12px;
	color: #fff;
	text-align: center;
	border: 10px solid #700;
	padding: 10px 10px 10px;
	margin: 20px;
	border-radius: 4px;
}

#mbError a, #mbError a:link, #mbError a:visited, #mbError a:hover, #mbError a:active {
	color: #d00;
	text-decoration: underline;
}
