*{
	margin:2px;
	padding:0px; }
h1 {
	font-size: 24px;
	line-height: 24px;
	padding: 6px 0;
	color: #aaaaff
}
h2 {
	font-size: 20px;
	line-height: 20px;
	padding: 5px 0;
	color: #bbbbff
}
h3 {
	font-size: 18px;
	line-height: 18px;
	padding: 4px 0;
	color: #ccccff
}
h4 {
	font-size: 16px;
	line-height: 16px;
	padding: 3px 0;
	color: #ddddff
}
p {
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	padding-bottom: 5px;
	color: #ffffff
}
header, footer, aside, nav, section, article {
    display: block; }
body {
	text-align: center;
	font: 13px/22px Helvetica, Arial, sans-serif;
	background: #fafafa url("fonsBlau_40.png") repeat; }
#mainpage {
	width: 1024px;
	margin: 15px auto;
	text-align: left; }
#capcalera {
	background: #fafafa url("fonsBlau_80.png") repeat;
	padding: 15px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; }


nav {
	display: block;
	margin: 0px 0px;
	padding: 3px 0px;
	position: relative;
	background: #fafafa url("fonsBlau_80.png") repeat;
	font: 16px Tahoma, sans-serif; 
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; 
	z-index: 200; }
nav ul {
	margin: 0;
	padding: 2px 0px;  }
nav ul:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden; }
nav li {
	margin: 0px 6px;
	position: relative;
	float: left;
	-moz-border-top-left-radius: 12px;
	-webkit-border-top-left-radius: 12px;
	border-top-left-radius: 12px;
	-moz-border-top-right-radius: 12px;
	-webkit-border-top-right-radius: 12px;
	border-top-right-radius: 12px; 
	background: #fafafa url("fonsBlau0.png") repeat;
	list-style-type: none; }
nav li a {
	display: block;
	padding: 4px 20px;
	color: #fff;
	text-decoration:none; }
nav li a:focus {
	outline: none;
	text-decoration: underline; }
nav li:first-child a {
	border-left: none; }
nav li.darrer a {
	border-right: none; }
nav li:hover ul {
	display:block; }

nav a span {
	display: block;
	float: right;
	margin-left: 5px;	}
nav ul ul {
	display: none;
	width: 100%;
	position: absolute;
	left: 0;
	background: #ff00ff url("fonsBlau40.png") repeat;
	-moz-border-bottom-left-radius: 12px;
	-webkit-border-bottom-left-radius: 12px;
	border-bottom-left-radius: 12px;
	-moz-border-bottom-right-radius: 12px;
	-webkit-border-bottom-right-radius: 12px;
	border-bottom-right-radius: 12px; }
nav ul ul li {
	float: none;	}
nav ul ul a {
	padding: 5px 10px;
	border-left: none;
	border-right: none;
	font-size: 14px; }
nav ul a:hover {
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; 
	background: #00ffff url("fonsBlau_40.png") repeat;	
	color: #fff;}
nav ul ul a:hover {
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; 
	background: #00ffff url("fonsBlau_40.png") repeat;
	color: #fff;}

 
 #principal {
	float: left;}
/*ara no emprat
.columna {
	float: left;
	border: 1px solid #000044;
	width: 224px;
	margin: 0;
	padding: 10px;
	color: #ffffff;
	background: url("fonsBlau_80.png") repeat;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; }
*/
.contingut {
	float: left;
	width: 1020px;
	/*width: 770px;		--amb columna */
	margin: 0;
	color: #ffffff;
	background: url("fonsBlau_60.png") repeat;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; }
footer {
	clear: both;
	color: #ffffff;
	text-align: center;
	padding: 20px;
	border-top: 2px solid #303080;
	font: bold 12px verdana, sans-serif;
	text-shadow: 1px 1px #000080;
	background: url("fonsBlau_60.png") repeat;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; }
footer a {
	color: #e0e0ff; }
footer a:hover {
	text-decoration: underline; }
	
article {
	border: 1px solid #000044;
	background: url("fonsBlau_80.png") repeat;
	margin: 5px;
	padding: 4px;
	margin-bottom: 15px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;}
article footer {
	text-align: right; }
time {
	color: #999999; }
figcaption {
	font: italic 14px verdana, sans-serif; }

#presentacio { 
	background: url("fonsBlau_80.png") repeat;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; } 
ul.slideshow {
  list-style: none;
  height: 194px;
  overflow: hidden;
  position: relative;
  margin: 0;}
ul.slideshow li {
  position: absolute;
  margin: 2px;
  padding: 3px;
  left: 0;
  right: 0;}
ul.slideshow li.show {
	z-index: 100; }
ul img {
	border: 1px solid #888;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px; }

.liniv1, .liniv2 {
	padding: 3px 15px; 
	color: #fff;
	list-style-type: none;
}
.liniv1 a, .liniv2 a {
	color: #ffa;
	font: 14px verdana, sans-serif;
	text-decoration: none; }
.liniv1 a:visited, .liniv2 a:visited {
	color: #faa; }
.liniv1 a:hover, .liniv2 a:hover {
	color: #5f5;
	text-decoration: underline; }
.liniv1 a:focus, .liniv2 a:focus {
	color: #afa; }
