body {
	text-align: center; /* especially for Internet Explorer */
	background-image: url("http://www.fund-king.com/image/market1.jpg");
	min-width: 600px; /* set min-width to the same measurement as the width of outline */
}
#outline {
	text-align: left; /* to undo the setting of body for IE */
	margin-right: auto; /* the two margin settings put the container */
	margin-left: auto;  /* of the page horizontally */
	border: 1px solid #999;
	width: 600px;
	height: 1240px; /* 1000px plus 140 for the logo */
}
#mainContent {
	color: #000;
	background-color: #fff;
	padding:15px;
	font-family: arial, helvetica, sans serif;
	font-size: 13px;
	line-height: 16px;
	text-align: center;
	height: 1070px; /* set to outline height less 30px because we have 15px padding */
	margin-right: auto;
	margin-left: auto;
}
input.invalid {
	background-color: #FF9;
	border: 2px red inset;
}

label.invalid {
	color: #F00;
	font-weight: bold;
}

/*** Nav bar styles ***/

ul.nav,
.nav ul{
/*Remove all spacings from the list items*/
	margin: 0;
	padding: 0;
	cursor: default;
	list-style-type: none;
	display: inline;
}

ul.nav{
	display: table;
	width: 100%;
	table-layout: fixed;
}
ul.nav>li{
	display: table-cell;
	position: relative;
	padding: 2px 6px;
}

ul.nav li>ul{
/*Make the sub list items invisible*/
	display: none;
	position: absolute;
	max-width: 40ex;
	margin-left: -6px;
	margin-top: 2px;
}

ul.nav li:hover>ul{
/*When hovered, make them appear*/
	display : block;
}

.nav ul li a{
/*Make the hyperlinks as a block element, sort of a hover effect*/
	display: block;
	padding: 2px 10px;
}

/*** Menu colors (customizable) ***/

ul.nav,
.nav ul,
.nav ul li a{
	background-color: #fff;
	color: #369;
}


ul.nav li:hover,
.nav ul li a:hover{
	background-color: #369;
	color: #fff;
}

ul.nav li:active,
.nav ul li a:active{
	background-color: #036;
	color: #fff;
}

ul.nav,
.nav ul{
	border: 1px solid #369;
}

.nav a{
	text-decoration: none;
}
