/*---------------------------- LAYOUT ----------------------------*/

* {
	margin:0;
	padding:0;
}

body {
	background: url(../media/body2.jpg) repeat-y center;
	font:0.8em 'Trebuchet MS', Arial, sans-serif;
	color:#444;
}

a{
	text-decoration:none;
	color:#777777;
	font-weight:bold;
}

a:hover{
	text-decoration:underline;
	color:#333333;
	font-weight:bolder;
	text-decoration:none;
}

img{
	/*background:#FFF;*/
	padding-right:5px;
	border:0px;
	text-decoration:none;
	vertical-align:bottom;
}

a img,a:hover img{
	text-decoration:none;
	border:0;
}

#container  {
	background:#fff;
	width:880px;
	margin:0 auto;
}

/*--------------------------- GENERAL ----------------------------*/
/*
a {
	color:#0F1A8E;
}*/

blockquote {
	background:#EFF0F4;
	margin:3px 3px 3px 10px;
	padding:7px;
	border-left:2px solid #0F1A8E;
	line-height:1.2;
	font-style:oblique;
	font-size:95%;
}

.left {
	float:left;
	margin:3px 5px 3px 3px;
}

.right {
	float:right;
	margin:3px 3px 3px 5px;
}

#content ul, #content ol {
	padding-left:2em;
}

h1 { font-size:20px; padding-bottom:12px;}
h2 { font-size:16px; letter-spacing: normal; padding-bottom:10px;}
h3 { font-size:14px;}
h4 { font-size:12px;}
h5 { font-size:10px;}
h6 { font-size:8px;}

/*Tables*/
/*
table {
	margin:10px 5px 10px 5px;
	border-collapse: collapse;
}
*/
th {
	font-size:14px;
	line-height:30px;
}

tr.main td {
	border-top:1px solid #0F1A8E;
	border-bottom:1px solid #0F1A8E;
	background:#EFF0F4;
}

td.main tr {
	border-left:1px solid #0F1A8E;
	border-right:1px solid #0F1A8E;
	background:#EFF0F4;
}

td {
	padding:2px 7px 2px 7px;
}
/*
td+td {
	border-left:1px solid #CCC;
}

tr+tr {
	border-top:1px solid #CCC;
}
*/
/*Forms*/
/*
#content form {
	background:#EFF0F4;
	width:430px;
	padding:15px;
}

#content form ul {
	list-style:none;
	width:95%;
}

#content form input, #content form textarea {
	width:95%;
	padding:4px;
	font:1em 'Trebuchet MS', Arial;
	color:#555;
	border:1px solid #ddd;
	margin:1px;

}

#content form input:focus, #content form textarea:focus {
	color:#0F1A8E;
}

#content form .button {
	width:50%;		
	border:1px solid #ddd;
	background:#FAFBFF;
	color:#0F1A8E;
}

#content form .button:hover, #content form .button:focus {
	background:#F4F5F7;
}

#content form label {
	color:#0F1A8E;
}
*/
/*---------------------------- HEADER ----------------------------*/

#header {
	width:860px;
	margin:10px 0 10px 0;
}

/*TITLE*/

#flash {	
	position: absolute; 
	margin-left:0px; 
	padding-left: 0 px;
}

#header #title {
	width:230px;
	height:150px;
	padding:0 10px 0 10px;
	float:left;
	color:#fff;
	letter-spacing:-1px;
	position: absolute;
	z-index:100;
}

#title h1, #title h1 a {
	font-size:25px;
	position:relative;
	top:20px;
}

#title h2 {
	font-size:15px;
	padding-top:25px;
	color:#dfdfdf;
}

/*MENU*/

#header #menu {
	width:580px;
	height:150px;
	float:right;
	color:#dfdfdf;
	text-align:center;
}


/*---------------------------- SIDEBAR ----------------------------*/

#sidebar {
	width:230px;
	height:465px;
	padding:20px 10px 10px;
	margin:150px 10px 10px 0;
	float:left;
	border-right:1px solid #eee;
	font-size:95%;
	line-height:1.5;
	/* !!! */
	position:relative;
}

#sidebar2 {
	width:230px;
	height:465px;	
	padding:170px 10px 10px;
	*padding:20px 10px 10px;
	margin:0px 10px 10px 0;
	float:left;
	border-right:1px solid #eee;
	font-size:95%;
	line-height:1.5;
	/* !!! */
	position:relative;
}

.menu_lateral{
	overflow:hidden;
}

#sidebar ul,#sidebar2 ul {
	list-style:none;
	border-top:1px solid #ddd;
	margin:0px 0 0px 0;
	/* PROVA DESPLEGABLE... */
	/* ARA ESTARA CONTROLAT PER JAVASCRIPT...
	display:none;*/
}

#sidebar h1,#sidebar2 h1{
	padding:0 0px 0 0px;
	/* PROVA DESPLEGABLE... */
	background-position:right;
	background-repeat:no-repeat;
	border-bottom:1px #dddddd solid;
	line-height:30px;
	font-size:1.3em;
}

