/*-- style sheet has six sections for ease of maintainance --*/
/*------ Bad Typography sheet - based on formal, but almost all typo removed ---*/
/*------ section 0: cleanup ------*/
/*------ section 1: typo ------*/
/*------ section 2: colour ------*/
/*------ section 3: layout ------*/
/*------ section 4: nav ------*/
/*------ section 5: IE fixes ------*/


/*------ section 0: cleanup ------}
  /* Purpose: undo the default styling of common browsers */
  /* derived from UndoHTML by Tantek Celik */
  /* link underlines can make hypertext less readable */
  /* I often reverse this, as users are used to underlined */
:link,:visited {text-decoration:  none;}

  /* list often used for menus etc, so remove icons etc */
ul,ol {list-style: none;}

  /* avoid browser default inconsistent heading font-sizes */
  /* and pre/code too */
h1,h2,h3,h4,h5,h6,pre,code,p {font-size: 1em;}

  /* remove the inconsistent (among browsers) default ul,ol padding or margin  */
body,html,ul,ol,li,h1,h2,h3,h4,h5,h6,p, pre,form,blockquote,fieldset,input {
  margin: 0;
  padding: 0;
}

  /* get rid of stupid borders round linked images */
a img,:link img,:visited img {border:none}

  /* de-italicize address */
address {font-style:normal}


/*!------ section 1: typo ------*/
    /* typographic settings for site, font typs & sizes*/
    /* line-height is included here, as is list styling */


#wrapper{
font: bold 0.85em "Times New Roman", Times, serif;
line-height: 90%;
text-align: right;
}

/*------ section 2: colour ------*/
  /* To manage:
  colour schemes
  borders
  background pics
  links */

  /*--- general colour---*/
body {
  color: #555;
  background: white url(/images/css/formal/tree.jpg) no-repeat top left fixed;
}
#wrapper {background-color: transparent;}
  /*--- links colour main content--- */
a:link {text-decoration: underline;}

a:link     {color: black;}/* #08F; */
a:visited  {color: black;} /*#800;}*/
a:hover    {background-color: blue; color: white;}

  /*--- links colour secondary content */
#contentsec a{color: black;}
#contentsec a:visited{color: #black;}
#contentsec a:hover {
  color: white;
  background-color: black;
}

  /*--- header colour ---*/
#header {
  background-color: edebd5;
}
#header_marg {
  background-color: transparent;
}
h1 {color: black;}

  /*--- content colour---*/
#content, #helps2, #footer {
  color: #555;
  background: transparent url(/images/css/bwtree/contentgrad2_.jpg) repeat-y top left fixed;
}
#content_marg {background-color: transparent;}

#content li{
  list-style: square;
}
#content p.para1 {color: #333;}
#contentsec {
  background-color: transparent;
  background: white url(/images/css/formal/tree_g3.jpg) no-repeat top left fixed;
}
#contentsec_marg {
  color: black;
  background-color: transparent;
}

#helps2 {
  color: black;
}
  /*--- footer colour---*/
#footer{
  border-bottom: 10px solid black;
}

#footer_marg{background-color: transparent;}


/*------ section 3: layout ------*/
   /*--- main sections layout ---*/
#wrapper {
  position: relative;
  left: 50%;
  width: 760px;
  margin-left: -380px;
}
#wrapper_marg {
  position: relative;
  width: 100%;
}
body {
  position: relative;
}
#header {
  padding-left: 0;
  padding-right: 0;
}
#content, #nav_local, #footer{
  margin-left: 25%;
  padding-left: 3%;
  padding-right: 0;
}
#pid_home #content, #pid_home #nav_local, #pid_home #footer {
  padding-left: 3%;
  padding-right: 0%;
}

  /*--- helps detailed layout ---*/
#helps {
  position: absolute;
  right: 0;
  top: 4em;
}
#helps2 {
  padding-top: 2em;
  margin-left: 25%;
  padding-left: 3%;
}

  /*--- header detailed layout ---*/
#homepic {
  position: absolute;
  top: 45px;
  left: 12.5%;
  margin-left: -80px;
  display: none;
}
h1 {
  padding: 4em 1% 0.15em 0;
}
h1 span {
  display: block;
}
#strapline {
  margin-top: -3.5em;
  padding: 0 0 3em 0;
}

  /*--- content detailed layout---*/
#content_marg{
  position: relative;
  /*margin-right: 15%;
  margin-left: 5%; */
  padding-top: 20px;
}
#pid_home #content_marg{
  margin-right: 0;
  margin-left: 0;
  width: 100%; /*needed for IE5, otherwise interior columns width based on windowport*/
}

