@media screen {
	body {	
		margin: 0em 0em 1.3em 0em;
		padding: 0;
		text-align: center;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: .75em;
		color: #4D4D4D;
		background: url("/img/fons.jpg") top left repeat-x;	
	}
	
	#Pagina {
		width: 91%; 
		font-size: 1em;
		text-align: left;
		margin-left: auto; 
		margin-right: auto;
		min-width: 772px;
	}
	
	* html .PaginaMin {border-left: 772px solid #fff; position:relative; float:left; z-index:1;}
	* html .container {margin-left: -772px; position:relative; float:left; z-index:2; text-align:left;}
	
	
	/* Capçalera */
	#Capcalera {
		background: #6E98C6 url("/img/cap_fons.jpg") top left repeat-x;
		overflow: auto;
		width: 100%;
	}
	#Capcalera_Inf {
		clear: both;
		overflow: auto;
		background: #313131 url("/img/cap_inf_fons.jpg") top left repeat-x;
		width: 100%;
	}
	
	#Cap {
		border: 0px;
		margin: 0px;
		padding: 0px 0px 2px 0px;
		line-height: 1.8em;
		font-size: 0.8em;
	}
	#Cap #Idiomes {
		float: left; 
		margin-top: 3px;
	}
	#Cap #Idiomes a {
		color: #FFFFFF;
	}
	#Cap #Idiomes a:hover {
		color: #E7AE00;
		text-decoration: none;
	}		
	#Cap #Botons {
		float: right;
		margin-right: 5px;
	}
	
	/* Contingut */
	#Contingut {
		clear: both; 
		width: 100%; 
		
		font-size: 1em;
		padding-top: 2px;
		height: 100%;
		background-color: #FFFFFF;
		overflow: hidden;
	}
	
	
	#Col_Cont {
		border-left: 5px solid #FFFFFF;
		
		width: 55%; /* Ajustar */
		height: 100%;
		float: left;
	}	
	#Col_Cont_NoBanner {
		border-left: 5px solid #FFFFFF;
		
		max-width: 77%; /* Deixar com abans */
		height: 100%;
		float: left;
		
		padding-right: 2em;
		
	}

	#Col_Banners {
		border-left: 5px solid #FFFFFF;
		border-right: 5px solid #FFFFFF;
		height: 100%;
		float: right;
		
		text-align: right;
		padding: 0px 0px 0px 0px;
		margin: 0;
		
		/*
		max-width: 190px;
		width: 23%;
		*/
		
		width: 170px;
		
	}
	#Col_Menus {
		width: 20%; 
		max-width: 170px;
		height: 100%;
		float: left;
	}
	#Cont {
		padding: 0em 0.5em 2em 2em;
	}
	
	
	#GalImatges {
		float: right;  
		margin-left: 15px;  
		width: 180px;
	}
	
	
	/* Fil d'Ariadna */
	#Fil {
		color: #4D4D4D;
		text-decoration: none;
		height: 1.7em;
		font-size: 0.9em;
		font-family: Arial, Helvetica, sans-serif;
	}
	#Fil .cont {
		padding: 0.2em 0.5em 0em 2em;
		float: left;
		display: inline;
	}
	#Fil a {
		color: #004977;
		text-decoration: none;
	}
	#Fil a:hover {
		text-decoration: underline;
	}
	#Fil .sel {
		color: #4D4D4D;
	}
	#Fil .fletxa {
		color: #4D4D4D;
	}
	
	
	/* Peu */
	#Peu {
		clear: both;
		font-size: 0.8em;
		color: #313131;
	}
	
	#Peu_Barra_Sup {
		padding-left: 1em; 
		padding-top: 1.2em;
		padding-bottom: 0.3em;
		height: 1.3em;
	}
	#Peu_Barra_Inf {
		clear: both;
		float: left;
		overflow: auto;
		background: #313131 url("/img/cap_inf_fons.jpg") top left repeat-x;
		width: 75%;
	}
	
	#Peu_Text {
		border: 0px;
		margin: 0px;
		padding: 2px 0px 2px 5px;
		color: #FFFFFF;
		line-height: 2em;
		float: left;
		font-weight: bold;
	}
	
	
	
	/* Menus */
	/* Primer Nivell */
	#Menu1 {
		margin: 0em 0em 0em 0.6em;
		padding: 0;
		list-style: none;
		font-size: 0.9em;
	}
	#Menu1 li {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#Menu1 li a {
		display: block;
		
		color: #4D4D4D;
		font-weight: bold;
		text-decoration: none;
		line-height: 1.3em;
		
		padding: 3px 20px 4px 0px;	
		
		border-bottom: #CCCCCC solid 1px;
		
	}
	#Menu1 li a:hover {
		color: #E7AE00;
	}
	
	/* Segón Nivell */
	#Menu1 ul {
		margin: 0;
		padding: 0;
		list-style: none;
		border: 0px;
	}
	#Menu1 ul li {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#Menu1 ul li a {
		display: block;
		color: #4D4D4D;
		font-weight: normal;
		text-decoration: none;
		
		padding-left: 0.4em;
		border-left: #FED05A solid 2px;
	}
	#Menu1 ul li a:hover {
		color: #E7AE00;
	}
	
	/* Tercer Nivell */
	#Menu1 ul ul {
		margin: 0;
		padding: 0px;
		list-style: none;
	}
	#Menu1 ul ul li {
		display: inherit;
		margin:  0;
		padding: 0;
	}
	#Menu1 ul ul li a {
		color: #646464;
		
		list-style: none;
		font-weight: normal;
		text-decoration: none;
		font-size: 0.8em;
		background-color: #FFF0CC;
	}
	#Menu1 ul ul li a:hover {
		color: #E7AE00;
	}
}

