body {
	margin: 0 0 20px 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1em;
	color: #000000;
	position: relative;
	background-image: url(images/pagebackground.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
}

div#page {
	position: relative;
	margin: 0 6px 20px 6px;
}

/* ----- banner image and top bar styles ----- */
div#bannerArea {
	position: relative;
	background-color: #FFFFFF;
	padding: 11px 6px 6px 6px;
}

div#banner {
	position: relative;
	width: 99%;
	background-image: url(images/bnr_bg.gif);
	background-position: top left;
	background-repeat: repeat-x;
}

img#bannerMain {
}

img#bannerCurve {
	position: absolute;
	right: 0;
	top: 0;
}

div#topBarArea {
	position: relative;
	height: 1.1em;
	border: 1px solid #c6c6c6;
}
/* -------------------------------------------- */


/* --------------- interface form input --------------- */
form.formInput {
	margin: 0;
	padding: 0;
}

input.textInput {
	border: 1px solid #c6c6c6;
	font-size: .7em;
	height: 16px;
	padding: 1px;
	color: #aaaaaa;
}
/* -------------------------------------------- */


/* --------------- Left bar area stuff --------------- */
div#leftBarArea {
	position: absolute;
	left: 6px;
	padding: 10px 0 20px 0;
}

div#leftBarAreaContent {
	position: relative;
	border: 2px solid #c6c6c6;
	border-bottom: none;
	width: 172px;
	padding: 10px 5px 10px 5px;
}

div#leftBarAreaContentBottomCurve {
	/* overcomes a ridiculas rendering error in ie */
	position: relative;
	border: 2px solid #c6c6c6;
	border-top: none;
	height: 16px;
	width: 172px;
	padding: 0 5px 0 5px;
}

div#leftBarAreaContent h1 {
	color: #166699;
	font-size: 1.2em;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

div#leftBarAreaContent ul#subNav {
	position: relative;
	list-style: none;
	margin: .5em 0 0 0;
	padding: 0;
	width: 100%;
}

div#leftBarAreaContent ul#subNav li {
	position: relative;
	border: 1px solid #c6c6c6;
	display: block;
	margin: .1em;
	padding: 0;
	height: 1em;
}

div#leftBarAreaContent ul#subNav li a {
	position: relative;
	display: block;
	text-decoration: none;
	color: #000000;
	text-transform: uppercase;
	margin: 0 0 0 .5em;
	padding: 0; 
	vertical-align: middle;
	font-size: .6em;
}

div#leftBarAreaContent ul#subNav li a:hover {
	color: #166699;
}

div#calanderArea {
	position: realtive;
	padding: 0;
	margin: .5em 0 0 0;
	text-align: center;
	width: 100%;
}

div#calanderArea form {
	margin: 0;
	padding: 0;
}

div#calanderArea table {
	text-align: center;
	margin: auto;
}

div#subscribeArea {
	margin-top: 1em;
}

div#subscribeArea form h2 {
	margin: 0;
	padding: 0;
	font-size: .9em;
}

div#subscribeArea form input#subScribeFirstName {
	width: 130px;
}

div#subscribeArea form input#subScribeSecondName {
	width: 130px;
}

div#subscribeArea form input#subScribeEmail {
	width: 130px;
}

div#subscribeArea form input#subscribeButton {
	margin: -4px;
	padding: -4px;
}

a#scalping {
	position: relative;
	margin: 20px 0 0 33px;
	padding: 0;
	display: block;
}

a#scalping img {
	position: relative;
	border: none;
}

a#QldMegafan {
	position: relative;
	margin: 20px 0 0 33px;
	padding: 0;
	display: block;
}

a#QldMegafan img {
	position: relative;
	border: none;
}
/* -------------------------------------------- */

/* ------------------ logo stuff in the left bare -------------------------- */
div#logoArea {
	margin-top: 1em;
}

div#logoArea p {
	margin: 0;
	padding: 0;
	color: #999999;
	font-size: .5em;
}

div#linksArea {
	margin-top: 1em;
}

div#linksArea a {
	margin: .25em;
	padding: 0;
	font-size: .7em;
	display: inline;
	color: #166699;
	text-decoration: none;
}
/* -------------------------------------------- */


