/* JavaBean */

body {
	margin: 0px;
	background: url(../images/bgr.png) repeat;  /* fons ratllat tota la pàg */
}

tr, p, div {  /* afecta també menús i  sub- */ 
  font-family      : Georgia, Verdana, Arial, Helvetica, sans-serif;
  font-size        : 12px;
  color            : #333333;
}

hr {
  background       : #999999;
  height           : 1px;
  width            : 100%;
}


	/* TopMenu  */
#mainlevel-nav {
	margin: 0; padding: 0;
}
/* ítems del topmenu, es troben entre ul en executat */
#mainlevel-nav li {
	background-image: none;
	padding-left: 0px;
	list-style:none; 
	float: left;    /* right/left canvien posició i ordre dels ítems. Si s'anul·la posa els ítems en vertical; amb center vertical centrats */
	margin: 0; /* width: 15.5%; */ 
	font-size: 10px;
	line-height: 20px;
	white-space: nowrap;
	text-indent: 15px;
}
#mainlevel-nav a {
	display: block;  /* afecta TopMenu */
	float: right;  /* sense o left no  passa re ?? */ 
	padding-right: 11px;   /* marge del text */
	text-decoration: none;  
	border: 1px solid;
	border-color: #fff #cc3300 #cc3300 #fff;    /* t b r l */
	background: #ff9933 url(../images/vmenu_bgr.png) 2px no-repeat;
	color: white;
}
#mainlevel-nav a {
	float: none;
}
#mainlevel-nav a:hover {
	background: #ff6600 url(../images/vmenu_bgr.png) 2px no-repeat;
}
		/* fi topmenu */



/*setting for the greetings*/
.mainpage {
	text-align: justify;
	color: #333333;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 13px;
}


	/* 3 noms definits com a class a index.php */
.mainpage-bkg {
	background-image: url(../images/lineborder.png); /* filet de punts */
	width: 1px;
}
.greybg {
	background: #eeeeee;
}
/*different setting for newsflash - nom definit a TD , cf. inf moduletable */
.newsflash td {
	color: #000000;
	/* text-align: justify; */
	vertical-align: middle;   /* a index.php deia top */
	background: url(../images/bgr.png) repeat;   /* fons ratllat de marge inferior*/
}




	/*pathway setting  -  path de seccions > categories */
.pathway {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 9px;
}
a.pathway:link, a.pathway:visited {
  color            : #ff9900;
  font-weight      : normal;
}
a.pathway:hover {
  color            : #ff3300;
  font-weight      : normal;
  text-decoration  : none;
}


/*for title or site name -  cal codi 'font class=title' a index.php */
.title {
	font-family: Georgia, sans-serif; /* mana la lletra definida a index.php */
	font-size: 20px;
	font-weight: bold;
	color : #444444;
	margin-left: 10px;
}
/*for the tag-line, slogan*/
.subtitle {
	font-family: sans-serif;
	font-size: 10px;
	font-weight: bold;
	color : #666666;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-left: 20px;
}



/* opció activa de menú , ORI #000000 */
#active_menu {
  color: #ff0000;
}


	/*   --Default Class Settings--   */

/*  ítems de menús  */
a.mainlevel:link, a.mainlevel:visited {
/*	display: block;  - +width afecta gràfic lateral de l'ítem 
 *	width: 95%; */
	color: #ff6600;
	font-weight: bold;
	text-indent: 5px;
	text-decoration: none;
	font-family: Verdana, Helvetica, Arial, sans-serif;
 	line-height: 18px; 
	margin-bottom: 1px;
/* background-image: url(../images/menu_bgr.png); */
/* background-repeat: no-repeat; */
}
a.mainlevel:hover {
color: #333333;
}

a.mainmenu:link, a.mainmenu:visited {
color: #ffffff; 
font-family: Verdana, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 10px;
}
a.mainmenu:hover {
color: #333333; 
}


.pollstableborder {
	border: 1px solid;
	padding: 1px;
}


/* ítems de submenús */
a.sublevel:link, a.sublevel:visited {
    padding-left: 5px;  // tocat  // del text respecte al minigràfic
    vertical-align: middle;
    font-size: 10px;
    color: #ff6600;
    text-align: left;
}
a.sublevel:hover {
	color: #ff9e31; text-decoration: none;
}


/*  títol Newsflash i text de newsflash - cf. supr class=newsflash */
table.moduletable {
	padding: 5px 0px 5px 6px;   /* t b r l-OK */
	margin-bottom: 13px;  /* espai entre menús */
	width: 100%;
	background: url(../images/bgr.png);   /* fons gris ratllat */
}

/*capçal menú: "Menú principal" ,  títol "Newsflash" */
table.moduletable th {
	font-size        : 11px;
	font-weight      : bold;
	color            : #000000;
	text-align       : left;
	width            : 100%;
	letter-spacing: 2px;
	text-indent: 5px;
	padding-bottom: 3px;
}

table.moduletable li {
}

table.moduletable ul {
	padding: 0px;
}
table.moduletable td {
	font-size: 10px;
	font-weight: normal;
}



/*  POLLS  cf. supr */
.poll {
  font-family      : Arial, Helvetica, sans-serif;
  font-size        : 10px;
  color            : #666666;
  line-height      : 14px;
}
table.pollstableborder {
	border: 1px solid #cccccc;
}


/* secció taula de categories i d'ítems */
.sectiontableheader {
  background-color : #CCCCCC;
  color            : #333333;
  font-weight      : bold;
}

