/*14-08 PWE EIC - Brot Grafic Disseny*/
/*Tema basat en rhuk_milkyway 1.0.2 per a Joomla! 1.5*/

/*TEMPLATE.CSS*/

/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html{
  height: 100%;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Arial,Helvetica,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #444;
	background-color: #fff;
}

a:link, a:visited {
	color: #ff5050; /*c60*/
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	color: #b82;
	font-weight: normal;
	text-decoration: none;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

/*Estructura*/
#cos{width: 800px; margin: auto; background-color: #ff5050}
#cap{position: relative; height: 95px; background-image: url(../base/cap.png); background-repeat: no-repeat}
#tronc{padding: 0; overflow: hidden}
#peu{height: 69px; background-image: url(../base/peu.png); background-repeat: no-repeat}

/*Imatge sobreposada per tancar columna de moduls (modificat per a IE7)*/
#tancament_mod{
position: relative; top: -19px; width: 155px; height: 19px; 
background-image:url(../base/mod_peu.png); 
background-repeat: no-repeat;
}

/*PEU*/

/*Peu, dalt-dreta*/
#peudd{
  position: relative; top: 8px; left: 11px;
  color: #555; font-size: 0.9em; line-height: 1.2em; letter-spacing: normal;
}

/*Peu, baix-dreta*/
#peubd {
  position: relative; top: 22px; left: 10px;
  color: #555; font-size: 0.75em; letter-spacing: normal;
}

div.center {
  text-align: center;
}

div#newsflash {
	width: auto;
	margin-left: 350px;
	margin-right: 30px;
	border: 1px solid #00f;
}

/*Links del peu*/
div#peu a:link, div#peu a:visited  {
	color: #ff5050;
	text-decoration: none;
}

div#peu a:hover {
	color: #b82;
	text-decoration: none;
}

/*Ruta (Span controlat per span.pathway)*/
#pathway {
	position: absolute;
	width: 450px; height: 40px; top: 93px; left: 173px; 
	padding: 0; margin: 0;
	text-align: left;
}

/*Cerca (Camp controlat per div.search input)*/
#search {
	position: absolute;
	width: 150px; height: 24px; top: 105px; left: 640px; 
	margin: 0px; padding: 0px;
	overflow: hidden;
	text-align:right;
}

form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}

#mod_search_searchword {
	padding-left: 3px;
}

/*Columna esquerra*/
#leftcolumn {
	width: 160px;
	padding: 0;
	float: left;
	display: inline;
	background-color: #ff5050; /*vermell tou*/
}

/*Columna principal*/
#maincolumn{
	width: 620px; /*640 - pad_lat*/
	padding: 45px 10px 0 10px; /*T L B R*/
	float: right;
	display: inline;
	background-color:#ffe379; /*groc tou*/
}

/*Taules de contingut*/
table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*Titols dels moduls de maincolumn*/
h3, .componentheading, table.moduletable th {
  color: #b82;
}

/*Construccio moduls esquerra*/
div.module_menu {
	background: url(../base/mod_fons.png) 100% 100%;
}

/*Construccio moduls esquerra*/
div.module_menu div {
	background: url(../base/mod_baix.png) 0% 100% no-repeat;
}

