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


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

#wrapper{font: normal 1em Tahoma, Verdana, sans-serif;}

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

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

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

    /*--- header typo---*/

#header_txt {text-align: center;}
h1, #strapline {font: bold 250% "Lucida Sans";}
h1 span {font-size: 75%}
#strapline {
  font-size: 150%;
  font-weight: bold;
}

  /*--- content typo---*/
#content {
  font-size: 90%;
  line-height: 150%;
}
#content h2 {
  font: bold 140% 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 em {font: normal bold 140% Georgia, "Times New Roman", serif;}
#pid_home #content p.para1 {font-size: 100%;}
#content p.permalink {font-size: 80%;}

#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%;
}
#pid_show #content blockquote {
  text-align:justify;
}
#content p.menomic span, #content ul.menomic li span {
  font-size: 130%;
  font-weight: bold;
  font-family: "Century Gothic", Arial, Tahoma, Helvetica, sans-serif;
}
#contentsec {font-size: 70%;}
#contentsec h2{
  font: normal bold 120% Georgia, "Times New Roman", Times, serif;
  text-transform: uppercase;
}
#contentsec p {line-height: 150%;}

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

#css________colour{}  /*------ section 2: colour ------*/
  /* To manage:
  colour schemes
  borders
  background pics
  links */

  /*--- general colour---*/
body {
  color: black;
  background: #E6FFFF;
  background: #E6FFFF url(/images/css/child/sky.gif) repeat-y 299px 0px;
}

#wrapper {
  background: transparent url(/images/css/child/stem.jpg) repeat-y top left;
  /*background-color: #E6FFFF;*/
}
  /*--- links colour main content--- */
a:link {text-decoration: underline;}

a:link     {color: #5B84BB;  }
a:visited  {color: #5B84BB;}
a:hover    {background-color: #5B84BB; color: white;}

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

  /*--- header colour ---*/
#header {background: transparent url(/images/css/child/branch.gif) repeat-x top left;}
#header_marg {
  background-color: transparent;
  background: transparent url(/images/css/child/bird.gif) no-repeat 20px 15px;
}
h1 {color: #800;}
#strapline {color: #a00;}

  /*--- content colour---*/
#content, #helps2{
  color: black;
  background:  transparent;
}
#content_marg {background-color: transparent; }
#content h2{
  color: #a00;
  /*border-bottom: 3px solid #a00;*/
  background: transparent url(/images/css/child/under.gif) no-repeat bottom left;
}
#content h3{
  color: #a00;
  /*border-bottom: 1px solid #a00;*/
  background: transparent url(/images/css/child/under_h3.gif) no-repeat bottom left;
}
#content p.para1 {color: black;}
#content p.para1 em {color: #a00;}

#content li{
  list-style: square;
}
#contentsec {
  background-color: #444;
  background: transparent url(/images/css/child/scribble.gif) repeat-y top left;
}
#contentsec_marg {
  color: #edebd5;
  background-color: transparent;
  background: transparent url(/images/css/child/scribble_b.gif) no-repeat bottom left;
}
#contentsec h2 {
  /*border-bottom: 1px solid #c00*/
}
#helps {
  color: #a00;
}
  /*--- footer colour---*/
#footer{
  color: #a00;
  background: transparent url(/images/css/child/grass.gif) repeat-x top left;
}


#css________layout{} /*------ section 3: layout ------*/
   /*--- main sections layout ---*/
body {
  position: relative;
  max-width: 1100px;
}
#wrapper {
  position: relative;
  width: 100%;
}
#wrapper_marg {
  position: relative;
  width: 100%;
}

#header {height: 220px;}
#header_marg {height: 200px;}

#content, #nav_local{
  margin-left: 300px;
  padding-left: 50px;
  padding-right: 20px;
}


  /*--- helps detailed layout ---*/
#helps {
  position: absolute;
  right: 0;
  margin-right: 1%;
}
#helps2 {
  padding-top: 2em;
  margin: 0 0 20px 350px;
}

  /*--- header detailed layout ---*/
