/*********************************************
* Author:     Danny Clark                    *
* Web:        http://www.aerovisionit.co.uk/ *
* Mail:       info@aerovisionit.co.uk        *
* Version     1.0                            *
*********************************************/

/* Main structured layout */

body {
	background-color:#000000;
	background-image:url(../images/mainback.jpg);
	background-position:top;
	background-repeat:no-repeat;
	margin-top: 0px;}

#wrapper {
	margin-left: auto;
	margin-right: auto;
	height: 1490px;
	width: 860px;}
	
#header {
	height: 190px;
	width: 860px;}
	
#logo {
	height: 90px;
	width: 245px;
	margin-left: 0px;
	margin-right: auto;
	float: left;}
	
#headspace1 {
	height: 90px;
	width: 255px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	
#login {
	height: 90px;
	width: 120px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	
#sitemap {
	height: 90px;
	width: 120px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	
#contact {
	height: 90px;
	width: 120px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	
#headspace2 {
	height: 50px;
	width: 860px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	
#mainnav {
	text-align: left;
	height: 45px;
	width: 860px;
	margin-left: 0px;
	margin-right: auto;
	float:left;}
	

	
#content {
	margin-top: 33px;
	margin-left: auto;
	margin-right: auto;
	height: 1116px;
	width: 860px;
	/**position:absolute;
	left: auto;
	right: auto;
	top: 220px;**/}
	
#top {
	height: 14px;
	width: 860px;
	margin-left: auto;
	margin-right: auto;}
	

	
#leftmarg {
	background-image:url(../images/left.gif);
	background-repeat: repeat-y;
	height: 1088px;
	width: 10px;
	float:left;
	margin-left: 0px;
	margin-right: auto;}
	
#col1 {
	background-color:#FFFFFF;
	height: 1088px;
	width: 480px;
	float:left;
	padding-left: 10px;
	margin-left: 0px;
	margin-right: auto;}
		
#col2 {
	background-image:url(../images/contentback.jpg);
	background-repeat: no-repeat;
	background-position:top right;
	background-color:#FFFFFF;
	height: 1088px;
	width: 310px;
	float:left;
	margin-left: 0px;
	margin-right: auto;
	padding-left: 40px;}
	
.test {
	width: 450px;}
	
#rightmarg {
	background-image:url(../images/right.gif);
	background-repeat: repeat-y;
	height: 1088px;
	width: 10px;
	float:left;
	margin-left: 0px;
	margin-right: auto;}
	
#bottom {
	background-image:url(../images/bottom.png);
	background-repeat:no-repeat;
	height: 14px;
	width: 860px;
	margin-left: auto;
	margin-right: auto;
	float:left;}

#footer {
	height: 100px;
	width: 860px;
	float:left;
	margin-left: 0px;
	margin-right: auto;
	text-align: center;}
		

/* Dropdown Menu System */

#mainnav {height:45px; position:relative; z-index:100;}
#mainnav .pad {float:left;}

/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family: calibri, arial, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu li.top a.top_link {display:block; float:left; height:45px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:16px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu li.p1 {width:95px; background:url(../images/navhomeover.jpg) no-repeat;;}
.menu li.p2 {width:95px; background:url(../images/navadviceover.jpg) no-repeat;;}
.menu li.p3 {width:95px; background:url(../images/navmentorover.jpg) no-repeat;;}
.menu li.p4 {width:95px; background:url(../images/navmanageover.jpg) no-repeat;;}
.menu li.p5 {width:95px; background:url(../images/navdataover.jpg) no-repeat;;}
.menu li.p6 {width:95px; background:url(../images/navsurveysover.jpg) no-repeat;;}
.menu li.p7 {width:95px; background:url(../images/navpropover.jpg) no-repeat;;}
.menu li.p8 {width:115px; background:url(../images/navrefover.jpg) no-repeat;;}

 

/* set up the normal unhovered images in the links */
.menu li a#home {width:95px; background:url(../images/navhome.jpg) no-repeat;}
.menu li a#advice {width:95px; background:url(../images/navadvice.jpg) no-repeat;}
.menu li a#mentor {width:95px; background:url(../images/navmentor.jpg) no-repeat;}
.menu li a#manage {width:95px; background:url(../images/navmanage.jpg) no-repeat;}
.menu li a#database {width:95px; background:url(../images/navdata.jpg) no-repeat;}
.menu li a#surveys {width:95px; background:url(../images/navsurveys.jpg) no-repeat;}
.menu li a#prop {width:95px; background:url(../images/navprop.jpg) no-repeat;}
.menu li a#refs {width:115px; background:url(../images/navref.jpg) no-repeat;}



/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;} /* for IE7 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#home:hover, .menu li:hover a#home,
.menu li a#advice:hover, .menu li:hover a#advice,
.menu li a#mentor:hover, .menu li:hover a#mentor,
.menu li a#manage:hover, .menu li:hover a#manage,
.menu li a#database:hover, .menu li:hover a#database,
.menu li a#surveys:hover, .menu li:hover a#surveys,
.menu li a#prop:hover, .menu li:hover a#prop,
.menu li a#refs:hover, .menu li:hover a#refs
 {background:transparent;}

/* keep the 'next' level invisible by placing it off screen. */
.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}

/* set up the first drop down sub level */
.menu :hover ul.sub { margin-left:20px; left:10px; top:40px; background: url(../images/tooltipback.gif); padding:3px 0; white-space:nowrap; width:165px; height:45px; opacity:0.9; filter:alpha(opacity=90);}
.menu :hover ul.sub li {display:block; height:44px; position:relative; float:left; width:113px;}
.menu :hover ul.sub li a {display:block; font-size:16px; height:25px; width:95px; line-height:20px; text-indent:5px; color:#C8C6E1; text-decoration:none; border:3px solid #530000; border-width:0 0 0 0;}
.menu :hover ul.sub li a.fly {background:#000033;}
.menu :hover ul.sub li a:hover {color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#000033; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#000033; color:#fff;} 

/* set up the flyout levels when hovering */
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:95px; z-index:200; height:auto; z-index:300;}

	
