/* Reset */
* {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	/*color: #000000;*/
	text-decoration: none;
	margin: 0;
	padding: 0;
}

img, fieldset, hr {
	border: none;
}

a, button {
	cursor: pointer;
}

/* Textos */
body {
	font-size: 75%;
}

h1, #banner p {
	font-size: 1.3em;
}

#banner div strong {
	font-size: 1.4em;
}

h2, #header .widget_pages li {
	font-size: 1.2em;
}

h3, legend {
	font-size: 1.1em;
}

big {
	font-size: 1.1em;
}

small, #language-selector, #footer, #footer #design {
	font-size: 0.9em;
}

h1, h1 a, em, #header .widget_pages li a, legend, #sidebar p, th, th strong {
	color: #f4792d;
}

em {
	font-style: normal;	
}

em, legend, #header .widget_pages li, #footer a, #sidebar p {
	font-weight: bold;
}

/* Paràgrafs */
h1, h2, h3, h4, p, ul, ol, dt {
	margin: 20px 0;
	line-height: 1.7em;
}

/* Llistes */
li, dt {
	margin-left: 20px;
}

/* Regla horitzontal */
hr {
	clear: both;
	height: 1px;
	visibility:hidden;
}

/* Selector de llenguatges de WPML */
#lang_sel_list {
	height:auto !important;
	width:auto !important;
}
#lang_sel_list ul {
	border-top: none !important;
	height:auto !important;
	width:auto !important;
}
#lang_sel_list li {
	width:auto !important;	
}
#lang_sel_list ul a, #lang_sel_list_list ul a:visited {
	width:auto !important;
	background: none !important;
	color: auto !important;
	line-height:normal !important;
	padding:0 !important;	
}
#lang_sel_list a, #lang_sel_list a:visited {
	background: none !important;
	border: none !important;
	border-width: 0px 0px 0px 0px !important;
	color: auto !important;
	display: inherit !important;
	font-size: inherit !important;
	line-height: normal !important;
	padding:0 !important;
}
#lang_sel_list ul {
	padding-right: 10px;
}
#lang_sel_list li {
	display: inline-block !important;
	width: 50px !important;
	padding: 2px 10px !important;
	text-align: center !important;
	border-right: 1px solid #EEEEEE;
}
/*
#language-selector ul {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	padding-right: 10px;
}

#language-selector li {
	display: inline-block;
	float: left;
	margin: 0;
	padding: 2px;
	padding: 2px 10px;
	padding-bottom: 0;
	text-align: right;
	border-right: 1px solid #EEEEEE;
}

#language-selector li.icl-ca {
	border: none;
}*/


/* Imatges */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	margin: 0 0 2px 50px;
	display: inline;
}

img.alignleft {
	margin: 0 50px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}
/* */

/* MAQUETACIÓ */
html>/**/body #container, html>/**/body #content {
	overflow: auto;
}

body {
	background-image: url(images/bg-body.png);
	background-repeat: repeat-x;
}

#container {
	position: relative;
	width: 955px;
	margin: auto;
	padding-left:5px;
}

#header {
	background-image: url(images/bg-header.png);
	background-repeat: repeat-x;
	height: 80px;
	position: relative;
	background-position: bottom;
	background-color:#FFFFFF;
	z-index:1;
}

#header #logo {
	position:absolute;
	top:0;
	left:-5px;
	width:281px;
	height:102px;
	background-image:url(images/logo.png);
	background-repeat:no-repeat;
}
#header #logo a:link, #header #logo a:visited {
	width: 281px;
	height: 102px;
}

#header #language-selector {
	position: absolute;
	right: 0;
	top: 0;	
}

#header .widget_pages {
	position: absolute;
	right: 0;
	bottom: 0;
}

#header .widget_pages h2 {
	display: none;
}

#header .widget_pages ul {
	margin: 0;
	padding: 0;
}

#header .widget_pages li {
	display: inline-block;
	float: left;
	margin: 0;
	border-left: solid 1px #FFFFFF;
}

