@charset "utf-8";
/* CSS Document */

* {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #222222;
	text-decoration: none;
	margin: 0;
	padding: 0;
	border: none;
}

/* Textos */
a:hover, a:active, em, h1 {
	font-style: normal;	
	color: #2c83d1;
}
h2, h3, legend, #footer p, #footer strong, #footer a {
	color: #011e4c; /*blau fosc*/
	clear:both;
}

#header h1, #header h2, #nav li a {
	color: #ffffff;
}

#subnav p a, em a, legend {
	font-weight: bold;
}

body {
	font-size: 70%;
}

small, #subnav p a, #sidebar p {
	font-size: 0.9em;
}

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

h2 {
	font-size: 1.1em;
}

#content p {
	text-align: justify;
}

#content p, #content h2, #content h3, #content hr, #sidebar p, #content ul {
	margin: 10px 0;
	line-height: 1.7em;
}

/* Llistes */
#content li, #content dt {
	margin-left: 20px;
}
#subnav, #content li {
	list-style-image: url(../images/bg-li.png);
}
#sidebar li {
	list-style-type: none;
	padding-left: 5px;
	background-image: url(../images/bg-li.png);
	background-repeat: no-repeat;
	background-position: left center;
}

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

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

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

/* Regla horitzontal */
hr {
	clear: both;
	background-image: url(../images/bg-hr.png);
	height: 30px;
	background-repeat: no-repeat;
	background-position: center;
	//height:0px;
	//color:#bfcfdd;
}

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

#nav li {
	display: inline;
}

/* 3 columnes */
html>body #container { /* Navegadors moderns */
	overflow: auto;
}

#subnav {
	width:150px;
	float: left;
}

#content {
	width:390px;
	float: left;
}

#content form#form p {
	float: left;
	text-align: left;
} 

#content form#form span {
	width: 150px;
	float: left;
} 

#content form#form input {
	width: 200px;
	//width: 180px;
	float: left;
	padding: 2px;
} 

#form {
	float: left;
}

#form button {
	float: right;
	width: 100px;
	border: solid 1px #ccc;
}

#form select {
	float: left;
	width: 206px;
	//width: 186px;
	padding: 2px;
}

.captcha {
	margin: 10px 0px 10px 0px;
	float: left;
}

.captcha p label {
	width: 150px;
	float: left;
}

form#form fieldset .captcha input {
	margin: 10px 0px 0px 0px;
	float: left;
}

.captcha img{
	margin: 0px 0px 0px 150px;
}

.error img, .ok img {
	float: left;
	width: 30px;
	height: 26px;
}

.ok {
	clear: both;
}

*:first-child+html #content {
	width:375px;
}
#sidebar {
	width:150px;
	float: right;
}

/* Alçada 100% */
html, body {
	height: 100%;
}

#container {
	min-height: 100%;
}

* html #container {
	height: 100%;
}

/* Footer seguit */
#container {
	margin-top: -25px; /* height footer */
}

#header {
	padding-top: 25px; /* height footer */
}

#footer {
	height: 25px;
	padding: 20px 0;
	clear: both;
	width: 815px;
	margin: auto;
}
#footer p {
}
/* CEGarraf */
body {
	background-image: url(../images/bg-body.jpg);
	background-repeat:  repeat-x;
}
#header {
	height:110px;
	position: relative
}
#slogan {
	position: absolute;
	right: 0;
	top: 40px;
}
#nav {
	height:25px;
	text-align:right;
}
#nav li {
	letter-spacing: -1px;
	padding: 0 10px;
	line-height:25px;
}
#subnav {
	background-color: #d5e6f6;
	border: solid 2px #f2f2f2;
	border-top-width: 0;
	line-height: 2em;
}
#subnav li {
	margin-left:10px
}
#content {
	background-color: #ffffff;
}
#sidebar {
	background-color: #f9f9f9;
	border: solid 2px #f2f2f2;
	border-top-width: 0;
}
#sidebar em p {
	text-align:right;
	line-height:0;
	margin-top:0;
}
#subnav, #content, #sidebar {
	padding: 10px;
}
h1 {
	line-height:10px;
	border-bottom: solid 1px #bfcfdd;
	margin-bottom: 10px;
}

/* CLASSES */
.highlight, fieldset {
	background-color: #f9f9f9;
	border: solid 2px #f2f2f2;
	padding: 10px;
}
fieldset {
	display: inline-block;
}
legend {
	background-color:#FFFFFF;
}
em a {
	background-image: url(../images/bg-li.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 8px;
}

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

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

@media print, @media handheld {
/* Imprimir i dispositius mòbils */
html, body, #container, #content {
    width: 100%;
}
}