body {
	color: black;
	background-color: white;
	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 71%;  /* Enables font size scaling in MSIE */
	margin: 0;
	padding: 0;
}

html > body {
	font-size: 8.5pt;
}

acronym, .titleTip {
	border-bottom: 1px dotted rgb(153,153,153);
	cursor: help;
	margin: 0;
	padding: 0 0 0.4px 0;
}

.doNotDisplay {
	display: none;
}

.smallCaps {
	font-size: 110%;
	font-variant: small-caps;
}


/* ##### Header ##### */
.header{
	display : block;
	background-color: rgb(255,156,4);
	border-bottom: 3px solid rgb(50,50,50);
}
.header img {
	height: 9em;
	float: left;
	margin:  0.25em 0.25em 0 5em;
	border: none;
}


.superHeader {
	display: block;
	color: white;
	background-color: transparent;
	height: 2em;
	margin: 0;
}

.superHeader a {
	color: white;
	background-color: transparent;
	text-decoration: none;
	font-size: 91%;
	margin: 0;
	padding: 0 0.5ex 0 0.25ex;
}

.superHeader a:hover {
	text-decoration: underline;
}

.superHeader .left {
	position: absolute;
	left: 1.5mm;
	top: 0.75ex;
}

.superHeader .right {
	margin: 0 0 0 0mm;
	position: absolute;
	right: 1.5mm;
	top: 0.75ex;
}


.midHeader {
	background-color: transparent;
	color: rgb(255,255,255);
}

.headerTitle {
	margin: 0 0 0 5mm;
	font-size: 337%;
	font-weight: normal;
	padding: 0.25ex 0;
	text-align: right;
}

.subHeader {
	color: white;
	background-color: transparent;
	margin: 0;
	padding: 1ex 1ex 1ex 1.5mm;
	text-align: right;
}

.subHeader a {
	color: white;
	background-color: transparent;
	text-decoration: none;
	font-weight: bold;
	margin: 0;
	padding: 0 0.75ex 0 0.5ex;
}  

.subHeader a:hover {
	text-decoration: underline;
}

.superHeader .highlight, .subHeader .highlight {
	color: rgb(253,160,91);
	background-color: transparent;
}


/* ##### Side Bar ##### */

#side-bar {
	background-color: rgb(50,50,50);
	width: 15em;
	float: left;  clear: left;
	border-right: 1px solid rgb(200,200,200);
}

#side-bar div {
	border-bottom: 1px solid rgb(200,200,200);
}

.sideBarTitle {
	color: white;
	font-weight: bold;
	margin: 0 0 0.5em 2.5mm;
	padding: 1em 0 0 0;
}

#side-bar ul {
	color: white;
	list-style-type: none;
	list-style-position: outside;
	margin: 0;
	padding: 0 0 1.1em 0;
}

#side-bar li {
	margin: 0;
	padding: 0.1ex 0;  /* Circumvents a rendering bug (?) in MSIE 6.0 */
}

#side-bar a, .thisPage {
	color: rgb(255,156,4);
	background-color: transparent;
	text-decoration: none;
	margin: 0;
	padding: 0.75em 1ex 0.75em 5mm;
	display: block;
}

.thisPage {
	color: black;
	background-color: white;
	padding-left: 4mm;
	border-top: 1px solid rgb(153,153,153);
	border-bottom: 1px solid rgb(153,153,153);
}

#side-bar a:hover {
	color: white;
	background-color: rgb(255,156,4);
	text-decoration: none;
}

.sideBarText {
	color: white;
	line-height: 1.5em;
	margin: 0 0 1em 0;
	padding: 0 1.5ex 0 2.5mm;
	display: block;
}

#side-bar .sideBarText label{
	padding-right: 2px;
}

#side-bar .sideBarText a {
	text-decoration: underline;
	margin: 0;
	padding: 0;
	display: inline;
}

#side-bar .sideBarText a:hover {
	color: rgb(255,156,4);
	background-color: transparent;
	text-decoration: none;
}

.lighterBackground {
	color: inherit;
	background-color: white;
}


/* ##### Main Copy ##### */

.main-copy {
	color: black;
	background-color: white;
	text-align: justify;
	line-height: 1.5em;
	margin: 0 0 0 15em;
	padding: 0.5mm 5mm 5mm 5mm;
	border-left: 1px solid rgb(153,153,153);
	min-width: 300px;
}

.main-copy p {
	margin: 1em 1ex 1em 1ex;
	padding: 0;
}

.main-copy p.italics {
	font-style: italic;
	margin: 2em 10ex 2em 10ex;
}

.main-copy a {
	color: rgb(255,156,4);
	background-color: transparent;
	text-decoration: underline;
	font-weight: bold;
}

