body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: url("../images/header.png") repeat-x scroll center top #FFFFFF;
}

#page
{
	width: 970px;
	border: 0 none;
    margin: 0 auto;
    padding: 0;
}

#header
{
    width: 970px;
	height: 150px;
	border: 0 none;
    margin: 0;
    padding: 0;
}

#content
{
    padding: 0;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
}

#logo
{
	padding-top: 38px;
}

#mainmenu
{
	text-align: right;
	height: 25px;
}

#mainmenu ul
{
	display: inline;
	margin: 0px;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding:3px 5px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

/* Table layouts */
table
{
	width: auto;
}

td {
    padding: 5px 5px 0 5px;
}

/* Table head */
thead th
{
	text-align: center;
}

/* Heading margins */
h1
{
	margin-bottom: 20px;
}

h5
{
	margin-bottom: 10px;
}

/* Layout fix for Flot charts */
.legend table
{
	border-collapse: separate !important;
	border-spacing: 2px !important;
	font-size: inherit !important;
	margin: 0 !important;
	vertical-align: inherit !important;
	width: auto !important;
}

.legend table td.legendLabel, .legend table td.legendColorBox
{
    border: inherit;
    padding: 1px;
    text-align: left;
}

.chart-legend table
{
	margin: 0px auto 10px auto;
}

.centered
{
	text-align: center;
}

#input-options {
	border: 2px solid #c00000;
	margin: 0 -10px 20px -10px;
	padding: 8px;
}

#input-options h2 {
	color: #c00000;
}


#input-options table {
	width: 100%;
	margin-bottom: 0;
}

#input-options table td {
	padding: 0;
	width: 194px;
	text-align: center;
}

#input-options table td.output {
	font-weight: bold;
	color: #c00000;
}

#input-options input[type="text"], #input-options select {
	width: 175px;
	background-color: #bfbfbf;
	border: none;
	padding: 4px 3px;
}

#input-options select {
	width: 179px;
	padding: 3px;
}

#input-options input[type="submit"] {
	width: 179px;
	padding: 2px;
	background-color: #cb2b2b;
	color: #ffffff;
	font-weight: bold;
}

#main-result {
	margin-bottom: 20px;
}

#main-result table {
	width: 100%;
}

table.result-table {
	border-collapse: collapse;
}

table.result-table th, table.result-table td {
	border: 1px solid #ffffff;
}

table.result-table thead th {
	background-color: #7f7f7f;
	color: #ffffff;
}

table.result-table td {
	text-align: right;
	padding: 3px;
}

table.result-table td:first-child {
	text-align: left;
}


table.result-table td.risk-profile {
	text-align: left;
}

table.result-table td.centered {
	text-align: center;
}

.aggregate-1 {
	background-color: #b8cce4;
}

.aggregate-2 {
	background-color: #e6b9b8;
}

.aggregate-3 {
	background-color: #c2d69a;
}

.aggregate-1-1 {
	background-color: #dbe5f1;
}

.aggregate-1-2 {
	background-color: #b8cce4;
}

.aggregate-1-3 {
	background-color: #95b3d7;
}

.aggregate-2-1 {
	background-color: #f2dddc;
}

.aggregate-2-2 {
	background-color: #e6b9b8;
}

.aggregate-2-3 {
	background-color: #d99795;
}

.aggregate-3-1 {
	background-color: #eaf1dd;
}

.aggregate-3-2 {
	background-color: #d7e4bc;
}

.aggregate-3-3 {
	background-color: #c2d69a;
}

#main-result .chart {
	display: inline-block;
	width: 480px;
}

#main-result .chart h4 {
	text-align: center;
	margin-bottom: 5px;
}

#detailed-result table {
	width: 100%;
}

#detailed-result table tbody td {
	font-size: 10px;
}