@media print {
	/* Cambiats per la impresió */
	body {	
		margin: 0px;
		padding: 0px;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: .7em;
		color: #000000;
		text-align: left;
	}
  	
	#Capcalera {
		display: none;
	}
		
	#Col_Cont {		
		width: 98%;
	}
	
	#Col_Cont_NoBanner {
		width: 98%
	}
	
	#Col_Menus {
		display: none;
	}
	
	#Col_Banners {
		display: none;
	}
	
	#Fil {
		display: none;
	}

	#Peu {
		display: none;
	}
}



/* Corretgeig bug Mozilla amb els marges dels div */
div {
	/*
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	*/
}

/* Elements generals */
form {
	margin-top: 0px;
	margin-bottom: 0px;
	display: inline;
}
ul {	
	/*list-style: disc url("../img/punt_trja_llista.gif") outside;*/
	margin-top: 0px;
	margin-left: 1em;
	padding-left: 20px;
	list-style-type: disc;
}

li {	
	margin-left: 0px;
	padding-left: 0.1em;
	padding-top: 0.3em;
	color: #E7AE00;
}
li span {
	color: #4D4D4D;
}
li p {
	color: #4D4D4D;
	margin: 0px;
}
ol {
	color: #004977;
}
blockquote {
	margin-left: 2em;
	margin-top: 0px;
	margin-bottom: 0px;
}
p {
	margin: 0px;
}
strong {
	font-weight: bold;
}

