/* mediaboxAdvanced - black theme */

#MDOverlay {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#MDOverlay.MDOverlayFF {
	background: transparent url(/jscript/mediabox/images/90.png) repeat;
}

#MDOverlay.MDOverlayIE {
	position: absolute;
}

#MDCenter {
	position: absolute;
	z-index: 9999;
	left: 50%;
	overflow: hidden;
	background-color: #738163;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.70);
	-webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.70);
}

#MDCenter.MDLoading {
	background: #000 url(/jscript/mediabox/images/BlackLoading.gif) no-repeat center;

/*	This style is applied only during animation.	*/
/*	For example, the following turns off shadows,	*/
/*	helping browser performance on slow systems.	*/
/*	To leave shadows on, just remove these lines:	*/
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#MDImage {
	position: relative;
	left: 0;
	top: 0;

/*	Begin styles for inline content, if no style is given	*/
	font-family: Tahoma, Myriad, Verdana, Arial, Helvetica, sans-serif;
	line-height: 20px;
	font-size: 12px;
	color: #fff;
	text-align: left;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 10px;
}

#MDImage a, #MDImage a:link, #MDImage a:visited {
	color: #ddd;
}

#MDImage a:hover, #MDImage a:active {
	color: #fff;
}

/*	End inline content styles	*/

#MDBottom {
	min-height: 20px;
	font-family: Tahoma, Myriad, Verdana, Arial, Helvetica, sans-serif;
	line-height: 20px;
	font-size: 12px;
	color: #999;
	text-align: left;
	padding: 0 10px 10px;
}

#MDTitle {
	display: inline;
	color: #fff;
    float:right;
    padding-right:30px;
	font-weight: bold;
	line-height: 20px;
	font-size: 12px;
    direction:rtl;
}

#MDNumber {
	display: inline;
    color: #fff; 
    float:left;
	line-height: 14px;
    font-size: 12px;
	margin: auto 10px;
}

#MDCaption {
	display: block;
	color: #999;
	line-height: 14px;
	font-size: 10px;
}

#MDPrevLink, #MDNextLink, #MDCloseLink {
	display: block;
	float: right;
	height: 20px;
	margin: 0;
	outline: none;
}

#MDPrevLink {
	width: 22px;

background: transparent url(/images/mediabox/object-12-green.gif) no-repeat center;  
}

#MDNextLink {
	width: 22px;
background: transparent url(/images/mediabox/object-12-green-right.gif) no-repeat center;      
}

#MDCloseLink {
	width: 22px;
background: transparent url(/images/mediabox/closed.gif) no-repeat center;
}

/*	Styles for flash version alert	*/

#MDError {
	position: relative;
	font-family: Tahoma, 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;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

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