/* ESTRUCTURA DE LA PAGINA */

/* NOTA :
			L'alçada la calculem en funcio amb funcio javascript - alcada() - definida a ./js/lib.js 
			La funcio es cridada desde ./index.php
*/

html, body {
    height: 98%;
    background: #F5F5F5;
}

#wrapper {
	width: 100%;
	height: 510px;
	margin: auto;
	padding: 0.1em 0 0.1em 0.2em;
	background: #F5F5F5;
}

#cookie {
	background: #D0D0D0;
	width: 100%;
	height: 2em;
	text-align:center;
	padding: 0.6em 0.2em 0 0.2em;
	font-family:Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
	display: none;
}

#menu {
	background: #FFFFFF;
	float: left;
	width: 23%;
	height: 100%;
	overflow: auto;
	border: 1px solid #F63A3F;
	padding: 0 0.1em 0.2em 0.5em;
	margin-right: 5px;	
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
}
#main {
	background: #FFFFFF;
	width: 74.6%;
	height: 290px;
	float: left;
	overflow: auto;
	padding: 0.2em 0.1em 0 0.2em;
	border: 1px solid #F63A3F;		
	border-top-left-radius: 15px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:small;
}

#main p {
	margin: 0;
}

#header {
	background: #FFFFFF;
	width: 75%;
	height: 115px;
	overflow: hidden;
	border: 1px solid #F63A3F;
	margin-bottom: 5px;		
	border-radius: 15px;
}

#footer {
	background: #FFFFFF;
	width: 100%;
	height: 115px;
	overflow: hidden;
	border: 0px;
}

#effiliation {
	background: #FFFFFF;
	width: 100%;
	height: 115px;
	overflow: hidden;
	border: 0px;
}

#adsense_cent {
	background: #FFFFFF;
	width: 100%;
	height: 115px;
	overflow: hidden;
	border: 0px;
}

.loading {
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background-color: rgba( 255, 255, 255, 1 );
    /*background-image: url('../imatges/tt_logo_mod.jpg'), url('../imatges/loading_b.gif');*/
    background-image: url('../imatges/loading_b.gif');
    background-position: 50% 25%, 50% 60%;
    background-repeat: no-repeat;
    
}

table, caption {
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-variant: inherit;
}

/* ********************* */
/* ESTILS DE LES PAGINES */
/* ********************* */

/* GENERALS */

A:link, A:visited { 
	text-decoration: none;
	color: blue;
} 

A:hover { 
	color: #012D86; 
}

A.welcome_actiu:link, A.welcome_actiu:visited { 
	color: #FFFFFF;
}

A.ocult:link, A.ocult:visited {
	text-decoration: none;
	color: #83BAD8;
}

A.apartat:link, A.apartat:visited {	
	text-decoration: none;
	color: blue;
}

A.subseccio:link, A.subseccio:visited {	
	text-decoration: none;
	color: #335511;
}

A.subapartat:link, A.subapartat:visited {	
	text-decoration: none;
	color: #99491D;
}

A.apartat:hover { 
	color: #012D86;
}

A.apartat_actiu:link, A.apartat_actiu:visited { 
	color: #FFFFFF;
}

A.subseccio:hover { 
	color: #334411;
}

A.subapartat:hover {
	color: #64361D;
}

A.subapartat_actiu:link, A.subapartat_actiu:visited { 
	color: #FFFFFF;
}

/* TITOLS */

.Titol_web {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 36px;
	color: #FFFFFF;
}

.Titol_menu {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 14px;
}

.Titol_seccio {
	font-size: 16px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

.Subtitol_seccio {
	font-size: 14px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
}

.Subtitol_seccio_blau {
	font-size: 14px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	color: #000066;
}

.Subtitol_test {
	font-family: "Courier New", Courier, monospace; 
	font-size: 14px; 
	font-weight: bold;
}

/* MENU */

.Menu_seccio {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1em;	
}

p.Menu_seccio { 	
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	line-height: 2em;	
}

p.Menu_seccio:hover { 	
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	line-height: 2em;
	background: #eeeeee;	
}

p.Menu_seccio_activa {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	line-height: 2em;
	background-color: #0088CC;	
}

.Menu_pagina {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;	 		
}

.Menu_pagina_ocult {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;
	color: #A7A37E;
}

ul.Menu_llista_seccio {	
	padding-left: 0.8em;
	list-style-image: url(../imatges/fletxa_seccio.png);
}

ul.Menu_llista {
	margin-top: 1.2em;
	margin-bottom: 1.2em;
	padding-left: 0.3em;
	list-style-image: url(../imatges/fletxa_negra.gif);
}

ul.Menu_subllista {
	padding-left: 0.7em;
	list-style-image: url(../imatges/fletxa_verda.gif);	
}

li.Menu_llista_apartat {	
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;	 		
}

li.Menu_llista_apartat:hover {
 	background-color: #eeeeee;
}

li.Menu_llista_apartat_activa {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0088CC;	 		
}

li.Menu_llista_subapartat:hover {
	background-color: #FFF8B4;
}

li.Menu_llista_subapartat_activa {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0088CC;	 		
}

.Afegir_item :link {
	font-size: 8px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #990000;
	background-color: #FFDD00;
}

.Afegir_item :visited {
	font-size: 8px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #990000;
	background-color: #FFDD00;	
}

.Seccio_vermell {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1em;
	color: #FF0000;
}

/* CONTINGUT */

.Contingut_negreta {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
}

.Contingut_negreta_petit {
	font-size: 10px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
}

.Contingut_negreta_blau {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	color: #000066;
}

.Contingut_negreta_blau_petit {
	font-size: 10px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	color: #000066;
}

.Contingut_normal {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;
}

.Contingut_normal_petit {
	font-size: 10px; 
	font-family: Arial, Helvetica, sans-serif;
}

.Contingut_normal_blau {
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif;
	color: #000066;
}

.Contingut_normal_blau_petit {
	font-size: 10px; 
	font-family: Arial, Helvetica, sans-serif;
	color: #000066;
}

.Contingut_negreta_alinetat_top {
	font-size: 12px; 
	font-weight: bold; 
	font-family: Arial, Helvetica, sans-serif;
	vertical-align:top;
}

li.Contingut_llista {
	margin: 0.7em;	
}

.Contingut_test {
	font-family: "Courier New", Courier, monospace; 
	font-size: 12px;
}

.Contingut_test_negreta {
	font-family: "Courier New", Courier, monospace; 
	font-size: 12px;
	font-weight: bold; 
}

.Contingut_test_blau {
	font-family: "Courier New", Courier, monospace; 
	font-size: 12px;
	color: #0000FF;
}

.Contingut_test_vermell {
	font-family: "Courier New", Courier, monospace; 
	font-size: 12px;
	color: #FF0000;
}