		/*	mediaboxAdvanced 4ward theme	*/

#mbOverlay {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	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: rgba(255,255,255,0.8);

	-webkit-border-top-left-radius: 40px;
	-webkit-border-bottom-right-radius: 40px;

	-khtml-border-radius-topleft: 40px;
	-khtml-border-radius-bottomright: 40px;

	-moz-border-radius-bottomright: 40px;
	-moz-border-radius-topleft: 40px;


	-moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
	box-shadow: 0px 5px 20px rgba(0,0,0,0.50);
}

#mbCenter.mbLoading {
	background: rgba(255,255,255,0.8) url(../images/4wdLoading.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	*/

	font-family: Arial, Helvetica, sans-serif;
	line-height: 130%;
	font-size: 9pt;
	color: #000;
	text-align: left;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 20px 20px 8px 20px;
}

		/*	Title, Caption and Button styling	*/

#mbImage a:hover, #mbImage a:active {
	color: #000;
}

/*	End inline content styles	*/

#mbBottom {
	text-align: left;
	padding: 0 20px 5px 20px;
	min-height:40px;
	margin-left: 0px;
	margin-right: -40px;
}

#mbTitle {
	display: block;
	color: #7E1518;
	font-weight: bold;
	line-height:100%;
	padding-top:5px;
}

#mbNumber {
	display: block;
	color: #333;
	line-height: 120%;
	font-size: 9pt;
	margin:2px 0px 0px 10px;
	position:absolute;
	right: 25px;
	bottom: 7px;
	text-align:right;
	font-size:8pt;
}

#mbCaption {
	color: #445569;
	line-height: 140%;
	padding-top:5px;
	padding-bottom: 5px;
}
#mbCaption:empty {
	padding-top:0px;
}

#mbPrevLink, #mbNextLink {
	display: block;
	float: right;
	height: 20px;
	width: 20px;
	outline: none;
	padding-bottom:0px;
	line-height: 0.1px;
	font-size: 0.1px;
	color: transparent;
	margin-left:10px;
}

#mbPrevLink {
	background: transparent url(../images/4wdPrevious.gif) no-repeat center;
}

#mbNextLink {
	background: transparent url(../images/4wdNext.gif) no-repeat center;
}

#mbCloseLink {
	display:block;
	outline:none;
	width: 21px;
	height:19px;
	position:absolute;
	top:0px;
	right:0px;
	background: transparent url(../images/4wdClose.gif) no-repeat top right;
	line-height: 0.1px;
	font-size: 0.1px;
	color: transparent;
}

/*	Styles for flash version alert	*/

#mbError {
	position: relative;
	font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
	line-height: 20px;
	font-size: 12px;
	color: #000;
	text-align: center;
	border: 10px solid #700;
	padding: 10px 10px 10px;
	margin: 20px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#mbError a, #mbError a:link, #mbError a:visited, #mbError a:hover, #mbError a:active {
	color: #700;
	font-weight: bold;
	text-decoration: underline;
}

/* Some Style for lightbox4ward */
/* The Javascript sets overflow:auto! We cant do this here because transition-bug on windows */

.lightbox4wardContentInside {
	background-color:#fff;
	color:#000;
	height:100%;
	overflow: auto;
}

.lightbox4wardAjax {
	overflow: auto;
}


/* And some fixes for our stupid friend IE */
body.ie7 #mbOverlay, body.ie8 #mbOverlay {
        position: absolute;
        background: transparent url(../images/80.png) repeat;
}
body.ie7 #mbCenter, body.ie7 #mbCenter.loading, body.ie8 #mbCenter, body.ie8 #mbCenter.loading {
        background-color: #fff;
}