/* --------------- Search bar area stuff -------------- */
div#searchBarArea {
	position: relative;
	margin: 10px 0 0 173px;
	text-align: right;
}

div#searchBarArea form span {
	margin: 0;
	padding: 0;
	font-weight: bold;
	color: #000000;
	font-size: .8em;
}

div#searchBarArea form input#searchInput {
	position: relative;
	font-size: .8em;
	margin: 2px;
	width: 130px;
}

div#searchBarArea form input#searchButton {
	margin: -4px;
	padding: -4px;
}
/* -------------------------------------------- */


div#contentArea {
	position: relative;
	margin: 10px 0 20px 203px;
}


/* --------------- styles for placing curved edges on any box ----------------------- */
/*-- boxes that have 1px borders --*/
img.topLeftCurve1px {
	position: absolute;
	top: -1px;
	left: -1px;
}
img.topRightCurve1px {
	position: absolute;
	top: -1px;
	right: -1px;
}
img.bottomLeftCurve1px {
	position: absolute;
	bottom: -1px;
	left: -1px;
}
img.bottomRightCurve1px {
	position: absolute;
	bottom: -1px;
	right: -1px;
}

/*-- boxes that have 2px borders --*/
img.topLeftCurve2px {
	position: absolute;
	top: -2px;
	left: -2px;
}
img.topRightCurve2px {
	position: absolute;
	top: -2px;
	right: -2px;
}
img.bottomLeftCurve2px {
	position: absolute;
	bottom: -2px;
	left: -2px;
}
img.bottomRightCurve2px {
	position: absolute;
	bottom: -2px;
	right: -2px;
}
/* ------------------------------ end curve styles ---------------------------------- */

br.clearAll {
	clear: both;
}


/* ------------------------------ main menu styles ---------------------------------- */
#mainNav {
	position: absolute;
	top: 109px;
	left: 12px;
	z-index: 100;	
}

#mainNav, #mainNav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1.2em;
	font-size: .75em;
	text-transform: uppercase;
}

#mainNav a {
	display: block;
	color: #000000;
	font-size: 1em;	
	/*height: 1.5em;			 combined with line-height */
	line-height: 1.5em;		/* these decide how far below the top level the sub lists start */
	text-decoration: none;
	text-align: center;
	padding-left: 1.5em;
	padding-right: 1.5em;
	white-space: nowrap;
	border-right: 1px solid #c6c6c6;
}

#mainNav a:hover {
	font-size: 1em;
}

#mainNav li { /* all list items */
	float: left;
	/*height: 1.7em;   distance between each item in the sub lists */
	white-space: nowrap;
}

#mainNav li ul { /* second-level lists */
	position: absolute;
	width: 18em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	background-color: #FFFFFF;
	border: 1px solid #c6c6c6;
	font-size: 1em;
	font-weight: normal;
}

#mainNav li ul li {
	border: none;
	width: 100%;
	background-image: none;
	padding: none;
	white-space: normal;
}

#mainNav li ul li a {
	color: #000000;
	text-align: left;
	font-size: .9em;
	font-weight: normal;
	padding: none;
	white-space: normal;
	border-right: none;
}

#mainNav li ul li a:hover {
	background-color: #D8E1EA;
	font-size: .9em;
}

#mainNav li ul ul { /* third-and-above-level lists */
	margin: -1.5em 0 0 15em;
}

#mainNav li:hover ul ul, #mainNav li:hover ul ul ul, #mainNav li.sfhover ul ul, #mainNav li.sfhover ul ul ul {
	left: -999em;
}

#mainNav li:hover ul, #mainNav li li:hover ul, #mainNav li li li:hover ul, #mainNav li.sfhover ul, #mainNav li li.sfhover ul, #mainNav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
ul#design {
	float: right;
	font-family: "Trebuchet MS", Arial, helvetica, sans-serif;
	font-size: 10px;
	margin: 0px 20px 0px 0px;
	padding: 0px;
	list-style-type: 0px;
}
ul#design a {
	color: #6d6e71;
}
ul#design li {
	border-right: 1px solid #6d6e71;
	display: inline;
	padding: 0em 0.8em;
}
ul#design li.NIMLastItem {
	border-right: 0px;
}
