* { font-family: verdana,"sans-serif"; text-transform: none; }

body{ background: url('../img/bg_body.jpg') repeat-x #bfbfbf; padding: 0; margin: 0; }
#container{ width: 907px; margin: 0 auto;}

h1 {text-transform: uppercase; color: #504c05; font-size: 14px; font-weight:bold; width: 630px; margin: 0 0 0 4px; padding: 7px 0 0 20px; float: left;}
h2 {text-transform: uppercase; color: #504c05; font-size: 14px; font-weight:bold; width: 228px; margin: 0 3px 0 0; padding: 7px 0 0 20px; float: left;}
h2.sublateral {text-transform: uppercase; color: #504c05; font-size: 14px; font-weight:bold; width: 229px; margin: 25px 0 20px 0; padding: 10px 0 10px 20px; background: #b2ae67; float: none;}

a,a:visited{color: #333; text-decoration: underline;}
a:hover{text-decoration: none;}

.clear{clear: both;}

#header { width: 907px; height: 100px; margin: 0;  background: url('../img/bg_header_ca.jpg') no-repeat center center;}


#footer{background: url('../img/footer.jpg'); width: 907px; height: 53px; margin: 20px 0 0 0; padding: 1px 0 0 0; color: #060606;}
#footer p{margin: 7px 0 0 4px; padding: 0 0 0 20px; font-size: 12px; font-weight: normal; color: rgb(51,51,51); }
#footer a,#footer a:visited,#footer a:hover{ color: rgb(51,51,51); }

#main{background: url('../img/bg_main.jpg') repeat-y; width: 907px; margin: 0;}
#main_top{background: url('../img/bg_main_top.jpg'); width: 907px; height: 11px; margin: 0 auto;}
#main_capcelera{background: url('../img/bg_main_capcelera.jpg'); width: 907px; height: 40px; margin: 0 auto;}
#main_bottom{background: url('../img/bg_main_bottom.jpg'); width: 907px; height: 11px; margin: 15px auto 0 auto;}
#main_special{background: url('../img/main_special_bg2.jpg') repeat-y; width: 652px; margin: 0 0 0 0; font-weight: normal; text-transform: none; }
#main_special #hr{width: 651px;border-top: 2px solid #a3a053; padding: 0; margin: 0 0 10px 0; background: #b2ae67; color: #b2ae67; height: 1px;}
#main_special img{border: none;}
#main_special_bottom{background: url('../img/main_special_bottom2.jpg') repeat-y;width: 652px; height: 12px; margin: 0 0 0 0;}

#central_content{width: 652px; margin: 0 0 0 3px; padding: 0;float: left;}
#right_content{width: 249px;  margin: 0 0 0 0; padding: 0; float: left;}


/**********NAV************/
#nav{background: url('../img/bg_nav.jpg'); width: 907px; height: 46px; margin: 0 auto 10px auto;}
#nav ul{list-style: none; margin: 0 0 0 15px; padding: 0 0 0 0;}
#nav li{margin: 0 0 0 0; padding: 0; float: left;}
#nav li.separador{width: 1px; border-left: 1px solid #e0e0e0; margin: 0 20px 0 20px; padding: 2px 0 23px 0; float: left; background: #b9b9b9;}
#nav a, #nav a:visited{display: block; margin: 0; padding: 12px 0 0 0; font-size: 14px; text-decoration: none;}
#nav a:hover{text-decoration: none;}
#nav a.active, #nav a.active:visited{text-decoration: none; color: #060606; background: url("../img/nav-active.jpg"); padding: 12px 15px 14px 15px; color: #eee; margin: 0 15px;}
#nav .logos_social { float: right; margin: 0 20px 0 0; } 
#nav a.facebook_nav, #nav a.facebook_nav:visited{display: block;  width: 240px; margin: 0; padding:12px 0 0 0; font-size: 14px; text-decoration: none; color: #3a5898;}
#nav a.facebook_nav_img, #nav a.facebook_nav_img:visited{ display: block; float: left; width: 34px; margin: 0 10px 0 0; padding:0 0 0 0; }
#nav .facebook_nav_img img { border: none; padding-top: 5px; }
#nav img.facebook_nav_img { border: none; padding-top: 5px; }

.nav1 { width:165px; position:absolute; z-index:5; margin:0px 0 0 740px; }
.nav1 ul { padding:0 15px 0 0; width: 150px; text-align: right; }
.nav1 ul li { display:inline; list-style:none; }
.nav1 ul li a,.nav1 ul li a:visited { display:block; padding:2px 5px 2px 5px; color: #fff; text-decoration:none; font-size:11px; width: 150px;}
.nav1 ul li a.selected { color: rgb(0,0,0); }
.nav1 ul li a span { color: #fff; }
.nav1 ul li a:hover { text-decoration:none; color:#fff; }
.nav1 ul li ul { display:none; border:none;padding-top: 15px;}
.nav1 ul li:hover ul { display:block; top:17px; left:0; position:absolute; z-index:6; margin:0 0 0 0; }
.nav1 ul li:hover ul li a { white-space:normal; display:block; width:144px; height:auto; line-height:1.3em; padding:4px 16px 4px 0; background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50); }
.nav1 ul li:hover ul li a:hover { background: #999; text-decoration:none; }
.nav1 table { position:absolute; top:17px; left:0; border-collapse:collapse; }
.nav1 ul li a:hover { position:relative; left:0; top:0; z-index:7; text-decoration:none; }
.nav1 ul li a:hover ul { display:block; position:absolute; z-index:6;  }
.nav1 ul li a:hover ul li a { white-space:normal; display:block; width:144px; height:1px; line-height:1.3em; padding:4px 16px 4px 0; background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50); }
.nav1 ul li a:hover ul li a:hover { background: #999; text-decoration:none; }


/**********HOME***********/
#main_special.home img {width: 151px; height: 114px; margin: 5px 20px 0 20px; padding: 0; float: left;}
#main_special.home p {font-size: 12px; line-height: 14px; color: #222; margin: 0; padding: 0; width: 440px; float: left; text-align: justify;}

#modules_home {margin: 20px auto 0 auto; width: 630px; height: 325px;}

.module_home_lit { width: 342px; background: url('../img/modul_midle_lit.jpg'); float: left; margin-left: 10px;font-weight: normal; text-transform: none; }
.module_home_lit .content_module { height: 128px; }
.module_home_lit img { float: right; margin: 10px; border: none;}
.module_home_lit p { font-size: 12px; margin: 5px 0 10px 10px; }
.module_home_lit a,.module_home_lit a:visited { font-size: 12px; margin: 5px 0 10px 10px; }

.module_home_lit .module_home_top { background: url('../img/modul_top_lit.jpg'); height: 28px; font-weight: normal; color: #504c05; font-size: 15px; font-weight: bold; padding: 9px 0 0 0; text-align: center;}
.module_home_lit .module_home_bottom { background: url('../img/modul_bottom_lit.jpg'); height: 8px;}

.module_home_big { width: 265px; background: url('../img/modul_midle_big.jpg'); float: right; margin-left: 10px;font-weight: normal; text-transform: none; height: 360px}

.module_home_big .module_home_top { background: url('../img/modul_top_big.jpg'); height: 28px; font-weight: normal; color: #504c05; font-size: 15px; font-weight: bold; padding: 9px 0 0 0; text-align: center;}
.module_home_big .module_home_bottom { background: url('../img/modul_bottom_big.jpg'); height: 8px;}

.module_linea { border-bottom: 1px solid #dbdbdb; }
.module_buttons { width: 290px; margin: 30px auto 0 auto; }

.module_buttons a.button,.module_buttons a.button:visited { float: left; margin: 5px;}

#enquesta { width: 264px; border: none; margin: 0 0 0 1px; height: 319px;}

a.button,a.button:visited{background: url('../img/button_all_c.jpg') no-repeat top; display: block; width: 131px; height: 17px; margin: 10px auto 0 auto; padding: 0; color: #fff; text-decoration: none; font-size: 12px; text-align: center; padding-top: 4px;}
a.button:hover{background-position: bottom; color: #060606;}

#novetats { width: 220px; font-size: 12px; font-weight: bold; margin: 0 auto 0 auto; color: rgb(51,51,51);}
#novetats img { float: left; }
#novetats h3 { width: 195px; float: left; font-size: 12px; font-weight: bold; margin: 0 0 0 8px; padding: 0;color: #444; text-align: left;}
#novetats p { float: left; width: 195px; margin: 10px 0 10px 20px; padding: 0 0 10px 0; text-align: justify; font-weight: normal; border-bottom: 1px solid #dbdbdb; color: #555;}

img.contribuent_img {border: none; margin: 0 10px 0 10px;}
a.contribuent, a.contribuent:visited {font-size: 12px; font-weight: bold; color: rgb(51,51,51);}
a.ajudans, a.ajudans:visited {font-size: 12px; font-weight: bold; color: #444; margin: 7px 0 0 16px; line-height: 25px; padding: 0 0 0 15px; border-top: 1px solid #dbdbdb; width: 192px; text-align: center; display: block; padding-top: 7px;}
img.banners_right {margin: 10px 0 10px 18px; border-top: 1px solid #dbdbdb; padding-top: 20px;}

.modul_right {background: url('../img/bg_right_content.jpg') center top no-repeat; padding-top: 10px; margin-top: 10px;}
.modul_right a { color: #444; }
.modul_right h3 {font-size: 12px; color: #333; text-transform: none; text-align: center; margin: 0 0 5px 0;}

#marquesina_rss{margin: 0 10px 0 20px; border-top: 1px solid #504c05; border-bottom: 1px solid #504c05; font-size: 12px; color: #504c05; padding: 10px 0 10px 0;}
#marquesina_rss a,#marquesina_rss a:visited{font-size: 12px; color: #504c05; text-decoration: none;}
#marquesina_rss a:hover{text-decoration: underline; color: #000;}

/**********DEPARTAMENTS***********/

#main_special.departament img{width: 151px; height: 114px; margin: 1px 20px 0 20px; padding: 0; float: left; border: none;}
#main_special.departament p{ font-size: 12px; color: #222; margin: 0; line-height: 14px; padding: 0; width: 440px; float: left; text-align: justify; }

#departament_content { color: rgb(51,51,51);} 
#departament_content p{ font-size: 12px; text-align: justify; margin: 0 0 0 20px; color: #333; width: 615px; line-height: 20px; }
#departament_content img{margin: 0 0 15px 0; border: none; max-width: 595px; margin: 20px 0 0 0;}
#departament_content ul {font-size: 12px; width: 580px; text-align: left;  margin: 5px 0 5px 0; }
#departament_content li { line-height: 20px;}


ul#departaments{padding: 0; margin: 0; list-style: none; margin: 0 0 0 25px;}
ul#departaments li{margin: 0 0 7px 0;}
ul#departaments a,ul#departaments a:visited{ font-size: 14px; background: url('../img/guio.png') center left no-repeat; padding-left: 20px; text-decoration: none;}
ul#departaments a.active,ul#departaments a.active:visited{color: #524f0c; font-weight: bold; background-image: url('../img/fletxeta.png');}




/***********NOTICIES/Circulars************/
.noticia { margin: 20px 0 0 20px; width: 610px;}
.noticia img {float: left; margin: 0; padding: 0;}
.noticia a,.noticia a:visited { margin: 0 0 0 0; padding: 0; text-decoration: none; color: #a1a350; }
.noticia a:hover {text-decoration: underline;}
.noticia .noticia_text { float: left; font-size: 12px; margin: 0 0 0 20px; border-bottom: 1px solid #544c04; padding: 0 0 10px 0; }
.noticia .noticia_text a { font-size: 11px;}
.noticia p { width: 520px; margin: 0 0 0 0; padding: 0; color: rgb(51,51,51); }
.noticia p.noticia_titol { font-size: 13px; font-weight: bold; color: #444}
.noticia p.noticia_data { font-size:11px; font-style: italic; }
.noticia p.noticia_desc { margin: 3px 0 0 0; font-size: 12px;}

p.navegacio {text-align: center; float: none; margin: 20px 0 20px 100px;}
p.navegacio a,p.navegacio a:visited {text-decoration: none; background: #524b07; color: #fff; font-size: 12px; display: block; width: 25px; float: left; margin: 0 5px; padding: 1px 0;}
p.navegacio a.paginador,p.navegacio a.paginador:visited {background: none; color: #524b07; text-decoration: underline; width: 5px;}
p.navegacio a.paginador:hover {text-decoration: none;}
p.navegacio a.active,p.navegacio a.active:visited {text-decoration: none; color: #000; width: 5px;}

p.no_elements {margin: 30px 0 0 30px; font-size: 12px; }

/********** CONTACTE ***************/
#contacte_content {margin: 20px 0 0 0;}
#contacte_content p{font-size: 12px; text-align: justify; margin: 0 0 0 20px; color: #333; width: 615px; line-height:20px;}
#contacte_content img{border: none; max-width: 595px; margin: 20px 0 10px -10px}

#contacte_content .right{text-align: right; }
#contacte_content .left{text-align: left;}
#contacte_content a.button,#contacte_content a.button:visited{margin: 20px 0 0 0;}

#contacte_content table{margin: 10px 0 0 20px; width: 595px; color: #333;}
#contacte_content table td {height: 30px;}
#contacte_content .contact-label{ font-size: 12px; width: 200px;}
#contacte_content .contact-input input{ font-size: 12px; width: 240px; height: 14px;}
#contacte_content .contact-select select{ font-size: 12px; width: 243px; height: 20px;}
#contacte_content .contact-radio { font-size: 12px;}
#contacte_content .contact-radio .space{ margin: 0 0 0 10px; }
#contacte_content .contact-textarea textarea{ font-size: 12px; width: 595px; height: 85px;}

p.ubicacio{margin: 4px 0 0 17px; padding: 0 0 0 0; font-size: 12px; color: rgb(51,51,51); }
p.mapa { text-align: center;margin: 10px 0 0 0; padding: 0; }
p.mapa a { color: rgb(255,255,255);}
p.mapa img{border: 1px solid #524b07;}


/*********** AVIS LEGAL **************/
#legal_content p{font-size: 12px; text-align: justify; margin: 0 0 0 20px; color: #333; width: 615px;}
#legal_content ul{font-size: 12px; width: 580px; text-align: left;}
h3.legal{font-size: 14px; font-weight: bold; margin: 20px 0 5px 20px; padding: 0; color: #333;}


/************JURIDIC*******************/
h3.juridic{font-size: 14px; font-weight: bold; margin: 20px 0 5px 20px; padding: 0; color: #333;}
#departament_content table table.juridic_table{width: 615px;}
#departament_content table.juridic_table p{width: 425px;}
#departament_content table.juridic_table img{margin: 0 0 0 25px}
table.juridic_table td{width: 200px;}


a.efimatica, a.efimatica:visited {text-decoration: underline; color: #333; font-size: 12px; margin: 0; padding: 0; }
a.efimatica:hover { text-decoration: none; }


/***********ENQUESTA*******************/
#central_content .grafic_enquesta{text-align: center; margin: 0 auto 45px auto; width: 622px; border-bottom: 1px solid #dbdbdb; padding-bottom: 20px; }
#central_content .grafic_enquesta h3{text-align: justify; margin: 0; font-size: 12px; color: #333; font-weight: bold;}
#central_content .grafic_enquesta p{ font-size: 12px; text-align: justify; margin: 0; color: #333; width: 615px; line-height: 20px; }