	/* General styles */
body {
	margin: 0;
	padding: 0;
	border: 0; /* This removes the border around the viewport in old versions of IE */
	width: 100%;
	background: #fff;
	min-width: 600px; /* Minimum width of layout - remove line if not required */
	/* The min-width property does not work in old versions of Internet Explorer */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
}

a { color: #0000e0; text-decoration: none; }

a:hover { color: #fff; background: #0000e0; text-decoration: none; }

	
h1, h2, h3 {
	margin: .8em 0 .2em 0;
	padding: 0;
	font-variant: small-caps;
}

p { margin: .4em 0 .8em 0; padding: 0; }

img { margin: 10px 0 5px; }
	
	/* Forms */
.nxform {
	background-color: #f4f4f4;
	border: 1px solid #000000;
	color: #000000;
}

.msg_error {
	background-color: #ffaaaa;
	border: 1px solid #ff0000;
	color: #ff0000;
	align: center;
	text-align: center;
	font-weight: bold;
	padding: 3px;
}
	
.msg_confirm {
	background-color: #ccffcc;
	border: 1px solid #00ff00;
	color: #00ff00;
	align: center;
	text-align: center;
	font-weight: bold;
	padding: 3px;
}

.sdn_table { 
	border: 2px solid black; 
	padding: 0px;
	border-collapse: collapse;
}

.sdn_th {
	border: 1px solid black;
	background-color: #989898;
	color: black;
	padding: 4px;
	text-align: left;
	font-weight: bold;
}
	
.sdn_tda {
	border: 1px solid black;
	background-color: white;
	color: black;
	padding: 4px;
}

.sdn_tdb {
	border: 1px solid black;
	background-color: #e5e5e5;
	color: black;
	padding: 4px;
}
		
#menu ul {
	clear: left;
	float: left;
	width: 100%;
	list-style: none;
	margin: 10px 0 10px 0;
	padding: 0;
}

#menu ul li { list-style: none; margin: 0; padding: 0; }

#menu ul li a {
	color: black;
	display: block;
	margin: 0 0 0 1px;
	padding: 3px 10px 3px;
	text-align: left;
	text-decoration: none;
	position: relative;
	left: 15px;
	position: relative;
	font-weight: bold;
}
	
#menu ul li a:hover { color: black; background: #989898; }

#menu ul li a.visited,
#menu ul li a.visited:hover { color: #fff; background: #000; font-weight: bold; }

#menu ul li a span { display: block; }

/* Topmenu */
#topmenu { clear: both; float: inherit; width: 100%; }
	
#topmenu ul {
	clear: left;
	float: left;
	width: 100%;
	list-style: none;
	margin: 10px 0 0px 0;
	padding: 0;
	border-bottom: 1px solid #000;
}

#topmenu ul li {
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;
}

#topmenu ul li a {
	color: black;
	display: block;
	float: left;
	margin: 0 0 0 5px;
	padding: 3px 10px 3px;
	text-align: center;
	background: #f4f4f4;
	text-decoration: none;
	left: 15px;
	font-weight: bold;
	border: 1px solid black;
	width: 120px;
	border-bottom: 0px;
}

	#topmenu ul li a:hover { color: black; background: #989898; }

	#topmenu ul li a.visited,
	#topmenu ul li a.visited:hover { color: white; background: black; font-weight: bold; }

	#topmenu ul li a span { display: block; }

/* Login */	
	
#login { margin: 10px 0 10px 0; text-align: center; }

#content { clear: both; float: left; position: relative; }
	
#contentmenu {
	border-top: 1px solid #000;
	clear: both;
	float: left;
	position: relative;
}

.small { font: 8pt Verdana Geneva Arial Helvetica sans-serif; }

	/* Header styles */
	#header {
	clear: both;
	float: left;
	width: 100%;
	font-family: "Times New Roman", serif;
	height: 146px;
	background-color: #000000;
	text-align: center;
	padding-bottom: 5px;
	padding-top: 5px;
}

	
#logo { vertical-align: middle; text-align: center; }

	/* 'widths' sub menu */
	#layoutdims {
	clear: both;
	background: #eee;
	border-top: 4px solid #000;
	margin: 0;
	padding: 6px 15px !important;
	text-align: right;
}

	/* column container */
	.colmask {
	position: relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear: both;
	float: left;
	width: 100%; /* width of whole page */
	overflow: hidden; /* This chops off any overhanging divs */
}

	/* 2 column left menu settings */
	.leftmenu { background: #f4f4f4; }

    .leftmenu .colright {
	float: left;
	width: 200%;
	position: relative;
	left: 200px;
	background: #fff;
}

    .leftmenu .col1wrap {
	float: right;
	width: 50%;
	position: relative;
	right: 200px;
	padding-bottom: 1em;
}

	.leftmenu .col1 {
	margin: 0 15px 0 215px;
	position: relative;
	right: 100%;
	overflow: hidden;
}

    .leftmenu .col2 {
	float: left;
	width: 170px;
	position: relative;
	right: 185px;
}

	/* Footer styles */
	#footer {
	clear: both;
	float: left;
	width: 100%;
	border-top: 1px solid #000;
}

    #footer p {
	text-align: center;
	padding: 10px;
	margin: 0;
	font: 8pt;
}