/*

	Developer: 	Multiplica, Abril 2005.
	Description: 	Master CSS 
	Changes:    July 04, Erik Larsson, added class for mandatory fields
				July 20, Erik Larsson, added display none to captions

*/

/*
-----------------------------------------------
Root modules
-----------------------------------------------
*/ 

* { 
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

head, body { 
	margin:0px;
	background-color:#FFFFFF;
	font-size:62.5%;
	line-height: 1.3em;
	color: black;

}

#master{
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
}

h2 {
	font-size:1.2em;
}

/*
-----------------------------------------------
Containers
-----------------------------------------------
*/ 

#container_header {
	background-color: #484848;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
	background-image:url('img/background_header1.gif');
	background-repeat: repeat-x
}

#container_vibeimage {
	background-color:#E6E6E6;
	height: 145px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
	background-repeat: repeat-x;
}



#container_menu {
	background-color:#E6E6E6;
	height: 120px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
}

* html #container_menu {  /* This is the Tan hack */
	height: 0px; 
	he\ight: 0px; 
}

#content {
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
}

/*
-----------------------------------------------
Headers
-----------------------------------------------
*/ 

#header1 {
	background-color:#484848;
	height: 38px;
	margin-top: auto;
	margin-right: auto;
	margin-left: auto;
	width:765px;
	background-image:url('img/background_header1.gif');
	background-repeat: repeat-x
}

#header3 {
	background-color:#484848;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:765px;
}



#header1right {
	float: right;
	font-size:1em;
	color:#AEAEAE;
	margin-top: 14px;
	margin-right: 5px;
	white-space: nowrap;
}

#header2right {
	float: right;
	font-size:1em;
	color:#AEAEAE;
	margin-top: 8px;
	margin-right: 5px;
}

#searchgeneral {
	font-size: 1em;
	color: #000000;
	background-color: #CFCFCF;
	border: 1px solid #000000;
}

#replacement-1 {
  width: 20px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0px none;
  background: url('img/icon_search.gif') no-repeat center top;
  text-indent: -4000px;
  line-height: 18px;

}



#container_header a {
color: #AEAEAE;
text-decoration: none;
}

#container_header a:hover {
color: #FFFFFF;
}


/*
-----------------------------------------------
Vibeimage - Mainmenus
-----------------------------------------------
*/ 
#vibeimage {
	background-color: #484848;
	height: 70px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width:100%;
}

#menublockcontainer {
	font-size:1em;
	font-weight:bold;
	padding-top: 1px;
	margin: auto;
	width:765px;
}

#interiorcontainer{
	clear: left;
	font-size:1em;
	color:#000000;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	padding-left: 0px;
	width:765px;
}

/*
-----------------------------------------------
Content
-----------------------------------------------
*/ 
	
#firstlevelcontent {
	float:left;
	width: 540px;
	margin: auto;
	padding-top: 50px;
	margin-left: 30px;
	font-size:1.2em;
	line-height: 1.3em;
}

#firstlevelcontent h1 {
	font-size:1.3em;
	color:#464646;
	margin-top: -45px;
	margin-bottom: 4px;
	font-weight:bold;
}

#firstlevelcontent h1:first-letter { 
  	font-family: "Times New Roman", Times, serif;
  	font-size: 1.6em;
}

#firstlevelcontent h2 a {
	margin-left: 10px;
	background-color: #BF2002;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:.6em;
	color:#ffffff;
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
	margin-top: 0px;
	margin-bottom: 4px;
	font-weight:bold;
	text-decoration: none;
}

#firstlevelcontent h2 a.pla {
	font-size:.8em;
}

#firstlevelcontent h2 a.informar {
	background-color: #FE2900;
	font-size:.8em;
}

#firstlevelcontent h2 a.gaudir {
	background-color: #FF7E00;
	font-size:.8em;
}

#firstlevelcontent h2 a.coneixer {
	background-color: #F4AC00;
	font-size:.8em;
}




