body{
margin:0;
padding:0;
text-align:center;
font-family:arial;
font-size:13px;
background-color:#f5f5f5;
}
#container{
margin-left:auto;
margin-right:auto;
text-align:left;
width:990px;
background-color:#FFF;
}
#capcalera{
background:url(../images/fons_capcalera.jpg);
height:114px;
position: relative;
}
#footer{
text-align:center;
color:#555;
padding-bottom:10px;
}
#logo{
padding-left:20px;
float:left;
}
#menu{
position: absolute;
bottom: 0;
right:100px;
}
#menu ul{
list-style:none;
margin:0;
padding:0;
}
#menu ul li{
margin:0;
padding:0;
float:left;


}
#menu ul li a{
display:block;
width:145px;
height:24px;
line-height:24px;
text-align:center;
background:#FFF;
border-radius:5px 5px 0 0;
color:#004e7f;
text-decoration:none;
text-transform:uppercase;
font-weight:bold;
font-size:10px;
letter-spacing:0px;
margin-left:1px;
}
#menu ul li a.active{

background:#A7C116;
color:#FFF;

}
#idiomes{
padding-top:5px;
padding-right:5px;
float:right;
}
#idiomes ul{
list-style:none;
margin:0;
padding:0;
}
#idiomes ul li{
margin:0;
padding:0;
display:inline;

}
#idiomes ul li.primer{
padding-right:6px;
border-right:1px solid #FFF;
}
#idiomes ul li.segon{
padding-left:5px;

}
#idiomes ul li a{
	color:#FFF;
	text-decoration:none;
	font-size:10px;
}
#idiomes ul li a.active{
	color:#a8c316;
}
#buscador{

}
#content{
min-height:200px;
/*background-color:#eae8e9;*/
margin:34px;
}
.header{
	font-size: 80%;
}
.header .nav-link,
.header .telefon{
	padding: 0.3rem !important;
}
#cercador,
#cercador.imatge1{
background:#26327B url(../images/finques-cebrian-panoramica-alella-masnou-montgat.jpg) ;
height:210px;
position:relative;
overflow: hidden;
background-position: center;
    background-size: cover;
    position: relative;
}
#cercador.imatge2{
background:#26327B url(../images/finques-cebrian-panoramica-muntanya_alella.jpg);
height:210px;
position:relative;
overflow: hidden;
background-position: center;
    background-size: cover;
    position: relative;
}
#cercador.imatge3{
background:#26327B url(../images/finques-cebrian-panoramica-vinyes-alella.jpg) ;
height:210px;
position:relative;
overflow: hidden;
background-position: center;
    background-size: cover;
    position: relative;
}
.cercador-immobles{
	background: #ccc;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 90%;
}
.cercador-immobles select,
.cercador-immobles input,
.cercador-immobles button{
	font-size: 90%;
	}
.input_referencia{
	width: 80px!important;
	margin-top: 3px;
}
#cercador.quisom{
background:#004f80 url(../images/fons_qui_som.jpg);
background-position: center;
    background-size: cover;
    height:400px;
}
#cercador.onsom{
background:#004f80 url(../images/fons_on_som.jpg);
background-position: center;
    background-size: cover;
    height:400px;
}
@media screen and (max-width: 700px) {
	#cercador{
		height: 300px;
	}
}
#casa{
position:absolute;
top:142px;
left:34px;
z-index:5px;
}
#form_cerca{
position:absolute;
background:#004f80;
top:174px;
color:#FFF;
padding-left:195px;
width:100%;
    	box-sizing: border-box;
padding-top:5px;
height:131px;
overflow:hidden;
/* Set our transitions up. */
	-webkit-transition: top 0.8s;
	-moz-transition: top 0.8s;
	transition: top 0.8s;
}
#form_cerca.obert{
	top:74px;
}
#form_cerca a.link_cerca{
padding:0;
margin:0;
text-transform:uppercase;
font-size:16px;
color:#FFF;
text-decoration:none;
background:url(../images/link_cerca.jpg) right no-repeat;
line-height:25px;
padding-right:90px;
font-weight:bold;
float:left;
}
#form_cerca a.link_cerca2{

background:url(../images/link_cerca2.jpg) right no-repeat;

}
#formulari_refe{
float:right;
padding-top:5px;
width:230px;
}
#formulari_refe form{
}
#formulari_refe div.input{
float:left;
padding-right:10px;
}
#formulari_refe div.input label{
font-weight:bold;
padding-right:10px;
}
#formulari_refe div.input input{
border:0;
width:80px;
}
#formulari_refe div.cercar{
}
#formulari_refe div.cercar input{
	border:0;
	background:url(../images/lupa.jpg);
	width:17px;
	height:17px;
}
.clr{
clear:both;
}

