html{
	font-family: "Trebuchet MS",Arial,sans-serif;
	font-size:0.9em;
	height:100%;
}

body{
	margin:0.5em 0.5em 0.5em 0.5em;
	border:0;
}

#menu
	{
/*	background-color:#9DA400;*/
	background: url(imatges/gradientesqgrn.jpg) 0% 0% repeat-x;
	float:left;
	width:15%;
	padding-left:0.5em;
	padding-right:0.5em;
	}
#principal
	{
	float:left;
	/*OK a 800x600*/
	width:80%;
	line-height: 1.5em;
	padding-top:1em;
	padding-left:1em;
	}
/* Start Mac IE5 filter \*/
#menu, #principal
	{
	padding-bottom: 32767px !important;
	margin-bottom: -32767px !important; 
	}
/* End Mac IE5 filter */
#wrap
	{
	overflow: hidden; /* This hides the excess padding in non-IE browsers */
	}
/* we need this for IE 5.01 - otherwise the wrap does not expand to the
necessary height (unless fixed, this problem becomes even more acute 
weirdness as the method is enhanced */
#wrap
	{
/* Normally a Holly-style hack height: 1% would suffice but that causes 
IE 5.01 to completely collapse the wrap - instead we float it */
	float: left;
/* NB. possibly only IE 5.01 needs to get this float value - otherwise 5.5 sometimes 
(I saw it happen many moons ago) makes the width of wrap too small 
the float: none with the comment is ignored by 5.01,
5.5 and above see it and carry on about their business
It's probably fine to just remove it, but it's left here 
just in case that many moons ago problem rears its head again */
	float/**/: none;
	}
/* easy clearing */
#wrap:after
	{
	content: '[DO NOT LEAVE IT IS NOT REAL]'; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}
#wrap
	{
	/*display: inline-block;*/
	}
/*\*/
#wrap
	{
	display: block;
	}
/* end easy clearing */
#footer
	{
	clear: both;
	}
/* Safari needs this - otherwise the ghost overflow, though painted 
correctly obscures links and form elements that by rights should be above it.
An unintended side-effect is that it cause such elements to vanish in IE 5.01
and 5.5, hence the child selector hack */
* > #footer, * > form, * > #notes, * > .output
	{
	position: relative;
	z-index: 1000;
	}

#contenido {
	width: 100%;
	/*background-color: #9DA400;*/
	color:inherit;
	clear: both;
	margin: 0em;
	background: url(imatges/gradient_verd.png) 0% 0% repeat-x;
}

#breadcrumbs{
	float:left;
	color:white;
	background:inherit;
	width:50%;
	height:29px;
	padding-top:0.8em;
	padding-left:0.4em;
}

#breadcrumbsalfabet{
	float:left;
	color:white;
	background:inherit;
	width:35%;
	height:29px;
	padding-top:0.8em;
	padding-left:0.4em;
}

#exercicis{
	float:left;
	background:inherit;
	width:49%;
	height:29px;
	padding-top:0.8em;
}

#exercicis a:hover{
	color:#FFFFFF;
}

#exercicis b {
	color: white;
}

#alfabet{
	float:left;
	background:inherit;
	width:64%;
	height:29px;
	padding-top:0.8em;
}


#alfabet a, #breadcrumbs a, #breadcrumbsalfabet a, #exercicis a {
	color: yellow;
	text-decoration: none;
}
#alfabet a:hover, #breadcrumbs a:hover, #breadcrumbsalfabet a:hover, #exercicis a:hover{
	text-decoration: none;
	color: #FFFFFF;
}

#banderes{
	float:right;
	width:auto;
	height:29px;
	padding-right:0.4em;
}

ul {
	width: 100%;
	font-size: 1em;
	list-style: none; /*Eliminem l'estil de llista*/
	padding: 0em; /*Evita la identificació que apareix en alguns navegadors*/
	margin: 0em;
	display: inline; /*Ens permet integrar amb els elements li i evitar problemes -*/
	float: left;	  /*en alguns navegadors*/
	border-bottom: 0em solid black;
}

ul li {
	display: block;
	/*El color de les pestanyes és diferent*/
	background-color:#9DA400;
	color:inherit;
	float: left; /*Flota els elements de la llista*/
	text-align: center;
	margin-right: 0.2em;
	position: relative;

}

ul li a {
	width: 7em; /*Fixem l'amplada perquè l'enllaç sigui tota la pestanya i no només el text*/
	display: block;
	border-bottom:1px Solid #9DA400;
	background-image: url(imatges/cantonada.png);
	padding-right: 1em;
	background-position: right bottom;
	background-repeat: no-repeat;
	text-decoration: none;
}
ul li a.trobaras{
	width:8.5em;
}

ul li a:link, ul li a:visited, ul li a:active {
	color:#FBEC5D;
	background-color:inherit;
}

ul li a:hover {
	color:#FFFFFF;
	background-color: #B5BF00;
	border-color: #B5BF00;
}

/*Clase especial que resaltarà depenent de la secció*/
a#actual {
	/*width:7.3em;*/
	display:block;
	/*Color alternatiu*/
	/*background-color: #77BADB;*/
	background-color:#7B8200;
	color:#FBEC5D;
	/*Color de la línia de la pestanya*/
	border-bottom:1px Solid #7B8200;
	text-decoration:none;
}

a#actual:link, a.actual:visited, a.actual:active {
	color:#FBEC5D;
	background-color:#7B8200/*inherit*/;
	border-bottom:1px Solid #7B8200;
}

a#actual:hover {
	color: #FBEC5D;
	cursor: default;
	background-color:#7B8200;
	border-bottom:1px Solid #7B8200;
}
  
h1 { 
	font-family:"Trebuchet MS",Arial,sans-serif;
	font-size:1.4em;
	font-weight:bold;
}

h2 { 
	font-family:"Trebuchet MS",Arial,sans-serif;
	font-size:1.25em;
	font-weight:bold;
}

h3 { 
	font-family:"Trebuchet MS",Arial,sans-serif;
	font-size:1.1em;
	font-weight:bold;
}

#inserta a, #principal a {
	color: #5A6000;
	text-decoration: none;
}

body {
	min-height: 97%;
}
html, body {
	height: 97%;
}

#wrap {
	min-height: 100%;
}
p.small {
	font-size: 85%;
}
button {
	background-color: #CECFAF;	
}
.intercat{
	margin:30px 0px;
}