/* THE HORIZONITAL NAV*/

#home
{
  display: block;
  width: 47px;
  height: 20px;
  background: url("../images/nav/home.gif") no-repeat 0 0;
  float:left;
}

#home:hover
{ 
  background-position: 0 -20px;
}

#home span
{
  display: none;
}

#home ul li a {
display:block;
height:20px; 
width:47px;
background:transparent url(../images/nav/home.gif) no-repeat 0 0;
text-indent:-9009px;	
}

#about
{
  display: block;
  width: 79px;
  height: 20px;
  background: url("../images/nav/about.gif") no-repeat 0 0; 
  float:left;

}

#about:hover
{ 
  background-position: 0 -20px;
}

#about span
{
  display: none;
}

#about ul li a {
display:block;
height:20px; 
width:79px;
background:transparent url(../images/nav/about.gif) no-repeat 0 0;
text-indent:-9009px;	
}

#news
{
  display: block;
  width: 108px;
  height: 20px;
  background: url("../images/nav/news.gif") no-repeat 0 0;
float:left;

}

#news:hover
{ 
  background-position: 0 -20px;
}

#news span
{
  display: none;
}

#news ul li a {
display:block;
height:20px; 
width:108px;
background:transparent url(../images/nav/news.gif) no-repeat 0 0;
text-indent:-9009px;	
}


#contact
{
  display: block;
  width: 72px;
  height: 20px;
  background: url("../images/nav/contact.gif") no-repeat 0 0;
float:left;

}

#contact:hover
{ 
  background-position: 0 -20px;
}

#contact span
{
  display: none;
}

#contact ul li a {
display:block;
height:20px; 
width:72px;
background:transparent url(../images/nav/contact.gif) no-repeat 0 0;
text-indent:-9009px;	
}



/* THE VERTICAL NAV*/







 /* =========================================================================
For any free or commercial usage please keep this credits text intact.
Author : Femi Hasani www.vision.to ,test idea and CSS code.
The original version of this stylesheet and the associated (x)html
is available at http://www.vision.to/simple-css-one-level-flyout-menu.php
A link to www.vision.to would be apperciated but not mandatory.
=============================================================================== */
#vertical_nav ul#nav {
	z-index: 5000;
	width:200px;
}

#vertical_nav ul#nav li {
    list-style:none;
	position: relative;
	/*float: left;*/  /* commented for flyout use else dropdown*/
    width:175px;
}

#vertical_nav ul#nav li a {
	display: block;
	/*padding: 2px 0;*/
	color:#1a1a1a;
	text-decoration: none;
   /*	border-right: 1px solid #ccc;  */
}

#vertical_nav ul#nav li a span {
	padding: 0 5px 0 0;
   /*	background: url(arrow.gif) no-repeat 100% 50%;  optional */
}

#vertical_nav ul#nav  li ul {
    display: block;
    position: absolute;
/* hidding submenus based on: http://css-class.com/articles/ursidae/  */
    left: -999em;/* this makes it more accessible than display:none; */
    width: 162px;
    background:#e6e6e6;/* the background of flyout*/
}

#vertical_nav ul#nav  li:hover ul,
#vertical_nav ul#nav  li.over ul {
    display: block;
    left: 135px;  /* the postion near main menu */
    top: 0;       /* align with top of main menu */
    position: absolute;
    z-index: 4000;
    width: 295px;
}

#vertical_nav ul#nav  li ul li {
    width: 146px;
    height: auto;
    background: transparent;
    text-indent: 0;
    padding: 0;
}

#vertical_nav ul#nav  li:hover ul li a,
#vertical_nav ul#nav  li.over ul li a {
    display: block;
    width: 275px;/*this is to adjust if used some background image for dropdown */
    background: transparent;
    padding:2px 10px;
    text-decoration: none;
    margin: 0;
    color: #1a1a1a;
    text-indent: 0;
    text-align: left;
    border: 0;
    white-space: nowrap;
}

#vertical_nav ul#nav li ul li a:hover {
    color: #fff;
    background: #62686e;/*the roll over on flyout*/
}

#vertical_nav ul#nav li.active a,
#vertical_nav ul#nav li a:hover,
#vertical_nav ul#nav li:hover a,
#vertical_nav ul#nav li.over a {
    background: #e6e6e6;/*the roll over on list*/
}


