/* BM */

#nav_container{
   background-image:url(images/navbar_bg.jpg);
   background-repeat:no-repeat;
   width:954px;
   height:40px;
   margin:0;
   padding:0;
}
#multi-level {height:40px; width: 954px; position:relative; z-index:100;  margin: 0 auto;}
#multi-level .pad {float:left;}

.menu li {
   margin-bottom: 0;
}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:Arial, Helvetica, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu li.top a.top_link {display:block; float:left; height:40px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu li.p1, #home .menu li a#home  {width:79px; background:url(images/home-tab-hover.jpg) no-repeat;}
.menu li.p2, #ip .menu li a#ip  {width:165px; background:url(images/increase-profits-tab-hover.jpg) no-repeat;}
.menu li.p3, #bip .menu li a#bip {width:151px; background:url(images/bob-in-person-tab-hover.jpg) no-repeat;}
.menu li.p4, #media .menu li a#media  {width:87px; background:url(images/media-tab-hover.jpg) no-repeat;}
.menu li.p5, #aboutbob .menu li a#aboutbob  {width:120px; background:url(images/about-bob-tab-hover.jpg) no-repeat;}
.menu li.p6, #contact .menu li a#contact  {width:107px; background:url(images/contact-tab-hover.jpg) no-repeat;}


/* set up the normal unhovered images in the links */
.menu li a#home {width:79px; background:url(images/home-tab.jpg) no-repeat;}
.menu li a#ip {width:165px; background:url(images/increase-profits-tab.jpg) no-repeat;}
.menu li a#bip {width:151px; background:url(images/bob-in-person-tab.jpg) no-repeat;}
.menu li a#media {width:87px; background:url(images/media-tab.jpg) no-repeat;}
.menu li a#aboutbob {width:120px; background:url(images/about-bob-tab.jpg) no-repeat;}
.menu li a#contact {width:107px; background:url(images/contact-tab-hover.jpg) no-repeat;}


/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;} /* for IE7 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#home:hover, .menu li:hover a#home,
.menu li a#ip:hover, .menu li:hover a#ip,
.menu li a#bip:hover, .menu li:hover a#bip,
.menu li a#media:hover, .menu li:hover a#media,
.menu li a#aboutbob:hover, .menu li:hover a#aboutbob,
.menu li a#contact:hover, .menu li:hover a#contact
{background:transparent;}

/* keep the 'next' level invisible by placing it off screen. */
.menu ul,
.menu :hover ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}

/* set up the first drop down sub level */
.menu :hover ul.sub {
   top: 40px;
   background: #676767;
   color:#FFFFFF;
   padding: 0px 0 0px 0;
   /*border: 2px solid #bdd4e1;
   border-top: 0px solid #bdd4e1;*/
   white-space: nowrap;
   height:auto;
   text-align: left;
   width: 230px;
   
  
}

#x1 { left: 2px; background: #676767; }
#x2 { left: 2px; background: #676767; }
#x3 { left: 2px; background: #676767; }
#x4 { left: 2px; background: #676767; }
#x5 { left: 2px; background: #676767; }
#x6 { left: 2px; background: #676767; }
#x7 { left: 2px; background: #676767; }
#x8 { left: 2px; background: #676767; }

.menu :hover ul.sub li {
   display:block;
   position:relative;
   float:left;
   width:100%;
   font-weight: bold;
   font-size:12px;
   color:#FFFFFF;
  
   
}

.menu :hover ul.sub li.lastOne {
   border-bottom: none;
}

.menu :hover ul.sub li a {
   display: block;
   font-size: 12px;
   height:24px;
   line-height:26px;
   text-indent:12px;
   color:#FFFFFF;
   text-decoration: none;
   padding:5px 0 5px 0;
}

.menu :hover ul.sub li a:hover {
   /* font-style: italic; */
}

.menu :hover ul.sub li a.fly {background:#fff url(multi_level-files/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub li a:hover {color:#000000; background:#FFCC33;}
.menu :hover ul.sub li a.fly:hover {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}

/* set up the flyout levels when hovering */
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:90px; top:-4px; background: #ffffff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:93px; z-index:200; height:auto; z-index:300;}

/* set up the first drop down sub level */
.menu :hover ul.sub2 {
   top: 40px;
   background: #676767;
   color:#FFFFFF;
   padding: 0px 0 0px 0;
   /*border: 2px solid #bdd4e1;
   border-top: 0px solid #bdd4e1;*/
   white-space: nowrap;
   height:auto;
   text-align: left;
   width: 140px;
   
  
}



.menu :hover ul.sub2 li {
   display:block;
   position:relative;
   float:left;
   width:100%;
   font-weight: bold;
   font-size:12px;
   color:#FFFFFF;
  
   
}

.menu :hover ul.sub2 li.lastOne {
   border-bottom: none;
}

.menu :hover ul.sub2 li a {
   display: block;
   font-size: 12px;
   height:24px;
   line-height:26px;
   text-indent:12px;
   color:#FFFFFF;
   text-decoration: none;
   padding:5px 0 5px 0;
}

.menu :hover ul.sub2 li a:hover {
   /* font-style: italic; */
}

.menu :hover ul.sub2 li a.fly {background:#fff url(multi_level-files/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub2 li a:hover {color:#000000; background:#FFCC33;}
.menu :hover ul.sub2 li a.fly:hover {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}


/* set up the first drop down sub level */
.menu :hover ul.sub3 {
   top: 40px;
   background: #676767;
   color:#FFFFFF;
   padding: 0px 0 0px 0;
   /*border: 2px solid #bdd4e1;
   border-top: 0px solid #bdd4e1;*/
   white-space: nowrap;
   height:auto;
   text-align: left;
   width:300px;
   
  
}



.menu :hover ul.sub3 li {
   display:block;
   position:relative;
   float:left;
   width:100%;
   font-weight: bold;
   font-size:12px;
   color:#FFFFFF;
  
   
}

.menu :hover ul.sub3 li.lastOne {
   border-bottom: none;
}

.menu :hover ul.sub3 li a {
   display: block;
   font-size: 12px;
   height:24px;
   line-height:26px;
   text-indent:12px;
   color:#FFFFFF;
   text-decoration: none;
   padding:5px 0 5px 0;
}

.menu :hover ul.sub3 li a:hover {
   /* font-style: italic; */
}

.menu :hover ul.sub3 li a.fly {background:#fff url(multi_level-files/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub3 li a:hover {color:#000000; background:#FFCC33;}
.menu :hover ul.sub3 li a.fly:hover {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}

