@charset "utf-8";

/* TOC
	- Layout bàsic
	- Capsalera
	- Menú navegació
		- Menú navegació 4 opcions
		- Menú navegació 5 opcions
	- Columnes (home)
	- Pel·lícula Flash (home)
	- Classes comuns (.veure-mes)
	- Bloc Notícies i Agenda (home)
	- Bloc Agenda (home)
	- Bloc Directe a... (home)
	- Bloc Documents (home i interiors)
	- Bloc banners (home)
		- Ombra imatge
		- Ombra text
	- Bloc Accessos ràpids (home)
	- Bloc Butlletí (home)
	- Bloc enllaços signants (home)
	- Peu
	
*/

/* Layout bàsic
---------------------------------------------------------------- */
body {
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	background: #d7e6cf;
	font-size: 100%;
	line-height: 1.2em;
	margin: 0 0 2em 0;
	padding: 0;
}
#marc-web {
	background: #fff;
	margin: 1em auto 0 auto;
	padding: 1em;
	width: 58em;	
}

/* Capsalera
---------------------------------------------------------------- */
#capsalera {	
	float: left;	
	color: #807c7d;
	margin: 0;
	padding: 0;
	width: 55%;
}
#capsalera p.logotip img {
	float: left;
	margin: 0;
	padding: 0;
}
#capsalera p a img {
	border: none;
}
#capsalera h1 {
	margin: 0;
	padding: 0;
}
#capsalera h1 img {
	border: none;
	float: none;
}
#capsalera p {
	margin: 0;
	padding: 0
}
#capsalera p img {
	border: none;
	float: none;
}
#contacte {
	font-size: 0.75em;
	float: right;
	margin: 0;
	padding: 0;
	width: 40%;	
}
#contacte p {
	margin: 0;
	padding: 0;
}
#contacte img {
	float: right;
	padding: 0 0 1em 0;
}
#contacte p a img {	
	border: none;
}
#contacte a {
	color: #666;
	text-decoration: none;	
}
#contacte a:hover {
	color: #666;
	text-decoration: underline;
}
#contacte ul li {
	margin: 0;
	padding: 0 0.6em 0 0.3em;	
	background: url(../img/linia-contacte.gif) no-repeat right;
}
#contacte ul li.intranet {
	background: url(../img/candau.gif) no-repeat right;
	padding: 0 1em 0 0.3em;
}
#contacte ul li.darrer {
	background: none;
	padding-right: 0;
}
#contacte ul {
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}
#contacte li {
	display: inline;
}

/* Menú navegació
---------------------------------------------------------------- */
#menu, #menu-extens {
	clear: both;
	margin: 0 0 0.8em 0;
	padding-top: 1em;
	position: relative;		
}
#menu ul, #menu-extens ul{
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;	
}
#menu ul li, #menu-extens ul li {
	margin: 0;
	padding: 0;
}

/* Menú navegació 4 opcions
---------------------------------------------------------------- */
/*
#menu ul li {
	font-weight: bold;
	float: left;
	width: 25%;
}
#menu ul li a {
	background: #86b36e url(../img/fons-menu-border-trans.gif) no-repeat;
	color: #fff;
	display: block;	
	text-decoration: none;
	padding: 0.3em 0.4em 0.6em 1.5em;
	font-size: 0.9em;
}
#menu ul li span {
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
	color: #fff;			
	display: block;
	padding: 0.3em 0.4em 0.6em 1.5em;
}
#menu ul li a:hover {
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
}
#menu ul li.primer a {
	background: #86b36e url(../img/fons-menu-trans.gif) no-repeat;
}
#menu ul li.primer a:hover {
	background: #807c7d url(../img/fons-menu-hover-trans.gif) no-repeat;
}
#menu li ul {
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	margin: 0;
	padding: 0;	
	position: absolute;
	visibility: hidden;		
	width: 25%;
}
#menu li ul li {
	float: none;
	display: inline;
}
#menu li ul li a {
	background: #e2e2e2;
	color: #333;
	font-size: 0.9em;
	font-weight: normal;
	width: auto;	
	text-decoration: none;
}
#menu li ul li a:hover {
	background: #e2e2e2;
	color: #333;
	font-weight: normal;
	text-decoration: underline; 
}
*/

