  /*--- navigation layout/font/colours in one place ---*/
#nav {
  position: relative;
  margin: 0 10px;
  text-align: left;
  font: normal bold 110%/120%;
  height: 3em;
  /*height: 50px;*/
  /*.height: 60px;
  display: block;*/

}

#nav_marg {
  margin: 10px 0 0px 15px;
  padding-bottom: 0;
  background-color:  transparent;
}

#nav ul {padding: 0 0 0 0;}

#nav li {
  width: 180px;
  padding: 0;
  margin: 0;
  color: white;
  display: block;
  float: right;
  text-align: center;
}

#nav li#navlnk_home{
  width: 280px;
}

#nav li a {
  color: #a00;
  background: #F7F7F7  url(../graphics/nav_back.gif) repeat-x bottom left;
  padding: 10px 5px;
  font-size: 130%;
  font-weight: bold;
  border: 0;
  border-right: 1px solid white;
  font-variant: small-caps;
  text-decoration: none;
  display: block;
}

#nav li a:hover{
  color: #f00;
  background-color: #a00;
  border-right: 1px solid #ddd;
  border-bottom: none;
  /*background: #F7F7F7  url(../graphics/nav_back_hov.gif) repeat-x bottom left;*/
}

/* single page items in main nav */
#pid_home li#navlnk_home a,
#pid_rotate li#navlnk_rotate a,
#pid_news li#navlnk_news a
{
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  background: #7AB002 url(../graphics/visit_bg.jpg) repeat-x top left;
  padding-bottom: 7px;
  border-bottom: 3px solid #f8f8f8;
}

/* hover effects */
#pid_home li#navlnk_home a:hover,
#pid_rotat li#navlnk_rotate a:hover,
#pid_news li#navlnk_news a:hover
{
  border-top: 0px solid #f8f8f8;
  background: #C2D09D url(none);
}

#subnav ol{
  margin-left: 20px;
  margin-bottom: 0.75em;
}

#subnav li {
      display: inline;
      list-style-type: none;
      margin: 0 0 0 0;
      padding: 0 3px 0 0;
      font-size: 80%;
      background-image: url(../graphics/subnav_down.gif);
      background-repeat: no-repeat;
      background-position: left;
}

#subnav a{
      color: red;
      text-decoration: none;
      margin-left: 10px !important;
      padding-right: 1px !important;
}

#subnav a:hover, #content a.backtotop:hover{
      border-bottom: 1px solid red;
      color: white;
      background-color: black;
      outline: 1px solid red;
}