#sec1, #sec2, #sec3, #sec4{
  position: relative;
  float: left;
  top: 5px;
  width: 49%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-bottom: 20px;
}
#sec2,  #sec4 {float: right;}
#sec3{clear: both;} 
#sec1_marg,  #sec3_marg {padding: 2px 5px 2px 0;}
#sec2_marg, #sec4_marg {padding: 2px 0 2px 5px; }
#eocontent {
  position: relative;
  top: 1em;
  clear: both;
}
#content h2 {
  padding: 0.35em 5px 0.15em 0;
  margin-bottom: 0.15em;
}
#content h3 {
  padding: 5px 5px 0.15em 0;
  margin: 0.25em 20px 0.25em 10px;
}
#content p{
  padding-bottom: 0.75em;
  margin-left: 0px;
  margin-right: 10%;
}
#content p.para1{margin-left: 0;}
#content p.permalink {margin-top: -0.6em; padding-left: 20px; margin-bottom: 0.75em}
#content blockquote{padding-bottom: 0.75em;}
#content ul{
  list-style: square;
  padding-bottom: 0.75em;
  margin-left: 0;
  padding-left: 0;
}
#content ul li{
  margin-left: 0;
  margin-bottom: 3px;
  margin-right: 10%;
}
#pid_home #content p, #pid_home #content li {
  margin-right: 0;
}

#content .sample {text-align: center;}
#pid_show #content img{margin: 5px 10px 10px 10px; border: 5px solid black;}
 
#pid_home #content .sample img{
  border: 10px solid black;
  background-color: #888;
  padding: 1px;
}

  /*--- content secondary detailed layout---*/
#contentsec {
  position: absolute;
  top:  14em;
  left: 0;
  padding: 0 9px 5px 9px;
  width: 20%;
}
#contentsec_marg {
  margin-top: 0;
  padding: 2px 2px 10px 8px;
}
#contentsec h2 {
  padding: 0.75em 0 .25em 3px;
  margin: 0.25em 1px 2px -4px;
}
#contentsec p{padding-bottom: 0.75em;}

  /*--- footer detailed layout ---*/
#footer {
  padding-top: 25px;
  padding-bottom: 1em;
}


/*------ section 4: nav ------*/
  /*--- navigation layout/font/colours in one place ---*/
#nav {
  position: absolute;
  top: 0;
  left:  0;
  width: 100%;
  text-align: left;
  font-weight: bold;
  background-color: transparent;
}
#nav_marg {
  margin: 0 0 10px 0;
  background-color: #222;
  padding: 2px 0 2.5em 0;
}
#nav h2{
  padding: 10px 0 0 10px;
  text-transform: uppercase;
  float: left;
  display: none;
}
#nav ul {
  padding: 0 5px 0.25em 5px;
  float: left; /*forces height to ul - need to clear at #content */
}
#nav ul li {
  float: left;
  display: block;
  padding: 10px 0 5px 0;
  color: black;
}
#nav ul li a {
  padding: 5px 4px;
  font-weight: bold;
}
#nav li a:link, #nav li a:visited {color:#eee;}
#nav li a:hover{
  color: black;
  background-color: white;
  border-top: 3px solid #888;
}

#pid_home li#navlnk_home a,
#pid_basic li#navlnk_basic a,
#pid_wedo li#navlnk_wedo a,
#pid_show li#navlnk_show a,
#pid_lens li#navlnk_lens a{
  color: white;   /* grey*/
  background-color:#111; /* #edebd5;*/
  text-decoration: none;
  border: none;
  border-top: 5px solid white;
}

/*----- local navigation -----*/
#content{
  clear:left;    /*clearing floats in nav_local */
}
#nav_local {
  /*width: 100%;*/
  position: relative;
  padding-bottom: 0;
}
#nav_local_marg{
  background-color: #666;
  padding-bottom: 2em;
}
#nav_local ul{
  margin-left: 0;
  background-color: transparent;
  float: left; /*forces height to ul - need to clear at #content */
  position: relative; /*peekaboo bug*/
}
#nav_local ul li{
  font-size: 80%;
  font-weight: bold;
  list-style: none;
  float: left;
  display: block;
  margin-left: 0;
  padding: 11px 0 0 3px; /* IE top pad for li must be high enough for pad for a*/
  position: relative; /*peekaboo bug*/
}

#nav_local ul li#curr_tab{
  color: #edebd5;
  background-color: transparent;
  font-weight: bold;
  border-bottom: none;
}
#nav_local ul li#curr_tab span{
  padding-left: 3px;
  padding-right: 3px;
}

#nav_local ul li a{
  color: white;
  padding: 7px 5px 0 5px;
}
#nav_local ul li a:hover{
  color: black;
  background-color: white;
  border-top: 2px solid #aaa;
}

#nav_local ul li#curr_tab a {
  color: white;
  text-decoration: none;
  border-top: 3px solid white;
}
#nav_local ul li#curr_tab a:hover {
  background-color: black;
  color: white;
}
/*----- page contents navigation -----*/
#page_content {
  text-align:center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 110%;
  text-transform:uppercase;
}
#page_content a{
  padding-left: 2px;
  padding-right: 2px;
  border-right: 1px solid #888;
}

/*------ hiding items not relevant to this layout ----- */
.non_show, .non_def{display: none;}

/*------ section 5: IE fixes ------*/
  /* peekaboo bug needed to make section appear */
#content h2, #content li{position: relative;}

/* IE5/6 dont support fixed attachments */
* html #contentsec {
  background: transparent url(/images/css/formal/trans.gif) repeat left top;
  background-color: transparent;
}