#menu ul {
	overflow: hidden;	
}
#menu ul li {
	float: left;
	 width: 19.9%; 
	/* canvi 16/11/2009 */
	/*font-size: 0.9em;	*/
	font-size: 0.78em;
}

#menu ul li a {
	background: #86b36e url(../img/fons-menu-border-trans.gif) no-repeat;
	color: #fff;
	display: block;
	font-weight: bold;
	/*canvi 16-11-2009-*/
	/*padding: 0.3em 0.7em 0.7em 1.5em;*/
	padding: 0.3em 0.7em 0.7em 2em;
	text-decoration: none;
}
#menu ul li span {
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
	color: #fff;
	display: block;
	font-weight: bold;
	/* canvi 16-11-2009 */
	/*padding: 0.3em 0.7em 0.7em 1.5em;		*/
	padding: 0.3em 0.7em 0.7em 2em;		
}
#menu ul li a:hover {	
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
}
#menu ul li.primer a {
	background: #86b36e url(../img/fons-menu-trans.gif) no-repeat;
}
#menu ul li.primer a:hover {
	background: #807c7d url(../img/fons-menu-hover-trans.gif) no-repeat;
	
}
#menu ul li.darrer {
	width: 24%;
}
#menu li ul {
	background: #e2e2e2 url(../img/fons-drop-down.gif) no-repeat top left;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	margin: -5px 0 0 0;
	padding: 5px 0 0 0;
	position: absolute;
	visibility: hidden;
	width: 14em;
}
#menu li ul li {
	float: none;
	display: inline;
}
#menu li ul li a {
	background: #e2e2e2;
	color: #333;
	/* canvi 16/11/2009*/
	/*font-size: 1em;*/
	font-size: 1.2em;
	font-weight: normal;
	width: auto;
	text-decoration: none;
}
#menu li ul li a:hover {
	background: #e2e2e2;
	color: #333;
	font-weight: normal;
	text-decoration: underline; 
}

/* Menú navegació 5 opcions
---------------------------------------------------------------- */
#menu-extens ul {
	overflow: hidden;	
}
#menu-extens ul li {
	float: left;
	 width: 19.9%; 
	/* canvi 16/11/2009 */
	/*font-size: 0.9em;	*/
	font-size: 0.78em;
}

#menu-extens ul li a {
	background: #86b36e url(../img/fons-menu-border-trans.gif) no-repeat;
	color: #fff;
	display: block;
	font-weight: bold;
	/*canvi 16-11-2009-*/
	/*padding: 0.3em 0.7em 0.7em 1.5em;*/
	padding: 0.3em 0.7em 0.7em 2em;
	text-decoration: none;
}
#menu-extens ul li span {
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
	color: #fff;
	display: block;
	font-weight: bold;
	/* canvi 16-11-2009 */
	/*padding: 0.3em 0.7em 0.7em 1.5em;		*/
	padding: 0.3em 0.7em 0.7em 2em;		
}
#menu-extens ul li a:hover {	
	background: #807c7d url(../img/fons-menu-hover-border-trans.gif) no-repeat;
}
#menu-extens ul li.primer a {
	background: #86b36e url(../img/fons-menu-trans.gif) no-repeat;
}
#menu-extens ul li.primer a:hover {
	background: #807c7d url(../img/fons-menu-hover-trans.gif) no-repeat;
	
}
#menu-extens ul li.darrer {
	width: 24%;
}
#menu-extens li ul {
	background: #e2e2e2 url(../img/fons-drop-down.gif) no-repeat top left;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	margin: -5px 0 0 0;
	padding: 5px 0 0 0;
	position: absolute;
	visibility: hidden;
	width: 14em;
}
#menu-extens li ul li {
	float: none;
	display: inline;
}
#menu-extens li ul li a {
	background: #e2e2e2;
	color: #333;
	/* canvi 16/11/2009*/
	/*font-size: 1em;*/
	font-size: 1.2em;
	font-weight: normal;
	width: auto;
	text-decoration: none;
}
#menu-extens li ul li a:hover {
	background: #e2e2e2;
	color: #333;
	font-weight: normal;
	text-decoration: underline; 
}

/* Columnes pàgina d'inici
---------------------------------------------------------------- */
#noticies-agenda {
	float: left;
	width: 28.4em;
	margin-right: 1em;
}
#directes-banners {
	float: left;
	width: 13.8em;
	margin-right: 1em;
}
#accesos-butlleti {
	float: left;
	width: 13.8em;
}

