/*-- style sheet has six sections for ease of maintainance --*/

/*------ 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: normal 0.95em Verdana, Tahoma, Helvetica, Arial, sans-serif;}

:link,:visited {text-decoration: underline}

    /*--- helps typo---*/
#helps {text-align: right;}

#helps, #helps2 {font-size: 75%;}

    /*--- header typo---*/
#header {
  font-family:  "Tempus Sans ITC","Comic Sans MS", "Lucida Sans", Verdana, Tahoma, Helvetica, Arial, sans-serif;
}
#header_txt {text-align: center;}
h1 {
  font-size: 250%;
  font-weight: bold;
}
h1 span {font-size: 75%}
#strapline {
  font-size: 125%; 
  font-weight: bold;
}

  /*--- content typo---*/
#content {
  font-size: 80%;
  line-height: 150%;
}
#content h2 {
  font: bold 160% Georgia, "Times New Roman", serif;
  text-align: left;
}
/*#content p, #content ul{font-size: 90%;}*/
#content p.paginate{text-align: center; font-size:90%}
#content p.para1 {color: white;}
#content p.para1 em {font: normal bold 140% Georgia, "Times New Roman", serif;}
#pid_home #content p.para1 {font-size: 110%;}
#content p.permalink {font-size: 80%;}
#pid_home #content p {
  text-align:justify; 
  margin-left: 0; 
}
#pid_home #sec1 p, #pid_home #sec2 p, #pid_home #sec3 p,#pid_home #sec4 p {
  text-align:left; 
  margin-left: 10px;
}
#content blockquote {
  font: italic 100% Georgia, "Times New Roman", serif;
  text-align: center;
  padding: 0 5%;
}
#content p.menomic span, #content ul.menomic li span {
  font-size: 110%;
  font-weight: bold; color: black; 
  background-color: #C9E38A;
  padding-left: 3px;
}
#contentsec {font-size: 70%;}
#contentsec p {line-height: 150%;}


  /*--- footer typo---*/
#footer {
  font-size: 75%;
  text-align: center;
}

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

  /*--- general colour---*/
body {
  color: #EADCD7;
  background-color:  #BDBDBB;
  background: #BDBDBB url(/images/css/bwtree/back3_.jpg) repeat top left;
}

#wrapper {
  background-color: black;
  border: 10px solid black;
}
  /*--- links colour main content--- */
a:link {text-decoration: underline;}

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

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

  /*--- header colour ---*/
#header {
  background: white url(/images/css/bwtree/oakhead.jpg) no-repeat 25% 0%;
  border-bottom:10px solid black;
}
#header_marg {
  background-color: transparent;
}
h1 {color: #BDDE75;} /* #660000;*/

  /*--- content colour---*/
#content, #helps2, #footer {
  color: #BED1DE;
  background:  #002D82 url(/images/css/bwtree/contentgrad2.jpg) repeat-y top left fixed;
}
#content_marg {background-color: transparent; }
#content h2{
  color: #EADCD7;
  border-bottom: 3px solid #a00;
}
#content h3{
  color: #EADCD7;
  border-bottom: 1px solid #a00;
}
#content li{
  list-style: square;
}
#contentsec {
  background-color:   #5B5B55;
  border: 1px solid black;
}
#contentsec_marg {
  color: #FFFFF0;
  background-color: black;
  border: 1px solid #888;
}
#contentsec h2 {
 background:  #9CCE39 url(/images/css/common/gradv.jpg) repeat-x 0% 25%;
 color: #600;
}
#helps2 {
  color: white;
}
  /*--- footer colour---*/
#footer_marg{background-color: transparent;}


/*------ section 3: layout ------*/
   /*--- main sections layout ---*/

#wrapper {
  position: relative;
  margin-right: 7.5%;
  margin-left: 20px;
}
#wrapper_marg {
  position: relative;
  width: 100%;
}

