/* Whads Accent (www.whads.com) */

/* Definicio de CSS per a Sant Joan de Deu */



	/* Estils generals */

		body {
			margin: 0;
			padding: 0;
			font-family: Verdana, Helvetica, Arial, sans-serif;
			font-size: 62.5%;
		}

		img,
		a img {
			border: 0;
		}

		strong {
			color: #2C6BA1;
		}

		a:link {
			color: #2C6BA1;
			text-decoration: underline;
		}

		a:hover,
		a:visited {
			color: #2C6BA1;
			text-decoration: underline;
		}

		address {
			font-style: normal;
		}

		.hidden {
			display: none;
		}



	#content .centerHeader { color: #FFFFFF; background: #2C6BA1; margin: 20px 0 0 0; font-size: 12px; padding: 4px; display: block; border-bottom: 1px solid #FFFFFF; }

	.caixaFitxa { background: #F0F8FF; padding: 8px 8px 5px 8px; }



	/* Estils per als textos descatats */

		#text .bloc-destacat-esquerra,
		#text .bloc-destacat-dreta {
			width: 210px;
			font-size: 11px;
			border: 1px solid #2c6ba1;
			border-left: 3px solid #2c6ba1;
			padding: 8px;			
		}

			#text .bloc-destacat-esquerra {
				float: left;
			}

			#text .bloc-destacat-dreta {
				float: right;
			}

		#text .bloc-destacat {
			font-size: 11px;
			border: 1px solid #2c6ba1;
			border-left: 3px solid #2c6ba1;
			padding: 8px;
			margin-bottom: 1.5em;
		}

			#text .bloc-destacat strong,
			#text .bloc-destacat-esquerra strong,
			#text .bloc-destacat-dreta strong {
				color: #2c6ba1;
			}




	#text a.boto { color: #2969A5; background: #E4F1FA; text-decoration: none; padding: 2px 4px 2px 4px; border-top: 0; border-left: 0; border-right: 1px solid #666666; border-bottom: 1px solid #666666; }
		#text a.boto:hover { background: #C4D9EC; text-decoration: none; }
		#text a.boto:visited { color: #2969A5; background: #E4F1FA; text-decoration: none; }
		#text a.boto:visited:hover { background: #C4D9EC; text-decoration: none; }

	#text .boto-tornar { font-size: 10px; margin: 0 0 0 50px; float: right; }
		#text .boto-tornar a { padding: 4px 22px; background: url("../images/bt_pujar.gif") no-repeat right center; }
		#text .boto-tornar a:hover { text-decoration: underline; }
		#text .boto-tornar img { margin: 0 0 0 4px; }

	#text .boto-pujar { font-size: 10px; text-align: right; margin: 10px 0 15px 0; padding: 0 0 10px 0; }
		#text .boto-pujar a { padding: 4px 22px; text-decoration: none; background: url("../images/bt_pujar.gif") no-repeat right center; }
		#text .boto-pujar a:hover { text-decoration: underline; }