/* Pel·lícula Flash
---------------------------------------------------------------- */
#flash {
	clear: both;
	overflow: hidden;
	width: 58em;	
	margin: 0 0 0.8em 0;	
}

#flash img {
	padding: 0;
	margin: 0;
}

/* Classes comuns
---------------------------------------------------------------- */
#noticies-agenda a.veure-mes,
#butlleti a.veure-mes,
#contingut a.veure-mes {
	background: url(../img/fletxa-veure-mes.gif) no-repeat right 7px;
	padding: 0 0.7em 0 0.5em;
	color: #346432;
	text-decoration: none;
	margin: 0;		
}
#noticies-agenda a.veure-mes:hover,
#butlleti a.veure-mes:hover,
#contingut a.veure-mes:hover {
	text-decoration: underline;
}

/* Bloc Notícies i Agenda
---------------------------------------------------------------- */
#noticies-agenda ul {
	margin: 0;
	padding: 0;
}
#noticies, #agenda {
	margin: 0;	
	background: url(../img/fons-bloc-noticies.gif) repeat-x top;
}
#noticies h2, #agenda h2 {
	display: none;
}
#noticies h3 {
	margin: 0;
	padding: 0.5em 0 0.1em 0;
	clear: both;
	font-size: 0.9em;
}
#noticies h3 a {
	color: #360;
	text-decoration: none;
	font-weight: normal;
}
#noticies h3 a:hover {
	text-decoration: underline;
}
#noticies h3 span {
	color: #666;
	font-weight: normal;
	padding: 0 0.2em;
}
#noticies div p {
	clear: none;
	font-size: 0.75em;
	text-align: left;
	color: #333;
	margin: 0.1em 0 0 0;
	padding: 0.5em;
	line-height: 1.3em;
}
#noticies div {
	margin: 0;
	padding: 0 0.6em 0.5em 0.5em;
}
#noticies p.suport-fons a.veure-mes, #agenda p.suport-fons a.veure-mes {
	text-align: right;
	padding-left: 0.2em;
}
#noticies p.suport-fons, #agenda p.suport-fons {
	font-size: 0.75em;
	text-align: right;
	padding: 2em 0.5em 0.5em 0;
	background: url(../img/fons-bloc-noticies-bottom.gif) repeat-x bottom;
}
#noticies .veure-mes a:hover, #agenda .veure-mes a:hover {
	text-decoration: underline;
}
#noticies div img {
	float: left; 
	padding: 0.5em 0.5em 0 0;
}

/* Bloc Agenda
---------------------------------------------------------------- */
#agenda h3 {
	font-size: 0.9em;
	color: #666;
	clear: both;
	margin: 0;
	padding: 0.5em 0.5em 0.1em 0.5em;
}
#agenda h4 {
	background: url(../img/fletxa-verda.gif) no-repeat left 0.3em;
	font-size: 0.9em;
	font-weight: normal;
	margin: 0 0 0 0.5em;
	padding: 0 0.5em 0 1em;
}
#agenda h4 a {
	color: #360;
	text-decoration: none;
}
#agenda h4 span {
	color: #666;
	padding-left: 0.2em;
}
#agenda p {
	margin: 0 0 0.5em 0;
	font-size: 0.75em;
	padding: 0 1em 0 1.5em;
}
#agenda h4 a:hover {
	text-decoration: underline;	
}

/* Bloc Directe a...
---------------------------------------------------------------- */
#directe {
	margin: 0 0 2em 0;
	padding: 0;
	background: url(../img/fons-directes.gif) repeat-x;
}
#directe ul {
	margin: 0;
	padding: 0.5em 0 0 0.5em;
	list-style: none;
}
#directe p {
	margin: 0;
	padding: 0;
}
#directe ul li {
	background: url(../img/fletxa-verda.gif) no-repeat left 0.3em;	
	font-size: 0.75em;
	padding: 0 0 0.3em 1.3em;	
}
#directe ul li a {
	color: #333;
	padding: 0 0.3em 0 0;	
	text-decoration: none;
	margin-bottom: 0.3em;
}
#directe ul li a:hover {
	text-decoration: underline;
}

