/*
Milkbox - - - - */
#mbOverlay{
	position:absolute;
	left:0;
	width:100%;
	background-color:#000; /* set the Milkbox overlay color // opacity:see the js options */
	z-index:998;
	cursor:pointer;
}

#mbCenter{/* for default width and height, see the js options */
	position:absolute;
	z-index:999;
	overflow:hidden;
	left:50%;
	top:10%;/* overwritten in the js options to properly position the milkbox when activated in a scrolled window */
	background-color:#fff;/* set the Milkbox background color */
	border:5px solid #fff;/* set the Milkbox border */
	margin:0;
	padding:5px;/* set the Milkbox padding */
}


/*
Image loading gif - - - - */
.mbLoading{
	background:#fff url(../images/milkbox/loading.gif) no-repeat center;
}

#mbImage{
	margin:0;
	padding:0;
	height:0;
	border:none;
	font-size:0;
	overflow:hidden;
}

#mbImage img{
	width:100%;
	height:100%;
}

#mbBottom .clear{
	clear:both;
	height:0;
	margin:0;
	padding:0;
	font-size:0;
	overflow:hidden;
}


/*
Bottom Section - - - - */
#mbBottom{/* set text options */
	font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size:10px;
	color:#666;
	line-height:1.4em;
	text-align:left;
	padding-top:8px;
	padding-bottom:5px;
	margin:0;
	min-height:50px;
	height:auto !important;
	height:50px;
}

/* navigation - be careful if you change buttons dimensions */
#mbNavigation{
	float:right;
	width:27px;
	padding-top:3px;
	border-left:1px solid #9c9c9c;/* set nav border */
}

#mbCount{ 
	width:55px; 
	overflow:hidden;
	padding-top:1px;
	float:right;
	text-align:right;
	font-size:9px; /* count font size */
}

#mbCloseLink, #mbPrevLink, #mbNextLink{
	outline:none;
	display:block;
	float:right;
	height:20px;
	cursor:pointer;
}

#mbPrevLink, #mbNextLink{
	width:17px;
}

#mbPrevLink{/* IMAGE: prev */
	background:transparent url(../images/milkbox/prev.gif) no-repeat;
}

#mbNextLink{/* IMAGE: next */
	background:transparent url(../images/milkbox/next.gif) no-repeat;
}

#mbCloseLink{/* IMAGE: close */
	width:20px;
	background:transparent url(../images/milkbox/close.gif) no-repeat;
}

/* description */
#mbDescription{
	margin-right:27px;
	padding:0px 10px 0 0;
	font-weight:normal;
	text-align:left;
}


/*
Overlay icon and generic styles - - - - */
img{
	border:none;
}

ul.Milkbox{
	list-style-type:none;
	padding:0;
	margin:0;
	float:none;
}

ul.Milkbox li{
	float:left;
	clear:both;
	padding:0;
	margin:0;
	position:relative;
}

.Overlay{
	position:absolute;
	right:-5px;
	bottom:-5px;
	width:17px;
	height:17px;
	background:transparent url(../images/milkbox/MagIcon.png) left top no-repeat;
}

#mbDownload a, #mbDownload a:link, #mbDownload a:visited, #mbDownload a:hover, #mbDownload a:active{
	color:#666;
	text-decoration:none;
	padding:5px 0 0 0;
}

#mbDownload a:hover{
	color:#999;
}