#homepic {display: none;}
h1 {
  padding: 15px 0 5px 0;
}
h1 span {
  display: block;
}
#strapline {
  padding: 0em 1% 1.25em 1%;
}

  /*--- content detailed layout---*/
#content_marg{
  position: relative;
  margin-right: 20px;
  padding-top: 20px;
}

#sec1, #sec2, #sec3, #sec4{
  position: relative;
  top: 5px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 2px 25px 2px 0;
}


#sec1_marg,  #sec3_marg,
#sec2_marg, #sec4_marg {padding: 2px 10px 2px 10px;}
#eocontent {
  position: relative;
  top: 1em;
  clear: both;
}
#content h2 {
  margin: 0 0 0.5em -15px;
  padding: 0 5px 15px 15px;
}
#content h3 {
  padding: 5px 5px 10px 10px;
  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, #pid_home #content .sample img{
  margin: 5px 10px 10px 10px;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  padding: 5px 5px 25px 5px;}

#pid_show #content img:hover, #pid_home #content .sample img:hover{
  border: 1px solid #aaa;
  background-color: #FFFFCC;
}

  /*--- content secondary detailed layout---*/
#contentsec {
  position: absolute;
  top:  270px;
  margin-top: 20em;
  left: 20px;
  width: 220px;
}
#contentsec_marg {
  padding-bottom: 20px;
  margin: 10px 10px 0 10px;
}
#contentsec h2 {
  padding: 0.5em 0 0.5em 17px;
}
#contentsec p{padding: 0 5px 1.0em 5px;}

  /*--- footer detailed layout ---*/
#footer {
  padding-top: 50px;
}
#footer_marg{padding: 20px 0;}

#css________nav{}  /*------ section 4: nav ------*/
  /*--- navigation layout/font/colours in one place ---*/
#nav {
  position: absolute;
  top: 220px;
  left:  20px;
  width: 220px;
  text-align: left;
  font: normal bold 110%/120% Georgia, "Times New Roman", Times, serif;
  background-color: #444;
  background: transparent url(/images/css/child/scribble.gif) repeat-y top left;
}
#nav_marg {
  margin: 10px 10px 0 10px;
  padding-bottom: 10px;
  background-color: transparent;
  background: transparent url(/images/css/child/scribble_b.gif) no-repeat bottom left;
  /*border: 1px solid #a00;*/
}
#nav h2{
  font-size: 120%;
  padding: 0.5em 0 0.5em 7px;
  /*border-bottom: 1px solid #c00;*/
  text-transform: uppercase;
  color: #edebd5;
  /*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-right: 20px;
}

#css________navlocal{} /*----- local navigation -----*/
#content{
  clear:left;    /*clearing floats in nav_local */
}
#nav_local {
  padding: 0 0 1em 50px;
  font: 110%/120% Georgia, "Times New Roman", Times, serif;
}
#nav_local ul{
  margin-left: 0;
  background-color: #444;
  background: transparent url(/images/css/child/scribble_nl.gif) repeat top left;
  float: left; /*forces height to ul - need to clear at #content */
  position: relative; /*peekaboo bug*/
}
#nav_local ul li{
  font-size: 90%;
  font-weight: bold;
  list-style: none;
  float: left;
  display: block;
  margin-left: 0;
  padding: 15px 5px 15px 5px; /* IE top pad for li must be high enough for pad for a*/
  position: relative; /*peekaboo bug*/
}

#nav_local ul li#curr_tab{
  color: black;
  background: #edebd5;
  /*font-size: 100%;*/
  font-weight: bold;
  border-bottom: none;
}
#nav_local ul li#curr_tab span{
  background: transparent;
  padding-left: 10px;
  padding-right: 3px;
}

#nav_local ul li#curr_tab a {
  color: #444;/* #edebd5;*/

  background: #edebd5;
  text-decoration: none;
}
#nav_local ul li a{
  color: #edebd5;
  padding: 7px 5px 0 5px;
}

#nav_local ul li a:hover{
  color: #444;
  background: #edebd5;
  /*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;}
