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

/* MAQUETACIÓ */
html {
	background-color: #e5e5e5;
	background-image: url(../images/bg-html.jpg);
	background-repeat: repeat-x;
}

body {
	background-image: url(../images/bg-body.gif);
	background-position: center top;
	background-repeat: no-repeat;
}

#container {
	background-color: #FFFFFF;
	border: dashed #CCCCCC 1px;
	width: 945px;
	padding: 10px;
	margin-bottom: 25px;
}

#header {
	padding: 5px 10px;
	width: 955px;
	margin: auto;
	position: relative;
}

#header ul {
	position: absolute;
	top: 10px;
	right: 10px;
}

#header li {
	float: left;
	list-style-type: none;
	padding-left: 10px;
}

#header li a {
	padding-right: 10px;
}

#banner {
	width:580px;
	height: 200px;
	float: left;
}

#destacat {
	width: 345px;
	height: 200px;
	padding-left: 10px;
	padding-right: 10px;
	float: right;
}

#destacat h2 {
	margin: 4px 0;
	_margin-bottom: 0;
}

#destacat h3, #destacat p {
	line-height: 1.7em;
	_line-height: 1.6em;
}

#nav {
	background-image: url(../images/bg-nav.gif);
	background-repeat: repeat-x;
	background-color: #666666;
	height: 25px;
	clear: both;
}

#nav li {
	float: left;
	list-style-type: none;
}

#nav li a {
	background-image: url(../images/bg-nav-li.gif);
	background-position: left;
	background-repeat: no-repeat;
	float: left;
	list-style-type: none;
	height: 25px;
	line-height: 25px;
	padding: 0 17px 0 17px;
}

#nav li strong a {
	background-image: url(../images/bg-nav-strong.gif);
	background-repeat: repeat-x;
	background-color: #df5534;
}

#subnav {
	background-color: #EEEEEE;
	line-height: 30px;
	clear: both;
	position: relative;
	border-bottom: 1px dotted #DDDDDD;
	height: 30px;
}

#subnav li {
	list-style-type: none;
	background-image: url(../images/ico.gif);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 8px;
	margin-left: 20px;
	line-height: 30px;
	float: left;
	font-size: 1em;
	font-weight: bold;
}

#subnav h2 {
	background-color: #EEEEEE;
	position: absolute;
	top: -25px;
	left: 0;
	padding: 0 13px;
	padding-right: 16px;
	height: 25px;
	line-height: 25px;
	font-weight:bold;
}

#subnav #gestio {
	margin-left: 100px;
	_padding-bottom: 5px;
}

#subnav #corporatiu {
	margin-left: 749px;
	width: 164px;
	_padding-bottom: 5px;
	border-top: dotted 1px #DDDDDD;
	height: 24px;
}

#subnav h3 {
	float: left;
	padding-left: 15px;
	padding-right: 20px;
}

#subnav h2, #subnav h3 {
	font-size: 1em;
}

#content {
	float: left;
	width: 570px;
	//width: 560px;
	border-right: none;
	min-height: 200px;
	padding-right: 10px;
	padding-bottom: 50px;
}

#sidebar {
	border-left: none;
	background-image: url(../images/bg-sidebar.jpg);
	background-repeat: no-repeat;
	min-height: 375px;
	_height:350px;
	padding: 10px;
	width: 345px;
	float: right;
	padding-bottom: 50px;
}

#footer {
	position: relative;
	height: 40px;
	padding: 10px;
}
#footer div {
	float:right;
	width:290px;
	line-height: 1.9em;
	text-align: right;
}
#footer #contact {
	float:left;
	width:610px;
	line-height: 0;
	//line-height: 1em;
	text-align: left;
}
#footer h2 {
	margin:0;
	padding:0;
	line-height: 0;
}
#footer p {
	position: absolute;
	width: 300px;
	top: 10px;
	right: 10px;
}

#footer img {
	float: left;
	padding-top:3px;
}

