@charset "utf-8";
@import url("reset.css");

/* Paràgrafs */
h1, h2, h3, h4, p, ul, ol, dt, hr {
	margin: 10px 0;
	line-height: 1.7em;
}

#content p {
	text-align: justify;
}

/* Mida textos */
h1 {
	font-size: 1.4em;
}

#subnav {
	font-size: 1.3em;
}

h2, .tabs a {
	font-size: 1.2em;
}

h3 {
	font-size: 1.1em;
}

big {
	font-size: 1.1em;
}

small, #subnav ul ul {
	font-size: 0.9em;
}

h1 {
	margin-bottom: 0;
}

#breadcrumb a, table.list td big, #subnav ul, .tabs a {
	font-weight: bold;
}

/* Color textos */
a:hover, a:active, h1, em {
	color: #d11214;		/* granate */ 
}

#filter_keyword, #lang a, #nav a, #author a, #subnav ul.categories li a, #lang .jqTransformSelectWrapper ul a, #lang #CollapsiblePanel1 .CollapsiblePanelTab {
	color: #FFFFFF;		/* blanc */
}

#subnav ul li a {
	color: #000000;		/* negre */
}

#subnav ul li ul li a {
	color: #666e80;		/* blau mig */
}

#nav, #footer ul {
	color: #9ea1a9;		/* blau clar */
}


/* Backgrounds */
html {
	background-image: url(../image/bg-body.gif);
	background-repeat:  repeat-x;
	background-color: #2f333b;
}

body {
	background-image: url(../image/bg-body-header.gif);
	background-repeat:  repeat-x;
}

#header {
	background-image: url(../image/bg-header.gif);
	background-repeat: no-repeat;
	background-position: center;
}


#lang #CollapsiblePanel1 .CollapsiblePanelTab {
	background-image: url(../image/bg-lang.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

#sidebar {
	background-image: url(../image/bg-sidebar.gif);
	background-repeat: repeat-x;
}

#footer {
	background-image: url(../image/bg-footer.gif);
	background-repeat: no-repeat;
	background-position: right top;
}

#footer #contact {
	background-image: url(../image/bg-contact.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

#logos {
	background-color: #eeeef0;		/* blau clar clar */
}

#logos div {
	background-image: url(../image/bg-logos.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

#logos #jorgc {
	background-image: none;
}

#subnav ul.categories {
	background-image: url(../image/bg-subnav.gif);
	background-repeat: no-repeat;
}

#container, #sidebar, #content {
	background-color: #ffffff;	/* blanc */
}

#subnav, #subnav ul {
	background-color: #555a64;	/* gris mig */
}

#footer, #subnav ul, #subnav ul ul {
	background-color: #dcdde0;	/* gris clar */
}

#filter_keyword, #lang #CollapsiblePanel1 .CollapsiblePanelContent {
	background-color: #676f81;	/* blau header */
	border: solid 1px #7d8492;
}

.highlight, #breadcrumb, .tabs a, .page, #banner {
	background-color: #F7F7F7;	/* gris superclar */
	border: 1px solid #e5e5e6;
}

#breadcrumb {
	border-width: 0 0 1px 0;
}

#banner {
	border-top-width: 0;
}

/* MAQUETACIÓ */

/* Menús en línia */
#nav, #footer ul {
	margin: 0;
	line-height: 1em;
}

#nav li, #footer li {
	display: inline;
	margin: 0;
}

/* #header */
#header {
	height: 90px;
	padding: 5px;
}

#search, #lang, #nav {
	position: absolute;
	top: 5px;
	right: 100px;
}

/* #search */
#search input {
	float: left;
}

#filter_keyword {
	width: 150px;
	height: 19px;
	padding-left: 10px;
	line-height: 19px;
	margin: 5px;
}

/* #lang */
#lang {
	position: absolute;
	right: 0;
	margin: 5px;
	z-index: 1;
}

#lang #CollapsiblePanel1 {
	width: 90px;
	text-align: right;
}

#lang #CollapsiblePanel1 .CollapsiblePanelContent {
	padding-top: 3px;		
}

#lang #CollapsiblePanel1 .CollapsiblePanelTab, #lang #CollapsiblePanel1 .CollapsiblePanelContent a {
	display: block;
	padding: 2px 5px;
	padding-right: 20px;
	margin: 0;
}

