/*--- ESTRUCTURA PRINCIPAL ---*/

body {
  font-family: Arial, Helvetica, sans-serif; 
	font-size:13px;
	background-color:#333;
	/*centra el layout en ie5 i ie5.5*/ 
	text-align:center;
	color:#4B4432;
}

div{
    margin:0;
    padding:0;
}	


a{
    color:#4B4432;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    text-decoration:none;
	font-weight:700;
}

img a{
	border:0;
}

div#wrapper	{
	width: 720px; 
	margin: 0 auto;  
	padding:0;
	border:0;
	background-color:#BEC5A7;
	text-align: left;
}

div#header	{
   	margin:0;
        padding:0;
	border:0;
	background: #61684A url(../imatges/logotip.gif) no-repeat;
	background-color: #61684A;
	color:#BEC5A7;	
	height: 66px; 
	/*box model*/
	voice-family: "\"}\"";
  	voice-family:inherit;
	height: 76px;
}
/*box model per opera*/
html>body #header {
	height: 76px;
}


/*--- HEADER ---*/

div#header h1 {	
	text-indent: -9999px;
	margin: 0;
	padding: 0;
	border: 0;
}
	

div#header h1 a{		
	font-family:Garamond; 
	font-size:24px;
        overflow:hidden;
}

h1 a:link, h1 a:visited	{
	display: block;	
	width:520px;
	height:76px;
	margin: 0;
	padding: 0;
	border: 0;
	}


h1 a:hover	{
	display: block;
	}

div#header p{
	text-indent: -9999px;	
	margin:0;
	margin-left: 92px;
	padding:0;
	font-size:11px;
	font-weight:700;	
	line-height:18px;
	display:none;
}

div#idioma {
	float:right;
	background-color:transparent;
	margin:0;
	margin-top: -63px; 
	margin-right:10px!IMPORTANT;
	margin-right:5px;
	border:0;
	padding:0;
	text-align:right;		
	font-size:12px;
	font-weight:700;
	color:#BEC5A7;
        text-transform:uppercase;
}

div#idioma a{
	text-decoration:none;
	color:#939785;

}

div#idioma a:hover{
	text-decoration:none;
	color:#FFF;
}

div#contacte {		
	width:70px;
	display:block; 
	background:transparent;	
	text-align:right;
	border:0; 
	margin:0;
	margin-top:-37px;
	margin-right:10px!IMPORTANT;
	margin-left:639px;
	padding:0;
	text-align:right;
	background: transparent url(../imatges/email.gif) 4px 5px no-repeat;
}

div#contacte a {
	/*background: transparent url(../imatges/email.gif) 4px 5px no-repeat;*/
	padding-left:20px;
	font-weight:400;	
	color:#BEC5A7;
}
div#contacte a:hover{
	text-decoration:none;
	color:#FFF;
}


div#onsom{		
	width:70px;
	display:block; 
	background:transparent;	
	text-align:right;
	border:0; 
	margin:0;
	margin-top:-23px;
	margin-right:10px!IMPORTANT;
	margin-left:639px;
        padding-bottom:0;
	padding:0;
	text-align:right;
	background: transparent url(../imatges/casa.gif) 12px 4px no-repeat;
}

div#onsom a {
	/*background: transparent url(../imatges/casa.gif) 12px 4px no-repeat;*/
	padding-left:20px;
	font-weight:400;	
	color:#BEC5A7;
}
div#onsom a:hover{
	text-decoration:none;
	color:#FFF;
}

div#dondestamos{		
	width:115px;
	display:block; 
	background:transparent;	
	text-align:right;
	border:0; 
	margin:0;
	margin-top:-23px;
	margin-right:10px!IMPORTANT;
	margin-left:594px;
        padding-bottom:0;
	padding:0;
	text-align:right;
	background: transparent url(../imatges/casa.gif) 12px 4px no-repeat;
}

div#dondestamos a {
	/*background: transparent url(../imatges/casa.gif) 12px 4px no-repeat;*/
	padding-left:20px;
	font-weight:400;	
	color:#BEC5A7;
}
div#dondestamos a:hover{
	text-decoration:none;
	color:#FFF;
}
/* Primera nav 	*/
	
div#primenav {	
	width: 720px; 
	margin:0;
	padding:0;
	border:0;
	background-color:#878E66;
    text-align:left; 
  /*background:url(../imatges/menu_cat.gif) top left no-repeat;*/
	z-index:100;
	height: 56px;
  background:url(../imatges/bg-header.gif) top left repeat-y;	