#banner, #destacat, #footer {
	background-color: #EEEEEE;
}

.highlight {
	padding: 5px;
}

#destacat img, .promocions img {
	background-image:url(../images/bg-img.png);
	padding: 5px;	
}

.promocions {
	height: 250px;
	width: 185px;
	margin-right: 5px;
	float: left;
}

#content .promocions h3, #content .promocions p {
	padding: 0;
	margin: 0 5px;
}

#content .promocions h3 {
	margin-right: 0;
}

/* COLORS */
/* Textos */

h2 {
	/*font-size: 1.7em;*/
}

#nav {
	font-size: 1.3em;
}

#subnav h2 {
	font-size: 1.1em;
}

#subnav {
	font-size: 1.2em;
}

h1, h1 a {
	color: #a4a4a4;		/* gris clar*/
}


h2, h3 {
	color: #444444;		/* gris fosc*/
}

#destacat h2, #sidebar h2, #footer {
	color: #222222;		/* gris */
}

a:hover, a:active, em, em big, em strong {
	color: #f23204;		/* vermell */
}

/*#nav a, #nav strong, #subnav h2, #subnav h2 strong, #subnav h2, #subnav a {*/
#nav a, #nav strong {
	color: #FFFFFF;		/* blanc */
}

/* Border */
#content h2, hr {
	border-bottom: dotted 1px #999999; /* punts gris */
}

#content h2 {
	margin-top: 30px;
}

#sidebar h2, #destacat h2 {
	background-image: url(../images/bg-h2-info.png);
	background-repeat: no-repeat;
	background-position: left 0;
	padding-left: 25px;
}

#destacat h2 {
	background-image: url(../images/bg-h2-alert.png);
}

#situacio h2 {
	background-image: url(../images/bg-h2-situacio.png);
}

#video h2 {
	background-image: url(../images/bg-h2-video.png);
}

em a {
	background-image: url(../images/ico.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 7px;
	font-weight: bold;
}

/* sifr */
#content h1, #destacat h2, #sidebar h2 {
	line-height: 1em;
}

#destacat h2, #sidebar h2, #footer h2 {
	/*height: 18px;
 	padding-bottom: 10px;*/
	height: 27px;
	//height: 26px;
	_height: 27px;
	margin-bottom:0;
}

#footer h2 {
 	padding-bottom: 5px;
}

#content h2 {
	height: 26px;
	margin: 20px 0;
}

/* formularis */
form {
	background-color: #EEEEEE;
}

button {
	background-color: #fd4703;
	border: solid 1px #FFFFFF;
	color: #FFFFFF;
	float:right;
	font-weight: bold;
	padding: 0 10px;
	font-size: 1.1em;
	margin-bottom: 5px;
}

legend {
	font-weight: bold;
	font-size: 1.3em;
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

label {
	padding-right: 5px;
}

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

#sidebar .response li {
	list-style-image: none;
	margin-left: 10px;
}

/* tablas */
table {
	width: 100%;
}
table th {
	background-color: #EEEEEE;
	padding: 3px;
}

table td {
	background-color: #FFFFFF;
	padding: 3px;
}

/* vista edifici */
#plantes {
	width: 500px;
	position: relative;
	cursor: pointer;
	margin-top: 15px;
}

#plantes span {
	width: 135px;
	position: absolute;
	display: block;
	right: 0px;
	top: 20px;
	padding: 5px;
	text-align: left;
	background-color: #EEEEEE;
}

/* pdfs */
.pdf {
	background-image:url(../images/ico-pdf.gif);
	background-repeat: no-repeat;
	padding:10px;
	padding-left:30px;
	font-weight: bold;
}

/* index obra nova */
a:link .inactive, a:visited .inactive{
	opacity:0.5; -moz-opacity:0.5; filter:alpha (opacity=50);
	background-image: url(../images/bg-img.gif);
}
a:hover .inactive {
	opacity:1; -moz-opacity:1; filter:alpha (opacity=100);
}

