/* ---------- globals ---------- */

*{padding: 0; margin: 0;}

/* ---------- font & link ---------- */

#TB_window, #TB_window a  {
	font: 13px Georgia, Times, serif;
	color: #333;
	outline:0;
}

#TB_window a: hover {cursor: pointer; text-decoration: none}

/* ---------- settings ---------- */

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color: #333;
	display: none;
	border: 1px solid #333;
	text-align: left;
	top: 50%;
	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_window img#TB_Image {
	display: block;
	margin: 15px 0 0 15px;
}

#TB_caption {
	float: left;
	height: 25px;
	padding: 7px 30px 10px 25px;
}

#TB_secondLine {
	float: right;
	height: 25px;
	padding: 7px 25px 10px 0;
}

#TB_closeWindowButton {
	position: absolute;
	top: 0;
	left: 0;
	margin: -12px 0 0 -14px;
	width: 28px;
	height: 28px;
	background: url('close.png') 0 0 no-repeat;
	
}
*html #TB_closeWindowButton {background: url('close.gif') 3px 0 no-repeat} /*IE*/

#TB_closeAjaxWindow{
	padding: 7px 10px 5px 0;
	margin-bottom: 1px;
	text-align: right;
	float: right;
}

#TB_ajaxWindowTitle{
	float: left;
	padding: 7px 0 5px 10px;
	margin-bottom: 1px;
}

#TB_title{
	background-color: #666;
	padding: 7px 15px 10px 15px;
}

#TB_ajaxContent{
	clear: both;
	padding: 2px 15px 15px 15px;
	overflow: auto;
	text-align: left;
	line-height: 1.4em;
}

#TB_ajaxContent.TB_modal{
	padding: 15px;
}

#TB_ajaxContent p{
	padding: 5px 0px 5px 0px;
}

#TB_load {
	position: fixed;
	display: none;
	height: 100px;
	width: 100px;
	z-index: 103;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px; /* -height/2 0 0 -width/2 */
	background: url('load.gif') center no-repeat;
}

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

#TB_HideSelect{
	z-index: 99;
	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;
}


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

.TB_overlayMacFFBGHack {background: url('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');
}