img {
	border:0;
}
hr {
	border: none 0; 
	border-top: 1px solid #004977;
	width: 100%;
	height: 1px;
}
h1 {
	font-size: 1em;
	margin-top: 0px;
	margin-bottom: 0px;
}
a {
	color: #004977;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}



/* Classes per ocultar capes */
BODY.fix SELECT {
    visibility: hidden
}
.nosize {
	position:absolute;
	width:0px;
	height:0px;
	overflow:hidden;
}
.nodisplay {
   display:none;
}

.Vola_Esq {
	float: left;
}
.Vola_Dre {
	float: right;
}
.NoImatgeFons {
	background-image: none;
}


/* Classes del Peu */
.TextPeu {
	color: #000000;
}
a.LinkPeu {	
	color: #000000;
	text-decoration: none;
}
a.LinkPeu:hover {
	text-decoration: underline;
}


/* Classes de Portada */
.Port_Esquerra {
	height: 100%;
}
.Port_Dreta {
	border-left: 5px solid #FFFFFF;
	height: 100%;
}
.Col_Esquerra {
	border: 0px;
	
	width: 49%; 
	float: left;
}
.Col_Dreta {
	width: 49%; 
	float: left;
}


.Titol_Portada_esq {
	padding: 1em 0px 1em 0px;
	clear: both;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bolder;
	font-size: 1.2em;
	line-height: 1em;
}
.Titol_Portada_esq h1 {
	border-bottom: #004977 1px solid;
	display: block;
	text-transform: uppercase;
}
.Titol_Portada_esq a {
	text-decoration: none;
	background: url("/img/titol_fons.jpg") bottom right no-repeat;
	padding-right: 65px;
}
.Titol_Portada_esq a:hover  {
	color: #E7AE00;
}
.Titol_Portada_esq span {
	background: url("/img/titol_fons.jpg") bottom right no-repeat;
	padding-right: 65px;
}


.Titol_Portada_dre {
	padding: 0px 10px 0px 0px;
	clear:both;
	margin-bottom: 0.8em;
	background: #004977 url("/img/titol2_fons.gif") bottom right no-repeat;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.4em;
	color: #FFFFFF;
	text-decoration: none;
}
.Titol_Portada_dre a {
	color: #FFFFFF;
	padding-left: 3px;
	display: block;
	text-decoration: none;
}
.Titol_Portada_dre a:hover  {
	color: #E7AE00;
	text-decoration: none;
}
.Titol_Portada_dre span {
	padding-left: 3px;
	display: block;
}



ul.Llista_Portada_esq {
	padding: 0px 10px 0em 5px;
	margin-bottom: -2em;
	list-style-type: none;
	padding-bottom: 1.5em;
	list-style-position: outside;
}
ul.Llista_Portada_esq li {
	clear: both;
	padding-bottom: 1.5em;
}

ul.Llista_Portada_dre {
	margin: 0;
	padding: 0px 0px 10px 0px;
	list-style: none;
	list-style: outside;
	list-style-type: none;
}
ul.Llista_Portada_dre li {
	padding: 5px 0px 1px 1em;
	color: #4D4D4D;
	font-size: 0.9em;
}
ul.Llista_Portada_dre li:first-letter { 
	padding-right: 4px;
	margin-left: -10px;
}  
a.link_portada_dre {
	text-decoration: none;
}
a.link_portada_dre:hover {
	text-decoration: underline;
}

a.link_portada {
	color: #004977;
	font-weight: bold;
	text-decoration: none;
    display: block;
	padding-bottom: 4px;
	
}
a.link_portada:hover {
	text-decoration: underline;
}



/* Titols */
.Titol {
	color: #004977;
	text-transform: uppercase;
	font-weight: bold;
	padding-top: 1em;
	margin-bottom: 1.2em;
	margin-left: 0em;
	font-size: 1.2em;
	border-bottom: 2px solid #004977;
	display: block;
}
.subtitol {
	color: #4D4D4D;
	font-weight: bold;
}
a.subtitol {
	color: #4D4D4D;
	font-weight: bold;
	text-decoration: none;
}
a.subtitol:hover {
	text-decoration: underline;
}
.subtitol2 {
	color: #4D4D4D;
	font-weight: bold;
	font-size: 0.9em;
}
a.subtitol2 {
	color: #4D4D4D;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
}
a.subtitol2:hover {
	text-decoration: underline;
}
.subtitol3 {
	color: #004977;
	font-weight: bold;
	font-size: 1.1em;
}
a.subtitol3 {
	color: #004977;
	font-weight: bold;
	font-size: 1.1em;
	text-decoration: none;
}
a.subtitol3:hover {
	text-decoration: underline;
}

.titol_llista {
	color: #004977;
	font-weight: bold;
}
a.titol_llista {
	color: #004977;
	font-weight: bold;
	text-decoration: none;
}
a.titol_llista:hover {
	text-decoration: underline;
}



/* Textes */
.texte {
	color: #4D4D4D;
	text-decoration: none;
}
.texte a{
	color: #4D4D4D;
	text-decoration: none;
}
.texte a:hover {
	text-decoration: underline;
}
.data {
	color: #313131;
	font-size: 0.8em;
	float: right; 
	padding: 0em 15px 0.5em 0em;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 1em;
}
.MarcaCerca {
	background-color: #FFD800;
}
.Txtpaginacio {
	font-size: 0.8em;
	color: #313131;
}
.gris {
	font-size: 0.8em;
	color: #929292;
	text-decoration: none;
	text-align: justify;
}

.txt_imatge{
	display: block;
	font-size: .9em;
	color: #4D4D4D;
}

.negreta {
	font-weight: bold;
	color: #004977;
}



/* Links */
a.linkmini {
	color: #4D4D4D;
	font-size: 0.9em;
	text-decoration: underline;
}
a.linkmini:hover {
	color: #004977;
}
a.link {
	color: #004977;
	text-decoration: none;
}
a.link:hover {
	text-decoration: underline;
}
.linknegreta {
	font-weight: bold;
	color: #004977;
	text-decoration: none;
}
a.linknegreta {
	font-weight: bold;
	color: #004977;
	text-decoration: none;
}
a.linknegreta:hover {
	text-decoration: underline;
}
a.linkgris {
	color: #929292;
	text-decoration: none;
	font-weight: bold;
}
a.linkgris:hover {
	text-decoration: underline;
}
.linkgrisSel {
	color: #929292;
	text-decoration: underline;
	font-weight: bold;
}
a.linkblanc {
	color: #FFFFFF;
	text-decoration: none;
}
a.linkblanc:hover {
	text-decoration: underline;
}


/* Imatges */
.TitolImatges {
	text-align: right;
	padding: 0;
	border-bottom: #004977 solid 1px;	
}
.TitolImatges span {
	background-color: #004977; 
	color: #FFFFFF; 
	font-size: 0.8em;
	text-align: right;
	padding: 2px 5px 1px 5px;
}

.foto_portada {
	border-color: #424242;
	border-width: 1px;
	border-style: solid;
	margin-right: 11px;
	margin-bottom: 1px;
	float: left;
}
.imatgeint {
	border-color: #424242;
	border-width: 1px;
	border-style: solid;
	margin-left: 15px;
	float: right;
}
a.imatge_detall {
	margin-bottom: 10px;
	margin-top: 10px;
	border: 0px;
}
a.imatge_detall img{
	margin-bottom: 4px;
	margin-top: 10px;
	border: 1px solid #CCCCCC;
}
a.imatge_detall:hover img {
	border-color: #004977;
}
.imatge_banner {
	border: 0px;
	padding-bottom: 0.6em;
	padding-top: 0em;
	margin: 0;
}
.img_incrustada {
	float: left; 
	margin-right: 1em; 
	margin-bottom: 0em;
	border: solid 1px #4d4d4d; 
}



/* Taules */
table.taula {
	width: 93%;
}
table.taula thead {
	background-color: #004977;
	color: #FFFFFF;
	font-weight: bold;
}
table.taula tr.Imparell {
	background-color: #D9E2E8;
}
table.taula th.fons {
	background-color: #004977;
}
table.taula th {
	font-weight: bold;
	text-align: left;
}
table.taula td {
	text-align: left;
	vertical-align: top;
	
}
table.taula td.cos {

}







/* Elements de Formulari */
table.formulari {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	background-color: #D9E2E8;
	font-weight: bold;
	font-size: 0.9em;
	border: #004977 1px solid;
}
table.formulari td {
	padding-right: 10px;
}
.inputTxt {
    font-size: .9em;
	color: #4d4d4d;
	border: #808080 solid 1px;
}
.formobj {
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	text-decoration: none;
	font-size: 1.1em;
	color: #4D4D4D;
	border: #004977 solid 1px;
	width: 98%;
}
.Tbutton {
	font-size: 0.9em;
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	font-weight: bold;
	color: #FFFFFF; 
	text-align : center;
	background : #004977; 
	border: 1px solid #000000;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
}



/* Classes d'error */
.error {
	color: #FF0000;
}
ul.ErrMsg {	
	margin-top: 0px;
	margin-left: 15em;
	padding-left: 20px;
	list-style-type: disc;
	text-align: left;
}

ul.ErrMsg li {	
	margin-left: 0em;
	padding-left: 0.3em;
	padding-top: 0.3em;
	color: #000000;
}