#firstlevelcontent h3 {
	font-size:1.2em;
	color:#000000;
	margin-top: 0px;
	margin-bottom: 4px;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-weight:bold;
}

#firstlevelcontent p a {
	font-size:1em;
	text-decoration: none;
}

#firstlevelcontent a {
	font-size:1.8em;
	text-decoration: none;
	color:#BF2002
}

#firstlevelcontent a:hover {
	color:#000000
}

#firstlevelcontent li 	{
	font-size: 1.1em;
	background-image: url('img/bullet1.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	padding-bottom: 1em;
	margin-left: 5px
}

#firstlevelcontent li a 	{
	font-size:.9em;
	color: #BF2104;
	text-decoration: none;
	
}

#firstlevelcontent ul {
	float:left;
	margin-left:0px;
	width: 250px;
	
}

/*
-----------------------------------------------
Leftmenu
-----------------------------------------------
*/ 

#leftmenu {
	width: 185px;
	float: left; 
	clear: both;
}

#leftmenu ul {
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	font-size:1em;
	font-weight: bold;
	color: #ffffff;
}

#leftmenu ul li { 
	margin:0px;
	padding: 0px;
}

#leftmenu ul li a {
	display: block;
	text-decoration: none;
	color: #000000;
	font-weight: normal;
	padding-top: 10px;
	padding-bottom: 10px;
}

#leftmenu ul li a:hover {
	background-color: #484848;
}
#leftmenu ul li a:link, #leftmenu ul li a:visited {
	padding-left: 10px;
	background-color: #999999;
	text-decoration: none;
	background-image:url('img/bullet1.gif');
	background-repeat:no-repeat;
	background-position: 0 14px
}

#leftmenu ul li a:hover {
	background-color: #484848;
	color: #FFFFFF;
}

#leftmenu ul ul li a:link, #leftmenu ul ul li a:visited {
	padding-left: 15px;
	background-color: #B9B9B9;
	background-position: 5px 14px;
}

#leftmenu ul ul li a:hover {
	background-color: #484848;
	color: #FFFFFF;
}

#leftmenu ul ul ul li a:link, #leftmenu ul ul ul li a:visited {
	padding-left: 20px;
	background-color: #D4D4D4;
	background-position: 10px 14px;
}

#leftmenu ul ul ul li a:hover {
	background-color: #484848;
	color: #FFFFFF;
}

#leftmenu ul ul ul ul li a:link, #leftmenu ul ul ul ul li a:visited {
	padding-left: 25px;
	background-color: #E4E4E4;
	background-position: 15px 14px;
}

#leftmenu ul ul ul ul li a:hover {
	background-color: #484848;
	color: #FFFFFF;
}

#leftmenu ul ul ul ul ul li a:link, #leftmenu ul ul ul ul ul li a:visited {
	padding-left: 30px;
	background-color: #FFFFFF;
	background-image:url('img/icon_sublevel.gif');
	background-repeat:no-repeat;
	background-position: 24px 14px
}

#leftmenu ul ul ul ul ul li a:hover {
	background-color: #484848;
	color: white
}

#leftmenu li a#toplevel {
	background-color: #999999;
	color:#FFFFFF;
	font-weight: bold;
	background-image: url('none');
}

#leftmenu li a#toplevel:hover {
	background-color: #484848;
	color:#FFFFFF;
}

#leftmenu li a#toplevelselected {
	background-color: #999999;
	color:#FFFFFF;
	font-weight: bold;
	background-image:url('img/icon_firstlevelsel.gif');
	background-repeat:no-repeat;
	background-position: right 50%;
}

#leftmenu li a#toplevelselected:hover {
	background-color: #484848;
	color:#FFFFFF;
}

#leftmenu li a#selected {
	background-color: #FFFFFF;
	color:#000000;
	font-weight: bold;
	background-image:url('img/bullet_arrow.gif');
	background-repeat:no-repeat;
	background-position:  right 50%;
	
}