/* Bloc Documents
---------------------------------------------------------------- */
#documents {
	margin: 0 0 1em 0;
	padding: 0;
	background: url(../img/fons-directes.gif) repeat-x;
}
#documents h2 {
	margin: 0;
	padding: 0.2em 0 0.2em 0.5em;
	font-size: 1em;
	background: #999;
	color: #fff;
}
#documents ul {
	margin: 0;
	padding: 0.5em 0 0 0.5em;
	list-style: none;
}
#documents ul li {
	background: url(../img/fletxa-verda.gif) no-repeat left 0.3em;
	font-size: 0.75em;
	padding: 0 0 0.3em 1.3em;	
}
#documents ul li a {
	color: #333;
	padding: 0 0.3em 0 0;	
	text-decoration: none;
	margin-bottom: 0.3em;
}
#documents ul li a:hover {
	text-decoration: underline;
}
#documents ul li span {	
	background: url(../img/pdf.gif) no-repeat left 2px;	
	padding: 0 0 0 1em;
	margin-left: 0.2em;
}

/* Bloc banners (home)
---------------------------------------------------------------- */
#banners {
	margin: 0;
	padding: 0;
}
#banners img {
	border: none;
}
#banners ul {
	list-style: none;
	margin: 0;
	padding: 0;	
}

/* Ombra fixa */
#banners ul li.ombra {	
	background: url(../img/ombra.gif) no-repeat;
	padding: 0.3em;
	margin: 0 -0.2em;
	position: relative;	
}
#banners ul li.ombra span {	
	position: absolute;
	bottom: 12px;
	left: 16px;
	padding: 0 0.7em 0 0;
	color: #fff;
	font-size: 0.8em;	
	cursor: pointer;
	text-decoration: none;
}
#banners ul li.fecha {
	font-size:0.7em;
	color:#000000;
	margin:-6px 0 0 3px;
}

/* Ombra per banner amb text */
#banners ul li.ombra-text-fix {	
	padding: 0;
	margin: 0;
}
#banners ul li.ombra-text-fix div.top {	
	background: url(../img/ombra-top.gif) no-repeat;
	padding: 0.3em 0.3em 0 0.3em;
	margin: 0 -0.2em;
	position: relative;	
	width: 218px;
}
#banners ul li.ombra-text-fix div.top p {
	background: #2c85a4 url(../img/fons-ombra-text.gif) no-repeat bottom right;
	border: 1px solid #fff;	
	color: #fff;
	font-size: 1.1em;	
	margin: 0;
	padding: 0.25em 0.5em;
}
#banners ul li.ombra-text-fix div.bottom {
	background: url(../img/ombra-bottom.gif) no-repeat;
	margin: 0 -0.2em;
	padding: 0;
	width: 225px;
	height: 5px;	
}
#banners ul li.ombra-text-fix p a {
	text-decoration: none;
	color: #fff;
	padding: 0;	
	display: block;	
}
#banners ul li.ombra-text-fix p a:hover {
	text-decoration: underline;
}

/* Ombra líquida */
.wrap0, .wrap1, .wrap2, .wrap3 {
	display: block;	
}
.wrap0 {
	background: url(../img/ombra-180-b.gif) no-repeat right bottom;
	float: left;	
}
.wrap1 {
	background: url(../img/ombra-180.gif) no-repeat 0 0;
}
.wrap2 {
	background: url(../img/ombra-180-bl.gif) no-repeat 0 100%;
}
.wrap3 {
	background: url(../img/ombra-180-tr.gif) no-repeat 100% 0;
	padding: 5px;	
}

