/* ==========================================
Copyright University of Auckland 2004
Created by Brent Simpson, brent.simpson@auckland.ac.nz
Centre for Flexible and Distance Learning
============================================= */

body {
   background-image:url(page_bg.gif);
   background-position:top left;
   background-repeat:repeat-y;
   margin: 0px;
}

#header {
    color: #4D4D4D;
    background-color: #E0DFD8;
    height: 100px;
    padding-left: 20px;
    font-size: 2.2em;
    font-weight: bold;
}

#navcontainer {
   background-image:url(top_nav.jpg);
   background-position:top left;
   background-repeat:no-repeat;
   z-index:1000;
   width: 250px;
   height: 100%; /* the holly hack for IE! */
   float: left;
   margin-top: 0px;
   padding-top: 82px;
   text-align:left;
   position:absolute;
   background-color:transparent;
}

#navlist {
   margin-left: 30px;
   position:absolute;
}

#navcontainer ul {
margin-left: 30px;
padding-left: 0;
margin-top: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}

#navcontainer a {
display: block;
padding: 4px 0 4px 6px;
background-color: #FFF;
border-bottom: 1px solid #ffffff;
width: 163px;
border-top: 1px solid #ffffff;
}

#navcontainer a:link,
#navlist a:visited {
color: #4d4d4d;
background-color: #E0DFD8;
text-decoration: none;
}

#navcontainer a:hover {
color: #4d4d4d;
background-color:#c7c5b9;
}

/* 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 */

div #active {
padding: 3px 0 3px 20px;
width: 149px !important; /* the Housley Hack for Firefox... */
width: 163px; /* for IE */
background-color: #706F61;
color: #ffffff;
border-bottom: 1px solid #fff;
border-top: 6px solid #706f61;
background-image:url(active_bg.gif);
background-position:left middle;
background-repeat:no-repeat;
}

div #subnav {
}

#subnav a {
display: block;
border: 0 !important;
width: 153px;
margin-left: 10px;
padding: 4px 0 4px 6px;
font-size: 12px;
font-size:11px;
}

#subnav a:hover {
color: #4d4d4d;
background-color: #C7C5B9;
font-size:11px;
}	

#subnav #active {
margin-left: 10px;
background-color: #706F61;
width: 139px !important; /* the Housley Hack for Firefox... */
width: 153px; /* for IE */
color: #ffffff;
font-size:11px;
background-image:url(active_bg.gif);
background-position:left middle;
background-repeat:no-repeat;
height: 15px;
border-top: 2px solid #706f61;
}	

/* MAIN CONTENT STYLES */

#container {
border-top: 0px solid #CCC;
position:absolute;
}

#main {
margin-left: 260px;
margin-top: 0px;
position:absolute;
text-align:left;
width: 65%;
}
