﻿/* Establim marges i bordes a 0 per evitar diferencies entre navegadors */
html, body, div, h1, h2, h3, h4, h5, h6, blockquote, ol, ul, li, dl, dt, dd, td, form, fieldset, a, img, button
{
	margin: 0;
	padding: 0;
}


#contenidor {
 width: 992px; 
 margin: 0 auto;

}

/*General*/
body
{
	text-align: center;
	background:#D3D3D3 url(imatges/bg.jpg) repeat-x top left;
	font-family: "Trebuchet MS" , Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.80em;
	color: #666666;
}


textarea, input
{
	font-family: "Trebuchet MS" , Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
}


/* Capçalera - capa contenidora menu i logo*/

#header-top
{ background: #000;
  width:992px;
  height:29px;
  color:#fff;
  padding-top:0px;
  margin-top: 2px;
 
	}
	
#header-top a
{ color: #fff;
  float:right;
}

#capcalera 
{
	top:3px;
	height: 132px; 
	background:url(imatges/capcalera_fsc.jpg) no-repeat top left;
	position:relative;
	display: table;
	width:992px;
	
}

#banners
{
    position:absolute; 
	width:410px;
	height:51px; 
	top: 20px;
	right:5px;
    
    /*
	width:992px;
	height:46px; 
	margin:10px auto; 
	border:0px;	
	text-align:left;
	
	
	position:absolute; 
	width:410px;
	height:51px; 
	top: 20px;
	right:5px;
	
	border:1px solid #666666; 		
	text-align:left;
	background-color:#ffffff; 
	background-image:url(imatges/bg_main.png); 
	background-repeat:repeat;
	
	*/
	}



/* capa contenidora logo */
#logo
{
	float: left;
	width: 150px; /* 800 pixels - zona scroll */
	height: 96px;
	border: none;
	text-align: center;
	/*background-color: #ffffff; /* blanc */
	/*background-image: url(imatges/bg_menu.gif); /* blanc amb linia gris a baix */
	background-repeat: repeat;
}


/* capa contenidora cos principal pagina */
#cos
{
	float: left; 
	border-top:0px;
	background: #fff;
	width: 992px; 
	margin: 0 auto; 
	position:relative; 
	

}
/*capes a l'interior de pantalla*/	
#esquerra
{
	float: left;
	width: 149px;
	height: auto;
	background-color:#f2f2f2; /*#efefef;*/
	border-top: 0px;
	border-right: solid 1px #333333;
	border-bottom: solid 1px #333333;
	border-left: 0px;
	text-align: center;
	/*font-size: 1.2em;*/
	padding:0px;
		
	}

#dreta 
{
 position: relative; 
 float: right;
 width: 100px;
 padding: 15px 5px 0 0;
 background-color: #fff;
}

#centre {
width: 700px; 
margin:0;
float: left; 
padding: 0px 10px 0px 15px; 
text-align: left;

}


/* capa contenidora titol */
#titol
{
	height: 40px;
	border: none 0px;
	text-align: left;
	margin-top: 47px;
	padding-top: 0px;
	padding-left: 13px;
}

#menu
{
	height:41px;
	background:#7F7F7F url(imatges/bg-menu.gif) repeat-x top left;
	
}
	
#contrast
{
	width: 320px;
	border: 0px;
	float: right;
	position: inherit;
	padding: 4px 0 0 0;
	text-align: right;
}


/* capa centre de gst */
#gstcentre
{
	float: left;
	width: 993px;
	border: 0px;
	text-align: left;
	background-color: #ffffff; /* blanc */
	background-image: url(imatges/bg_main.gif); /* blanc */
	background-repeat: repeat-y;
}

/* columnes*/

#columna1
{
	float: left;
	width: 400px;
	padding: 0 0px 30px 0;
}

#columna2
{
	float: left;
	width: 300px;
	padding: 0 0 30px 0;
}

#columna1p
{
	float: left;
	width: 350px;
	/*padding: 0 5px 30px 0;*/
}