.sectiontableentry1 {
  background-color : #F0F0F0;
}

.sectiontableentry2 {
  background-color : #E0E0E0;
}



									/* *** articles de notícies *** */	
/*TAULES, p.ex. S. Notícies*/
.contentpane {
  background       : #dedede;  /* color de fons Taula de S. Notícies */
}

/* BLOGS: requadres d'article i heading, el pany de blogs , pany de text de newflash */
.contentpaneopen {
  border : 0px ridge #0099cc; /* afecta 3 requadres: notícia, el seu titol i newsflash; i Cerca */
  width: 100%;
  padding: 1px;  /* no es veu afectat, amb -bottom tampoc */
}

	/*  Welcome-títol de dalt de l'espai central  i títols de Blogs, Cerca, Lincs, etc */
.componentheading {
	font-family: Palatino Linotype, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold;
	color: #bbAAaa;
	text-align: center;
}

/*  títol article de notícies  */	
.contentheading  {
	background-image: url(../images/sanefa.gif); 	/* separador d'articles */
	background-repeat: no-repeat; 	/* no repetir la imatge */
	background-position: 58% 30%;    /* left  top */
	padding-top: 70px; 	/* marge entre articles */
	font-family : Georgia, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight : bold;
	color : #ff9900; 	/*background-color: #ff9900;	*/
	text-align : left;
}

/* p.ex. written by */
.small {
  font-family      : Verdana, Arial, Helvetica, sans-serif;
  font-size        : 10px;
  color            : #9d9d9d;
  text-decoration  : none;
  font-weight      : normal;
}
/* ?? */
.smalldark {
  font-family      : Verdana, Arial, Helvetica, sans-serif;
  font-size        : 10px;
  color            : #000000;
  text-decoration  : none;
  font-weight      : normal;
}

/*data d'article*/
.createdate {
  font-family      : Arial, Helvetica, sans-serif;
  font-size        : 9px;
  color            : #bbbbbb;
  text-align       : right;
}

/* Read more */
a.readon:link, a.readon:visited {
	color: #DD7070; 
	text-align: right;
	text-decoration: none; 
	font-weight: normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	}
a.readon:hover {
	color: #FF0000;	
	text-decoration: none;
	}



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


/* Form Styles - p.ex. Logout*/
.button {
  font-family      : Verdana, Arial, Helvetica, sans-serif;
  font-style       : normal;
  font-size        : 10px;
  font-weight      : bold;
  background-color : #F0F0F0;
  color            : #000000;
  border           : 1px solid #CCCCCC;
}

.inputbox {
  font-family      : Verdana, Arial, Helvetica, sans-serif;
  font-size        : 10px;
  color            : #000000;
  background-color : #F0F0F0;
  border           : 1px solid #CCCCCC;
}

/* links Menús per defecte */
a:link, a:visited {
	color: #ff6600;
	text-decoration: none;
}
a:hover {
	color: #ff3300;
	text-decoration: underline;
}


/* For content item titles that are hyperlink instead of Read On */
a.contentpagetitle:link, a.contentpagetitle:visited {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
 	color: #ff9900;
	text-align:left;
	text-decoration: underline;
	}

a.contentpagetitle:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-align:left;
	color: #666666;
	text-decoration: none;
	font-weight: bold;
	}

a.category:link, a.category:visited {
  color            : #333333;
  font-weight      : bold;
  font-size: 11px;
font-weight: bold;
}
a.category:hover {
  color            : #999999;
}


/* Styles for dhtml tabbed-pages */
.ontab {
	background-color: #ffae00;
	border-left: outset 2px #ff9900;
	border-right: outset 2px #808080;
	border-top: outset 2px #ff9900;
	border-bottom: solid 1px #d5d5d5;
	text-align: center;
	/* Cannot use hand as its not a W3C CSS validator */
	/*	cursor: hand;*/
	font-weight: bold;
	color: #FFFFFF;
}
.offtab {
	background-color : #e5e5e5;
	border-left: outset 2px #E0E0E0;
	border-right: outset 2px #E0E0E0;
	border-top: outset 2px #E0E0E0;
	border-bottom: solid 1px #d5d5d5;
	text-align: center;
	/* Cannot use hand as its not a W3C CSS validator */
	/*	cursor: hand;*/
	font-weight: normal;
}
.tabpadding {
}

.tabheading {
	background-color: #ffae00;
	text-align: left;
}

.pagetext {
	visibility: hidden;
	display: none;
	position: relative;
	top: 0;
}

/* for modifying {moscode} output.  Don't set the colour! */
.moscode {
	background-color: #f0f0f0;
}
.code {
	background-color: #f0f0f0;
	border: 1px solid #FFF;
}

/* Text passed with mosmsg url parameter */
.message {
	font-family : Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 10pt;
	color : #ff6600;
	text-align: center;
}

/* Javascript Back button */
.back_button {
	text-align: center;
	margin-top: 40px;
}

table.contenttoc {
	color: #333300;
	background-color: #e0e0e0;
	border: 1px solid #333;
}

table.contenttoc td {
    font-size: 8pt;
    font-weight: normal;
    text-align:left;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  line-height: 15px;
  padding-left: 10px;
  padding-top: 0px;
  background-image: url(../images/arrow.png) ;
  background-repeat: no-repeat;
  background-position: 0px 3px;
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	background-color: #293C43;
	color: #ffffff;
	font-weight: bold;
}