/*
 * General style
 */

body
{
	margin: 0px;

	background-color: white;
	background-image: url(header_background.png);
	background-repeat: repeat-x;

	color: black;
	font-family: sans-serif;
}

img  { border: none; }

h1, h2, h3
{
	font-weight: normal;
	color: #176bc1;
}

h4
{
	display: inline;

	margin-right: 10px;

	font-weight: bold;
	color: #176bc1;
}

q  { font-style: italic; }

li  { margin-top: 4px; }

p.Abstract  { font-weight: bold; }


/*
 * Page body
 */

#body
{
	position: relative;

	z-index: 2;

	border: 1px solid #d0d0d0;

	background-color: #fcfcfc;

	color: black;
}

#body a:link,
#body a:visited
{
	border-bottom: 1px dotted #c0c0c0;
	text-decoration: none;
}

#body a:link  { color: #990000; }
#body a:visited  { color: #500000; }

#body a:link:hover,
#body a:visited:hover
{
	border-bottom: 1px solid #c0c0c0;
	color: red;
}

#body a:link:focus
#body a:visited:focus
	{ outline: 1px dotted #c0c0c0; }

#body a:link:active,
#body a:visited:active
{
	border-bottom: 1px solid #f0f0f0;
	outline: 1px solid #c0c0c0;
	color: red;
}


/*
 * Page header
 */

#header  { position: relative; }

#header_map
{
	position: absolute;
	left: 0px;
	top: 0px;
}

#header_title
{
	position: absolute;
	top: 9px;
	right: 15px;
}


/*
 * Main menu
 */

ul#main_menu
{
	min-height: 29px;

	margin: 0px;

	padding-left: 20px;
	padding-right: 0px;  /* list items already have a right margin */
	padding-top: 0px;
	padding-bottom: 0px;

	z-index: 3; /* IE 7 fix */

	background-color: #525967;
	background-image: url(menu_background.png);
	background-position: center;
	background-repeat: repeat-x;
}

ul#main_menu > li
{
	position: relative;

	float: left;

	list-style-type: none; 

	min-height: 29px;

	margin: 0px;
	padding: 0px;

	z-index: 3; /* IE 7 fix */
}

ul#main_menu a:link,
ul#main_menu a:visited
{
	display: block;

	margin: 0px;

	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;

	background-color: transparent;

	color: white;
	text-decoration: none;
}

ul#main_menu a:link:focus
ul#main_menu a:visited:focus
	{ outline: 1px dotted #e0e0e0; }

ul#main_menu a:link:active,
ul#main_menu a:visited:active
	{ color: red; }

ul#main_menu > li:hover
{
	background-color: #bec1c3;
	background-image: url(menu_background_selected.png);
	background-position: left center;
	background-repeat: repeat-x;
}

ul#main_menu > li:hover > a:link,
ul#main_menu > li:hover > a:visited
{ 
	color: #990000;
	
	background-image: url(menu_background_selected_edge.png);
	background-position: right center;
	background-repeat: no-repeat;
}

/* Sub menu */

ul#main_menu ul
{ 
	position: absolute;

	display: none; 

	margin: 0px;
	padding: 0px;

	z-index: 3;

	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;

	background-color: white;
	background-image: url(submenu_background.png);
	background-position: center bottom;
	background-repeat: repeat-x;
	
}

ul#main_menu li:hover > ul,
ul#main_menu li > a:link:focus + ul,
ul#main_menu li > a:visited:focus + ul
	{ display: block; }

ul#main_menu ul > li
{
	display: block;

	min-height: 29px;

	list-style-type: none; 

	margin: 0px;
	padding: 0px;
}

ul#main_menu ul a:link,
ul#main_menu ul a:visited
{ 
	color: black;
}

ul#main_menu ul > li:hover
{
	background-color: transparent;
	background-image: url(submenu_background_selected.png);
	background-position: center;
	background-repeat: repeat-x;
}

ul#main_menu ul > li:hover > a:link,
ul#main_menu ul > li:hover > a:visited
{
	color: #990000;
}


/*
 * Footer
 */

#footer
{
	z-index: 1;

	min-height: 13px;

	margin-top: -5px;

	padding-left: 15px;
	padding-right: 15px;
	padding-top: 7px;
	padding-bottom: 2px;

	background-color: #e6e6e6;
	background-image: url(footer_background.png);
	background-repeat: repeat-x;

	font-size: x-small;
	color: #6f6f6f;
}

#footer a:link, 
#footer a:visited
	{ text-decoration: underline; }

#footer a:link  { color: #6f6f6f; }
#footer a:visited  { color: #3f3f3f; }

#footer a:link:hover,
#footer a:visited:hover
	{ color: #9f9f9f; }

#footer a:link:focus,
#footer a:visited:focus
	{ outline: 1px dotted #6f6f6f; }

#footer a:link:active,
#footer a:visited:active
	{ color: black; }

#copyright_note  { float: left; }
#info_email  { float: right; }