/* Bloc Accessos ràpids (dreta)
---------------------------------------------------------------- */
#accesos-butlleti {
	margin: 0;
	padding: 0;
}
#acces-rapid {
	background: #f5f5f5 url(../img/quadrat-verd-acces.gif) no-repeat top;
}
#accesos-butlleti h2 {
	margin: 0;
	padding:0.2em 0 0.2em 0.5em;
	font-size: 1em;
	background: #999;
	color: #fff;
}
#acces-rapid ul {
	list-style-type: none;
	margin: 0.1em;
	padding: 0.1em 0 0 0;
	background: #f5f5f5 url(../img/quadrat-verd-acces.gif) no-repeat top;
}
#acces-rapid ul li {
	background: url(../img/quadrat-verd-acces.gif) no-repeat bottom;
}
#acces-rapid ul li a {
	color: #316600;
	display: block;
	text-decoration: none;
	font-weight: normal;
	font-size: 0.9em;
	padding: 0.7em 3.6em 0.7em 0.4em;
	min-height: 2.5em;
}
#acces-rapid ul li.innovacio a {
	background: url(../img/fons-innovacio.gif) no-repeat 1px;
}
#acces-rapid ul li.educacio a {
	background: url(../img/fons-educacio.gif) no-repeat 1px;
}
#acces-rapid ul li.infra a {
	background: url(../img/fons-infra.gif) no-repeat 1px;
}
#acces-rapid ul li.compet a {
	background: url(../img/fons-compet.gif) no-repeat 1px;
}
#acces-rapid ul li.ambient a {
	background: url(../img/fons-ambient.gif) no-repeat 1px;
}
#acces-rapid ul li.qualitat a {
	background: url(../img/fons-qualitat.gif) no-repeat 1px;
}
#acces-rapid ul li.cohesio a {
	background: url(../img/fons-cohesio.gif) no-repeat 1px;
}
#acces-rapid ul li a:hover {
	color: #fff;
}
#acces-rapid ul li.innovacio a:hover {
	background: url(../img/fons-innovacio-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.educacio a:hover {
	background: url(../img/fons-educacio-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.infra a:hover {
	background: url(../img/fons-infra-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.compet a:hover {
	background: url(../img/fons-compet-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.ambient a:hover {
	background: url(../img/fons-ambient-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.qualitat a:hover {
	background: url(../img/fons-qualitat-hover.jpg) no-repeat 3px;
}
#acces-rapid ul li.cohesio a:hover {
	background: url(../img/fons-cohesio-hover.jpg) no-repeat 3px;
}

/* Bloc Butlletí
---------------------------------------------------------------- */
#butlleti {
	margin: 1em 0 0 0;
	padding: 0;
	background: url(../img/fons-directes.gif) repeat-x;
}
#butlleti ul {
	margin: 0;
	padding: 0.5em 0 0 0.5em;
	list-style: none;
}
#butlleti ul li {
	font-size: 0.75em;
	padding: 0.3em 0.2em 0 0;
}
#butlleti ul li a {
	background: url(../img/fletxa-verda.gif) no-repeat left 0.3em;
	color: #333;
	padding: 0 0 0 1.3em;
	display: block;
	text-decoration: none;
	margin-bottom: 0.3em;
}
#butlleti ul li a:hover {
	text-decoration: underline;
}
#butlleti p {
	margin: 0;
	padding: 0.2em 0.5em 0 0;
	font-size: 0.75em;
	text-align: right;
}

/* Bloc enllaços signants
---------------------------------------------------------------- */
#acord {
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: #f9f9f9;	
}
#acord h2 {
	margin: 0;
	padding: 1em 0 0.5em 1em;
	color: #666;
	background: #fff;
	font-size: 1.1em;
}
#signants {
	margin: 0;
	padding: 0.5em 0 0.5em 0;
	overflow: hidden;
}
#signants p.generalitat {
	float: left;
	padding: 0.5em 0 0 0.5em;
	margin: 0;
}
#signants img {
	border: none;	
}
#llista-signants {
	float: right;
	width: 80%;	
}
#llista-signants ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 1em;
	overflow: hidden;
	border-left: 1px solid #7f7f7f;
}
#llista-signants img {
	border: none;
}
#llista-signants li {
	list-style-type: none;
	float: left;
	margin: 0;
	padding: 0 4em 1.2em 0;
}
#llista-signants p {
	float: none;
	clear: both;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Peu
---------------------------------------------------------------- */
#peu {
	color: #003300;
	clear: both;
	position: relative;
}
#peu ul {
	font-size: 0.75em;
	margin: 0;
	position: absolute;
	bottom: -3.2em;
	left: -4.3em;
}
#peu ul li {
	background: url(../img/linia-verda.gif) no-repeat right 4px;
	color: #003300;
	display: inline;
	margin: 0;
	padding: 0 0.8em 0 0;
	list-style-type: none;
}
#peu ul li a {
	color: #003300;
	text-decoration: none;
}
#peu ul li a:hover {
	text-decoration: underline;
}
#peu li.darrer {
	background: none;
	padding-left: 0.5em
}
noscript img#DCSIMG {
	border:none;
	height:1px;
	width:1px;
}