#columna2p
{
	float: left;
	width: 260px;
	/*padding: 0 0 30px 0;*/
}


/* capa contenidora peu */
#peu
{
	width: 992px;
	height: 100px;
	border: 1px solid #666666; /* gris */
	margin: 10px auto; /* top=10 respecte a capa anterior horitzontal auto */
	border: 1px solid #666666; /* gris */
	background-color: #ffffff; /* blanc  /*	background-image:url(imatges/bg_main.png); /* blanc */ /*	background-repeat:repeat; */
	text-align: left;
	clear: both;
	display: table;
}

#peu p
{
	font-size: 0.9em;
	padding: 10px 0 0 25px;
	vertical-align: middle;
}

#peu a
{
	text-decoration: underline;
	color: #666;
}

#peu a:hover
{
	text-decoration: none;
}

#peu a:visited
{
	color: #999;
}

/* estils de capes per nom */
.requadre
{
	margin: 5px;
	padding: 0 20px 15px 20px;
	border: solid 1px #999999; /*	background-color:#ffffff; */
}

.requadre_portada
{
	margin: 5px;
	padding: 0 10px 10px 10px; /*	background-color:#ffffff; */
	text-align: justify;
}

.requadre_portada_agenda
{
	margin: 5px;
	padding: 0 10px 10px 10px; /*	background-color:#ffffff; */
	text-align: justify;
	font-size: 0.95em;
}


.requadretransparent
{
	margin: 5px;
	padding: 0 20px 15px 20px;
	border: solid 1px #fff; /*	background-color:#ffffff; */
}

.requadre_agenda
{
	margin: 5px;
	padding: 0 20px 15px 20px;
	border: solid 1px #999999; /*	background-color:#ffffff; */ /*    background-image: url(imatges/bg_agenda.gif); */
}

.interlinia_botons
{
	font-size: 0.20em;
}

.objcentrat
{
	display: block;
	clear: both;
	margin-left: auto;
	margin-right: auto;
}

.centrat { text-align:center;}


/*misstges destacats*/
.error
{
	background: #FDD1C5 url(imatges/ko.gif) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #FBAB95;
	border-bottom: 2px solid #FBAB95;
	color: #000000;
}

.ok
{
	background: #F7FABE url(imatges/ok.gif) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #DFE786;
	border-bottom: 2px solid #DFE786;
	color: #000000;
}


/* estils tipografics WebSiteMap*/
.nodoraiz
{
	text-align: left;
	color: #000000;
	text-decoration: none;
}

.nodoprimario
{
	text-align: left;
	color: #666666;
	text-decoration: none;
}

.nodoactual
{
	text-align: left;
	color: #dc2929;
}


/*estils per a les noticies*/
.subtitol
{
	margin-top: 0px;
	color: #EE7A11;
	font-size: 1.1em;
	font-weight: normal;
}

.llegirmes
{
	text-align: right;
	font-size: 0.9em;
	font-weight: normal;
}

.databuscador
{
	text-align: left;
	color: #dc2929;
}
.gris
{
	color: #999;
}
.vermell
{
	color: #dc2929;
}

/* h2 - per titols pagina */

h1
{
	text-align: left;
	color: #dc2929;
	font-size: 2.3em;
	
}


h2
{
	text-align: left;
	color: #dc2929;
	font-size: 1.5em;
	
}

h3
{
	margin-top: 1em;
	margin-bottom: 0.2em;
	text-align: left;
	color: #000000;
	font-size: 1.20em;
	font-weight: bold;
}

h5
{
	margin-top: 1em;
	margin-bottom: 0.2em;
	text-align: left;
	color: #666666;
	font-size: 0.9em;
	font-weight: normal;
}

/* linies */

hr
{
	height: 1px;
	text-align: center;
	color: #999999;
	width: 95%;
	font-size: 1px;
	line-height: 1px;
	font-weight: normal;
	margin: 0px 0px 0px 0px;
}

/*links*/
a
{
	text-decoration: underline;
	color: #dc2929;
}

