*{ padding: 0; margin: 0; }

#TB_window {
	font: 100% Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 90% Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#000;
	filter:alpha(opacity=87);
	-moz-opacity: 0.87;
	opacity: 0.87;
	height:100%;
	width:100%;
}
* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
	position: fixed;
	z-index: 102;
	display:none;
	text-align:left;
	top:50%;
	left:50%;
	padding: 10px 10px 0 0;
}
* 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;
}

/* added */
.display {
	background: #0d0d0d;
	padding: 10px;
}
#TB_closeWindowButton {
	position: absolute;
	top: 0px;
	right: 0px;
	background: url(../images/close.png) no-repeat;
	width: 35px;
	height: 35px;
	cursor: pointer;
}
#TB_prev a {
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -28px;
	background: url(../images/go-prev.png) no-repeat;
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
}
#TB_next a {
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -28px;
	background: url(../images/go-next.png) no-repeat;
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
}



#TB_caption {
	padding: 5px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height: 100%;
	font-weight: normal;
	text-transform: uppercase;
	color: #666666;
}
#TB_caption small {
	color: #999999;
	display: block;
	padding-top: 3px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 100%;
	text-transform: capitalize;
}
#TB_ajaxWindowTitle{
	margin-bottom: 5px;
}
#TB_title{
	font: bold 110%/100% Georgia, "Times New Roman", Times, serif;
	color: #333333;
	border-bottom: dotted 1px #ccc;
}
#TB_ajaxContent{
	clear:both;
	padding: 10px;
	overflow:auto;
	text-align:left;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}
#TB_load{
	position: fixed;
	display:none;
	height:60px;
	width:60px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -30px 0 0 -30px; /* -height/2 0 0 -width/2 */
	background: url(../images/loading.gif) no-repeat center center;
}
* 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;
}
/* 
	Transparency hack for png ie6
	apply behavior filter only to foreground images
	and to background images whose position is top left
*/
#TB_closeWindowButton,
#TB_prev a,
#TB_next a {
	behavior: url(css/iepngfix.htc);
	}
