/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#header p,div, span, table, td, ul, li {padding: 0; margin: 0;} 
#apartat ul, #noticia ul, #activitat ul { padding: auto; margin: 0 0 0 40px; }

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> 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: #ff0000;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#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;
	background-color:#000;
	filter:alpha(opacity=85);
	-moz-opacity: 0.85;
	opacity: 0.85;
	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');
}

#TB_window {
	position: fixed;
	background: transparent;
	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_ImageOff {
}			 
#TB_window img#TB_Image {
	display:block;
	margin: 0px;
	border:solid 5px #fff;
}

#TB_caption{
	background-color:#fff;
	border:solid 5px #fff;
	padding:10px 0;
	text-align:center;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:0px 10px 0px 0;
	margin-top:6px;
	text-align:right;
	float:right;
}
#TB_closeWindowButton{
	background: url("imgs/close.gif") no-repeat top right;
	text-decoration:none;
}
#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 0px;
	margin-bottom:1px;
	/* text-transform: uppercase; */ 
	font-family:arial;
	font-size:11px;
	font-weight:bold;
	color:#2F363F;	
}


#TB_title_pre{
	background: url("imgs/fons_popup_esq.gif") no-repeat top left; 
	height:45px;
	padding-left:10px;	
	margin-right:1px;
}

#TB_title{
	margin:0 2px 0 0;
	background: url("imgs/fons_popup_dre.gif") no-repeat top right;  
	height:45px;	
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_peuesq {
	background: url("imgs/fons_popup_esq.gif") no-repeat bottom left transparent;  
	height:10px;
	padding-left:10px;	
	margin-right:1px;
}

#TB_peudre {
	margin:0 2px 0 0;
	background: url("imgs/fons_popup_dre.gif") no-repeat bottom right transparent;  
	height:10px;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	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) + (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;
	background: #fff;		
	overflow: auto;
	overflow-x: auto;
	overflow-y: scroll;
	border-bottom:solid 3px #fff;
	margin-bottom:-3px;
	_margin-bottom:0px;
	padding-bottom:0px;
}
