/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
/* *{padding: 0; margin: 0;} */
/* THIS WAS REMOVED AS IT MESSES WITH FORM ELEMENTS.
   REPLACED WITH THE FOLLOWING: */
html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
abbr, acronym, address, big, cite, code, del, 
dfn, em, font, img, ins, kbd, q, s, samp, small, 
strike, strong, sub, sup, tt, var, dl, dt, dd, 
ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td
{ margin: 0; padding: 0; }

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px 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;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#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=65);
	-moz-opacity: 0.65;
	opacity: 0.65;
}

* 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;
	background-color: #FFFFFF;
	z-index: 102;
	color:#000000;
	display:none;
	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_container {
	position: relative;
	/* IE fix */
	.position: static;
	padding-top: 10px;
}
#TB_next {
	position: absolute;
	bottom: 0px;
	/* IE fix */
	.bottom: 10px;
	right: 10px;
}
#TB_prev {
	position: absolute;
	bottom: 0px;
	/* IE fix */
	.bottom: 10px;
	left: 10px;
}

#TB_window #TB_imgcontainer {
	position: relative;
}

#TB_window img#TB_Image {
	display:block;
	margin: 0 0 10px 10px;
}

#TB_caption{
	padding:9px 29px 10px 17px;
	float:left;
}
#TB_caption h2, #TB_ajaxWindowTitle h2 {
	font-weight: normal;
	font-size: 1.5em;
	margin: 0;
}
#TB_caption p, #TB_ajaxWindowTitle p {
	color: #8c7d53;
	font-size: 1em;
}

/*#TB_closeWindow{
	position: absolute;
	top: 2px;
	right: 2px;
	float: right;
}*/

#TB_closeWindow,
#TB_closeAjaxWindow{
	padding:0;
	/*margin-bottom:1px;
	text-align:right;
	float:right;*/
	display: block;
	width: 18px;
	height: 19px;
	position: absolute;
	top: 7px;
	right: 8px;
}
a#TB_closeWindowButton {
	display: block;
	width: 18px;
	height: 19px;
	/*background: #fff url(btn_close-02.gif) no-repeat;*/
}
a#TB_closeWindowButton img {
	display: block;
}
#TB_ajaxWindowTitle{
	float:left;
	padding: 14px 0 24px 16px;
}

#TB_title{
	
}

#TB_ajaxContent{
	clear:both;
	/*padding: 10px;*/
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:10px;
}

#TB_ajaxContent p{
	/*padding:5px 0px 5px 0px;*/
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* 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;*/
}
