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

body{font: normal x-small Verdana, Tahoma, Helvetica, Arial, sans-serif;}

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

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

#helps, #helps2 {font-size: 95%;}
#helps li a.non_low_vis{font-size: 120%; font-weight: bold;}

    /*--- header typo---*/
#header {
  font-family:  "Tempus Sans ITC", Verdana, Tahoma, Helvetica, Arial, sans-serif;
}
#header_txt {text-align: center;}

h1 {
  font-size: 200%;
  font-weight: bold;
}

#strapline {font-size: 100%;}

  /*--- content typo---*/
#content {
  font-size: 95%;
  line-height: 200%;
}

#contentsec {font-size: 95%;}
#contentsec p {line-height: 175%;}

#content h2 {
  text-align: center;
  line-height: 150%
}

  /*--- footer typo---*/
#footer {
  font-size: 95%;
  text-align: left;
}

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

  /*--- general colour---*/
body {
  color: black;
  background: #FFFFF0 url(/images/css/default/bars_.gif) repeat-y top left;
  border-bottom: 10px solid black;
}

  /*--- links colour main content--- */
a:link {text-decoration: underline;}

a:link      {color: rgb(0,128,255);}
a:visited   {color: rgb(128,0,0);}
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 ---*/
h1 {color: #660000;}

  /*--- content colour---*/
#content h2, #contentsec h2 {
  background:  #840000 url(/images/css/default/grad.jpg) repeat-y top left;
  color: #FFFFF0;
}

#contentsec_marg {
  /*color: #FFFFF0;
  background-color: #840000;*/
  border: 2px solid #840000;
}

  /*--- footer colour---*/
#footer {background: transparent url(/images/css/default/homepic150.gif) repeat-x 1.8% bottom;}



/*------ section 3: layout ------*/
   /*--- main sections layout ---*/
body {
  position: relative;
}

#wrapper {max-width: 600px;}
#header,#content, #footer, #nav, #contentsec {
  padding-left: 5%;
  padding-right: 5%;
  min-width: 100px;
}

  /*--- helps detailed layout ---*/
#helps {margin-right: 1%}
#helps li{
  display: inline;
}

#helps2 {
  padding-top: 2em;
  padding-left: 2%;
}

  /*--- header detailed layout ---*/
#homepic {
  position: absolute;
  top: 5px;
  left: 1.8%;
}

h1 {
  padding: 40px 0 0.15em 0;
  z-index: 1000;
}

h1 span {
  display: block;
}

#strapline {
  padding: 0em 0 0.25em 0;
}

  /*--- content detailed layout---*/
#content{clear: both;}

#content_marg{
  position: relative;
  /*width: 100%; needed for IE5, otherwise interior columns width based on windowport*/
}

#sec1, #sec2, #sec3,#sec4 {
  position: relative;
  margin-top: 1em;
  margin-bottom: 0.5em;
  padding-bottom: 20px;
}

#sec1_marg, #sec2_marg, #sec3_marg {
  padding: 2px 0 2px 0;
}

#eocontent {
  position: relative;
  top: 1em;
  clear: left;
}

#content h2 {
  padding: 1em 0 0.5em 0;
  margin-bottom: 0.5em;
}

#content p, #contentsec p{padding-bottom: 0.75em;}

#content ul{
  list-style: square;
  padding-bottom: 0.75em;
  margin-left: 3%;
}
#content ul li{margin-left: 1%;}

  /*--- content secondary detailed layout---*/
#contentsec_marg {
  margin-top: 1em;
  padding: 10px 5px;
}

#contentsec h2 {
  padding: 0.35em 5px;
  margin-top: 0.25em;
}

  /*--- footer detailed layout ---*/
#footer {
  top: 10px;
  margin-top: 10px;
  padding-top: 25px;
  padding-bottom: 175px;
}

/*------ section 4: nav ------*/
  /*--- navigation layout/font/colours in one place ---*/
#nav {
  position relative;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-bottom: 1em;
  margin-top: 4em;
}

#nav_marg {
  position relative;
  padding-bottom: 2px;
}

#nav ul {
  margin: 1em 0; 
  float: left;
  background-color: #660000;
}

#nav li {
  float: left;
  padding: 10px 10px 5px 5px;
  border: 1px solid white;
}

#nav li a {
  display: block;
  color: #FFF; 
  padding: 5px 0;
  font-size: 120%;
  font-weight: bold;
}

#nav a:visited {color: #DEE;} 

#nav a:hover{
  color: black;
  background-color: white;
}

#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{
  padding-right: 30px;
  background: #660000 url(/images/css/default/leaf25.gif) no-repeat bottom right;
}

#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:  #CCC; /* #846B4A;*/
  text-decoration: none;
}

/*----- internal navigation -----*/
#page_content {text-align:center; display: inline;}
#page_content li {
   display: inline;
   font-size:90%;
}

/*------ 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{position: relative;}