#header .widget_pages li ul {
	display: none;
}

#header .widget_pages li a:link, #header .widget_pages li a:visited {
	display: inline-block;
}

#header .widget_pages li a:hover, #header .widget_pages li.current_page_item a:link, #header .widget_pages li.current_page_item a:visited {
	background: none;
	background-image: url(images/bg-nav.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#header .widget_pages li a:link, #header .widget_pages li a:visited {
	height: 50px;
	padding: 0 12px;
	padding-top: 10px;
	line-height: 60px;
	_line-height: 50px;
}

#banner {
	background-image: url(images/bg-banner.png);
	background-repeat: repeat-x;
	height: 125px;
	padding: 0 25px;
	overflow: hidden;
}

#banner div {
	float: left;
	width: 550px;
	padding: 15px 0;
	padding-top: 5px;
	//padding-top: 25px;
}

#banner div p {
	margin-bottom: 0;
	line-height: 1.8em;
}

#banner div p, #banner div strong, #banner div a {
	color: #FFFFFF;
}

#banner .cycle {
	float: right;
	width: 328px;
	height: 125px;
	padding: 0;
	margin-top: 0;
}

#banner .cycle div {
	width: 320px;
	height: 125px;
	padding: 0;
	margin: 0;
}

#sidebar {
	width: 330px;
	float: right;
	margin-top: 25px;
	position: relative;
}

#sidebar div {
	background-image: url(images/bg-sidebar.png);
	background-repeat:repeat-x;
	background-position:bottom;
	border: solid 1px #eeeeee;
	position: relative;
	padding-top: 60px;
	padding-bottom: 20px;
	margin-bottom: 25px;
	_margin-bottom: 10px;
}

#sidebar a:hover {
	background-image: url(images/bg-sidebar-hover.png);
	background-repeat: no-repeat;
	background-position:bottom;
	_background-image: none;
}

#sidebar h2 {
	color:#FFFFFF;
	background-image:url(images/bg-sidebar-h2.png);
	background-repeat:no-repeat;
	margin-top: 0;
	position:absolute;
	top:10px;
	left:-7px;
	padding:5px 6px;
	height: 30px;
	width: 100%;
}
#sidebar #tipologies {
	text-align: center;
}

#sidebar #tipologies a {
	width: 140px;
	height: 165px;
	float: left;
	display: block;
	padding: 0 10px;
}

#sidebar #tipologies a p {
	margin: 0;
	text-align: center;
	background-image: url(images/bg-sidebar-p.png);
	background-repeat: no-repeat;
	background-position: right center;
	display: inline-block;
	_display: inline;
	padding-right: 23px;
	line-height:1em;
	padding-top:5px;
	padding-bottom:5px;
}

#sidebar #tipologies a:hover p {
	background-image: url(images/bg-sidebar-p-hover.png);
}

#sidebar #serveis img {
	width: 32px;
	margin-left: 5px;
	margin-top: 5px;
}


#content {
	border: solid 1px #efefef;
	border-width: 0 1px;
	padding: 25px;
	padding-top:10px;
}

.post {
	width: 515px;
}

.post img {
	border: 15px solid #e6e6e6;
}

#post_block p {
	text-align: justify;
}

#post_block a, #post_block a strong {
    color: #EC6C23;
    text-decoration: underline;
    font-weight: bold;
}
#post_block a:hover, #post_block a:hover strong {
    color: #000000;
}

#post_block h1 a {
	text-decoration: none;
} 

#post_block ul {
	margin-left: 10px;
}


#post_block li {
	list-style-image: url(images/ico-li.png);
	_list-style-image: url(images/ico-li.gif);
}

#post_block ul#preus {
	background-color: #FFBC8F;
	margin: -4px 0px 0px -19px;
	width: 300px;
}

#footer {
	background-image: url(images/bg-footer.png);
	background-repeat: repeat-x;
	background-color: #EEEEEE;
	border-bottom: 1px solid #DDDDDD;
	height: 30px;
	padding: 10px;
}
#footer a {
	color:#000000;
}
#footer div {
	float: right;
	padding-right: 5px;
	padding-left: 5px;
}