/*	background-color:#dedede;*/
}

div#primenav ul#menu {    
	position:relative;
  width:520px;
	height:56px;
	margin:0;
	padding:0;
  text-align:left;
	color:#C8C2B8;  
}
	
div#primenav ul#menu li {
/*	position: absolute;
	top: 0;
	margin:0;
	padding:0;
	list-style:none;*/
	display: block;
	height:56px;
	width:86px;
	float:left;
	font-size:10px;
	font-family:"Palatino","Trebuchet","Times",Times New Roman, sans;
  background:url(../imatges/bg-llibre.gif) top left repeat-y;
  text-transform:uppercase;
}

div#primenav.cas {	
    text-align:left; 
    /*background:url(../imatges/menu_cas.gif) top left no-repeat;*/
}

ul#menu li, ul#menu li a{

}

ul#menu li a{
  /*text-indent: -9999px;*/
  overflow:hidden;
	display:block;
	font-weight:700;
	color:#4B4432;
	color:#2a2b25;
	text-align:center;
	line-height:1.2em;
	vertical-align:middle;
	margin-top:.5em;
	padding:.2em .1em;	
}

ul#menu li a:hover {
	color:#BEC5A7;
}

/*#mtxmenu{
	left: 0; 	
	width:86px;
}

#alterpracmenu{
	left: 88px; 	
	width:85px;
}


#lasalut{
	left: 175px; 	
	width:85px;
}

#publicacions{
	left: 262px; 	
	width:85px;
}

#programes{
	left: 349px; 	
	width:85px;
}

#elgabinet{
	left: 436px; 	
	width:83px;
}
*/
/*
#mtxmenu a:hover	{background: transparent url(../imatges/menu_cat.gif) 0 -56px no-repeat;}
#alterpracmenu a:hover {background: transparent url(../imatges/menu_cat.gif) -88px -56px no-repeat;}
#lasalut a:hover {background: transparent url(../imatges/menu_cat.gif) -175px -56px no-repeat;}
#publicacions a:hover {background: transparent url(../imatges/menu_cat.gif) -262px -56px no-repeat;}
#programes a:hover {background: transparent url(../imatges/menu_cat.gif) -349px -56px no-repeat;}
#elgabinet a:hover {background: transparent url(../imatges/menu_cat.gif) -436px -56px no-repeat;}
*/
/* Estas aqui - nav principal */
/*
body#mtxhome #mtxmenu {background: transparent url(../imatges/menu_cat.gif) 0 -56px  no-repeat;}
body#alterprachome #alterpracmenu{background: transparent url(../imatges/menu_cat.gif) -88px -56px  no-repeat;}
body#lasaluthome #lasalut {background: transparent url(../imatges/menu_cat.gif) -175px -56px  no-repeat;}
body#elcorreuhome #publicacions   {background: transparent url(../imatges/menu_cat.gif) -262px -56px  no-repeat;}
body#publicacionshome #programes {background: transparent url(../imatges/menu_cat.gif) -349px -56px  no-repeat;}
body#programeshome #elgabinet {background: transparent url(../imatges/menu_cat.gif) -436px -56px  no-repeat;}
*/

/*
ul#menu.cas #mtxmenu a:hover	{background: transparent url(../imatges/menu_cas.gif) 0 -56px no-repeat;}
ul#menu.cas #alterpracmenu a:hover {background: transparent url(../imatges/menu_cas.gif) -88px -56px no-repeat;}
ul#menu.cas #lasalut a:hover {background: transparent url(../imatges/menu_cas.gif) -175px -56px no-repeat;}
ul#menu.cas #publicacions a:hover {background: transparent url(../imatges/menu_cas.gif) -262px -56px no-repeat;}
ul#menu.cas #programes a:hover {background: transparent url(../imatges/menu_cas.gif) -349px -56px no-repeat;}
ul#menu.cas #elgabinet a:hover {background: transparent url(../imatges/menu_cas.gif) -436px -56px no-repeat;}
*/
/* Estas aqui - nav principal */
/*
body#mtxhome.cas #mtxmenu {background: transparent url(../imatges/menu_cas.gif) 0 -56px  no-repeat;}
body#alterprachome.cas #alterpracmenu{background: transparent url(../imatges/menu_cas.gif) -88px -56px  no-repeat;}
body#lasaluthome.cas #lasalut {background: transparent url(../imatges/menu_cas.gif) -175px -56px  no-repeat;}
body#elcorreuhome.cas #publicacions  {background: transparent url(../imatges/menu_cas.gif) -262px -56px  no-repeat;}
body#publicacionshome.cas #programes {background: transparent url(../imatges/menu_cas.gif) -349px -56px  no-repeat;}
body#programeshome.cas #elgabinet {background: transparent url(../imatges/menu_cas.gif) -436px -56px  no-repeat;}
*/