/*sidebar*/
#destacat div {
	margin:auto;
	width:310px;
}

/*sidebar*/
#sidebar div {
	margin:auto;
	width:310px;
	margin-bottom: 40px;
}

#sidebar ul {
	margin: 10px;
}

#sidebar li {
	list-style-image: url(../images/ico.gif);
}

#sidebar .edificis p {
	margin:0;
	padding-left:5px;
}

#sidebar .destacat {
	background-color: #FFFFFF;
	border: 2px solid #CCC;
	width:290px;
	padding:10px;
	padding-bottom:0;
}
#sidebar .destacat img {
	margin-top: 5px;
	margin-bottom: 10px;
}

#sidebar .destacat h3 {
	margin-bottom: 0;
}

#sidebar .destacat p {
	margin-top: 5px;
	margin-bottom: 20px;
}

#sidebar .destacat small {
	color: #888;
}

/* video  */
#sidebar object.highlight, #sidebar .highlight {
	background-image: url(../images/bg-highlight.png);
	background-repeat: no-repeat;
	width:300px;
	display:block;
	margin: auto;
	padding:5px;
	padding-bottom:3px;
}

#sidebar object.highlight{
	//border: solid 2px #CCC;
	//width:310px;
	//height:160px;
}

#video:link, #video:visited, #mostra:link, #mostra:visited {
	background-image: none;
	background-repeat: no-repeat;
	background-position: 5px 5px;
	background-color: #FFF;
	border: solid 1px #CCC;
    padding:5px;
    _padding-bottom:1px;
	margin-left: 15px;
	display: block;
    width:300px;
    height:145px;
}

#video:link, #video:visited, #mostra:link, #mostra:visited {
	opacity: 0.8; -moz-opacity: 0.8; filter: alpha (opacity=80);
}
#video:hover, #mostra:hover {
	opacity:1; -moz-opacity:1; filter:alpha (opacity=100);
}

#video img, #mostra img {
	background-image:none;
	padding:0;
}

/**/

/* llistat de pisos */
	table {
		border-collapse: collapse;
	}
	table td {
		border-bottom: solid 1px #EEE;
		text-align: center;
		color: #777777;
	}
	table.nostyle td {
		border: none;
	}
/*	table a {
		font-weight: bold;
		color: #000000;
	}
*/

#descripcio p, ul{
	font-size:1.1em;
}
#descripcio h3, #descripcio p {
	margin:0;
}

#content ul li{
	list-style-image: url(../images/ico-li.gif)
}

#pis-exemple, #pis-mostra {
	clear:both;
	margin-top: 20px;
	overflow:auto;
}
#pis-exemple h3, #pis-mostra h3 {
	margin-bottom:0;
	color:#f23204;
}
#pis-exemple div {
	margin-top: 10px;
	width: 285px;
	text-align:center;
	float:left;
}
#pis-exemple img {
	margin:5px;
}
#pis-mostra img {
	margin:5px;
}

#sidebar .destacat {
background-color: #f24e1c;
border-color: #FFFFFF;
/*width: 260px;
padding: 5px 20px;*/
width: 285px;
padding: 5px 15px;
padding-right: 0;
margin-top: 10px;
//margin-top: 20px;
}
#sidebar div.destacat p {
	font-weight:bold;
	text-align:left;
}
#sidebar div.destacat strong {
	font-size:1.2em;
}
#sidebar div.destacat strong.preu {
	font-size:1.5em;
	line-height:1.5em;
}
#sidebar div.destacat p strong, #sidebar div.destacat p big, #sidebar .destacat h3, #sidebar .destacat p, #sidebar .destacat small {
color: #ffffff;
}
#informacio-comercial {
	font-size:1.3em;
	font-weight:bold;
}
#sidebar hr {
	width: 320px;
	margin: auto;
}

@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;
}
} 