#leftmenu li a:hover {
	color:#BF2002;
	background-image:url('img/bullet2.gif');
	background-repeat:no-repeat;
	background-position:  left 50%; 
}

#leftmenu a {
	margin-top:1px;
	font-size:.9em;
}

/*
-----------------------------------------------
Breadcrumb and Menusignal
-----------------------------------------------
*/ 

#breadcrumb {
	clear:both;
	padding-top: 6px;
	padding-bottom: 6px;
	margin: auto;
	margin-right: auto;
	width: 765px;
	margin-top: 0px;
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size:1em;
	color: #999999;
}

#breadcrumb a {
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size:1em;
	color: #999999;
	text-decoration:none;
}

#breadcrumb a:hover {
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size:1em;
	color: #BE2001;
}

#menusignal {
	clear: both;
	margin-top: auto;
	margin-right: auto;
	margin-left: auto;
	width:765px;
}

/*
-----------------------------------------------
Block and columnmenus, home and interiors
-----------------------------------------------
*/ 


#block1 {
	float:left;
	margin-top: 0px;
	margin-right: 3px;
	width:185px;
}

* html #block1 {  /* This is the Tan hack */
	width: 188px; 
	w\idth: 185px; 
}

#block2 {
	float:left;
	margin-top: 0px;
	margin-right: 3px;
	width:185px;
}

* html #block2 {  /* This is the Tan hack */
	width: 188px; 
	w\idth: 185px; 
}

#block3 {
	float:left;
	margin-top: 0px;
	margin-right: 3px;
	width:185px;
}

* html #block3 {  /* This is the Tan hack */
	width: 188px; 
	w\idth: 185px; 
}

#block4 {
	float:left;
	margin-top: 0px;
	margin-right: 3px;
	width:185px;
}

* html #block4 {  /* This is the Tan hack */
	width: 188px; 
	w\idth: 185px; 
}


#block1 h1{
	background-color:#BE2001;
	font-size:1em;
	text-align:center;
	padding-top: 9px;
	padding-bottom:9px;
	margin-top:0px;
	margin-bottom: 0px;
	height:25px;
}

#block1 h1 a{
	color: white;
	text-decoration:none;
}



#block2 h1 
{
	background-color:#FE2900;
	color: white;
	font-size:1em;
	text-align:center;
	padding-top: 9px;
	padding-bottom:9px;
	margin-top:0px;
	margin-bottom: 0px;
	height:25px;
}

#block2 h1 a {
color: white;
text-decoration:none;
}



#block3 h1 {
	background-color:#FF7E00;
	color: white;
	font-size:1em;
	text-align:center;
	padding-top: 9px;
	padding-bottom:9px;
	margin-top:0px;
	margin-bottom: 0px;
	height:25px;
}

#block3 h1 a {
	color: white;
	text-decoration:none;

}

#block4 h1 {
	background-color:#F4AC00;
	color: white;
	font-size:1em;
	text-align:center;
	padding-top: 9px;
	padding-bottom:9px;
	margin-top:0px;
	margin-bottom: 0px;
	height:25px;
}



#block4 h1 a {
font-weight: bold;
color: white;
text-decoration:none;





}

#block1, #block2, #block3, #block4 p {
font-weight: normal;
}


#block1.estudiar li, #block1.informar li, #block1.gaudir li, #block1.coneixer li{
	font-weight:normal;
	background-image: url('img/bullet.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	}

#block4.selected h1, #block4.selected h1 a, #block3.selected h1, #block3.selected h1 a, #block2.selected h1, #block2.selected h1 a, #block1.selected h1, #block1.selected h1 a{
	background-color: #FFFFFF;
	color:#000000;
	text-decoration: none;
	font-weight: normal;
	
}

#blocklong1 {width: 75%; float: left;}
#blocklongadress { width: 25%; float:left}