#formulari_refe div.cercar input{
	border:0;
	background:url(../images/lupa.jpg);
	width:17px;
	height:17px;
}
#formulari_llarg div.camps{
float:left;
}
#formulari_llarg div.operacio{
padding-bottom:20px;
}
#formulari_llarg div.cercar{
float:right;
padding-right:35px;
}

#formulari_llarg div.cercar input{
	border:0;
	background:url(../images/lupa_gran.jpg);
	width:69px;
	height:69px;
}
#formulari_llarg div.tipus{
float:left;
position:relative;
}
#formulari_llarg div.tipus label{
width:100px;
float:left;
display:block;
}
#formulari_llarg div.tipus select{
width:200px;

}
#formulari_llarg div.poblacio{
float:left;
padding-left:20px;
}
#formulari_llarg div.poblacio label{
width:100px;
float:left;
display:block;
}
#formulari_llarg div.poblacio select{
width:200px;

}
.llistafichas{
	margin-left: -27px;
}
.fitxa{
float:left;
width:25%;
box-sizing: border-box;
margin-bottom:20px;
padding-left: 27px;
}
.fitxa >   div{
	padding:15px;
	background:#DDD;

border-radius: 5px;
}
.fitxa div div{

min-height:270px;
}
.fitxa img{
	max-width: 100%;
	margin-bottom: 5px;
}
.fitxa div div div{
background:none;
min-height:1px;

}
.fitxa div div div.link_fitxa{
text-align:right;
}
.fitxa2{
float:left;
width:200px;
background:url(../images/mig_fitxa.jpg);
}
.fitxa2 div{
background:url(../images/top_fitxa.jpg) no-repeat;
}
.fitxa2 div div{
background:url(../images/peu_fitxa.jpg) no-repeat bottom;
padding:5px;
min-height:270px;
}
.fitxa2 div div div{
background:none;
min-height:1px;

}
.fitxa2 div div div.link_fitxa{
text-align:right;
}
.separador{
width:27px;
float:left;
height:35px;

}
.left{
float: left;
width: 485px;
}
.right{
float: right;
width: 375px;
}
.detalls{
padding:10px;
padding-top:20px;
}
.referencia{
font-size:28px;
}
.num_referencia{
font-size:28px;
font-weight:bold;
}
.eti_preu_venda{
font-size:23px;
}
.preu_venda{
font-size:23px;
font-weight:bold;
}
.marge5peu{
padding-bottom:5px;
}
dl {
line-height:1.5em;
margin:1em 0em;
margin-bottom:1.5em;
float:left;
width: 400px;
}
dt {
font-weight: bold;
vertical-align:top;
}
dd {
margin-left:8em;
margin-top:-1.5em;
vertical-align:top;
}
#descripcio{
background:#D7D7D7 url(../img/left_top_descripcio.jpg) top left no-repeat;
}
#descripcio div{
background:url(../img/left_bottom_descripcio.jpg) bottom left no-repeat;
padding:10px;

}
#descripcio div div{
background:url(none) ;
padding:0px;
}
#fotos_petites{
background:url(../img/fons_imatges_petites.jpg) bottom left no-repeat;
height:44px;
padding:10px;
}
.foto_petita{
float:left;
padding-right:10px;

}
#foto_gran{
width:484px;
height:357px;
}
#scrollingText
	{
		width: 484px;
		height: 357px;
		position: relative;
	}
#scrollingText div.scrollWrapper{
	position: relative;
	overflow: hidden;
	width: 484px;
	height: 100%;

}
	#scrollingText div.scrollableArea *
	{
		display: block;
		float: left;
		margin: 0;
		padding: 0px 0px 20px 0px;
		font-family: Verdana, Arial, Sans-Serif; 
		font-size:75px; 
		font-weight: bold; 
		background-color: #000; 
		color: #fff; 
		
	}
/*scroll imatges petites*/
div.scrollable { 
 
    /* required settings */ 
    position:relative; 
    overflow:hidden; 
    width: 400px; 
    height:44px; 
    float:left;
} 
 
/* 
    root element for scrollable items. Must be absolutely positioned 
    and it should have a extremely large width to accomodate scrollable items. 
    it's enough that you set width and height for the root element and 
    not for this element. 
*/ 
div.scrollable div.items { 
    /* this cannot be too large */ 
    width:20000em; 
    position:absolute; 
} 
 
/* 
    a single item. must be floated in horizontal scrolling. 
    typically, this element is the one that *you* will style 
    the most. 
*/ 
div.scrollable div.items div { 
    float:left; 
} 
 
