/* General */
/* ------------------------ */
body {margin:0px;}
body {color:#333; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; font-style:normal; font-variant:normal; font-weight:normal;}
body {font-size:.8em; line-height:1.2;}
img {border-width:0px}
* {margin:0px; padding:0px;}
h2,h3{margin-top:.75em; margin-bottom:.75em;}
h1 {font-size:160%;font-weight:bold;}
h2 {font-size:130%;}
h3 {font-size:120%;}
h4 {font-size:110%;}
p,h4,h5{margin-top:.5em; margin-bottom:.5em;}
li,dd{margin-left:2em;}

hr 						{height:2px; background-color:#2984b5; color:#2984b5; border-width:0px; clear:both}
hr.separador 	{height:2px;}
hr.separadorFi {height:1px;}

.senseMarge{margin-top:0em; margin-bottom:0px;}

.centrat {text-align: center;}
.esquerra {text-align: left;}
.dreta {text-align: right;}
.lletraGran{font-size:120%;line-height:1.4;}
.lletraPetita{font-size:80%;}
.lletraMoltPetita	{font-size:60%;}
.noVisible{display:none}

a:link, a:visited, a:active {color:#01145b; text-decoration:none}
a:hover, a:focus {color:#a90000; background-color:#ffc; text-decoration:underline}
a:hover	img, a:focus	img {text-decoration:none}

/* Altres  */
/* ------------------------ */
	.paginacion {clear: both;TEXT-ALIGN: center;}
	.revisat {color:#777; text-align:right}
	.XPlus,		
	.mesText	{color:#b00;FONT-WEIGHT: bold; }


/* Mida de les lletres */
/* ------------------------ */
.midaLletra1 {FONT-SIZE:.7em;}
.midaLletra2 {FONT-SIZE:.81em;}
.midaLletra3 {FONT-SIZE:.94em;}
.midaLletra4 {FONT-SIZE:1.09em;}
.midaLletra5 {FONT-SIZE:1.26em;}

/* titols */
/* ------------------------ */
.titol, .titol a:link, .titol a:active, .titol a:visited {color:#004A80;}
.titol {padding:3px; background-color: #cde; font-weight: bold; font-size:120%; border-left: 7px solid #2c87b4;}
h2.titol, h3.titol, h4.titol, h5.titol{margin-top:0px;}
span.titol		{line-height: 2em; padding:0px 3px 0px 3px; border-width:0px}
/* .titol a:link, .titol a:active, .titol a:visited	{COLOR: #01145b;}
a.titol:hover,
.titol a:hover		{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;}  */

.titol2 		{PADDING-top:2px; PADDING-bottom:2px;font-size:120%;}
.titol2 		{border-bottom-width: 3px; border-bottom-style: solid; 	border-bottom-color: #06c;}
span.titol2		{line-height: 2em;}
/*  .titol2 a:link,
.titol2 a:active,
.titol2 a:visited 	{COLOR: #01145b;}
a.titol2:hover,	
.titol2 a:hover		{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;} */

.titol2a 		{PADDING-top:2px; PADDING-bottom:1px; BACKGROUND-COLOR: #f2f2f2;}
.titol2a 		{border-bottom-width: 1px; border-bottom-style: solid; 	border-bottom-color: #06c;}
span.titol2a		{line-height: 2em;}
.titol2a a:link,
.titol2a a:active,
.titol2a a:visited 	{COLOR: #01145b;}
a.titol2a:hover,	
 .titol2a a:hover	{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;}

.titol2b 		{PADDING-top:2px; PADDING-bottom:1px; BACKGROUND-COLOR: #f2f2f2;}
.titol2b 		{border-bottom-width: 2px; border-bottom-style: solid; 	border-bottom-color: #06c;}
.titol2b a:link,
.titol2b a:active,
.titol2b a:visited 	{COLOR: #01145b;}
a.titol2b:hover,	
.titol2b a:hover	{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;}

.titol3 		{padding:1px 0px 1px 0px ;}
.titol3 		{border-bottom:#06c solid 1px;}
span.titol3		{line-height: 1.7em;}
.titol3 a:link,
.titol3 a:active,
.titol3 a:visited 	{COLOR: #01145b;}
a.titol3:hover 		{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;}	
.titol3 a:hover		{COLOR: #c33; BACKGROUND-COLOR: #ffc;text-decoration: underline;}


/* Blocs i Columnes */
/* ------------------------ */
.blocPrincipal{}

.blocColumna {float:left; display:inline;}
.blocColumna {min-width:18em; width:100%}
.blocColumnaDreta {float:right;display:inline;}

.blocMarge{margin-bottom:12px; margin-right:12px;}
.blocMargeUltim{margin-bottom:12px;}

.blocMarc{margin-top:6px; padding-left:12px; border-left:1px solid #B5D79F;}

.blocNotes {float:right; margin-left:2em; margin-bottom:.5em; width:30%; background-color:#F4F4F4; padding:.5em; font-size:0.8em;}
.blocNotes ol, .blocNotes ul, .blocNotes p {margin-bottom:0.5em}

.blocDreta, .foto_dreta    {float:right; margin-left:.6em; margin-bottom:2px;}
div.blocDreta {float:right; margin-left:2em;} /* serveix per alterar el blocNotes, i cal que tingui el fload:left */

.blocEsquerra           {float:left; margin-right:1em; margin-bottom:2px;} 
div.blocEsquerra       {float:left; margin-left:0px;   margin-right:1em; width:auto;} /* serveix per alterar el blocNotes, i cal que tingui el fload:left */
img.blocEsquerra {background-color: #ffffff; margin: 0px; padding-right:1em; padding-bottom:2px;}

.blocEsquerraPetit {float:left; margin-left:0px;   margin-right:5px; margin-bottom:0px;}
img.blocEsquerraPetit {background-color: #ffffff; margin: 0px; padding-right: 5px; padding-bottom: 0px;}

.blocCentrat {margin-left: auto; margin-right: auto;clear:both}

div.blocCompacte, table.blocCompacte {clear: both; margin-bottom:15px}
.blocCompacte       h2, .blocCompacte       h3, 
.blocSenseEspais h2, .blocSenseEspais h3 {margin-bottom:0.3em}
.blocCompacte       p, .blocCompacte 	ul, .blocCompacte 	ol, .blocCompacte	dl,
.blocSenseEspais p, .blocSenseEspais 	ul, .blocSenseEspais 	ol, .blocSenseEspais	dl	{margin-bottom:0px;}

.blocMarcFi{border: 1px solid #e8e8e8;}
div.blocMarcFi{padding:2px}

.blocLinia{clear:both; margin-top:6px; padding-top:6px; }
.blocLinia{border-top: 1px solid #bbb;}

.blocInicial{margin-top:0px; XXXborder-top-width:0px}

.blocIndentat{margin-left: 2em;}

.fiBlocs {clear:both; font-size:1px; height:1px; line-height:1px;}
.fiBlocsEspai{clear:both; font-size:1px; height:12px; line-height:1px;}

.campo	{BACKGROUND-COLOR:#d1d4e1; font-weight:bold; padding:0.1em; line-height:2em;}
.campo {border-bottom:#2c87b4 dotted 1px;}


/* Elements comuns de navegació  */
/* ------------------------ */
.bodyCap .blocDreta, .bodyCap .blocEsquerra{margin-bottom:0px}
#Cap_BotoSearchstring{width:17px;height:16px}
.blocPeu{margin-top:6px; border-top: 1px solid #bbb; text-align:right;}
.blocPeu, .blocPeu a:link, .blocPeu a:visited, .blocPeu a:active{color:#AC462D}
.blocPeu a.accPujar{float:left}
#peu_help{position:relative; padding-right:78px}
#peu_help img{position:absolute; top:3px; right:3px}
.bodyPeu div.inlineVincles{float:right}

.blocPeu{clear:both}

/* cal declarar abans el "blocPeu" i despres el "accPujar" per alterar el color del text  */
a.accPujar {float:right; font-size:11px; font-weight:normal;}
a:link.accPujar, a:visited.accPujar, a:active.accPujar {color:#bbb}
a:hover.accPujar, a:focus.accPujar {color:#666}

.accNavegacio{display:none}

/* Menús DD */
/* ------------------------ */
.menuDL   {border-top:#2c87b4 dotted 1px;}
.menuDL dd{border-bottom:#2c87b4 dotted 1px; }
.menuDL a{display:block;}
.menuDL dd{margin-left:1px; padding-left:12px;
	background-position:left; background-image:url(img/Vincle.gif); background-repeat:no-repeat;}
dd.menuDL_No        {background-image:none; border-width:0px;padding-left:0px;}
dd.menuDL_New      {background-position:left; background-image:url(img/VincleNew.gif); background-repeat:no-repeat;}
dd.menuDL_NoLink{background-position:left; background-image:url(img/VincleNo.gif);  background-repeat:no-repeat;}
.menuDL a, 
dd.menuDL_NoLink{padding-top:3px; padding-bottom: 3px;}
dd.menuDL_SelCami {BACKGROUND-COLOR: #eeeeee}
dd.menuDL_SelOpcio {BACKGROUND-COLOR: #dedede}

/* Aj_menu heredat */
/* ------------------------ */
dl.Aj_Menu_Left_San, dl.Aj_Menu_Left_San2, dl.Aj_Menu_Left_San3, dl.Aj_Menu_Left_San4, dl.Aj_Menu_Left_San5, dl.Aj_Menu_Left_San6 {padding-left:1em;}
	
dd.Aj_Menu_Left_Tit {PADDING-LEFT: 2px; BACKGROUND-IMAGE: none; FONT-WEIGHT: bold;}
dd.Aj_Menu_Left_Sub {FONT-WEIGHT: bold;}

.Aj_Menu_Left_San1 {background-color:#F3F6F8}
dd.Aj_Menu_Left_Color2 {background-color:#0099ff}
dl.Aj_Menu_Left_San2, dl.Aj_Menu_Left_San2 dd{background-color:#66ccff}
dd.Aj_Menu_Left_Color3 {background-color:#ff9900}
dl.Aj_Menu_Left_San3, dl.Aj_Menu_Left_San3 dd {background-color:#ffcc33}
dd.Aj_Menu_Left_Color4 {background-color:#ff4455}
dl.Aj_Menu_Left_San4, dl.Aj_Menu_Left_San4 dd {background-color:#ff6666}
dd.Aj_Menu_Left_Color5 {background-color:#00CC33}
dl.Aj_Menu_Left_San5, dl.Aj_Menu_Left_San5 dd {background-color:#66FF66}
dd.Aj_Menu_Left_Color6 {background-color:#9999ff}
dl.Aj_Menu_Left_San6, dl.Aj_Menu_Left_San6 dd {background-color:#CCCCFF}

/* Cami */
/* ------------------------ */
div.menuCami{border-bottom:#2c87b4 dotted 1px; margin-bottom:3px }
.menuCami ul{list-style-type:none; padding:.3em 0em .3em 0em} 
.menuCami  li{display:inline; 
  margin-left:3px; padding-left:8px; 
	background-position:left; background-image:url(img/CamiVincle.png); background-repeat:no-repeat;}
.menuCami a {padding:.3em .2em .3em .2em}
.menuCami li{color:#888;}
.menuCami a:link, .menuCami a:visited, .menuCami a:active{color:#58b;}
.menuCami a:hover, .menuCami a:focus  {color:#a90000;}


/* Menú UP */
/* ------------------------ */
div.menuUp{text-align:left; font-weight: bold; margin:.5em 0px 1em}
.menuUp {padding:3px; FONT-SIZE: 1.07em; border-bottom: #2984b5 2px solid;} 
.menuUp a{padding:3px;} /* ha de tenir el mateix padding sup i inf que ".menuUp" per tal que es solapi en marge inferior del <a> sobre el <div> */
.menuUp ul{list-style-type:none;} 
.menuUp li{display:inline; margin:0px .4em}

.menuUp a:link,.menuUp a:visited,.menuUp a:active {color: #a90000; }
.menuUp a{background-color: #ddd; border: #2984b5 1px solid; border-bottom: #2984b5 2px solid;}
.menuUp li.menuUp_Sel a{BACKGROUND-COLOR: #ffffcc; border-color: #000; border-bottom-color: #ffffcc}
.menuUp a:hover, .menuUp a:focus	{COLOR: #038; text-decoration: none;background-color: #ffcc00;}


/* ======== Formularis ============ */
.formWhere {border-bottom:#999 solid 1px; padding:.5em;margin-bottom:12px; background-color:#eee}
.campInput, textarea, select{border: #888 1px solid;}
input.campInput, textarea {padding-left:2px;padding-right:2px; margin:2px}

.campSpan {padding:2px; BORDER: #888 1px solid; background-color:#e0f0e0;line-height: 1.5em; margin:2px}
span.campSpan {margin-right:5px;}
div.campSpan ul.fm_LlistaGet_Valor {margin:0px;}
div.campSpan ul.fm_LlistaGet_Valor li {margin-left:22px;} /* IE ho necesita per veure els punts */

input.campRequerit, textarea.campRequerit, select.campRequerit, .campRequerit  {background-color:#ffffdf}
input.campRequerit, textarea.campRequerit, select.campRequerit, .campRequerit {BORDER:#666600 1px solid;}
.imgSubmit {vertical-align:text-bottom}


/* ======== Alteracions Especifiques ======== */
/* Vincles */
 /* ------------------------ */ 
.vincleBoto{BORDER:1px solid #660F00; background-color:#FFEFD2; padding:1px .4em 1px; font-weight: bold; display:block}
a.vincleBoto{color:#640000;}
 
/* a.vinclesNormals,  a.vinclesNormals:link, a.vinclesNormals:visited, 
	 .vinclesNormals a, .vinclesNormals a:link, .vinclesNormals a:visited {COLOR: #01145b;}
a.vinclesNormals:hover,  a.vinclesNormals:focus, 
 .vinclesNormals a:hover , .vinclesNormals a:focus {background-color: #ffd;COLOR: #01145b;}  */
.vincleIco a, a.vincleIco 	            {padding-left:9px; padding-right:5px; BACKGROUND-POSITION: 0px .2em;
	BACKGROUND-IMAGE:url(img/Vincle.gif); background-repeat:no-repeat;}
.vincleIcoNew a, a.vincleIcoNew	{padding-left:9px; padding-right:5px; BACKGROUND-POSITION: 0px .2em;
	BACKGROUND-IMAGE:url(img/VincleNew.gif); background-repeat:no-repeat;} 
.vincleIcoNoLink a, a.vincleIcoNoLink	{padding-left:9px; padding-right:5px; BACKGROUND-POSITION: 0px .2em;
	BACKGROUND-IMAGE:url(img/VincleNew.gif); background-repeat:no-repeat;} 
 
ul.ulVincles, .ulVincles ul {padding:0px; MARGIN: 0px; LINE-HEIGHT: 1.4em;}	 
  .ulVincles li{LIST-STYLE-TYPE: none;LIST-STYLE-POSITION: outside}
	.ulVincles li {padding-bottom:.25em; padding-top:.25em}	
	.ulVincles li {padding-left: 27px; margin-left:0px; BACKGROUND-POSITION:17px .5em;
			 BACKGROUND-IMAGE:url(img/Vincle.gif);	background-repeat: no-repeat;}
	.ulVincles li a{display:block}

.ulVincles li.vincleIcoNew a {padding-left:0px; padding-right:0px; BACKGROUND-IMAGE:none}
.ulVincles li.vincleIcoNew {BACKGROUND-IMAGE: url(img/VincleNew.gif);}
.ulVincles li.vincleIcoNoLink a {padding-left:0px; padding-right:0px; BACKGROUND-IMAGE:none}
.ulVincles li.vincleIcoNoLink {BACKGROUND-IMAGE: url(img/VincleNo.gif);}

.ulVinclesEnLinia li a {display:inline}

.ulVinclesNoMarge li{padding-left: 10px; margin-left:0px; BACKGROUND-POSITION:0px .5em;}

ul.ulVinclesAmbFons {BORDER-top: #f0f0f0 1px solid;BORDER-left: #f0f0f0 1px solid}
.ulVinclesAmbFons li {background-color: #f6ffff; BORDER-bottom: #f0f0f0 1px solid;BORDER-right: #f0f0f0 1px solid}

a.enlaces:link,	    a.enlaces:visited,     a.enlaces:active,
 .enlaces a:link,    .enlaces a:visited,    .enlaces a:active,
a.vincleColor:link, a.vincleColor:visited, a.vincleColor:active,
.vincleColor a:link, .vincleColor a:visited, .vincleColor a:active {COLOR: #a90000;}	 
a.enlaces:link,	    a.enlaces:visited,     a.enlaces:active,
 .enlaces a:link,    .enlaces a:visited,    .enlaces a:active           {TEXT-DECORATION: underline} 

/* Menús Desplegable superior */
/* ------------------------ */
div.menuDesplegableBloc{clear:both;}
div.menuDesplegableBloc{border-top:#023A6D solid 1px; }
div.menuDesplegableBlocIntern{min-height:2.1em;}
div.menuDesplegableBloc, dd.menuDesplegable {background-color:#023A6D; color:#fff; }

dl.menuDesplegable 	{font-size:110%;}
dl.menuDesplegable 	{border-left:#ff0 1px dotted;}
a.menuDesplegable	{border-right:#ff0 1px dotted;}
div.menuDesplegableBloc dd.menuDesplegable 	{margin-left:0px;position:relative;float:left}

 a.menuDesplegable	{padding:.3em 1em .3em 1em; display:block; } 
 a.menuDesplegable	{font-weight:bold;}
dl.menuDesplegable a:link,
dl.menuDesplegable a:visited,
dl.menuDesplegable a:active{color:#fff;}
dl.menuDesplegable a:hover,
dl.menuDesplegable a:focus{color:#990000; background-image:none}
dl.menuDesplegable a.menuDesplegable_SelCami:link,
dl.menuDesplegable a.menuDesplegable_SelCami:visited,
dl.menuDesplegable a.menuDesplegable_SelCami:active{color:#ff0;}
dl.menuDesplegable a.menuDesplegable_SelCami:hover,
dl.menuDesplegable a.menuDesplegable_SelCami:focus{color:#990000;}

dd.menuDesplegable  div {display:none; min-width:20em; position:absolute; left:3px; top:1.7em;}
dd.menuDesplegable  div {padding:6px; border:#000 1px solid; background-color:#fff;}
dd.menuDesplegable:hover div,
dd.menuDesplegable:focus div {display:block;}

dl.menuDesplegable dd dl dd {color:#01145b;} /* desactivar atributs superiors */
dl.menuDesplegable dd dl dd a:link,
dl.menuDesplegable dd dl dd a:visited,
dl.menuDesplegable dd dl dd a:active{color:#01145b;}/* desactivar atributs superiors */

/* Identificació Uruaris */
/* ------------------------ */
.blocLogin{background-color:#ddd; border-bottom:red 1px dotted; padding:3px 3px 2px; font-size:110%; margin:.5em 0px .5em;}
.blocLogin a{padding:3px; background-color:#F7F2F2; display:block; border:#a90000 1px solid; }
.blocLogin a:link, .blocLogin a:visited, .blocLogin a:active {color:#a90000; text-decoration:underline}
.blocLogin .blocEsquerra, .blocLogin .blocDreta{margin:0px}
.blocLogin  a:hover, .blocLogin a:focus {color:#000; background-color:#ffc; } 

/* Vincles a: Capçalera i Peu */
/* ------------------------ */
div.inlineVincles a{border-color:#cde}
div.inlineVincles {min-height:1.5em }
div.inlineVincles li{display:inline; margin-left:0px}
div.inlineVincles ul{list-style-type:none;} 
div.inlineVincles ul{padding:.2em 0em .2em 0em }
div.inlineVincles a {padding:.2em .6em .2em .6em}
div.inlineVincles ul{border-left: 1px dotted #023A6D;}
div.inlineVincles a {border-right:1px dotted #023A6D;}
div.inlineVincles a:link, div.inlineVincles a:visited, div.inlineVincles a:active {color:#003A6C;}

/* Capçalera i Peu */
/* ------------------------ */
.bodyCos{width:993px; margin:0px auto; XXposition:relative} 

.bodyCap{background-color:#023A6D; width:993px; margin:0px auto}
.bodyCap{background-image:url(img/ElCastellTop_fons.gif); background-position:top; background-repeat:no-repeat}

.bodyPeu{margin:2em auto 0px; border-top:1px solid #023A6D; width:993px; }



.bodyCap div.inlineVincles, .bodyCap div.inlineVincles a:link,  .bodyCap div.inlineVincles a:visited, .bodyCap div.inlineVincles a:active{color:#023A6D;}
.bodyCap div.inlineVincles a:hover, .bodyCap div.inlineVincles a:focus	{background-color:#2C87B4; color:#FFFF99;}
.bodyCap div.inlineVincles div {font-size:130%; position: absolute; bottom: 5px; right: 0px;}

.bodyCapImg {position:relative; height:94px}
.bodyCapImg strong {color:#fff}
.bodyCapImg a:hover img, .bodyCapImg a:focus img{filter:alpha(opacity=50); opacity:.5;}

.bodyCapMapaWeb{position:absolute; bottom:0px}
.bodyCapIdioma{position:absolute; bottom:0px; right:0px}

div.Cap_MidaLleta{float:right}

.bodyCap div.Cap_MidaLleta a:link,.bodyCap  div.Cap_MidaLleta a:visited,.bodyCap  div.Cap_MidaLleta a:active{color:#fff; font-weight:bold; font-size:120%}
div.Cap_MidaLleta  ul, div.Cap_MidaLleta  a {border-color:#000;}

div.Cap_MidaLleta{float:right}
div.Cap_MidaLleta a{font-weight:bold; font-size:110%}
div.Cap_MidaLleta ul{padding:.3em 0em .3em 0em; list-style-type:none;}
div.Cap_MidaLleta li{display:inline; margin-left:0px}
div.Cap_MidaLleta a	{padding:.3em .6em .3em .6em;} 
div.Cap_MidaLleta ul{border-left: 1px dotted #2C87B4;}
div.Cap_MidaLleta a {border-right:1px dotted #2C87B4;}
div.Cap_MidaLleta, div.Cap_MidaLleta a:link, div.Cap_MidaLleta a:visited, div.Cap_MidaLleta a:active {color:#003A6C;}
div.Cap_MidaLleta a:hover, div.Cap_MidaLleta a:focus	{color:#990000; background-image:none}

/* Alteracions */
/* ------------------------ */
.caption, caption .normal {font-weight:normal; color:#000;}
.normal {font-weight:normal}


.subcaixaMenu {width:138px; min-width:138px;}
.subcaixaMenu .blocMarge{background-color:#f8f8f8}
.caixaMenu {margin-left:138px}