/* General Structure */
body {
	margin: 0 0 1em 0;
	padding: 0; /* need for Opera */
	background: #fff;
	color: #333;
	min-width: 610px;
}

form { margin: 0; }
img { border: 0; }

body, td, th, input { /* redundant rules for bad browsers  */
    font-family: verdana, sans-serif;
    font-size: x-small;
    voice-family: "\"}\"";
    voice-family: inherit;
    font-size: small;
}

/* Navigation */

:link { color: #fa5217; }
:visited { color: #fa5217; }
:link:hover, :visited:hover { color: #333; }
:link:active, :link:active { color: #000; }

/* Footer */

#mainContent {
	margin-top: 0em;
}

/* Core site element widths */

#header { padding: 0 50px; }
#header ul { right: 0; } 
* html #header ul { right: 50px; } 
#subnav { padding: 0 20px; }
#content { padding: 0 50px; }
#footer-contents { padding: 0 20px; margin: 0 50px; }

#header div, #content, #footer-contents {
	max-width: 900px; margin: 0 auto;
}

#header div { position: relative; }

/* header */

#header {
	height: 38px;
	position: relative;
	border-bottom: 1px solid #A1A6B1;
	background: #808080 url("header-background.png") top repeat-x;
	z-index: 1;
}

#header h1 { margin: 0;	}

#header h1 img {
	font-weight: bold;
	color: #7f7c45;
}

#header ul {
	padding: 0;
	margin: 0;
	list-style: none;
	border-left: 1px solid #576178;
	border-right: 1px solid #1f2635;
	position: absolute;
	top: 0;
}

#header li {
	float: left;
	padding: 0;
	margin: 0;
}

#header ul span, #header ul a:link, #header ul a:visited {
	display: block;
	float: left;
	padding: 10px 15px;
	text-decoration: none;
	border-right: 1px solid #576178;
	border-left: 1px solid #1f2635;
	color: #dee0e5;
	height: 36px;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 16px;
} #ignored {}

#header ul li span,
#header ul li a.current,
#header ul li a:hover {
	background: #e03d3d;
	color: #fff;
	text-decoration: underline;
}

#header ul li span,
#header ul li a.current {
	text-decoration: none;
}

/* subnav */

#subnav {
	background: #F7F8F8 url("subnav-background.png") bottom repeat-x;
	padding-top: 4px;
	padding-bottom: 30px;
	font-size: 85%;
	color: #999;
}

#subnav a:link,
#subnav a:visited {
	color: #666;
}

#subnav a:hover,
#subnav a:active {
	color: #333;
}

/* footer */

#footer {
	clear: both;
	margin-top: 3em;
	margin-bottom: 1em;
	color: #888;
	text-align: center;
float:left;
width:100%;
}

#footer-contents {
	padding: 0;
    padding: 25px 50px;
	border-top: 1px solid #C9D0E0;
}

#footer ul#footer-menu {
	position: relative;
	top: -0.8em;
	margin: 0 1em 0 1em;
	padding: 0;
	list-style-type: none;
}

#footer ul#footer-menu li {
	display: inline;
	background: #fff;
	margin: 0 1em;
}

#footer ul#footer-menu li a {
	margin: 0 1em;
	white-space: nowrap;
}

#footer p {
	margin: 0.3em;
	clear: both;
}

#footer {
	background: url("footer.png") top repeat-x;
	text-align: left;
	margin-top: 4em;
	font-size: 85%;
}

#lang_form {
	float: right;
}

#lang_form select,
#lang_form input {
	font-size: 85%;
}

#footer-contents {
	border: none;
}

#footer p {
	margin-top: 0;
	clear: none;
}

#footer a {
	color: #888;
	margin-right: 2em;
}

/* corner box */

.corner-box {
	background: url("left-top-corner-box.jpg") top left no-repeat;
	padding: 12px 15px;
}

.corner-box-right {
	background: url("right-top-corner-box.jpg") top right no-repeat;
	padding: 12px 15px;
}

.corner-box h3,
.portal-box-contents .corner-box h3 {
	margin-top: 0;
}