#sidebar h1 a,#sidebar2 h1 a{
	color:#444444;
	text-decoration:none;
	display:block;
	padding-left: 10px;
}

#sidebar #primer, #sidebar2 #primer{
	border-top:1px #dddddd solid;
}


#sidebar ul li,#sidebar2 ul li {
	border-bottom:1px solid #ddd;
}

#sidebar ul li a,#sidebar2 ul li a {
	display:block;
	padding:5px;
	padding-left:15px;
	text-decoration:none;
	color:#777777;
}

#sidebar ul li a:hover,#sidebar2 ul li a:hover {
	background-color:#EFF0F4;
	color:#0F1A8E;
}

#sidebar form,#sidebar2 form {
	border:1px solid #ddd;
	padding:1px;
}

#sidebar input,#sidebar2 input {
	width:180px;
	height:15px;
	padding:4px;
	border:0;
	font:1em 'Trebuchet MS', Arial;
	color:#555;
}

#sidebar input:focus,#sidebar2 input:focus {
	color:#0F1A8E;
	border:0;
}

.search {
	height:22px;
	width:22px;
	border:0;
	padding:0;
	margin:0;
	background:transparent url(../media/search.jpg) no-repeat center center;
	text-indent:-1000em;
	cursor:pointer;
}

#sidebar:after,#sidebar2:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
}

/*---------------------------- CONTENT ----------------------------*/

#content {
	width:590px;
	padding:10px 15px 10px 0;
	float:right;
	line-height:1.5;
	font-size:12px;
	/*margin:10px 0 10px 0;*/
}

#content p{
	text-align:justify;
	padding-bottom:10px;
}

#historia1{
	float:left;
	margin:0;
	padding:5px 10px 0 0;
}

#historia2{
	float:right;
	margin:0;
	padding:0 0 0 10px;
}

#divThumbs{
	float:left;
}

#serveis td{
	vertical-align:top;
	text-align:center;
}

#concursos img{
	vertical-align:middle;
	padding-left:8px;
}	


/*---------------------------- POST ----------------------------*/

.post {
	margin:0 0 10px 0;
	word-spacing:1px;
}

.info {
	background:#EFF0F4;
	color:#666;
	padding:5px;
	margin:25px 0 20px 0;
	text-align:right;
	/*font-size:80%;*/
}

.info img{
	vertical-align:top;
	float:left;
	padding:8px 5px 8px 0; 
}

.info span {
	float:left;
}

.info a {
	color:#777;
	text-decoration:none;
}

.info a:hover {
	color:#666;
	text-decoration:underline;
}

.date {
	color:#888;
	font-style:oblique;
	margin:0 0 0 5px;
}

/*---------------------------- FOOTER ----------------------------*/

#footer {
	margin:5px 0 0 0;
	text-align:center;
	float:left;
	width:850px;
	padding:10px;
	border-top:1px solid #eee;
	color:#666;
	font-size:85%;
}

#footer a {
	color:#777;
	text-decoration:none;
}

#footer a:hover {
	color:#666;
	text-decoration:underline;
}


/*--------------------------------------------------------*/

.separador {
	padding:5px;
	border-bottom: 1px solid #DDDDDD;
	min-height:140px;
}

div.separador+div.separador{
	border-top: 1px solid #DDDDDD;
	padding-top:15px;
	/*margin:10px 0 0 0;*/
}	

#pdf{
	text-align:right;
	vertical-align:middle;
	padding-bottom:10px;
}

#pdf p{
	text-align:right;
	float:right;
}

#pdf img{
	padding-right:10px;
}

#pdf a{
}

#img_activitats{
	text-align:center;
	padding-bottom:10px;
}

.img_min {
	padding-right:5px;
	border:0px;
	text-decoration:none;
	float:left;
	height:auto;
}

.infopaginacio {
	background:#EFF0F4;
	color:#666;
	text-align:right;
	/*font-size:80%;*/
	padding-right:7px;
}

#certificats{
	margin-top:60px;
}

#certificats td{
	text-align:center;
	vertical-align:middle;
}

#tasques{
	min-height:180px;
}

#planos{
	cursor:url(../media/lupa.cur), auto;
}

#adreces td{
	padding:12px 12px;
}

#adreces p{
	padding:5px 0;
}

#galeria_imatges{
	height:850px;	
}

.caja {
		display: none;  			  
}  


.mostrar {
	border-bottom:1px #dddddd solid;
	color:#444444;
	text-decoration:none;
	display:block;

}	

.flexa {
	background-image:url(../images/flexa.gif);
	padding-left:10px;
}

.flex2 {
		padding-left:10px;	
}

.flex2 a:hover{
		background-color:#cccccc;
		font-weight:bolder;	
}


.flexa a:hover {	
	background-image:url(../images/flexa2.gif);
	background-repeat:no-repeat;
	background-position:right;
	background-color:#cccccc;
	font-weight:bolder;	
}