a:hover
{
	text-decoration: none;
}

a:visited
{
	/*color:#E97474*/
}

.link_titols
{
	text-decoration: none;
	color: #666666;
}

.link_titols:hover
{
	text-decoration: underline;
}

.link_titols:visited
{
	color: #E97474;
}

/*paragraf*/
p
{
	text-align: justify;
}

/*llistes*/
.llistatopovermell ul li
{
	padding-left: 15px;
	background-image: url(imatges/li_topo_quadrat.gif);
	background-repeat: no-repeat;
	background-position: left;
	list-style-type: none; /*elimina els topos que puguin aparèixer per defecte*/
}

/*imatges*/
.imagefloatleft
{
	float: left;
	display: inline;
	border: solid 1px #666666;
	margin: 0.25em 1em 0.25em 0;
}

.imagefloatright
{
	float: right;
	display: inline;
	border: solid 1px #666666;
	margin: 0.25em 0 0.25em 1em;
}

.imagenoborder
{
	border: none /* blanc */;
}


.dock
{
	margin-top: 0px;
	color: #00cc66;
	font-size: 5em;
	font-weight: normal;
}

#botoajuda
{
	padding-left: 1px;
}

/*formularis*/

legend
{
	color: #000000;
}

fieldset
{
	text-align: center;
	border: solid 1px #e4e4e4;
	padding-left: 8px;
}

fieldset#identificacio
{	
	text-align:center; 
	border:solid 1px #000000;
	padding-left:5px;
	margin-left:3px;
	width:132px; 
	text-align:center; 


}

fieldset#idioma
{
	text-align:left; 
	border:solid 1px #000000;
	width:130px;
	background-image: url(imatges/idiomes.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	padding-top: 8px;
	margin: 10px 5px 0 5px;
}

fieldset#cercador
{
	text-align: center;
	border: solid 1px #000000;
	padding-left: 8px;
	padding-bottom: 5px;
	padding-top: 5px;
	width:128px;
}

.fieldsetleft
{
	text-align: left;
	border: solid 1px #e4e4e4;
	padding-left: 30px;
	padding-bottom: 10px;
}

input[disabled] /*textbox desactivats gris clar*/
{
	background-color: #f7f7f7;
}


/*taules*/

table
{
	width: 100%;
	border-width: 0.5em;
	border-style: none;
	border-color: white;
	border-collapse: collapse;
}

.caption
{
	color: white;
	border-width: 1px;
	border-color: white;
	border-style: solid;
	background-color: #646464;
	padding: 0.5em;
	text-align: center;
}

.tdfosc
{
	border-width: 1px;
	border-color: white;
	border-style: solid;
	background-color: #f5f5f5;
	padding: 0.5em;
	vertical-align: text-top; /*text-align:center;*/
}

.tdclar
{
	border-width: 1px;
	border-color: white;
	border-style: solid;
	background-color: #ffffff;
	padding: 0.5em;
	vertical-align: text-top; /*text-align:center;*/
}

.tdsele
{
	border-width: 1px;
	border-style: solid;
	background-color: white;
	padding: 0.5em;
	vertical-align: text-top;
	border-bottom-color: Red;
	border-top-color: Red;
}

/*capes - div*/

.divcentrat
{
	background-color: Transparent;
	text-align: center;
	margin-top: -110px;
	margin-left: -200px;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 350px;
}

#centerColumn
{
	margin: 0 auto; /*padding:1em;*/
	width: 992px;
	text-align: left;
	vertical-align: middle;
	background-color: #ffffff;
}

/* Calendari de l'agenda: dia, mes, any... */

.fecha
{
    text-align: center;
    width: 50px;
    font-family: "Times New Roman" , Times, serif;
    font-weight: bold;
    border: 1px solid #000000;
    background: #dc2929;
    color: #fff;
    float:left;
    margin:1em 1em 0.25em 0;
}

.mes, .año {font-size: 14px;}
.dia{font-size: 30px; line-height: 22px;}

