/* ==========================================
Copyright University of Auckland 2004
Created by Brent Simpson, brent.simpson@auckland.ac.nz
Centre for Flexible and Distance Learning
============================================= */

#header {
    color: #006699;
    background-color: transparent;
    height: 10px;
    padding-left: 50px;
    font-size: 2.2em;
    font-weight: bold;
}

#navcontainer {
   z-index:1000;
   width: 250px;
   float: left;
   margin-top: 10px;
   text-align:left;
   background-image: url(main_bg.gif);
   font: .9em;
   border-top: 1px solid #006699;
   
}

#navcontainer ul {
   margin-left: 0px;
   padding-left: 0px;
   margin-top: 0px;
   list-style-type: none;
   font-family: Verdana;  
   
}

#navcontainer a {
   display: block;
   width: 229px;
   padding: 4px 0px 4px 18px;
   border-bottom: 1px solid #006699;
   
   border-left: 1px solid #006699;
   border-right: 1px solid #006699;
   
   
}

#navcontainer a:link, #navlist a:visited {
   color: #000000;
   background-color: #c5d2e7;
   text-decoration: none;
   width: 229px;
   
   }

#navcontainer a:hover {
   color: #ffffff;
   background-color:#43618f;
   
}

/* Hide from IE5-mac. Only IE-win sees this. Fixes the peek-a-boo bug!!! */
* html #navcontainer {
margin-right: 10px;
}
* html p {
height: 1%;
margin-left: 0;
}
/* End hide from IE5/mac */


/* nodes with children get expandable icon */
.withChild {
 background-image: url(expand.gif);
 background-repeat: no-repeat;
 background-position: 2px 9px;
 
}

#active.withChild {
padding: 4px 0px 4px 18px;
background-color: #6289b4;
background-image: url(collapse.gif) !important;
background-repeat: no-repeat;
color: #fff;
width: 231px;
border-bottom: 1px solid #006699;
}

#active.withoutChild {
padding: 4px 0px 4px 18px;
background-color: #6289b4;
color: #fff;
width: 229px;
border-left: 1px solid #006699;
border-right: 1px solid #006699;
border-bottom: 1px solid #006699;
}

/* subnav is for displaying sections and units */

#subnav a {
width: 218px;
padding: 4px 0px 4px 18px;

}

#subnav a:hover {
color: #fff;
background-color: #6289b4;

padding: 4px 0 4px 18px;
width: 229px;
}	

#subnav #active {
background-color: #6289b4;
color: #fff;
width: 229px;
padding: 4px 0 4px 18px;

}	

div > #subnav .withChild {
background-image: url(expand.gif) !important;
background-repeat: no-repeat !important;
background-position: 14px 9px !important;
}

#subnav  div.withChild {
background-image: url(collapse.gif) !important;
background-repeat: no-repeat !important;
background-position: 14px 9px !important;
}

#subnav .withoutChild  div {
padding-left: 12px;
width:218px;
}

#subnav .withoutChild #active {
width:210px;
margin-left: 0px;
padding-left: 40px;
}

#subnav .withoutChild div a:hover {
width:177px;
margin-left: 0px;
padding-left: 42px;
}
	
/* MAIN CONTENT STYLES */
#container {
border-top: 0px solid #006699;
position:absolute;
}

#main {
	padding: 18px;
	margin: 0px 10px 10px 180px;
	margin-left: 250px;
	margin-top: 30px;
	text-align:left;
	width:840px;
	background-color:fff;
	
	
}