body {
  position: relative;
  max-width: 1100px;
}
#header {
  padding-left: 25%;
  padding-right: 0;
  min-height: 250px;
  max-height: 250px;
}
#content, #nav_local, #footer{
  margin-left: 25%;
  padding-left: 6%;
  padding-right: 15%;
}
#pid_home #content, #pid_home #nav_local, #pid_home #footer {
  padding-left: 3%;
  padding-right: 10%;
}

  /*--- helps detailed layout ---*/
#helps {
  position: absolute;
  right: 0;
  margin-right: 1%;
}
#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: 50px 1% 0.15em 1%;
}
h1 span {
  display: block;
}
#strapline {
  padding: 0em 1% 1.25em 1%;
}

  /*--- 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 5px 0.15em 0;
  margin-bottom: 0.5em;
}
#content h3 {
  padding: 5px 5px 0.15em 0;
  margin: 0.25em 20px 0.25em 10px;
}
#content p{padding-bottom: 0.75em; margin-left: 10px;}
#content p.para1{margin-left: 10px;}
#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: 1%;
  padding-left: 0;
}
#content ul li{margin-left: 25px; margin-bottom: 3px;}
#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:  30px;
  right: 0;
  margin-right: -9%;
  padding: 9px;
  width: 15%;
}
#contentsec_marg {
  margin-top: 0;
  padding: 10px 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: 250px;
  left:  0;
  width: 25%;
  text-align: right;
  font: normal bold 110%/120% Georgia, "Times New Roman", Times, serif;
  background-color: transparent;
}
#nav_marg {
  margin: 10px;
  margin-left: 0;
  background-color: transparent;
  border-right: 1px solid #a00;
  border-top: 1px solid #a00;
}
#nav h2{
  font-size: 120%;
  padding: 0.5em 7px 0.5em 0;
  border-bottom: 1px solid #600;
    text-transform: uppercase;
  /*color: black;
  background-color: #edebd5;*/
}
#nav ul {padding: 0 5px 0.25em 5px;}
#nav li {
  padding: 10px 0 5px 0;
  color: white;
}
#nav li a {
  color: white; 
  padding: 5px 4px;
  font-weight: bold;
}
#nav li a:link, #nav li a:visited {color: #edebd5;}
#nav li a:hover{
  color: black;
  background-color: #edebd5;
  border-bottom: 1px solid #a00;
}


#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: black;   /* grey*/
  background-color: #edebd5;
  text-decoration: none;
  border: none;
  padding-left:20px;
  background: #edebd5 url(/images/css/bwtree/arrow.gif) no-repeat 0% 50%;
}

/*----- local navigation -----*/
#content{
  clear:left;    /*clearing floats in nav_local */
}
#nav_local {
  padding-left: 0;
  padding: 0 0 1em 0;
}
#nav_local ul{
  margin-left: 0;
  background-color: black;
  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: 8px 0 0 0; /* 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: #002D82 url(/images/css/bwtree/contentgrad2.jpg) repeat-y top left fixed; /*same pic as content - fixed is crucial on both to align nicely */
  /*font-size: 100%;*/
  font-weight: bold;
  border-bottom: none;
}
#nav_local ul li#curr_tab span{
  background: transparent url(/images/css/bwtree/arrow_sm.gif) no-repeat 0% 50%;
  padding-left: 10px;
  padding-right: 3px;
}

#nav_local ul li#curr_tab a {
  color: #edebd5;
  border-top: 3px solid white;
  background: #002D82 url(/images/css/bwtree/contentgrad2.jpg) repeat-y top left fixed;
  text-decoration: none;
}
#nav_local ul li a{
  color: #bed1de;
  padding: 7px 5px 0 5px;
  border-right: 1px solid black;
}

#nav_local ul li a:hover{
  color: white;
  background: #002D82 url(/images/css/bwtree/contentgrad2.jpg) repeat-y top left fixed;
  border-top: 1px solid #800;
  border-right: 1px solid #800;
}

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