@charset "utf-8";
/* CSS Document */
* {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #333;
	text-decoration: none;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	border: none;
}

/* Textos */
h2, strong, cite, cite span, cite a, #header a:link, #header a:visited, #nav a, #nav a:link, #nav a:visited, #subnav a, #subnav a:link, #subnav a:visited {
	color: #666; /* gris */
}

a:hover, a:active, h1, h1 a, em, #content form legend, #header a:hover, #nav a:hover, #subnav a:hover {
	color: #A90F46; /* morat */
}

#banner, #banner h1, #footer small, #footer small span, #footer h1, #footer a {
	color: #FFFFFF; /* blanc */
}
#adwords a {
	color: #333; /* gris */
}

cite, em {
	font-style: normal;
}

cite, #subnav a, #nav a, #header {
	font-weight: bold;	
}

html {
	font-size: 0.7em;
}

small {
	font-size: 0.9em;
}

#content h2, #content h3 {
	font-size: 1.1em;
}

big, #content h1, #nav {
	font-size: 1.2em;
}

#content h1, #content h2, #content h3, #content cite {
	line-height: 1.4em;
}

#content p, #content ul, #content hr {
	line-height: 1.7em;
}

#content p {
	text-align: justify;
}

#content h1, #content h2, #content h3, #content p, #content ul, #content hr {
	margin: 15px 0;
}

a {
	cursor: pointer;
}

/* Llistes */
#content li, #content dt {
	margin-left: 20px;
}

/* Formularis */
input, select, textarea {
	border: solid 1px #7F9DB9;
}

input:focus, select:focus, textarea:focus {
	background-color: #EEEEEE;
}

#content form legend {
	font-weight: bold;
	padding:0 5px;
	font-size: 1.2em;
}

#content form p {
	margin: 5px 0;
}

#content form label {
	line-height:1em;
}

/* Taules */
table {
	 border-spacing: 2px;
}

/* Regla horitzontal */
hr {
	clear: both;
	border: solid 0 #CCCCCC;
	border-top-width: 1px;
	height: 0px;
}

/* MAQUETACIÓ */
#container {
	position: relative;
	width: 760px;
	margin: auto;
}

#nav li, #subnav li {
	display: inline;
}

#content {
	overflow:auto;
	overflow:hidden;
	clear:both;
	padding-bottom: 20px;
}

.left {
	width: 500px;
	float: left;
}

#sidebar {
	width: 227px;
	float: right;
}

#footer {
	clear: both;
}

/* A·D·Q·A */
html {
	background-color:#3a3a3a;
}
body {
	background-color:#FFFFFF;
	background-image: url(../images/bg-body.jpg);
	background-repeat:  repeat-x;
}

#content {
	padding-top: 10px;
}

#header {
	height: 88px;
	//padding-top:30px; 
	//height: 58px;
	position: relative;
}
#header img {
	margin-top:30px;
	//margin:0px;
}

#lang {
	color: #FFFFFF; text-align:right; font-size:10px; position:absolute; right:0; top:0;
}

#subnav {
	position: absolute;
	top: 14px;
	right: 0px;
	z-index: 2;
}
#subnav li {
	background-image: url(../images/bg-subnav-li.jpg);
	background-repeat: no-repeat;
	padding: 10px;
	padding-left: 15px;
	float: left;
	position:relative;
}
#subnav div {
	width:150px;
	height:auto;
	position: absolute;
	top: 30px;
	right: 5px;
	padding: 5px;
}

#nav {
	position:relative;
	text-align: right;
	padding-right: 160px;
	height: 30px;
	z-index: 1001 !important;
}
#nav li {
	text-align: left;
	background-image: url(../images/bg-nav-li.jpg);
	background-repeat: no-repeat;
	line-height: 30px;
	padding: 5px;
	padding-left: 15px;
	padding-right: 10px;
}

