/*---- Dark Overlay ---*/

#TB_overlay {
	position: fixed;
	z-index:99990;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}




/*---- Window with Content ---*/

/*--- Height from the top is figured in javascript - it is really 100% height - (height of content/2) ---*/

#TB_window {
	position:fixed;
	z-index: 99995;
	display:none;
	text-align:left;
	top:50%; 
	padding-left:20px;
	left:50%;
}

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



#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:hidden;
	text-align:left;
	background:#fff;
	border:solid 3px #999;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}


#TB_HideSelect{
	z-index:99989;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	margin-bottom:1px;
}
