@charset "utf-8";
/* CSS Document */

/* Reiniciar estils */
* {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	text-decoration: none;
	margin: 0;
	padding: 0;
	border: none;
}

/* Taules */
table {
	border-collapse: collapse;
	/* border-spacing: 2px;  <- si vols cellspacing */ 
}

/* Llistes */
li, dt {
	margin-left: 20px;
}

/* Formularis */
input, select, textarea {
	border: #7F9DB9 1px solid;
}

input:focus, select:focus, textarea:focus {
	background-color: #EEEEEE;
}

/* Tipografia */
html {
	font-size: 0.7em;
}

small {
	font-size: 0.9em;
}

/* Blocs de text */
blockquote {
	line-height: 1.7em;
	text-align: justify;
	padding-left:20px;
}

p {
	padding-top:10px;
	clear: both;
}

/* Regla horitzontal */
hr {
	clear: both;
	margin-top: 5px;
	margin-bottom: 5px;
	background-color:#999999;
	height:1px;
}

h1 {
	font-size:12px;
	color:#FFFFFF;
	font-weight:bold;
}
h2 {
	font-size:22px;
	color:#176981;
	font-weight:bold;
	padding-bottom:40px;
}
h3 {
	font-size:13px;
	color:#333333;
	font-weight:bold;
}
h4 {
	font-size:10px;
	color:#333333;
	font-weight:bold;
	text-decoration:underline;
}
h5 {
	font-size:11px;
	color:#666666;
	font-weight:normal;
	
}
#noticias p {
	font-size:11px;
	color:#666666;
	font-weight:normal;
	}
/* MAQUETACIÓ */
#container {
	position: relative;
	width: 920px;
	margin: auto;
}

/* Llistes de menu (seguides) */
/*#nav li {
	display: inline;
	padding-left:8px;
}*/
#subnav li
{
	display: inline;
	list-style: none;
	margin: 0px;
}
#subnav a
{
	color: #1F8CAB;
	font-weight: bold;
}
#subnav a:hover
{
	color: #333;
	font-weight: bold;
}

/* ESTILS */
/* Links */
a:link, a:visited {
	color:#1F8CAB;
}

a:hover, a:active {
	color:#333;
}
/*#nav a:link, #nav a:visited {
	color:#FFFFFF;
}

#nav a:hover, #nav a:active {
	color:#FFFFFF;
}*/


body {
	background-image: url(../images/bg.png);
	background-position: center;
}
#container {}
/*#subnav {
	height:77px;
	background-image:url(../images/logo.gif);
	background-position:left;
	background-repeat:no-repeat;
	background-color:#FFF;
	padding-top:10px;
	float:right;
	text-align:right;
	width:541px;
}*/

#subnav {
	text-align: right;
}

#header {
	margin: 0px 0px 20px 0px;
	//margin: 0px 0px 0px 0px;
	padding: 0px;
	float: left;
}

#header img {
	float: left;
	margin: 0px;
	padding: 0px;
}
/*
#header {
	position:relative;
	background-color:#1f8cab;
	clear:both;
	height:278px;
	background-image:url(../images/home.jpg);
	background-repeat:no-repeat;
	background-position:right;
}
#header span {
	text-align:justify;
	position:absolute;
	bottom:50px;
	left:30px;
	right:20px;
	color:#FFFFFF;
	width: 290px;
	height: 23px;
	line-height:1.5em;
} */
/*#nav {
	text-align:right;
	background-color:#1f8cab;
	height: 23px;
}
#nav div {
	text-align:right;
	font-size: 11px;
	font-weight: bold;
	float:right;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #FFFFFF;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	padding-left:8px;
	padding-bottom:2px;
	padding-right:8px;
	padding-top:4px;
	margin:0px;
}
#nav a:hover div  {
	cursor:pointer;
	background-color:#115467;
}
#nav span {
	padding-left:12px;
}
*/
#content {
	background-color:#FFF;
	padding-top:10px;
}
#banners {
	background-color:#FFFFFF;
	width:340px;
	}
#banerimg {
	margin-top:15px;
	margin-bottom:1px;
}
#banerimg img
{
border: 1px solid black;
}
.img{
	border:1px solid #000000;
}
#titolbanner {
	background-color: #afafaf;
	text-align:left;
	padding-left:15px;
	padding-bottom:15px;
	padding-top:20px;
	font-size:15px;
	color:#FFFFFF;
	font-weight:bold;
}
#titolactivi {
	background-color:#999999;
	text-align:left;
	padding-left:15px;
	padding-bottom:15px;
	padding-top:20px;
	font-size:13px;
	font-weight:bold;
	color:#FFFFFF;
}
.activitat {
	overflow: auto;
	padding-top: 5px;
	padding-bottom: 5px;
}
.activitat img {
	float: left;
}
.activitat div {
	margin-left: 10px;
	width: 170px;
	float: left;
}
.activitat h2 {
	color: #333333;
	font-size: 12px;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
.activitat h3 {
	color: #1f8cab;
	font-size: 13px;
}
.activitat strong {
	font-size: 13px;
	color: #333333;
}
.activitat h4 a {
	font-size: 11px;
	font-weight: normal;
	color: #333333;
}
blockquote {
	background-color:#FFF;
	
}

.cursor {
	cursor: auto;
}

#footer {
	padding: 15px 20px 15px 20px;
	background-color:#8a8889;
	color:#FFFFFF;
	font-size:11px;
	margin: 0 auto;
	width: 977px;
	position: relative;
	left: -6px;
}

#footer img {
	vertical-align: middle;
}


#slider {
	background-color:#b3dfde;
	padding:10px;
	text-align:center;
	}
.imatge {
	padding-left:10px;
	padding-right:10px;
	padding-top:5px;
	padding-bottom:5px;
}
#footer a {
	color:#FFFFFF;
}	

#footer a:hover {
	color:#115467;
}

/* nav */

#nav {
	/*background-color: #1f8cab;*/
	width: 920px;
	height: 22px;
	margin: 0px;
}
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
#nav ul#MenuBar1 {
	margin-top: -41px;
	//margin-top: -21px;
	border: 0px;
	background: none;
}

ul.MenuBarHorizontal
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	cursor: default;
	width: auto;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
	z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	position: relative;
	text-align: left;
	cursor: pointer;
	width: 8em;
	float: left;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	z-index: 1020;
	cursor: default;
	width: 8.2em;
	position: absolute;
	left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
	left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
	width: 8.2em;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
	position: absolute;
	margin: -5% 0 0 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
	left: auto;
	top: 0;
}

/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
	display: block;
	cursor: pointer;
	text-decoration: none;
}

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
	position: absolute;
	z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
	ul.MenuBarHorizontal li.MenuBarItemIE
	{
		display: inline;
		f\loat: left;
		background: #FFF;
	}
}

#MenuBar1 {
	float: right;
	width: 537px;
	border: 1px solid #FFF;
}

#MenuBar1 a {
	color: #FFF;
	font-weight: bold;
}

ul.MenuBarHorizontal ul {
	border: 0px solid #CCC;
}

ul.MenuBarHorizontal a {
	background-color: #1f8cab;
	padding: 4px 10px 2px 10px;
	border: 1px solid #FFF;
	border-bottom-width:0px;
}
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus, ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible {
	background-color: #115467;
}

ul.MenuBarHorizontal a.MenuBarItemSubmenu, ul.MenuBarHorizontal ul a.MenuBarItemSubmenu, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {
	background-image: none;
}

ul.MenuBarHorizontal li {
	width: auto;
}
/* fi estils nav */