#blocklong1 h1{
	background-color:#fe2900;
	font-size:1em;
	color: white;
	padding-top: 9px;
	padding-bottom:9px;
	padding-left: 10px;
	margin-top:0px;
	margin-bottom: 0px;
}

#blocklongadress h1{
	background-color:#fe2900;
	font-size:1em;
	color: white;
	text-align: right;
	padding-top: 2px;
	padding-bottom:4px;
	padding-right: 3px;
	margin-top:0px;
	margin-bottom: 0px;
}

#blocklongadress a{
	color: white;
	}
	
#blocklongadress a:hover{
	color: #BE2001;
	}


#block1.estudiar h1{
	background-color:#BE2001;
	color:#FFFFFF;
}

#block1.informar h1{
	background-color:#FF2900;
	color:#FFFFFF;
}

#block1.gaudir h1{
	background-color:#FF7E00;
	color:#FFFFFF;
}

#block1.coneixer h1{
	background-color:#F4AC00;
	color:#FFFFFF;
}

#block1.estudiar li{
	background-image: url('img/bullet1.gif');
}

#block2.informar li{
	background-image: url('img/bullet2.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	font-weight:normal

	
}
#block3.gaudir li{
	background-image: url('img/bullet3.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	font-weight:normal;
	text-decoration: none
}

#block4.coneixer li{
	background-image: url('img/bullet4.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	font-weight:normal
}

#column1 {
	margin-top: 113px;
	height: 10px;
	background-color:#BE2001;
	margin-right: 3px;
	width:185px;
}

#column2 {
	margin-top: 113px;
	height: 10px;
	background-color:#FE2900;
	margin-right: 3px;
	width:185px;
}

#column3 {
	margin-top: 113px;
	height: 10px;
	background-color:#FF7E00;
	margin-right: 3px;
	width:185px;
}

#column4 {
	margin-top: 113px;
	height: 10px;
	background-color:#F4AC00;
	margin-right: 3px;
	width:185px;
}

/*
-----------------------------------------------
Maincontent
-----------------------------------------------
*/ 

#main_content {
	clear:both;
	background-color:#FFFFFF;
	width: 765px;
	margin: auto;

}

#main_content li 	{
	font-size: 1.1em;
	background-image: url('img/bullet1.gif');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	padding-left: 1em;
	padding-bottom: 1em;
	margin-left: 10px
}

#main_content h3 {
	font-size:1.2em;
	color:#000000;
	margin-top: 4px;
	margin-bottom: 4px;
	font-weight:bold;
}

#main_content p a {
	font-size:1em;
	color: #FF7E00; 
	text-decoration: none;
}

#main_content p a:hover {
	font-size:1em;
	color: #BE2001; 
}

#contentcolumn {
	float:left;
	margin-top: auto;
	margin-left: 10px;
	width:355px;
	padding-top: 0px;
	padding-bottom: 0px;

}

#content a {
	color: #FF7E00;
	text-decoration: none;
}

#content a:hover {
	color: #BE2001;
}

#contentcolumn h3 {
	padding-left: 12px;
	padding-top: 5px;
}

#content li 	{
	list-style-image:url('img/bullet5.gif');
	padding-left: 2px;
	padding-bottom: 1em;
	margin-left: 10px
}

#content ul {
margin-left:10px;
}

#interiormaincontent h1 {
	font-size: 1.6em;
	color: #464646;
	font-weight:bold;
	margin-bottom: 2px;
}

#interiormaincontent {
margin-top: 35px;
margin-left: 17px;
}

/*
-----------------------------------------------
Footer
-----------------------------------------------
*/ 

#pie {
	clear:both;
	background-color:#FFFFFF;
	width: 765px;
	margin: auto;
	
	/*background-image: url(img/background_pie.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	*/
}

#pie p{
	background-color:#FFFBEF;
	padding: 10px;
	width: 500px;
	margin: auto;
	margin-top: 20px;
	margin-left: 0px;
	
}

