html,body{
	padding:0;
	background: #cc9;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 10px;
}
body{
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	text-align:center
}

p{
	margin:0 10px 10px
}

h4{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

div ul img {
	padding: 3px;
}

#bloc{
	background-image: url(../imatges/fonsArea.jpg);
	background-repeat: no-repeat;
	background-position: center center;
}

#contingut p{line-height:1.4}
#dreta{color: #333;}
#menu{background:#000}
#credits{color: #cc9}
#credits p{margin:0;padding:5px 10px}

#bloc{
	margin:0 auto;
	width:765px;
	height:615px;
}

#esquerra{
	float:left;
	margin:4px; 
	width:100%;
}
	
#dreta{
	float:right;
	margin:4px 0 0 0; 
	margin /**/:4px;   /* Hack per a IE6.0 */
	width:390px;
	display: inline;
}

* html #dreta {height: 1%;}	
* html #esquerra {height: 1%;}	

#foto1, #foto2, #foto3{
	position:relative;
	background-color: #ccc;
	width: 360px;
	text-align:center;
	overflow: hidden;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

#foto1{
	height: 290px;
}

#foto2{
	height: 145px;
}

#foto3{
	height: 435px;
}

#contingut1, #contingut2, #contingut3, #contingut4{
	position:relative;
	background-color: #ccc;
	width: 352px;
	text-align:justify;
	overflow: auto;
	padding: 4px;
	margin-top: 7px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
}

#contingut1{
	height: 282px;
}

#contingut2{
	height: 427px;
}

#contingut3{
	height: 137px;
}

#contingut4{
	height: 576px;
}

#contingut4 small {
	font-size: 9px;
	font-style: normal;
}
#contingut4 label {
	width:120px;
	float:left;	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom:15px;
}
#contingut4 input, #contingut4 .area, #contingut4 select {
	width:180px;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#contingut4 .boton {
	margin-left:120px;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#credits{
	margin:20px auto 0;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	width:765px;
	height: 40px;
	color: #333;
	text-align: right;
}

.magrana {
	color: #333;
}
#credits a{
	color: #333;
	text-decoration: none;
}
#credits a:hover{
	color: #666;
	text-decoration: none;
}

/* GALERIES */
#galeria
{
	width: 360px !important;
	height: 290px !important;
	text-align: left;
	margin: 0 auto;
}

/* MENU */

#menu {
	float: left;
	height: 100px;
	width: 336px;
	margin-left: 24px;
	margin-top: 300px;/*300*/
	display: inline;
}

#menu ul{
	margin: 0;
	padding: 0px;
	list-style-type: none;	
}

#menu li{
	float:left;
	height: 100px;
	cursor: pointer;
	text-transform: uppercase;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
}

#menu li#estudi {
	background-color:#FF9900;
	width: 84px;
}

#menu li#projectes {
	background-color:#339900;
	width: 84px;
}

#menu li#serveis {
	background-color:#0099CC;
	width: 84px;
}

#menu li#contactar {
	background-color:#9999FF;
	width: 84px;
}

#menu li a{
	display: block;
	padding-top:8px;
	height: 100px;
	text-decoration: none;	
	text-align: center;
	color: #fff;
}

#menu li.actiu a {
	font-weight:bold;
}

#menu li a:hover, #menu li.actiu a{
	height: 18px;
	padding-top:90px;
	height /**/: 20px;  /* Hack per a IE6.0 */
	padding-top /**/:80px;  /* Hack per a IE6.0 */
}

#menu li a span{
    display: none;	
}

/* LLISTES  */

.toc {
	border: 1px solid #999999;
	margin: 5px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	padding: 10px;
	/*width: 260px;*/
	position: relative;
	background-color: #ddd;
}
.toc a {
	text-decoration:none;
}

/* LLISTAT D'ELEMENTS */

.obres {
	display:block;
	background-color: #fff;
	height:75px;
	clear:both;
	margin-bottom:3px;
	font: normal 11px arial;
	width: 335px;
}

.imatge {
	display:block;
	float:left;
}

.imatge a img{
	border: none;
}
a.obra, a.obra:link, a.obra:visited {	
	display:block;
	float:left;
	text-decoration:none;
	color:#666;
	height:72px;
	margin: 2px;
	padding:0px 5px 0px 6px;
	line-height:12px;
	width: 210px;
}
	
a.obra:hover, #dreta .obres a:hover {
	color:#fff;
	background-color: #333;
	height:72px;
}

*html a.obra, *html a.obra:link, *html a.obra:visited {
	height:72px;
}

.any {
	float:right; 
	font-weight:bold; 
	padding-right:5px;
}

#dalt {
	text-align: right;
	font-size: 9px;
	color: #333333;	
}
#dalt a {
	text-decoration: none;
}

/**** PORTAFOLIO ****/

#portafolio
{
	position:absolute; 
	top:200px; 
	left:25px;
	border:none;
}

#portafolio img
{
	border:none;
	width:120px;
	height:44px;
}