form#tools{
	float:right;
    width:188px;
	height: 22px;  
	background-color:transparent;
	vertical-align:top;
	margin:0;
	margin-top:-40px;
	margin-right:-2px!IMPORTANT;
	margin-right:-1px;
	padding:0;
	border:0;
    text-align:center;
	z-index:1;
}	

form#tools input#cercador	{
	vertical-align:top;
	width: 100px;
	height: 18px;
	margin: 0;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:400;
	text-indent:2px;
	vertical-align:middle;
	color:#BEC5A7;
	background-color:#61684A;
        border: 1px solid #61684A;
}

form#tools input, form#tools input img{
	vertical-align:top;
	border:0;
	margin: 0;
	padding:0;
}

/*--- Breadcrumb ---*/

div.breadcrumb{	
	display:block;
	margin:0 0 0 -15px;
    padding: 0px 0 10px 0px;
	border:0;
    text-align:left;	
	background-color:transparent;
	font-size:11px;
	color:#999999;
	}
	
div#article div.breadcrumb	{
	margin-top:10px;
}

div.breadcrumb a{
	color:#999999;
	font-weight:400;	
	text-decoration:underline;
}

div.breadcrumb a:hover{	
	color:#BEC5A7;
	text-decoration:underline;
}	


/*--- CONTENT ---*/

div#content{
        display:inline;
	float:left;
        width: 517px;
	margin:5px 0 5px 0;
	padding:0;  
	border:0;  	
	font-family: Georgia, Times, serif; 
        background-color:#FFFFFF;
}


div#content_article, 
div#content_forum, 
body#publicacionshome div#content,
body#publicacionshome div#content_article {
        display:inline;
	float:left;
        width: 720px;
	margin:0;
	padding:0;  
	border:0;  
	font-family: Georgia, Times, serif; 	
}

div.marge_final{
	margin:100px 0 40px 0;
	padding:0;
	border:0;
        clear:left;
}

div.printArticle {
        margin:30px 0 0 0 !important;
        margin:0;
        padding:0;
        border:0;
        float:right;        
        background: #FFFFFF url(../imatges/print.gif) 0px 50% no-repeat;
}


div#content_article div#article div.printArticle a {
        color:#999;	
        padding-left:20px;
	font-size:11px;
}

div#content_article div#article  div.printArticle a:hover {
	color:#BEC5A7;	
}


/*--- NAVEGACIO SECUNDARIA ---*/

div#contentnav {
	display: inline;
	float:right;
	margin: 5px 0;
	/*padding: 15px 2px 2px 5px;*/
	padding: 5px 2px 5px 10px !IMPORTANT;
	padding: 10px 2px 2px 10px;
	border:0;
	background-color:#C9B992;
	width: 197px;	
	/*box model*/
	voice-family: "\"}\"";
  	voice-family:inherit;
	width: 185px;
}
/*box model per opera*/
html>body #contentnav {
	width: 185px;
}

div#contentnav div.content, div#contentnav div.menu {
	border:0;
	margin:0;
	padding:0;
    padding-right:4px;
	line-height:24px!IMPORTANT;
	line-height:12px;
}

div#contentnav div.content{
	margin: 5px 0 10px 0!important;
	margin: 15px 0 20px 0;	
}

div.block {
	margin:0;
	padding:0;
	border:0;
}


div#contentnav div.block div.content div#registre {
	background: transparent url(../imatges/fletxa.gif) 0 50% no-repeat;
	padding-left:10px;
}

div#contentnav div.block div.content h2 {
	padding-bottom:0px !important;
	padding-bottom:10px;
	padding-top:10px !important;
	padding-top:20px;		
	background: transparent url(../imatges/subratllat_h2.gif) 0 0 repeat-x;
}

div#contentnav div.block div.content ul {
	/*margin-left: 10px;*/
	margin-bottom:0;
}

div#contentnav div.block div.content li {
	margin-bottom: 15px;
	line-height:16px;
}