#pie p.avisolegal {
	margin-left: 5px;
	color:#999999;
	background-color:#ffffff;
}

/*
-----------------------------------------------
Content pages
-----------------------------------------------
*/ 

#secondlevelcontent {
	float:left;
	width: 540px;
	margin: auto;
	padding-top: 50px;
	margin-left: 30px;
	font-size:1em;
}

#secondelevelcontent a {
	color: #BF2002;
	text-decoration: none;
}


#secondlevelcontent a:hover {
	color: #000000;
	text-decoration: underline;
}


#secondlevelcontent h1 {
	font-size:1.6em;
	color:#464646;
	margin-top: -30px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	font-weight:bold;
	line-height: 1.2em;
}


#secondlevelcontent h1:first-letter { 
  font-family: "Times New Roman", Times, serif;
  font-size: 1.6em;
}

#secondlevelcontent h2 {
	font-size:1.4em;
	color:#000000;
	padding: 2px;
	margin-top: 10px;
	margin-bottom: 4px;
	font-weight:bold;
	line-height: 1.4em;
	border: 1px dotted silver;
}

#secondlevelcontent h3 {
	font-size:1.2em;
	color:#000000;
	padding-bottom: 2px;
	padding-top: 5px;
	font-weight:bold;
}

#secondlevelcontent p.hora {
	font-size:1.2em;
	color:#000000;
	margin-top: 0px;
}

#secondlevelcontent p.searchsummary {
	font-size:1.4em;
	color:#000000;
	margin-top: 5px;
	margin-bottom: 35px;
	font-weight: bold;
}

#secondlevelcontent p.searchdate {
	font-size:1.2em;
	color:#000000;
	line-height: -0px;
	padding-bottom: 35px;
}

#secondlevelcontent p.extractbody {
	font-size:1.2em;
	color:#000000;
	margin-top: -5px;
	line-height: 14px;
}

#secondlevelcontent p.extract {
	font-size:1.4em;
	color:#000000;
	margin-top: 0px;
	font-weight: bold;
}

#secondlevelcontent p.extractbody {
	margin-top: 0px;
	
}

#secondlevelcontent p.searchlink {
	font-size: 1.4em;
	color:#000000;
	margin-top: -14px;
	
}

#secondlevelcontent p.lloc {
	font-size: 1.2em;
	color:#000000;
	margin-top: -14px;
	
}

#secondlevelcontent p {
	font-size:1.2em;
	color:#000000;
	line-height: 18px;
}

#secondlevelcontent div.contactinfo {
	float:left;
	width: 350px;
	
}

#secondlevelcontent div.contactinfo p {
	font-size:1.1em;
	line-height: 14px;
}

#secondlevelcontent div.contactinfo a {
	font-size:1.1em;
	color:#BF2002;
	text-decoration: none;
}

#secondlevelcontent div.contactinfo a:hover {
	color:#BF2002;
}

#secondlevelcontent p.next  {
	clear: both;
	float: right;
	font-size:1.1em;
	color: #BF2002;
	padding: 7px;
	line-height: 14px;
}

#secondlevelcontent p.selected  {
	clear: both;
	float: right;
	font-size:1.4em;
	color: #000000;
	text-decoration: none;
	padding: 7px;
	line-height: 14px;
}

#secondlevelcontent .next a {
	color: #BF2002;
	text-decoration: none;
}

#secondlevelcontent .next a:hover {
	color: #000000;
}

#secondlevelcontent ul.inline
{
margin: 0;
margin-left: 0px;
padding: 0;
padding-bottom: 10px;
list-style-type: none;
font-size:1.1em;
}

#secondlevelcontent ul li.inline { display: inline;}
#secondlevelcontent ul li a.inline { text-decoration: none;}

#rightcol {
float: right;
width: 150px;
font-size:1.2em;
color:#000000;
}

#rightcol ul
{
list-style-type: none;
padding: 0;
margin: 0;
}

