* {margin: 0; padding: 0 }

body {
	color:#222; 
	font:75% verdana,"trebuchet MS",helvetica,sans-serif;
	background:#eee url(../img/fons_body.jpg) repeat-x top;
	
}


/* ------------------- Estructura ------------------- */

#contenidor {
	width: 800px;
	margin: 0 auto;
	background: #fff url(../img/fons_contenidor.jpg) repeat-y center;
}

#top {
	height:185px;
	margin-bottom: 5px;
	background: url(../img/fons_top.jpg) no-repeat center;
}

#principal {
	padding: .5em 4em 4em 3em;
}


#peupagina {
	height:75px;
	font-size: 80%;
	color: #777777;
	line-height:150%;
	background:url(../img/fons_peu.jpg) no-repeat bottom center;
	clear:both;
	margin-top: 3em; 
	text-align: center;
 }


div.clear {clear:both; height:1px; font-size:1px}

p.clear {clear:both}

p, ul, h1, h2, h3, h4, h5 {margin-top:1.1em; margin-bottom:1.1em; line-height:130%}
li, dt, dd {line-height:130%}
table, th, td {font-size:1em; border-collapse:collapse; text-align:left; vertical-align:top}

#peupagina p {
padding: 2em 3em 0 3em; 
}


/* ------------------- Links ------------------- */

a { text-decoration:none} 
a:link {color:#941B44}
a:visited {color:#941B44}
a:hover {color:#941B44; text-decoration:underline}
a:active, a:focus {color:#fff; background:#333}

.autors{
	font-weight: bold;
}

.top a, .top a:link, .top a:active, .top a:visited, .top a:hover {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 9px;
	color: #999999;
	text-decoration: none;
}
.top a:hover {
	color: #333333;
	text-decoration: none;
}

#peu a {
	background-color:#f9f9f9; 
	padding: 0.2em 0.5em; 
	margin:0.2em; display:block; 
	float:left; color: #000000; 
	border: 1px solid #ccc;
}

#peu a.peulink_sel {
	background-color:#941B44;
	border: 1px solid #990000;
	color: #FFFFFF;
	font-weight:bold;
}	




.linkpdf{
	font-size:80%;
	display:block;
	float:right;
	padding: 3px 5px 3px 20px;
	background: #F6F6F6 url(../img/pdf.png) no-repeat left;


}
dl {
	padding: 1em 1em 1em 0.2em;
	margin: 1em 0;
	border-bottom: 0px solid #ccc;
	border-top: 0px solid #ccc;
}

dt{
	color:#000000;
	cursor: pointer;
	padding-left: 0.8em;
	border-top: 1px solid #ccc;
	padding-top: 0.5em;
	padding-bottom: 0;
	padding-right: 25px;
	background:#FFFFFF url(../img/pagina_avall.png) no-repeat top right;
}

.dt_amb_pdf{
	color:#000000;
	cursor: pointer;
	padding-left: 0.8em;
	border-top: 1px solid #ccc;
	padding-top: 0.5em;
	padding-bottom: 0;
	padding-right: 25px;
	background:#FFFFFF url(../img/pagina_avall_amb_pdf.png) no-repeat top right;
}



.dtamunt{
	color:#000000;
	cursor: pointer;
	padding-left: 0.8em;
	border-top: 1px solid #ccc;
	padding-top: 0.5em;
	padding-bottom: 0;
	padding-right: 25px;
	background:#FFFFFF url(../img/pagina_amunt.png) no-repeat top right;
}

.dtamunt_amb_pdf{
	color:#000000;
	cursor: pointer;
	padding-left: 0.8em;
	border-top: 1px solid #ccc;
	padding-top: 0.5em;
	padding-bottom: 0;
	padding-right: 25px;
	background:#FFFFFF url(../img/pagina_amunt_amb_pdf.png) no-repeat top right;
}

#error{
	color:red;
	font-weight: bold;
	text-align: center;
}
.fitxa {
	margin-top: .3em;
	margin-bottom: .6em; 
	margin-left: .6em;
	padding: 0 1em .1em 2em;
	color: #555;
	background-color: #FDFBFB;
}

.titolspan{
}

.contingutspan{
	font-weight: bold;
}

.peulink{
	margin:  5px;
}


/* Encapçalaments  */

h1, h2, h3, h4 {font:bold 2.2em arial,helvetica,sans-serif}
h1 {padding:2px 0; margin:1em 0 0.8em; font-weight:bold;
	font-weight: normal;
	font-size: 1.8em;
	line-height : 120%;
	color: #941B44}
	

h2 {font-size:1.3em; margin-top:0;}
h3 {font-size:1.15em; margin-top:0;  }
h4 {font-size:1.1em;}

#top h1 {display:none}

/* formulari  */

input, select, textarea {font:1em verdana,"trebuchet MS",helvetica,sans-serif}

form {margin:0; padding:1em 90px; }
legend { visibility:hidden; }
fieldset {  border: none; }
input { padding: 0.25em ; }

#CadenaCerca {width: 380px; border:1px solid gray; }

#cercar {
	border: solid 1px #9D1F20;
	text-decoration: none;
	background-image: url(../img/fons_boto.jpg); 
    background-position: center;
	background-repeat: repeat-x;
	color: white;
	padding: 0.25em 1em;
	font-weight:bold; 
}

#cercar:hover {
    border: solid 1px #fff;
    color: #fff;
}

#divcercaresultats { font-weight:bold}

form label {
    cursor: pointer;
}
fieldset {
    border: none;
}

input.radio, input.checkbox {
    height: auto !important;
    width: auto !important;
    background: none !important;
    vertical-align: middle;
    border: 0;
}

form input.hidden {
    display: none !important;
    position: absolute;
}

input.submit {
    display: block !important;
    float: none !important;
    margin: 20px 0 0 140px !important;
}
input.button, input.submit {
    margin: 0;
    border: 0;
    padding: auto;
    width: auto;
    height: auto;
    vertical-align: middle;
	
    
}



/* barra d'espera mentra cerca */
#cercaStatus{
	padding:2px 6px;
	visibility:hidden;
	margin:15px 25px 0 0;
	color:#941B44;
	padding: 2px 5px 2px 225px;
	background: white url(../img/ajax-loader.gif) left top no-repeat;
	letter-spacing:2px;
	font-size:100%;
	font-weight:bold;
	height:20px;

}



.resaltat{
	font-weight: bold;
	
}




/* david */

.divSuggest{ 
        list-style-type:none; 
        overflow:auto; 
       /* font-size: 9px; 
        font-family: Verdana, Arial, Helvetica, sans-serif; */
} 

#tableSuggest { 
        border-collapse: collapse;              
        overflow:auto; 
        font-size: 9px; 
        font-family: Verdana, Arial, Helvetica, sans-serif; 
        border: 1px solid black; 
        background-color: #FFF; 
        
} 

.tgleft{ 
        text-align: left;
         background-color: #FFFFFF;
         color:black;
} 
.tgright{ 
        text-align: right;
        background-color: #FFFFFF;
        color:#999999;
} 

.tgleftOver{ 
        text-align: left;
        background-color: #3366CC;
		color:white;
		cursor: pointer;
} 
.tgrightOver{ 
        text-align: right;
		color:white;
        background-color: #3366CC; 
        		cursor: pointer;
} 


#condiciocerca {
	font-size: 90%;
	color: #999;	
	
}

#condiciocerca li {
	display: inline;
	list-style-type: none;
	padding-right: 10px;

}
