/*-- 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 .85em Tahoma, Arial, Helvetica, 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% "Comic Sans MS", "Lucida Sans";}
h1 span {font-size: 75%}
#strapline {
  font-size: 150%;
  font-weight: bold;
}

  /*--- content typo---*/
#content {
  font-size: 90%;
  line-height: 150%;
  text-align: justify;
}
#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 170% Georgia, "Times New Roman", serif;
  letter-spacing: 1px;
}
#pid_home #content p.para1 {font-size: 100%;}
#content p.permalink {font-size: 80%;}

#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: 85%;}
#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: black;
}

#wrapper {
  background: white url(/images/css/tubes/tube_left.gif) repeat-y top left;
}
#wrapper_marg {
  background:  transparent url(/images/css/tubes/tube_right.gif) repeat-y top right;
  /*background-color: #FFFFCE;*/
}
  /*--- links colour main content--- */
a{
  text-decoration: underline;
  color: #526BB5;
  border-right: 1px solid white;
}
a:visited  {color: #526BB5;}
a:hover {
  color: black;
  background-color: #edebd5;
  text-decoration: none;
  border-bottom: 1px solid #a00;
  border-right: 1px solid #a00;
}

  /*--- links colour secondary content */
#contentsec a{
  color: #444;
  border-right: 1px solid white;
}
#contentsec a:visited{color: #888;}
#contentsec a:hover {border-right: 1px solid #a00;}

  /*--- header colour ---*/
#header {background: black url(/images/css/tubes/tube_top.gif) no-repeat top left;}
#header_marg {background-color: transparent;}

#pid_wedo #header_marg{background: transparent url(/images/css/tubes/tree_red.gif) no-repeat 5px 71px;}
#pid_basic #header_marg{background: transparent url(/images/css/tubes/tree_orange.gif) no-repeat 5px 71px;}
#pid_show #header_marg{background: transparent url(/images/css/tubes/tree_green.gif) no-repeat 5px 71px;}
#pid_lens #header_marg{background: transparent url(/images/css/tubes/tree_blue.gif) no-repeat 5px 71px;}


h1 {color: white;}
#strapline {color: #aaa;}

  /*--- content colour---*/
#content, #helps2{
  color: black;
  background:  transparent;
}
#content_marg {background-color: transparent; }
#content h2{
  color: #a00;
  border-bottom: 2px solid #a00;
}
#content h3{
  color: #a00;
  border-bottom: 1px solid #a00;
  background: transparent url(/images/css/tubes/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: white;
}
#contentsec_marg {
  color: #444;
  background-color: transparent;
}
#contentsec h2 {
  color: #a00;
  border-bottom: 1px solid #c00
}

#helps {color: white;}
#helps a {color: white; border-right: 1px solid transparent;}
#helps a:hover {color: black;}

  /*--- footer colour---*/
#footer{
  color: #a00;
  background-color:  #73F773;
  background: black url(/images/css/tubes/tube_bot.gif) no-repeat top left;
}


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

#header {height: 320px;}
#header_marg {height: 320px; padding-left: 100px;}

#content, #nav_local{
  margin: -15px 70px 0 300px;
  padding-left: 20px;
}

#footer{}
#footer_marg{
  margin-left: 130px;
  padding-top: 30px;
}

  /*--- helps detailed layout ---*/
#helps {
  position: absolute;
  right: 0;
  margin-right: 20px;
}

#helps2 {
  padding-top: 2em;
  margin: 0 0 20px 300px;
}

  /*--- header detailed layout ---*/
#homepic {display: none;}
h1 {
  padding: 25px 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: 0.5em 0 0.5em 0;
  padding: 2px 0 2px 0;
}

#sec1_marg,  #sec3_marg,
#sec2_marg, #sec4_marg {padding: 2px 10px 2px 0;}
#eocontent {
  position: relative;
  top: 1em;
  clear: both;
}
#content h2 {
  margin: 0 0 0.4em 0px;
  padding: 0 5px 0px 0px;
}
#content h3 {
  padding: 5px 5px 0px 0px;
  margin: 0.25em 100px 0.20em 0px;
}
#content p{padding-bottom: 0.75em; margin-left: 0px;}
#content p.para1{margin-left: 0px;}
#content p.permalink {margin-top: -0.6em; padding-left: 0px; 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:  360px;
  margin-top: 20em;
  left: 80px;
  width: 200px;

}
#contentsec_marg {
  padding-bottom: 20px;
  margin: 10px 10px 0 10px;

}
#contentsec h2 {
  padding: 0.5em 0 0.35em 7px;
  margin: 0.5em 0;
}
#contentsec p{padding: 0 5px 1.0em 9px;}

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

#css________nav{}  /*------ section 4: nav ------*/
  /*--- navigation layout/font/colours in one place ---*/
#nav {
  position: absolute;
  top: 330px;
  left:  80px;
  width: 200px;
  text-align: left;
  font: normal bold 110%/120%;
  background-color: white;
}
#nav_marg {
  margin: 10px 10px 0 10px;
  padding-bottom: 10px;
  background-color: transparent;
}
#nav h2{
  font: normal bold 150% Georgia, "Times New Roman", Times, serif;
  padding: 0.5em 0 0.35em 7px;
  border-bottom: 1px solid #c00;
  text-transform: uppercase;
  color: #a00;
}
#nav ul {padding: 0 5px 0.25em 5px; }
#nav li {
  padding: 5px 0 5px 0;
  color: white;
  /*border-bottom: 1px solid #888;*/
}
#nav li a {
  color: #444;
  padding: 5px 4px 3px 4px;
  font-weight: bold;
  border-bottom: 1px solid #888;
  text-decoration: none;
  display: block;
}
/*#nav li a:link, #nav li a:visited {color: #edebd5;}*/
#nav li a:hover{
  color: black;
  background-color: #edebd5;
  border-bottom: 1px solid #a00;
  border-right: 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-transform: uppercase;
  border: none;
  padding: 4px 4px 4px 5px;
  background: transparent url(/images/css/tubes/curr_page.gif) no-repeat bottom left;
}

#css________navlocal{} /*----- local navigation -----*/
#content{
  clear:left;    /*clearing floats in nav_local */
}
#nav_local {
  padding: 0 0 .1em 20px;
  font: 100% Georgia, "Times New Roman", Times, serif;
  z-index: 100000;
}
#nav_local ul{
  margin-left: 0;
  /*background-color: #444;*/
  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 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: black;
  background: #edebd5;*/
  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;
  background: #edebd5;
  text-decoration: none;
}
#nav_local ul li a{
  /*color: #edebd5;*/
  background: #eee;
  text-decoration: none;
  padding: 7px 5px 0 5px;
  border-right: 1px solid transparent;
  border-bottom: 1px solid #444;
}

#nav_local ul li a:hover{
  color: #444;
  background: #edebd5;
  border-right: 1px solid #a00;
}
#nav_local ul li#curr_tab a:hover{
  background: #edebd5;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

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