/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window {
	font: 11pt Verdana, sans-serif;
	color: #000;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}
#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_buttons_left {
	padding: 5px;
	padding-left: 12px;
	padding-top: 10px;
	padding-bottom: 14px;
	float: left;
        /*background-color: green;*/
}
#TB_buttons_right {
	padding-right: 12px;
	padding-left: 12px;
	padding-top: 10px;
	padding-bottom: 14px;
	float: right;
        /*background-color: red;*/
}

#TB_caption {
        padding: 3px;
	padding-top: 10px;
	padding-left: 14px;
        white-space: nowrap;
        overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis; /* Opera */
        /*background-color: red;*/
}
#TB_close{
	padding-top: 10px;
	padding-right: 2px;
	float: right;
        /*background-color: green;*/
}

#TB_window img#TB_Image {
	display: block;
	margin-top: 0px;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/* центрирование объектов - окошка, картинки-лоадера и двух перекрывающих все слоев */
#TB_window {
	position: fixed;
	background: #222;
	z-index: 102;
	color: #FFFFFF;
	display: none;
	border: 2px solid #ccc;
	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_load{
	position: fixed;
	display: block;
	height: 100px;
	width: 100px;
	z-index: 103;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (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_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.60;
	opacity: 0.60;
	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');
}