/* you may want to setup some decorations to active the item */ 
div.items div.active { 

}
a.nextPage{
display:block;
width:13px;
height:13px;
background:url(../img/right.png) no-repeat;
}
a.prevPage{
display:block;
width:13px;
height:13px;
background:url(../img/left.png) no-repeat;
}
a.disabled{
/*display:none;*/
}
.fletxes{
float:right;
width:50px;
padding-top:15px;
}
#interessat{
width:48%;
float:left;
border-right:1px solid #CCC;
padding-right:10px;
}
#amic{
width:49%;
float:right;
}

#interessatForm label{
font-size:11px;
width:65px;
float:left;
}
#interessatForm label.error{
font-size:11px;
width:5px;
float:left;
color:#C00;
}
#interessatForm input{
font-size:11px;
float:left;
font-size:arial;
border:1px solid #CCC;
margin-bottom:2px;
width:130px;
}
#interessatForm textarea{
font-size:11px;
float:left;
font-size:arial;
border:1px solid #CCC;
margin-bottom:2px;
width:150px;
height:55px;
}
#interessatForm div.text{
clear:both;
}
#amicForm label{
font-size:11px;
width:100px;
float:left;
}
#amicForm label.error{
font-size:11px;
width:5px;
float:left;
color:#C00;
}
#amicForm input{
font-size:11px;
float:left;
font-size:arial;
border:1px solid #CCC;
margin-bottom:2px;
width:150px;
}
#amicForm textarea{
font-size:11px;
float:left;
font-size:arial;
border:1px solid #CCC;
margin-bottom:2px;
width:130px;
height:55px;
}
#amicForm div.text{
clear:both;
}
.submit_left{
float:right;
margin-bottom:0;
}
#interessatForm .submit_left input,#amicForm .submit_left input{
width:50px;
}
.explicacions{
float:left;
font-size:11px;
padding-left:10px;
}
.dades_esq{
float:left;
}
.dades_dret{
float:right;
}
.paging a{
	color:#000;
}
.paging div{
	display: inline;
}
.mostra_mobil{
		display: none;
	}
.amaga_mobil{
		display: block;
	}
@media screen and (min-width: 1200px) {
	#container {
        width:1180px;
    }
    .right{
    	width: 565px;
    }
}
@media screen and (min-width: 990px) and (max-width: 1199px){
	.fitxa{
		width:25%;
	}
}
@media screen and (max-width: 990px) {
    #container {
        width:100%;
    }
    #form_cerca{
    	width:100%;
    	box-sizing: border-box;
    	padding-left: 120px;
    }
    #idiomes{
    	position:absolute;
    	top:0px;
    	right:5px;
    }
    #formulari_llarg div.poblacio{
    	float:none;
    	clear: both;
    	padding-left: 0;
    }
	#menu ul li a{
		width: auto;
		padding: 0 15px;
	}
	#capcalera{
		position: relative;
	}
	#menu{
		
	}
	.fitxa{
		width:25%;
	}
}
@media screen and (max-width: 800px){
	.fitxa{
		width:33%;
	}
	#form_cerca a.link_cerca{
		padding-right: 20px;
	}
	#form_cerca{
		position: relative;
	}
	#formulari_llarg div.cercar{
		position: absolute;
		bottom: 0;
		right: 0px;
	}
}
@media screen and (max-width: 580px){
	.fitxa{
		width:50%;
	}
	#menu{
		left:10px;
		right: 0;
	}
	#form_cerca.obert{
		top:0px;
		height:100%;
	}
	.mostra_mobil{
		display: block;
	}
	.amaga_mobil{
		display: none;
	}
	#casa{
		display: none;
	}
	#form_cerca{
		padding-left: 10px;
	}
	#formulari_refe{
		width: 180px;
	}
	#formulari_refe div.input input{
		width: 60px;
	}
}
@media screen and (max-width: 375px){
	.fitxa{
		width:100%;
	}
	#menu ul li a{
		padding: 0 7px;
	}
	#menu{
		left: 5px;
	}
	.dades_dret{
		display: none;
	}
}
@media screen and (max-width: 940px){
	.left{
		width: 49%;
	}
	#foto_gran{
		width: 100%;
		height: auto;
	}
	#foto_gran img{
		max-width: 100%;
	}
	.right{
		width: 49%;
	}
	div.scrollable{
		width: 98%;
	}
	#interessatForm div{
		float: none!important;
		clear: both;
	}
	dl{
		width: auto;
	}
	#fotos_petites{
		position: relative;
		margin-top: 20px;
	}
	.fletxes{
		position: absolute;
		right: 0;
		top:-15px;
		width: 30px;
		padding-top: 0;
	}
}
@media screen and (max-width: 650px){
	.fichas > .left,.fichas > .right, #interessat,#amic{
		width: 100%;
		float: none;
	}
	

}