.main-copy img {
	border: none;
}

.main-copy a:hover {
	text-decoration: none;
}

.main-copy h1 , .main-copy h1 a{
	color: black;
	background-color: rgb(255,156,4);
	font-size: 100%;
	font-weight: bold;
	margin: 3em 0 0 0;
	padding: 0.5ex 0 0.5ex 1ex;
	text-decoration: none;
/*	clear: both;
	float: both;*/
}
.main-copy h1 a:hover {
	color: white;
	text-decoration: none;
}

.main-copy h2{
	font-size: 120%;
}

.main-copy .retorn{
	clear: left;
}

.main-copy .ho1 {
	clear: left;
	color: white;
	background-color: rgb(100,135,220);
	font-size: 100%;
	font-weight: bold;
	margin: 3em 0 0 0;
	padding: 0.5ex 0 0.5ex 1ex;
}

.main-copy .topOfPage {
	color: white;
	background-color: transparent;
	font-size: 91%;
	font-weight: bold;
	text-decoration: none;
	margin: 4.5ex 1ex 0 0; /* For MSIE */
	padding: 0;
	float: right;
}

.main-copy > .topOfPage {
	margin: 4.75ex 1ex 0 0;  /* For fully standards-compliant user agents */
}

.main-copy .right {
	color: black;
	background-color: transparent;
	font-size: 80%;
	text-decoration: none;
	font-weight: bold;
	margin: 2.5ex 1ex 0 0;
	padding: 0;
	text-align: right;
}

.main-copy .titol_form_comentari{
	color: white;
	background-color: rgb(255,156,4);
	font-size: 80%;
	font-weight: bold;
	text-align:right;
	margin: 3em 15em 0 5em;
	padding:  0ex 1em 0 1em;
}
.main-copy .form_comentari {
	margin: 0ex 5em 0 5em;
}

.main-copy .titol_comentari{
	color: white;
	background-color: rgb(255,156,4);
	font-size: 80%;
	font-weight: bold;
	text-align:right;
	margin: 3em 15em 0 15em;
	padding:  0ex 1em 0 1em;
}
.main-copy .text_comentari{
	color:black;
	background-color: transparent;
	font-size: 100%;
	text-align:left;
	margin: 0em 10em 5em 12em;
	padding: 0 0 0 0;
}

/*Per les taules*/
.main-copy tbody tr td{
	background-color: #FFFFFF;
	color: #000000;
}
.main-copy tbody tr.un td{
	text-align: left;
	vertical-align: top;
	background-color: #DDDDDD;
}
.main-copy tbody tr.dos td{
	text-align: left;
	vertical-align: top;
	background-color: #FFFFFF;
}
.main-copy tbody tr.un_priv td{
	text-align: left;
	vertical-align: top;
	background-color: #DDDDDD;
	color: #777777;
}
.main-copy tbody tr.dos_priv td{
	text-align: left;
	vertical-align: top;
	background-color: #FFFFFF;
	color: #777777;
}

/* CD, fitxa tecnica */

.main-copy table.fitxa_cd, table.fitxa_cd th, table.fitxa_cd td{
	border: 1px outset black;
	border-spacing: 0px;
}

/* Per als menus "desplegables" */

.main-copy .menu_tancat{
	display: block;
	padding-left: 3em;
	color: black;
	text-decoration: none;
}

.main-copy .menu_tancat a{
	color: black;
	text-decoration: none;
}

.main-copy .menu_obert{
	display: none;
	padding-left: 3em;
	color: black;
	text-decoration: none;
}
.main-copy .menu_obert a{
	color: black;
	text-decoration: none;
}

.main-copy .menu_element {
	padding-left: 1em;
	color: blue;
}
.main-copy .menu_element a {
	color: blue;
}

/* Parts que apareixen i desapareixen */
.main-copy .div_ocult{
	display: none;
}

/*Per als Formularis*/

#formulari {
	width: 360px;
	background-color: rgb(255,156,4);
	border: 1px dotted #333;
	padding: 5px;
	margin: 20px auto;
	text-align:center;
}

#formulari .form_linia_text div{
	float: none;
	text-align: center;
	padding-top: 10px;
}

#formulari .form_linia_text label{
	float: left;
	text-align: right;
	margin-left: 10px;
	padding-right: 10px;
	width: 50px;
}

#formulari .form_linia_text input{
	text-align: left;
	padding-left:2px;
	width: 250px;
}

#formulari fieldset.form_linia_petit{
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 0px;
	/*float: left;*/
}

#formulari fieldset.form_linia_petit div{
	float: left;
	margin-top: 10px;
	width: 110px;
	height: 25px;
}

