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

html, body {
	background-color: #fff;
	margin: 0px;
	width: 100%;
	height: 100%;
}

a:link {
	color: #4A4949;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #4A4949;
}
a:hover {
	text-decoration: none;
	color: #A3A3A3;
}
a:active {
	text-decoration: none;
	color: #4A4949;
}

hr {
	margin:0px;
	padding:0px;
	border-bottom: 1px solid #4A4949;
	border-top:0px;
	border-left:0px;
	border-right:0px;
	line-height:0px;
	height:1px;
	display:block;
}

#marc_dalt, #marc_baix, #marc_esquerra, #marc_dreta {
	background: #F5F5F4;
	position: fixed;
	z-index: 30;
}

#marc_esquerra, #marc_dreta {
	top: 0; bottom: 0;
	width: 20px;
}

#marc_esquerra { left: 0; border-right: #4A4949 1px solid; }
#marc_dreta { right: 0; border-left: #4A4949 1px solid; }
		
#marc_dalt, #marc_baix {
	left: 0; right: 0;
	height: 20px;
}

#marc_dalt { top: 0; border-bottom: #4A4949 1px solid; margin-left: 20px; margin-right: 20px; }
#marc_baix { bottom: 0; border-top: #4A4949 1px solid; margin-left: 20px; margin-right: 20px; }

#general {
	position: absolute;
	width: 960px;
	height: auto;
	left: 50%;
	margin-left: -480px;
	top: 20px;
}

#linia_punts_dreta, #linia_punts_esquerra {
	position: fixed;
	z-index: 29;
}

#linia_punts_dreta, #linia_punts_esquerra {
	top: 0; bottom: 0;
	width: 1px;
}

#linia_punts_esquerra { left: 50%; margin-left: -520px; border-right: #4A4949 1px dotted; }
#linia_punts_dreta { right: 50%; margin-right: -520px; border-left: #4A4949 1px dotted; }

#header {
	position: absolute;
	width: 960px;
	height: 122px;
	left: 50%;
	margin-left: -480px;
}

#logo {
	width: 362px;
	height: 82px;
	position: absolute;
	margin-top: 40px;
	margin-bottom: 40px;
}

#logo2 {
	width: 362px;
	height: 82px;
	position: relative;
	margin-top: 0px;
	margin-bottom: 30px;
}

#cita {
	width: 450px;
	position: absolute;
	right: 0px;
	bottom: 0px;
	text-align: right;
}

.cita {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	color: #A3A3A3;
}

#content {
	position: absolute;
	width: 960px;
	top: 162px;
	color: #4A4949;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	text-align: justify;
}

#liniapunts {
	border-top: #494949 1px dashed;
	width: 100%;
	height: 1px;
	position: relative;
}

@font-face {
    font-family: 'din';
    src: url('DINPro-Light.eot');
    src: url('DINPro-Light.eot?#iefix') format('embedded-opentype'),
         url('DINPro-Light.woff') format('woff'),
         url('DINPro-Light.ttf') format('truetype'),
         url('DINPro-Light.svg#DINPro-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1 {
	font-family: din, Arial, Helvetica, sans-serif;
	color: #004ED6;
}

/* Hover imatges */

.item {
	width:300px;
	height:225px;	
	border:0px solid #222;	
	margin:0px 0px 0px 0px;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
}

.item .caption {
	width:298px;
	height:123px;
	border: 1px #004ED6 solid;
	background:#fff;
	color:#004ED6;
	font-weight:normal;
	font-family: din, Arial, Helvetica, sans-serif;
	padding-top: 100px;
		
	/* fix it at the bottom */
	position:absolute;
	left:0;

	/* hide it by default */
	display:none;

	/* opacity setting */
	filter:alpha(opacity=100);    /* ie  */
	-moz-opacity:1;    /* old mozilla browser like netscape  */
	-khtml-opacity: 1;    /* for really really old safari */  
	opacity: 1;    /* css standard, currently it works in most modern browsers like firefox,  */

}

.item .caption a {
	text-decoration:none;
	color:#004ED6;
	font-size:16px;	
	
	/* add spacing and make the whole row clickable*/
	padding:5px;
	display:block;
}

.item .caption p {
	padding:5px;	
	margin:0;
	font-size:16px;
}

img {
	border:0;
	
	/* allow javascript moves the img position*/
	position:absolute;
}

.clear {
	clear:both;	
}