#contacto {
	text-align: left;
	background-image: url(../images/bg-contacto.gif);
	background-repeat: no-repeat;
	background-position: center top;
	width: 113px;
	padding: 20px;
	padding-bottom: 4px;
	padding-top: 8px;
	position: absolute;
	top: 0px;
	right: 0;
	z-index: 1;
}
#contacto form {
	height: 290px;
}
#contacto #form p {
	font-size: 10px;
	line-height: 1.2em;
	padding-top: 5px;
	padding-left: 0px;
}

#banner {
	position: relative;
	height: 200px;
}
#banner img {
	position: absolute;
	top:-2px;
	left:0;
}
#banner h1, #banner p {
	position: absolute;
	right: 15px;
	width: 410px;
}
#banner h1 {
	bottom: 50px;
	margin: 0px;
	line-height: 9px;
}
#banner p {
	bottom: 15px;
	height: 35px;
	margin: 0px;
	line-height: 1.4em;
	color: #202020;
	font-weight: bold;
}

#sidebar {
	margin-top: 30px;
}
#sidebar div {
	clear: both;
	margin-top: 5px;
}

#footer {
	background-color: #3A3A3A;
	background-image: url(../images/bg-footer.jpg);
	background-repeat:  repeat-x;
	padding: 20px;
}
#footer div {
	width: 760px;
	margin: auto;
	position: relative;
}
#footer-logos {
	color: #FFFFFF;
	padding-bottom:10px;
}
#footer-logos img {
	margin: 0 12px;
	margin-top:5px;
	vertical-align: top;
}
#sitemap a {
	font-weight:normal;
}
#sitemap h1 a, #sitemap h2 a {
	font-weight: bold;
}
#adwords img {
	position: absolute;
	bottom: 30px;
	right: 10px;
}
#adwords p {
	position: absolute;
	bottom: 35px;
	right: 100px;
}

#comments {
	position:relative;
	width: 760px;
	margin: 10px auto;
	clear:both;
	height:100px;
}

#asistencia-remota {
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding:5px; text-align:center;
}

#asistencia-remota h1 {
	padding-bottom:10px;
}

/* CLASSES */

/* Border */
fieldset, .highlight, #sidebar img, #subnav div, #content h1, #content img, #content a:link img, #adwords img {
	border: solid 1px #CCC;
}
#content a:hover img, a:hover .highlight {
	border: solid 1px #CC0066;
}
#content h1 {
	border-width: 0 0 1px 0;
}

/* .highlight */
.highlight {
	margin-top:5px;
	margin-bottom: 5px;
	height: auto;
	overflow: hidden;
}
fieldset, .highlight, #subnav div  {
	background-image: url(../images/bg-banner.jpg);
	background-repeat:  repeat-x;
	background-position: top;
	background-color: #FFFFFF;
}
a:hover .highlight {
	background-image: url(../images/bg-banner-hover.jpg);
	background-position: bottom;
}
fieldset, .left .highlight {
	padding: 20px;
	margin: 20px 10px;
}
#sidebar .highlight {
	padding: 0 10px;
	margin-bottom: 10px;
	height: auto;
	overflow: hidden;
}
/* Links subratllats */
a {
	font-weight: bold;
}
em a {
	font-weight: bold;
	border: solid 1px #FFF;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #a90f46;
	background-image: url(../images/bg-a.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding-left: 2px;
	padding-right: 12px;
}
em a[href^="http://"] {
	background-image: url(../images/bg-a-blank.gif);
}

/* Textos degradats sIFR */
#content .banners li {
	list-style-type: none;
	font-size: 20px;
	letter-spacing: -1px;
	line-height: 18px;
	margin: 0;
}
/*/*/

/* Estils de taules */
#content table {
	width:100%;
	margin: 30px 0;
	border: solid 1px #CCCCCC;
}

#content table th {
	background-color: #EEEEEE;
	padding: 4px;
	text-align: left;
}

#content table td {
	background-color: #F5F5F5;
	padding: 4px;
}


#qlead {
	overflow:hidden;
}


@media print {
/* Imprimir */
* {
	background-color: #FFFFFF;
	color: #000000;
	font-size: 100%;
}

#nav, #subnav {
	display: none;
}
}

@media print, @media handheld {
/* Imprimir y dispositivos móviles */
html, body, #container, #content {
    width: 100%;
}
}
