/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	z-index: 9999999;
}

.TB_overlayBG {
	background-color:#000000;
	filter:alpha(opacity=80);
	-moz-opacity: 0.80;
	opacity: 0.80;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";

}
 
* 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: #fff;
	z-index: 99999992;
	
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}
#TB_window #content
{
	margin-top:0 !important;
}
* 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{
	/*height:25px;
	float:left;
    margin: 5px 0 0 15px;*/
    height: auto;
    float: left;
    margin: 5px 0 0 15px;
    max-width: 100%;
    position: relative;
    padding-right: 15px;
    padding-bottom: 6px;
    left: 0;
    line-height: 21px;
    background-color: #ffffff;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#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:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
/*	padding:2px 15px 15px 15px;*/
	overflow:auto;
	text-align:left;
	padding: 0 0 20px; 
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}


#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:99999993;
	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;*/
	
	margin: 0;
}
#TB_title {
	height: 1px;
	position: relative;
	top: 0;
	left: 0;
	line-height: 0;
	padding: 0;
	margin: 0;
	background: #eff3f8 !important;
}

#TB_ajaxWindowTitle {
	display: none;
}

#TB_closeAjaxWindow {
	height: 0;
	position: relative;
	top: 0;
	left: 0;
	text-indent: -9999px;
	float: none;
	padding: 0;
	text-align: left;
}

#TB_closeWindow { text-indent: -9999px; padding: 0; }

#TB_closeAjaxWindow a, #TB_closeWindow a {
	overflow: hidden;
	width: 42px;
	height: 34px;
	background: url("../../img/popup/close.png") no-repeat scroll 100% 0 #ffffff;
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	text-indent: 4000px;
    padding-left:8px;
    padding-bottom:8px;
	z-index: 99;
}

#TB_window {
	border: none;
	/*top: 0;*/
	/*margin-top: 182px !important;*/
	/*position: absolute;*/
}
#wrapper.thickboxpage {
	width:651px;
}
#wrapper.thickboxpage .widecolumn{
	width:603px;
}


#TB_window.inline {
}
#TB_window.inline #TB_title {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 0px;
    width: 100%;
    z-index: 99;
}
#TB_window.inline #TB_ajaxContent {
	padding: 0;
    z-index: 1;
}