/*Construccio moduls esquerra*/
div.module_menu div div {
	background: url(../base/mod_dalt.png); background-repeat: no-repeat;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

/*Span del text del PATHWAY (ruta)*/
span.pathway {
  display: block;
  padding: 0; margin: 0;
  height: 16px;
  line-height: 13px;
}

/* headers */

/*Titol de la part pral de FRONTPAGE*/
div.componentheading {
  padding-left: 0px;
}

h1 {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}

/*Titol en les capses prals d'article*/
h2, .contentheading {
	padding: 0;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1em;
	vertical-align: bottom;
	color: #444;
	text-align: left;
	width: 100%;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

/*Titols principals i titols de modul lateral*/
h3, .componentheading, table.moduletable th, legend {
  	margin: 0;
  	font-weight: bold;
  	font-family: Helvetica,Arial,sans-serif;
  	font-size: 1.5em;
  	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

/* small text */

/*Autor d'article*/
.small {
	font-size: .90em;
	color: #b82;
	font-weight: normal;
	text-align: left;
}

.small-gris {
	font-size: .90em;
	line-height: 1.2em;
	color: #444;
	font-weight: normal;
	text-align: left;
}

/*Data de mod en peu d'article*/
.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #b82;
	font-weight: normal;
	text-align: left;
}

/*Data de creacio*/
.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #b82;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}

/*Llegeix mes*/
a.readon {
	margin-top: 10px;
	display: block;
	float: left;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
	background-color: #f6f6f6;
}

.ol-background {
	background-color: #666;
}

.ol-textfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}
.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {padding-left: 5px;}
a.mainlevel:hover {}

/* spacers */

/*Separacio vertical entre articles*/
span.article_separator {
	display: block;
	height: 20px;
}

/*Columnes principals d'articles*/
.article_column {
	padding-right: 5px;
}

/*Separador columnes d'articles*/
.column_separator {
	border-left: 1px dashed #b82;
	padding-left: 10px;
}

/*Botons d'opcions d'article*/
td.buttonheading {}
td.buttonheading img {border:none;}

/*.clr {clear: both;}*/

/*Linia separadora continua vert*/
td.greyline {
  width: 20px;
  background: url(../images/mw_line_marro.png) 50% 0 repeat-y;
}

/*Linia separadora continua hor*/
div#maindivider {
  border-top: 1px solid #b82;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

/*Separacio vertical entre articles*/
table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* edit button */
.contentpaneopen_edit{
	float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #b82;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}

/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {padding: 4px;}

/*Caixes de dades d'entrada (enquesta...)*/
td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {padding: 3px;}


/* content styles */

/*Text base del contingut*/
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: auto;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */

/*Taules superiors de WHITEBOX*/
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

/*Propietats dels moduls*/
div.moduletable, div.module {
  margin-bottom: 25px;
}

/*Noms dels moduls de menu*/
div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #555;
	margin: -27px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

/*Punts dels llistats dels menus en modul*/
div.module_menu {
	margin: 0;
	padding-top: 0;
	margin-bottom: 0px; /*Separacio vertical entre els cossos dels moduls*/
}

div.module_menu div div div {
	padding: 7px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

/*Propietats dels moduls de menu*/
div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
}

/*Links dels menus en modul*/
div.module_menu ul li a:link, div.module_menu ul li a:visited {
	color: #ff5050;
	font-weight: normal;
	text-decoration: none;
}

div.module_menu ul li a:hover {
	color: #c93;
	font-weight: none;
	text-decoration: none;
}

/*Propietats dels moduls de la col esq*/
#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
}

/*Fons de la caixa de SEARCH*/
div.search input {
	width: 130px; height: 17px;
	border: 1px solid #ff5050;
	margin: 0; padding: 0;
}

/*Props login form*/
form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}

/*Props llistat inferior login form*/
form#form-login ul { padding-left: 20px;}

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px;}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {margin-top: 5px;}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {}

/*Imatges de banner, afegida separacio sfx -org*/
.banneritem-org img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
}

/*Imatges de banner, afegida separacio sfx -enl*/
.banneritem-enl img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
}

/* Text advert style */

/*Links del quadre de propaganda lat sfx*/
.banneritem_text {
	padding: 4px;
	font-size: 11px;
}

/*Base del quadre de propaganda lat*/
.bannerfooter_text {
	padding: 4px;
	font-size: 11px;
	background-color: #F7F7F7;
	text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
/*Quadre d'enquesta*/
.pollstableborder td {text-align: left;}

/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

/* Frontend Editing*/
/*Quadre del login form*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 5px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */

.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

/*Quadre dels missatges del sistema*/
#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat; }

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

/* Component Specific Fixes */
#component-contact table td {padding: 2px 0;}
