#BBContainer {
	position:fixed;
	z-index:3000;
	width:100%;
	height:100%;
	top:0;
	left:0;
}

#BBOverlay {
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#000;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}

#BBModalOutside {
	position:fixed;
	top:50%;
	left:50%;
	width:100px;
	height:50px;
	margin:-25px 0 0 -50px;
	padding:10px;
	background-color:#161717;
	opacity:0;
}

#BBModalInside {
	position:relative;
	overflow:hidden;
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	background-color:#fff;
}

* html #BBModalOutside { /* ie6 hack */
	_position: absolute;
	_margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

* html #BBOverlay { /* ie6 hack */
	_position:absolute;
	_height: expression(document.body.scrollHeight + 'px');
	_width: expression(document.body.scrollWidth > document.documentElement.offsetWidth ? document.documentElement.scrollWidth + 'px' : document.documentElement.offsetWidth + 'px');
}

#BBContent {
	padding:10px;
}

#BBBtnBar {
	position:absolute;
	bottom:-35px;
	left:0;
	background-color:#e1e1e1;
	height:35px;
	width:100%;
	text-align:center;
	line-height:35px;
}

#BBBtnBar .btn {
	padding:5px 10px;
	margin:0;
	background:#161717;
	color:#ddd;
	text-decoration:none;
}

#BBBtnBar .btn:hover {
	background:#262727;
	color:#fff;
	text-decoration:none;
}

#BBBtnBar .btn span {
	padding:10px;
	*padding:0px;
	display:inline-block;
	*display:inline;
	height:30px;
	*height:10px;
	*line-height:10px;
	cursor:pointer;
}

#BBImageCount {
	position:absolute;
	right:10px;
	bottom:8px;
	color:#161717;
	font: italic normal bold 12px Helvetica, Arial, sans-serif;
}

#BBLoading {
	position:absolute;
	line-height:32px;
	width:100px;
	height:32px;
	margin-top:-10px;
	margin-left:-50px;
	top:50%;
	left:50%;
	color:#161717;
	font-weight:normal;
	letter-spacing:-1px;
	font-size:16px;
	line-height:20px;
	vertical-align:middle;
}

#BBLoadingImage {
	background-image: url(../images/ajax-loader.gif);
	width:32px;
	height:32px;
	float:left;
	margin:-5px 0 0 2px;
	vertical-align:top;
}

#BBModalImage {
	margin:0;
	padding:0;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

#BBModalImage img {
	padding:0;
	margin:0;
}