/* ------------- Zones del web ------------- */

	#super {
		margin: .5em auto 0 auto;
		width: 77em;
		padding: 0;
		text-align: left;
	}

	#zonaTourVirtual { position: absolute; top: 155px; left: 10px; width: 770px; height: 280px; background: #FFFF00; visibility: hidden; }
		#zonaTourVirtual p { margin: 5px 20px 0 0; font-size: 10px; }



	/* Capcalera: Idiomes / Link a la xarxa / Logo / Flash */

		#header {
			color: #2C6BA1;
			width: 100%;
			overflow: hidden;

			margin: 1px 0;
			clear: both;
		}



		/* Selector d'idiomes */

			#idiomes {
				padding: 0;
				margin-bottom: .8em;
				float: right;
			}

				#idiomes ul {
					margin: 0;
					padding: 0;
				}

					#idiomes ul li {
						float: left;
						margin: 0 .5em 0 0;
						padding: 0 .5em 0 0;
						font-size: 1em;
						border-right: 1px solid #809AC1;
						list-style: none;
						line-height: 1.2em;
					}

						#idiomes ul li.last {
							border-right: none;
							margin-right: 0;
							padding-right: 0;
						}

						#idiomes ul li a {
							color: #2C6BA1;
						}



		/* Enllac a la xarxa de Sant Joan de Deu */

			#xarxa {
				float: right;
				margin: 0 .5em .8em 2.5em;
			}

				#xarxa p {
					margin: 0;
					padding: 0;
					font-size: 1em;
					line-height: 1.2em;
				}

				#xarxa a {
					color: #2C6BA1;
					padding-right: 1.4em;
					background: url("../images/logo_sjdd_9x12.gif") no-repeat right center;
				}



		/* Capcalera amb el titol del site i el flash */

				#header h1 {
					font-size: 1em;
					margin: 2em 0 0 0;
					width: 15em;
					height: 8.8em;
					float: left;
				}

					#header h1 img {
						border: none;
						width: 100%;
						display: block;
					}

				#header object,
				#header img.imatge-capcalera {
					margin: 0;
					border: 0;
					float: right;
				}



		/* Menu principal */

			#menu-principal ul {
				width: 76.9em;
				overflow: hidden;
				border-right: 1px solid #A6D1EE;
				margin: 0;
				padding: 0;
				background: #E4F1FA;
				border-top: 1px solid #2C6BA1;
				border-bottom: 1px solid #2C6BA1;
				clear: both;
				font-size: 1em;
				font-family: Arial, Verdana, sans-serif;
			}

				#menu-principal ul li {
					margin: 0;
					padding: 0;

					float: left;
					display: block;
					font-size: 1.2em;
					font-weight: bold;
					border-left: 1px solid #A6D1EE;
				}

					#menu-principal ul li.last {
						border-right: none;
					}

					#menu-principal ul li a {
						color: #2C6BA1;
						padding: .5em .7em;
						display: block;
						text-decoration: none;
					}

						#menu-principal ul li a:hover,
						#menu-principal ul li.selected a {
							background-color: #fff;
						}



	/* Menú local */

		#menu-local {
			width: 16.2em;
			font-size: 1.1em;
			margin: 1em .8em 0 0;
			float: left;
		}

			#menu-local h2 {
				color: #2c6ba1;
				font-size: 1.2em;
				line-height: 1.1em;
				font-weight: bold;
				border-top: 1px solid #2c6ba1;
				border-bottom: none;
				background: #E4F1FA;
				margin: .7em 0 0 0;
				padding: .5em;
			}

			#menu-local ul {
				list-style-type: none;
				margin: 0 0 2em 2em;
				padding: 0;
			}

			#menu-local li {
				margin: .2em 0;
				padding: .2em 0 .4em 0;
				border-bottom: 1px solid #2c6ba1;
				list-style-type: none;
				list-style-image: url(../images/menu_li.gif);
			}

			#menu-local a {
				color: #2C6BA1;
				text-decoration: none;
			}

				#menu-local a:hover {
					text-decoration: underline;
				}


			#menu-local ul ul {
				margin: 0 0 0 0;
				list-style-image: none;
				font-size: 1em;
			}

			#menu-local ul ul li {
				font-size: .9em;
				margin: .4em 0 0 0;
				padding: .3em 0 .3em 1em;
				border-top: 1px solid #EEEEEE;
				border-bottom: 0;
				list-style-type: none;
				list-style-image: none;
				background: url("../images/li_menu_2n_nivell.gif") no-repeat .3em .9em;
			}

			#menu-local ul ul li a {
				color: #666666;
			}



	/* Estils per al text del contingut */

		#text {
			width:  51em;
			min-height: 27.5em;
			padding: 3.3em 0 6em 4.5em;
			border-left: 1px solid #eee;
			float: left;
		}

			#text #titol h2,
			#text h3,
			#text h4,
			#text h5 {
				color: #2C6BA1;
				margin: 0;
				padding: 0;
			}

			.imatge-esquerra {
				margin: .3em 1.2em .5em 0;
				float: left;
				clear: left;
			}

			.imatge-dreta {
				margin: .3em 0 .5em 1.2em;
				float: right;
				clear: both;
			}

			#text #titol {
				border-top: 1px solid #2c6ba1;
				border-bottom: 1px solid #2c6ba1;
				padding: .8em 0 2em 0;
				margin-bottom: 2em;
			}

				#text #titol h2 {
					font-size: 1.8em;
					font-weight: normal;
					margin: 0;
					line-height: 1.1em;
				}

			#text h3 {
				font-size: 1.4em;
				line-height: 1.4em;
				margin-bottom: 0;
			}

			#text h4 {
				margin-top: 1em;
				font-size: 1.3em;
				line-height: 1.2em;
			}

			#text h5 {
				font-size: 1.2em;
				line-height: 1.2em;
			}

			#text p {
				margin-top: 0;
				margin-bottom: 1em;
				font-size: 1.1em;
				color: #666;
				line-height: 1.65em;
			}

			#text ul {
				line-height: 1.6em;
				margin-bottom: 2em;
			}

				#text ul li {
					font-size: 1.1em;
					color: #666;
					margin: .5em 0;
					list-style-type: none;
					list-style-image: url(../images/li_punt.gif);
				}

			#text ul.serveisCiutat {
				list-style-type: none;
				margin: 0 0 .2em 2em;
				line-height: 1.2em;
				padding: 0;
			}

				#text ul.serveisCiutat li {
					padding: 0;
					margin: 0 0 .4em 0;
				}

			#text ul.carCentres {
				margin: 0 0 2em 2em;
				padding: 0;
				line-height: 1.2em;
				list-style-type: none;
			}

				#text ul.carCentres li {
					margin: .2em 0 .2em .5em;
					padding: 0;
				}





