
#pageheader {
	position:relative; 
	top:0; left:0; 
	height:60px; 
}

#pagefooter {
	position:relative; top:0; left:0; 
}

#pagecenter {
    position:relative; top:0; left:0; width:100%;
}

#pagebody {
  position:relative;  top:0;  left: 2em;  
  width: 36em;
  background:#fff; 
}

#rightbar {
  position:absolute;  top:0;  right:0;  width:20%;
  padding: 0.5625em; /* 16x0.5625=9px */
  font-size:.85em;
  background:#ded;
}

#rightbar p, #rightbar ul {
  font-size:.85em;
}


.fonsclar {
  background: #efe;
  padding: 0.35em; 
}

p.petit,
.petit p {
  font-size: 0.66em; 
}


body {
	background: #fff;
	color: #333;
	font-family: corbel, verdana, arial, helvetica, sans-serif;
	font-size:100%;
	line-height:1.125em; /* 16x1.125=18px */
	margin:0;
	padding: 18px;
}


h1 {
	font-family: corbel, verdana, arial, helvetica, sans-serif;
	font-style: normal;
	letter-spacing: 2px;
	letter-spacing: 0.33em;
	text-transform: uppercase;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #bbb;
}

h2 {
	font-family: constantia, georgia, times new roman, serif;
	font-weight:normal;	
	background: #ded; 
}

h3 {
	font-family: constantia, georgia, times new roman, serif;
	color: #484;
}

hr {
	border:0 none;
	border-top:1px dashed #bbb;
}


a {
  color: #393;
}

a:hover {
  color: #fa0;
}

img {
  border: 0;
}

img.logo {
  border: 0; 
  float: right; 
  vertical-align: bottom;
}

#pageheader {
	color:#fff;	
	background:#f3c99c;
	background-image:url(images/ss135.jpg);
	background-repeat: no-repeat;
	padding: 18px 18px 18px 200px;
}

#pageheader h1 	{
	padding: 0 0 0 0; 
	margin: 0 0 0 0;
	border:0;
	background:#f3c99c;
	letter-spacing: 0px;
	font-family: constantia, georgia, times new roman, serif;
	font-weight:normal;	
	text-transform:none;
}

#pageheader h2 	{
	padding: 0 0 0 0; 
	margin: 0 0 0 0;
	background:#f3c99c;
}

#pageheader h3 	{
	padding: 0 0 0 0; 
	font-weight:normal;	
	margin: 0 0 0 0;
	background:#f3c99c;
	font-size: 0.75em;
	color: #000;
}

#pageheader p	{
	font-size: 0.75em;
	line-height:1em;
    color: #000;
    background:#f3c99c;	
}

#pageheader a {
  color: #e67817;
}

#pageheader a:hover {
  color: #fa0;
}

#navigation {
  height:20px;
  line-height:20px;
  color:#fff;	
  background:#242; 
}

#navigation ul {
  margin:0;
  padding:0;
}

#navigation li {
  float:left;
  margin:0;
  padding:0;
  list-style-type:none;
  text-transform:uppercase;
  border-right:1px solid;
  white-space:nowrap;
  border-color:white;
}

#navigation li a {
  display:block;
  padding:0 18px;
  font-size:0.6em;
  letter-spacing:1px;
  color:white;
}

#navigation .selected,
#navigation a:hover  {
	background-color:#ffaa00
}

#pagefooter {
	color:#fff;	background:#aaa;
	font-size:70%;
	line-height:1em;
}

#pagefooter a	{ 
	color:#fff; 
	padding:0 .25em .1em .5em; 
	text-decoration:none;
}
#pagefooter a:hover { 
	color:#bdf; 
	text-decoration:underline;
}

h1 {
	font-size: 1.375em; /* 16x1.375=22px */
	line-height: 1.636em;/* 16x1.636=36px */
	margin: 0;
}

h2 {
	font-size: 1.125em; /* 16x1.125=18px */
	margin:2em 0 1em 0; /* 18x1=18px */
	padding: .25em .25em .25em .25em; 
}

h3	{
  font-size: 1.125em; 
  margin:1em 0; 
}

p {
	font-size: 0.75em;
	margin: 1.286em 0; 
}

table {
   width: 80%;
    margin: 0 0 0 2em;
	border-collapse: collapse;
	clear: left;
}

th, td {
	text-align: left;
	vertical-align: top;
	padding: 0;
}

th {
  color: #fff;
  background: #000;
}

td, th {
	font-size: 0.65em; /* 16x0.75=12px */
	padding:0.333em 0.75em 0.417em 0.75em; /* 12*0.333=4px 12*0.75=9px 12x0.417=5px */
	border-bottom:0.083em solid #ccc; /* 12x0.083=1px */
	line-height: 1em; /* 12x1=12px */ 
}

th {
	border-bottom: none; /* 14x0.071=1px */
}
/* @group sidebar */

/* rather than give the sidebar itself a font size, use contextual selectors to get at the elements within */

.sidebar {
	width: 12em;
	float: left;
	margin: 0 1.125em 0 0; /* 16x1.125=18px */
	padding: 0.5625em; /* 16x0.5625=9px */
	background:#efe;
	color: #000;
}

.sidebar h3 {
	font-size: 0.875em; /* 16x0.875=14px */
	margin: 0 0 0.643em 0; /* 14x0.643=9px */
	font-style: italic
}

.sidebar p {
	font-size: 0.75em; /* 16x0.75=12px */
	margin: 0 0 1.5em 0; /* 12x1.5=18px */
}

.sidebar ul {
	padding: 0;
	margin: 0 0 1.125em 1.125em; /* 16x1.125=18px */
}

.sidebar li {
	font-size: 0.75em; /* 16x0.75=12px */
}

table.calendar {
    width: 90%;
	margin: 0 0 0 2em;
	table-layout:fixed;
}

.calendar a:hover {
  background: #39c;
  color: #fff;
  padding: 0 5em 1.25em 0;
}



.diafesta {
  background: #ffc;
}

.diaactivitat {
  background: #eef;  
}

.diapassat {
  color: #999;
}


