/*-- 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.85em 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: "Century Gothic", Arial, Tahoma, Helvetica, sans-serif;
}
#header_txt {text-align: left;}
h1 {
  font-size: 250%;
  font-weight: bold;
}
h1 span {font-size: 75%}
#strapline {
  font: italic bold 125% Georgia, "Times New Roman", serif;
  text-align: left;
}

  /*--- content typo---*/
#content {
  font-size: 90%;
  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 em {font: normal bold 140% Georgia, "Times New Roman", serif;}
#pid_home #content p.para1 {font-size: 110%;}
#content p.permalink {font-size: 80%;}
#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 110% Georgia, "Times New Roman", serif;
  text-align: center;
  padding: 0 2%;
}
#pid_show #content blockquote {
  text-align:justify;
}
#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: 80%;}
#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: #555; 
  background: #5A504F url(/images/css/sunset/border.jpg) repeat-y 50% 100%; /*#5A504F*/
  background-color: #5A504F;
}
#wrapper {
 background-color: #E6CEB4;
 /*background: #5A504F url(/images/css/sunset/border.jpg) repeat-y 50% 0%;*/
 background-color: red;
 }
#wrapper_marg {
  background: #E6CEB4 url(/images/css/sunset/gradient.jpg) repeat-y top left;
}
  /*--- 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;
}
  /*--- links colour site elps */
#helps, #helps a, #helps a:visited, #helps a:hover{color: white;}
#helps a:hover {background-color: black;}

  /*--- header colour ---*/
#header {
  background-color: white;
  border-top: 1.1em solid #800;
  background: black url(/images/css/sunset/sunset_sharp.jpg) no-repeat top left;
}
#header_marg {
  background-color: transparent;
}
h1 {color: black;}

  /*--- content colour---*/
#content, #helps2, #footer {
  color: #222; /*#555;*/
  background-color: transparent;
}
#content_marg {background-color: transparent;}
#content h2{
  color: #black;
}
#content h3{
  color: #100; /*#333;*/
}
#content li{
  list-style: square;
}
#content p.para1 {color: black;}
#contentsec {
  background-color: transparent;
  border-left: 1px solid #ddd;
}
#contentsec_marg {
  color: black;
  background-color: transparent;
}
#contentsec h2 {
 color: #600;
}
#helps2 {
  color: black;
}
  /*--- footer colour---*/
#footer{
}
#footer_marg{background-color: transparent;}


/*------ section 3: layout ------*/
   /*--- main sections layout ---*/
#wrapper {
  position: absolute;
  left: 50%;
  top: 0;
  width: 750px;
  margin-left: -375px;
}
#wrapper_marg {
  position: relative;
  width: 100%;
}
body {
  position: relative;
}
#header {
  position: absolute;
  top: 0;
  width: 100%;
  min-height: 200px;
  max-height: 210px;
  padding: 0 0 20px 0;
}
#content, #nav_local{
  margin-right: 23%;
  padding-left: 4%;
  padding-right: 2%;
}
#pid_home #content, #pid_home #nav_local{
  padding-left: 4%;
  padding-right: 2%;
}

  /*--- helps detailed layout ---*/
#helps {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100000;
  padding-right: 2px;
  padding-bottom: 2px;
}
#helps2 {
  padding-top: 2em;
  margin-right: 25%;
  padding-left: 2%;
  padding-right: 2%;
}

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

  /*--- content detailed layout---*/
#content{
  z-index: 10000 ;
}

#content_marg{
  position: relative;
  padding-top: 0px;
}
#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: 10px;
  /*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: 1%;
  padding-left: 0;
}
#content ul li{
  margin-left: 25px;
  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:  200px;
  right: 0;
  margin-top: 5em;
  padding: 0 1px 5px 9px;
  width: 21%;
}
#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: relative;
  padding-top: 199px;
  width: 100%;
  text-align: left;
  font-weight: bold;
  background-color: transparent;
  z-index: 1000;
}
#nav_marg {
  margin: 0 0 1em 0;
  background-color: #222;
  padding: 7px 0 2.7em 15px;
}
#pid_basic #nav_marg, #pid_wedo #nav_marg, #pid_show #nav_marg, #pid_lens #nav_marg {
  margin-bottom: 0px;
}

#nav h2{
  padding: 10px 0 0 10px;
  text-transform: uppercase;
  float: left;
  display: none;
}
#nav ul {
  padding: .1em 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 7px 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;  
  background-color:#111; 
  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;
  padding-left: 0%;

}
#nav_local_marg{
  background-color: #222; 
  padding-bottom: 2.25em;
  padding-left: 4%;
  background: transparent url(/images/css/sunset/corner.gif) no-repeat bottom right;
  /*border-right: 1px solid black;*/
}
#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 3px 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;}

