/* global settings needed for thickbox */

*{
	padding: 0; 
	margin: 0;
}

/*  thickbox specific link and font settings */

#TBsecondLine {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
}

#TBwindow a:link, #TBwindow a:visited, #TBwindow a:active, #TBwindow a:focus {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	outline: none;
	text-decoration: none;
}

#TBwindow a:hover {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	outline: none;
	text-decoration: underline;
}

/* thickbox settings */

#TBoverlay {
	position: fixed;
	z-index:	100;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
}

.TB_overlayMacFFBGHack {background: url(../gifs/macFFBgHack.png) repeat;}

.TBoverlayBG {
	background-color: #bbbbbb;
	color: #ffffff;
	filter: alpha(opacity=50);
	-moz-opacity: 0.50;
	opacity: 0.50;
}

/* ie6 hack */
* html #TBoverlay { 
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TBwindow {
	position: fixed;
	background-color: #ffffff;
	color: #585858;
	border: none;
	display: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
	text-align:left;
	top:50%;
	left:50%;
	z-index: 102;
}

/* ie6 hack */
* html #TBwindow { 
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TBwindow img#TBImage {
	display: block;
	margin: 15px 0px 0px 15px;
}

#TBcaption {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	height: 30px;
	padding: 8px 30px 10px 15px;
	float: left;
}

#TBcloseWindow {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	height: 30px;
	padding: 8px 15px 10px 0px;
	float: right;
}

#TBcloseAjaxWindow {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	padding: 7px 10px 5px 0px;
	margin-bottom: 1px;
	text-align: right;
	float: right;
}

#TBajaxWindowTitle {
	background-color: transparent;
	color: #585858;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding: 7px 0px 5px 10px;
	margin-bottom: 1px;
	float: left;
}

#TBtitle {
	background-color: #ffffff;
	color: #585858;
	height: 27px;
}

#TBajaxContent {
	clear: both;
	padding: 2px 15px 15px 15px;
	margin: 0 0 0 0;
	/*overflow: auto;*/
	text-align: left;
	line-height: 1.4em;
}

#TBajaxContent.TBmodal {
	padding: 15px;
}

#TBajaxContent p {
	padding:5px 0px 5px 0px;
	margin: 0 0 0 0;
}

/* ie6 hack */
* html #TBload { 
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TBHideSelect {
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #ffffff;
	color: #585858;
	border: none;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height: 100%;
	width: 100%;
}

/* ie6 hack */

* html #TBHideSelect { 
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TBiframeContent {
	clear: both;
	border: none;
	margin-bottom: -1px;
	margin-top: 1px;
	_margin-bottom: 1px;
}