#rightcol li
{
	background-image: url('img/bullet5.gif');
	background-repeat: no-repeat;
	background-position: 0 .4em;
	padding-left: 10px;
	font-size: 1.2em;
	line-height: 16px;
	list-style-type: none
}




#secondlevelcontent ul
{
list-style-type: none;
padding: 0;
margin: 0;
font-size:1.2em;
}
#secondlevelcontent ul ul {
	font-size:1.1em;
}

#secondlevelcontent a
{
	color: #BF2002;
	text-decoration: none;
}

#secondlevelcontent li
{
	background-image: url('img/bullet1.gif');
	background-repeat: no-repeat;
	background-position: 0 .4em;
	padding-left: 10px;
	/*font-size: 1.2em*/;
	line-height: 18px;
	list-style-type: none
}

#secondlevelcontent li.simple p
{
font-size: 1.1em;
margin-top: -3px;
}

#secondlevelcontent table {
	border: 1px solid #BF2002;
	font-size: 1.2em;
}



#secondlevelcontent li p img {
clear: both; 
margin-bottom: 16px;
}

/*
-----------------------------------------------
Forms
-----------------------------------------------
*/ 
.obligatoris {
font-size: 1.2em;
color: #FF0000;
float: right;
}

.passos {
clear:both;
float: right;
font-size:1.6em;
font-weight:bold;
}

.obligatorisasterisk {
font-size: 1.2em;
color: #FF0000;
display:inline;
}

.ajudacontextual {
font-size: 1em;
color: #FF0000;
font-style:italic;
}

#containerforms {
    font-size: 1em;
    line-height: 1.5em;
    background-color: #fff;
	margin-top: 40px;
}

#containerforms h2 {
    font-size: 1.2em;
	font-weight:bold;
	padding-bottom: 10px;
	padding-top: 7px;
	color: #000000
	}

#containerforms form {
	margin:0;
	padding:0;
	border:0px none;
} 

#containerforms fieldset {
	border: 0px none;
	text-align:left;
	margin:0;
	padding: 0
}
dd, dt {
	margin:0;
	padding:0;
	float:none;
	clear:none;
	display:inherit;
	}
#containerforms .two-column-form dt {
	/*float: left;
	width:150px;
	clear:both;*/
	float:left;
	clear:right;
	width:150px;
	
}

#containerforms .two-column-form dd {
	/*margin: 0;
	height:30px;
	clear:right;
	margin-left:150px
	border:1px solid green;*/
	margin-left:150px;
}


#containerforms p.obliga { 
	margin:0px 0 10px 0px;
	padding:0 0 0 0px;
	font-size:1em;


	}
.clear {
	clear:both;
	margin-top:5px;
	padding-top:5px;	
/*	border:1px solid red;
*/	}
dt span {
	display:block;
	width:145px;
	}



/*
-----------------------------------------------
Classes
-----------------------------------------------
*/ 

ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ol {
	color: #BE2001;
	list-style: none;
}


.agenda {

	background-repeat: no-repeat;
}
.novetats {

	background-repeat: no-repeat;
}

hr {
	margin-bottom: 	0px;
	background-color: black;
}

h3 {
	margin-bottom: 	10px;
	margin-top: 	10px;
	font-size: 1.2em;
	font-weight: bold;
}

h4 {
	margin-bottom: 	10px;
	margin-top: 	10px;
	font-size: 1.2em;
	font-weight: bold;
}

a { color: black;
text-decoration: none;
}
a:hover {color: #BE2001;
}

caption {display: none
}

sup, sub {
	font-size:0.7em;
}

blockquote {
	font-size: 0.9em;
}

.flotantesquerra {
	float: left;
	margin-right: 2em;
	margin-bottom: 0.4em;
}

.invisible{display: none}
.tabla th, .tabla td {height:25px}
.underline {text-decoration:underline;}

/*----- solución h2 home ------*/
h2.display_none {
	display:none;
	margin:0;
	padding:0;
}