/* credit to Josh Jones: http://eight7teen.com/about/ */

ul.iMenu li {
  display:inline;
  padding:0;
}

ul.iMenu2 li {
  padding:0;
}

ul.iMenu {
  background:url('img/repeating-sprite.gif') repeat-x left -64px;
  line-height:31px;
  height:32px;
  
  list-style:none;

  margin:5px auto;
  padding:0 16px;
  margin-left:0;
  
  width:800px;
  
/*
width:785;
position:relative;
*/
}

ul.iMenu2 {
  line-height:31px;
  background:url('img/repeating-sprite2.gif') repeat left 0;
  
  list-style:none;

  margin:5px auto;
  padding:0 10px;
  margin-left:0;
  
  width:180px;
  
}


ul.iMenu a {
color:#cdcdcd;
float:left;
padding:0 0 0 3px;
/* we need this to offset the rounded edge of the left image (3px wide) */
text-decoration:none;
}

ul.iMenu2 a {
color:#cdcdcd;
float:left;
padding:0 0 0 3px;
/* we need this to offset the rounded edge of the left image (3px wide) */
text-decoration:none;
}

ul.iMenu a span {
display:block;
float:none;
padding:0 17px 0 14px; /* the last number (17px) should be 3px less than the second number (20px) */
}

ul.iMenu2 a span {
display:block;
float:none;
padding:0 19px 0 16px; /* the last number (17px) should be 3px less than the second number (20px) */
}


ul.iMenu a:hover, ul.iMenu a:hover span{
background: url('img/stretching-sprite.gif') no-repeat;
color:#ededed;

}

ul.iMenu2 a:hover, ul.iMenu2 a:hover span{
background: url('img/stretching-sprite2.gif') no-repeat;
color:#ededed;

}

ul.iMenu a:hover {
background-position:left -32px;
}

ul.iMenu2 a:hover {
background-position:left -32px;
}

ul.iMenu a:hover span {
background-position:right 0;
}

ul.iMenu2 a:hover span {
background-position:right 0px;
}

/*
li.lcap, li.rcap {
background:url('img/repeating-sprite.gif') no-repeat;
height:32px;
width:3px;
position:absolute;
}

li.lcap {
background-position:left top;
left:-3px;
}
 
li.rcap {
background-position:right -32px;
right:-3px;
}
*/