#footer #sitemap {
	border-right: solid 1px #000000;
}

#footer #design {
	position: absolute;
	right: 10px;
	bottom: 5px;
}

#footer #design a {
	color: #666666;
}

#footer #logos {
	float: left;
}

#footer #logos img {
	display: inline-block;
	margin: 0 10px;
}
.galeria {
}
.galeria h3 {
	margin:0;
	margin-top: 50px;
}
.galeria p {
	float: left;
	display: inline-block;	
	margin-top: 5px;
}
.galeria img {
	height: 110px;
	width: 159px;
	border: 1px solid #cccccc;
	margin: 5px;
}
#fancy_ajax {
	text-align:center;
}

input, textarea, select {
	background-color:#fafafa;
	background-image:url(images/bg-input.png);
	background-repeat:repeat-x;
	background-position:top;
	border: 1px solid #dddddd;
}
input:focus, textarea:focus {
	outline: none;
	background-image:url(images/bg-input-hover.png);
	background-color:#ffffff;
	border: 1px solid #c5c5c5;
}

table {
	background-image: url(images/bg-sidebar.png);
	background-repeat:repeat-x;
	background-position:bottom;
	border: solid 1px #eeeeee;	
}
table th, table td {
	border-bottom: dotted 1px #CCCCCC;
	border-right: dotted 1px #CCCCCC;
}

table td, table th {
	padding:10px;
}

table td, table th{
	font-weight: normal;
}

.highlight, #sidebar .highlight {
	background-image:url(images/bg-highlight.png);
	background-repeat:repeat-x;
	background-color:#e96421;
	padding: 5px 10px;
	font-size: 1.1em;
	font-weight: bold;
	border:solid 1px #d9d9d9;
	background-position: top;
}

.highlight p {
	margin:0;
}

.highlight p, .highlight p strong, .highlight a {
	color:#FFFFFF !important;
}

#post_block .highlight a {
	text-decoration:underline;	
}

.highlight strong {
	font-size: 1.1em;
	padding-right: 5px;
}

#sidebar .highlight {
	height:30px;
}

#sidebar .highlight h2 {
	background:none;
	text-align:center;
	padding-left:0;
	left:0;
	top:4px;
}

table .highlight {
	height: 60px;
	position: relative;
	background: none;
	border: none;
}

table .highlight p {
	background-image:url(images/bg-highlight-table.png);
	background-repeat:no-repeat;
	height: 30px;
	position:absolute;
	padding: 10px;
	padding-top: 12px;
	left: -17px;
	bottom: 10px;
}

.entry tr td {
	color: #000000;
}

#fancy_title table {background: none;}
#fancy_title table, #fancy_title table td {
	/*background: none;*/
	border: none;
}

#post_block p.pdf, p.pdf {
	text-align:center;
	/*clear:both;*/
	margin: 50px 0;
}
#post_block .pdf a, .pdf a {
	background-image: url(images/ico-pdf.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	text-align: center;
	margin: auto;
	margin-top: 50px;
	font-size:1.2em;
	background-color:#f5f9e6;
	border: dotted 1px #97bc0c;	
	color:#000000;
	padding: 20px;
	padding-left: 70px;
	padding-top: 25px;
	line-height: 0;
	//line-height: 2em;
	_margin-top: 0;
	font-weight: bold;
}
#post_block .pdf a:hover {
	background-color:#fafcf3;
	background-image: url(images/ico-pdf-hover.png);
	border: dotted 1px #cbde86;
	color:#629023;
}

button {
	background-image: url(images/bg-button.png);
	background-repeat: repeat-x;
	border: 1px solid #d9d9d9;
	color: #FFFFFF;
	height: 30px;
	padding: 0 10px !important;
	_padding: 0 !important;
	font-size: 1.2em !important;
}
.checkbox input {
	border: none;
	background-image: none;
	background: none;
	padding:0;
}