div.sidebar, div.block block-user,
div#block-user-1, div.user-login-block,
div.form-item, div.item-list,
input.form-submit
{border:0;margin:0;padding:0}

input.form-submit {margin: 10px 0}

div#sidebar-left h2, div#sidebar-right h2{
		color:#4B4432;
		font-size:11px;
		font-weight:800;
		text-transform:uppercase;
		/*text-decoration:underline;*/
		border-style:dashed;
		border-bottom:1px solid #4B4432;
		margin:0;
		padding:0;
		border:0;
}


div#sidebar-left ul, div#sidebar-right ul{
	border:0;
	margin:10px 0 10px 0;
	padding:0;
}
	
div#sidebar-left li, div#sidebar-right li {
	border:0;
	margin:0;
	padding:0;
	list-style:none;
}

div#sidebar-left ul li ul, div#sidebar-right li ul li ul{
	border:0;
	margin:0;
	padding:0;
}

div#sidebar-left li li, div#sidebar-right li li{
	margin:0 0 0 20px;
}
	
div#sidebar-left li a, div#sidebar-right li a{	
	display:block;
	color:#525552;
	font-size:12px;
	padding:0;
}

div#sidebar-left a:hover, div#sidebar-right a:hover{	
	color:#FFF;
}


/*--- FOOTER ---*/

div#footer{	
	display:block;
	clear: both;
	height:30px;
	margin:0;
    padding: 0;
	border:0;
    text-align:left;	
	background-color:#878E66;
	}

div#footer p{
	font-size:11px;
	margin:0;
    padding: 0;
    padding-top: 7px;
	border:0;
	text-align:center;
	vertical-align: middle;
}
div#footer p a{
	text-decoration:none;
}


div#footer a:hover{	
	color:#FFF;
	text-decoration:underline;
}


/*-- DRUPAL STYLES --*/
div.xml-icon{
    display:none;
}
div#content_article div#article div.info, div#content_article div#article div.links{
    display:none;
}

div.terms {
    text-align: right;
    padding: 40px 0 0 0;
}

div.terms-smaller {
    text-align: right;
    padding: 40px 0 0 0;
    font-size:11px;
}


/*--- l'estil "div.terms a" esta definit a article.css ---*/


/* Pager */
#pager {
  border:0;  
  padding: 0px;
  margin: 20px 0;
  font-size:11px;
}

#pager div {
  padding: 0;
  margin:0;
  display:inline;
  float:left;
}

#pager strong, #pager a {
  padding: 5px;
  margin: 0px 0.25em;
}
#pager a:hover {
  text-decoration: none;
  background: #fff;
}
#pager strong {
  display:inline;
  float:left;
  background: #333;
  color: #fff;
}


/*--------------REGISTRE--------------------*/


div#content_registre{
	margin:0;
	padding:20px 30px 50px 40px;
	border:0;
}

div#content div#content_registre h1, 
div#content div#content_registre h2 {
	color:#4B4432; 
	font-size:25px; 
	font-weight:700;
	color:#61684A;
	padding:0;
	margin-bottom:20px;
}

div#content div#content_registre p, div.form-item, div#content div#content_registre legend {
	color:#333; 
	font-weight:400;
	font-size:14px; 
	line-height:1.6em;     
}

div#content div#content_registre legend {
padding:0 0 10px 0;
}

div#content div#content_registre a {
  text-decoration:none;
  color:#333;
}
div#content div#content_registre a:hover {
  color:#A7B0C0;
  text-decoration:underline;
}

div#content_registre ul {
	color:#333; 
	margin-top:20px;
} 

div#content_registre ul li {
	line-height:1.6em;
	padding-bottom:10px;
	list-style-image:url(../imatges/rombo_llista.gif);
        text-indent:0;
} 

div#content_registre div.form-item {
        margin:-10px 0 0 0;
        padding:0;
}

div#content_registre p strong {
       color:#61684A;
       font-weight: 900;
}

div#content_registre div.description {
        margin:10px 0 20px 0;
        font-size:11px;
        color: #999;
}

div#content_registre label {
       font-weight: 900;
	   
}	

input.form-submit {
       background-color: #FFF;
       color:#333;
       border: 1px solid #999;
       font-weight: 900;
       font-size: 11px;       
       padding:2px;
}

input.form-text required{
       border: 1px solid #999;
}

#edit-signature{
width:400px;
}