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

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #e9fcc;
}

#TB_secondLine {
	font: 11px Arial, Helvetica, sans-serif;
	color:#e9fcc;
}

#TB_window a:link 	{color: #897567;}
#TB_window a:visited {color: #d6c69b;}
#TB_window a:hover 	{color: #ead9ad;}
#TB_window a:active 	{color: #d6c69b;}
#TB_window a:focus	{color: #d6c69b;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> 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=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* 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			: #ffffff; 
	z-index				: 102;
	font					: normal normal normal 11px/normal Tahoma;
	color					: #e9fcc;
	display				: none;
	border				: 5px solid #65addf;
	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_window img#TB_Image {
	display				: block;
	margin				: 15px 0 0 15px;
	border-right		: 1px solid #f0f7ff;
	border-bottom		: 1px solid #f0f7ff;
	border-top			: 1px solid #f0f7ff;
	border-left			: 1px solid #f0f7ff;
}

/*--- Описание к картинки в просмотре ------------------------------------------------*/

#TB_caption{
	height: 25px;
	padding: 15px 30px 10px 15px;
	float: left;
}

/*--- Закртытие окна картинки в просмотре --------------------------------------------*/

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

#TB_closeWindowButton img{
	border: 0px;
}

#TB_closeAjaxWindow{
	padding: 7px 7px 0px 0;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float: left;
	padding: 10px 0px 0px 7px;
	margin-bottom: 1px;
}

/*--- Заголовок окна картинки в просмотре --------------------------------------------*/

#TB_title{
	height				: 35px;
	background			: #2e261f url(../images/thickbox/box_header.gif) repeat-x;
	font					: normal normal bold 11px/normal Tahoma;
	color					: #fef1d4;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#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;
}