#zonaHomeNoticies {
	width: 77em;
	margin: 0 0 .5em 0;
	border: 1px solid #ccc;
	font-size: 1em;
	clear: both;
}



	/* Submenu de dues columnes per a la zona de contingut del text */

		#divSubmenu {
			margin: 1px 0 15px 0;
			padding: 10px;
			font-size: 11px;
			color: #2C6BA1;

			width: 100%;
			overflow: hidden;
		}

			#divSubmenu a { color: #2C6BA1; text-decoration: none; font-weight: bold; }
			#divSubmenu a:hover { text-decoration: underline; }
			#divSubmenu .divSubmenuColumna1 {
				width:  220px;
				margin: 0 10px 0 0;
				padding: 0 10px 0 0;
				border-right: 1px dotted #2F6196;
				float: left;
			}
			#divSubmenu .divSubmenuColumna2 {
				width: 220px;
				float: left;
			}
			#divSubmenu .divSubmenuColumna1 ul, #divSubmenu .divSubmenuColumna2 ul { margin: 0 0 0 20px; padding: 0; }
			#divSubmenu .divSubmenuColumna1 li, #divSubmenu .divSubmenuColumna2 li { list-style-image: url(../images/li_fletxa.gif); list-style-type: none; line-height: 14px; }



	/* Taula de les accions i els agents */
	
		#text table.accions {
			width: 100%;
			border-collapse: collapse;
			margin-bottom: 15px;
			font-size: 1em;
		}
			
			#text table.accions tr th,
			#text table.accions tr td {
				width: 50%;			
				padding: 6px;
				font-size: 1.1em;
			}
		
			#text table.accions tr th {
				font-weight: normal;
				border-bottom: 1px solid #2969A5;	
			}
			
			#text table.accions tr td {
				border-bottom: 1px solid #ccc;
			}
			
			#text table.accions tr.last td {
				border-bottom: none;
			}	
			
				#text table.accions tr td ul {
					margin: 0;
					padding: 0;
					list-style: none;
				}
			
					#text table.accions tr td ul li {
						font-size: 1em;
						list-style-image: none;
						margin: 0;
						padding-left: 10px;
						background: url("../images/li_guio.gif") no-repeat left center;
					}



	/* Llistat de noticies */

		#content ul.noticies,
		#content ul.ofertes {
			margin: -20px 0 0 0;
			padding: 0;
			list-style: none;
		}

			#content ul.noticies li,
			#content ul.ofertes li {
				margin: 0;
				padding: 10px 0;
				list-style-image: none !important;
				border-bottom: 1px solid #eee;
			}

				#content ul.noticies li p,
				#content ul.ofertes li p {
					margin: 0;
				}

				#content ul.noticies li a,
				#content ul.ofertes li a {
					display: block;
					font-weight: bold;
					color: #2C6BA1;
					text-decoration: none;
				}

					#content ul.noticies li a:hover,
					#content ul.ofertes li a:hover {
						text-decoration: underline;
					}

				#content ul.noticies li span.descripcio,
				#content ul.ofertes li span.descripcio {
					color: #666;
				}

				#content ul.ofertes li span.descripcio {
					font-size: .9em;
					font-weight: bold;
				}

				#content ul.ofertes li p.data,
				#content ul.noticies li p.data {
					font-size: 1em;
				}

		#content p.dades-oferta,
		#content p.dades-oferta strong {
			color: #666;
		}



	/* Estils per als detalls de les noticies i les ofertes de treball */

		#text p.data-noticia,
		#text p.data-oferta {
			font-size: 1.1em;
			font-weight: normal;
			margin-bottom: 0;
		}

		#text h3.titol-noticia {
			margin-top: 0;
			margin-bottom: 20px;
		}

		#text h3.titol-oferta {
			margin-top: 0;
			margin-bottom: 3px;
		}

		#text p.codi {
			margin-top: 0;
			font-weight: bold;
			color: #666;
		}



	/* Paginador de llistats de noticies i ofertes */

		#content p.paginador {
			text-align: right;
		}

			#content p.paginador strong {
				color: #2C6BA1;
			}

			#content p.paginador,
			#content p.paginador a {
				color: #666;
			}



	/* Selector d'anys de les publicacions */

		#content ul.selector-anys {
			width: 100%;
			overflow: hidden;
			margin: 1em 0 0 0;
			padding: 0 0 1em 0;
		}

			#content ul.selector-anys li {
				font-weight: bold;
				list-style-image: none;
				float: left;
				display: block;
				margin: 0 10px 0 0;
				padding: 0 10px 0 0;
				font-size: 12px;
				border-right: 1px solid #ccc;
			}

				#content ul.selector-anys li.last {
					border-right: none;
				}



		/* Seccio de les publicacions */

			#content .any-publicacio,
			#content .titol-categoria {
				margin-top: 0;
				padding-top: 10px;
				border-top: 1px solid #eee;
			}

			#content ul.publicacions {
				margin: 0;
				padding: 0;
			}

				#content ul.publicacions li {
					margin: 0;
					padding: 10px 0;
					list-style-image: none;
				}



		/* Seccio dels projectes */

			#content ul.projectes,
			#content ul.projectes li {
				margin: 0;
				padding: 0;
				background: none;
				list-style-image: none;
			}
			
				#content ul.projectes li h4 {
					font-size: 1.2em;
				}


			#content dl.projectes {
				margin-top: 1em;
				padding-bottom: 1em;
				border-bottom: 1px solid #eee;
			}

				#content dl.projectes dt {
					margin-right: 4px;
					float: left;		
					color: #2C6BA1;
					font-weight: bold;
					line-height: 18px;
				}

				#content dl.projectes dd {
					margin: 0;
					color: #666;
					line-height: 18px;
				}



	/* Enllac de retorn a l'inici */

		p.inici {
			margin: 0;
		}

			p.inici a {
				padding-left: 12px;
				background: url("../images/bt_inici.gif") no-repeat left center;
			}



	/* Footer */

		#footer {
			font-size: 10px;
			border-top: 1px solid #ccc;
			margin: 0 0 10px 0;
			clear: both;
		}

			#footer address {
				padding: 4px 10px 0 0;
				line-height: 16px;
			}

				#footer address a strong {
					color: #2c6ba1;
				}

				#footer address a {
					color: #000;
					text-decoration: none;
				}

				#footer address a:hover {
					text-decoration: underline;
				}

				#footer address a.contactar {
					padding-left: 14px;
					background: url("../images/ico_mail.gif") no-repeat left center;
				}

				#footer p.imatge-ordre {
					padding: 2px 0 0 50px;
					float: right;
				}



	/* Estils per a la fitxa dels centres */

		#text .fitxa-centre {
			background-color: #f0f8ff;
			padding-bottom: 3em;
		}

		#text .fitxa-centre h3 {
			color: #fff;
			display: block;
			font-size: 12px;
			margin: 20px 0 0 0;
			padding: 4px;
			background-color: #2c6ba1;
			border-bottom: 1px solid #fff;
		}

		#text .fitxa-centre h4 {
			margin: 1em 0;
			padding: 0 1em;
		}

		#text .fitxa-centre p,
		#text .fitxa-centre ul {			
			margin: 0 1em;
			padding: 0;
		}

			#text .fitxa-centre ul li {
				padding-left: 0;
				margin-left: 2.5em;
				margin-right: 1em;
			}




	/* Estils per a la home */
		
		#centre,
		#noticies,
		#destacats {
			margin: 20px 0;
		}

		/* Modul de la descripcio del centre */

			#centre {				
				width: 289px;
				float: left;
				padding: 1px;
				border: 1px solid #ddd;
				background: url("../images/background_centre.gif") no-repeat right bottom;	
				padding-bottom: 10px;
			}
			
				#centre p {
					color: #333;
					line-height: 1.4em;
					margin: 1em;					
				}


		/* Modul de noticies */

			#noticies {
				width: 280px;
				float: left;				
				margin-left: 23px;
			}
			
				#noticies h3 {				
					color: #2C6BA1;
					font-size: 1.2em;
					padding: .3em;
					margin: 0 0 1em 0;
					background-color: #E4F1FA;
				}
				
				#noticies ul {
					margin: 0;
					padding: 0;
				}
				
					#noticies ul li {
						width: 100%;
						overflow: hidden;
						margin: 0 0 1em 0;
						padding: 0 0 1em 0;
						list-style: none;
						border-bottom: 1px solid #ddd;						
					}
					
						#noticies ul li h4 {
							font-size: 1.1em;
							font-weight: normal;
							margin: 0 .5em;
						}
						
						#noticies ul li img {
							float: left;
							margin: 0 1em 0 .5em;
						}
						
						#noticies ul li a {
							text-decoration: none;
						}
						
							#noticies ul li a:hover {
								text-decoration: underline;
							}


		/* Modul de destacats */

			#destacats {				
				float: right;
                width: 154px;
			}
			
				#destacats ul {
					padding: 0;
					margin: 0;
				}
				
					#destacats ul li {
						padding: 0;
						margin: 0 0 1em 0;
						list-style: none;
						border: 1px solid #ddd;
					}
					
						#destacats ul li a {
							text-decoration: none;
						}
							
							#destacats ul li a:hover {
								text-decoration: underline;
							}
					
						#destacats ul li h4 {
							color: #2C6BA1;
							font-size: 1.1em;
							margin: .3em;
						}
					
						#destacats ul li img {							
							display: block;
							border: 1px solid #fff;
						}