/* #nav */
#nav {
	top: 58px;
	right: 0;
	z-index: 0;
}

#nav li a{
	padding: 0 5px;
}

/* #subnav */
#subnav {
	width: 200px;
	float: left;
	line-height: 25px;
}

#subnav ul {
	padding: 10px 27px;
	padding-right: 0;
	margin: 0;
}

#subnav ul ul {
	padding-top: 0;
}

#subnav li {
	margin: 0;
	list-style-type: none;
}

#subnav ul.categories {
	padding-top: 0;
	padding-bottom: 0;
}

#subnav ul.categories li { 
	padding-top: 15px;
	height: 35px;
	line-height: 0;
}

/* #sidebar */
#sidebar {
	width: 200px;
	float: right;
}

#sidebar img {
	padding-top: 20px;
}

/* #content*/
#breadcrumb {
	text-align: right;
	width: 492px;
	padding: 5px 10px;
	margin: 10px 0;
	margin: 0;
	padding: 8px 10px;
}

#banner {
	height: 83px;
	width: 510px;
	background-color: #EEE;
}

#content {
	width:500px;
	padding: 20px;
	float:left;
	//padding-right: 10px;
	padding-top: 0;
}


#content .middle table {
	clear: both; 
	float:left;
}

/* #footer */
#footer {
	position: relative;
	width: 955px;
	margin: auto;
	padding-bottom: 15px;
}

#logos {
	position: relative;
	width: 955px;
	margin: auto;
	height: 100px;
}

#logos div {
	width: 525px;
	float: left;
	padding-left: 25px;
}

#logos img {
	margin-right:35px;
}

#logos #jorgc {
	text-align: left;
	width: 370px;
}

#logos #jorgc img {
	margin-right:20px;
}

#footer ul {
	line-height: 1.7em;
	text-align: left;
	float: left;
	padding-top: 15px;
	padding-left: 30px;
	width: 340px;
	letter-spacing: 3px;
}

#footer li a {
	letter-spacing: 0;
}

#footer #contact {
	text-align: left;
	padding-left: 25px;
	position: absolute;
	right: 0;
	top: 15px;
	width: 275px;
}

#footer #contact p {
	margin: 0;
}

#author {
	position: absolute;
	bottom: -30px;
	right: 0;
}

/* Pestanyes */
.tabs {
	display: block;
	width: 480px;
	margin-bottom: 0px;
}

.tabs a {
	float: left;
	display: block;
	padding: 6px 15px 7px 15px;
	margin-right: 2px;
	background: #FFFFFF url('../image/tab.png') repeat-x;
	text-decoration: none;
	z-index: 1;
	position: relative;
	top: 1px;
}

.tabs a.selected {
	background: #FFFFFF url('../image/tab.png') repeat-x;
	border-bottom: 0px;
	padding-bottom: 8px;
	z-index: 3;
}

.page {
	background: #FFFFFF;
	display: inline-block;
	padding: 10px;
	display: block;
	width: 485px;
	clear: both;
	z-index: 2;
	margin-bottom: 10px;
}

/* taula productes */


table.list td {
	width: 160px;
}

table.list td {
	padding-right: 13px;
	//padding-right: 12px;
}

table.list td .img {
	background-image: url(../image/bg-list.gif);
	background-repeat: no-repeat;
	background-position: center top;
	width: 128px;
	height: 118px;
	text-align: center;
	padding: 16px;
}

table.list td .desc {
	padding: 5px 20px;
	margin-bottom: 15px;
}

/**/
.sort {
	text-align: right;
	margin-bottom: 15px;
}

.pagination {
	text-align: right;
	float: right;
}

.buttons {
	 clear: both;
	 overflow: auto;
	 padding-bottom: 10px;
	 text-align:right;
}

.highlight {
	padding: 10px;
	margin-bottom: 10px;
}

@media print, @media handheld {
/* Imprimir i dispositius mòbils */
html, body, #container, #header, #nav, #subnav, #sidebar, #content, #footer {
	background-color: #FFFFFF;
	color: #000000;
	font-size: 10pt;
	max-width: 100%;
}
}

@media print {
/* Imprimir */
* {
	overflow: hidden;
	max-width: 100%;
}

button {
	display: none;
}
} 