#formulari .form_linia_petit label{
	float:left;
	text-align: right;
	width: 50px;
}
#formulari .form_linia_petit input{
	text-align: left;
	padding-left: 2px;
	padding-top: 0px;
}

#formulari fieldset.form_linia_petit2{
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 0px;
	float: left;
}

#formulari fieldset.form_linia_petit2 div{
	float: left;
	margin-top: 10px;
	width: 110px;
	height: 25px;
}

#formulari .form_linia_petit2 label{
	float:left;
	text-align: right;
	width: 50px;
}

#formulari .form_linia_petit2 input{
	text-align: left;
	padding-left: 2px;
	padding-top: 0px;
}


#formulari .botonera input{
	margin-left: 10px;
}


/*Per les galeries*/

.main-copy .galeria{
	float:left;
	width: 100%;
}
.main-copy .gallery{
/*	float:both;*/
	width: 100%;
	clear:left;
}

.main-copy .galleryPic {
	float: left;
	width: 177px;
	height: 120px;
	margin-left: 6px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 12px;
	text-align: center;
	color: #26360e;
}

.main-copy .galleryPic img {
	display: block;
	border: 1px solid #bfd79a;
	padding: 5px;
	margin: 0px auto 5px auto;
}

.main-copy .galleryPic a {
	color: #26360e;
	text-decoration: none;
}

.main-copy .galleryPic a:hover,
.main-copy .galleryPic a:hover:active {
	color: #425e18;
	text-decoration: underline;
}
.galleryThumb{
	float: left;
	width: 360px;
	height: 120px;
	margin-left: 6px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 12px;
}
.galleryThumb img{
	display: block;
	border: 1px solid #bfd79a;
	padding: 5px;
	margin: 0px 10px 5px auto;
	float: left;
}
		

/*Per les imatges de les noticies*/
div.cos_noticia img{
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	margin: 0px;
	float: right;
	clear: right;
}
.main-copy img.dreta{
	padding-left: 10px;
	display: block;
	margin: 0px;
	float: right;
	clear: right;
}
.main-copy img.centre{
	padding-right:10px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.main-copy img.esquerra{
	padding-right: 10px;
	display: block;
	margin: 0px;
	float: left;
	clear: right;
}

dl {
	margin: 1em 1ex 2em 1ex;
	padding: 0;
}

dt {
	font-weight: bold;
	margin: 0 0 0 0;
	padding: 0;
}

dd {
	margin: 0 0 2em 2em;
	padding: 0;
}

td.numeric{
	text-align: right;
}
div.quadre{
	display: block;
}
div.cos{
}
div.cos img{
	display: block;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
}

/* ##### Footer ##### */

#footer {
	color: black;
	background-color: rgb(255,156,4);
	font-size: 91%;
	margin: 0;
	padding: 1em 2.5mm 2.5ex 2.5mm;
	clear: both;
	border-top: 3px solid rgb(50,50,50);
}

#footer .left {
	line-height: 1.45em;
	float: left;
	clear: left;
}

#footer .right {
	text-align: right;
	line-height: 1.45em;
}

#footer a {
	color: black;
	background-color: transparent;
	text-decoration: underline;
}

#footer a:hover {
	text-decoration: none;
}
#foto_membres_qmav {
	width: 591px;
	height: 640px;
	background: url(/fotos/foto_qmav_separat.jpg) no-repeat;
	margin: 10px auto; padding: 0;
	position: relative;
	border: 2px solid #999;
}
#foto_membres_qmav li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;}

#foto_membres_qmav a {display: block; text-indent: -9999px; text-decoration: none;}

#ximo{left: 44px; top: 58px; width: 112px; height: 406px;}
#ferrando{left: 178px; top: 76px; width: 72px; height: 500px;}
#marc{left: 276px; top: 100px; width: 98px; height: 366px;}
#femenia{left: 374px; top: 90px; width: 92px; height: 384px;}
#juanjo{left: 410px; top: 65px; width: 95px; height: 518px;}

#ximo a {height: 406px;}
#ferrando a {height: 500px;}
#marc a {height: 366px;}
#femenia a {height: 384px;}
#juanjo a {left: 466px; top: 65px; height: 518px;}


#ximo :hover {background: url(foto_qmav_separat.jpg) -44px -654px no-repeat; width:309px; height:570px;}
#ferrando :hover {background: url(foto_qmav_separat.jpg) -629px -82px no-repeat; width:272px; height:530px;}
#marc :hover {background: url(foto_qmav_separat.jpg) -44px -654px no-repeat; width:131px; height:428px;} 
#femenia :hover {background: url(foto_qmav_separat.jpg) -44px -654px no-repeat; width:183px; height:435px;} 
#juanjo :hover {background: url(foto_qmav_separat.jpg) -376px -662px no-repeat; left:-300px; width:150px; height:521px;}

