/* CSS Document */

/* Dropdown Menu System - Default */

#menu {position:relative; z-index:100;}
#menu .pad {float:left;}

/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:Helvetica, Arial, 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:30px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:12px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu li.p1 {width:128px; background:url(../images/navbarhomeover.jpg) no-repeat;;}
.menu li.p2 {width:128px; background:url(../images/navbarcompanyover.jpg) no-repeat;;}
.menu li.p3 {width:128px; background:url(../images/navbarproductsover.jpg) no-repeat;;}
.menu li.p4 {width:128px; background:url(../images/navbarsalesover.jpg) no-repeat;;}
.menu li.p5 {width:128px; background:url(../images/navbarserviceover.jpg) no-repeat;;}
.menu li.p6 {width:128px; background:url(../images/navbarhsover.jpg) no-repeat;;}
.menu li.p7 {width:132px; background:url(../images/navbarcontactover.jpg) no-repeat;;}


/* set up the normal unhovered images in the links */
.menu li a#home {width:128px; background:url(../images/navbarhome.jpg) no-repeat;}
.menu li a#company {width:128px; background:url(../images/navbarcompany.jpg) no-repeat;}
.menu li a#products {width:128px; background:url(../images/navbarproducts.jpg) no-repeat;}
.menu li a#sales {width:128px; background:url(../images/navbarsales.jpg) no-repeat;}
.menu li a#service {width:128px; background:url(../images/navbarservice.jpg) no-repeat;}
.menu li a#hs {width:128px; background:url(../images/navbarhs.jpg) no-repeat;}
.menu li a#contact {width:132px; background:url(../images/navbarcontact.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#company:hover, .menu li:hover a#company,
.menu li a#products:hover, .menu li:hover a#products,
.menu li a#sales:hover, .menu li:hover a#sales,
.menu li a#service:hover, .menu li:hover a#service,
.menu li a#hs:hover, .menu li:hover a#hs,
.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;}

/* submenu division */
.submenucols {width: 140px;
		  height: auto;
		  margin-left: 0px;
		  float: left;
		  padding-left: 10px;
		  padding-top: 5px;
		  padding-bottom: 20px;}
		  
#menurow {width: 600px;
		  height: 150px;
		  margin-left: 0px;
		  margin-right: auto;}



/* set up the first drop down sub level */
.menu :hover ul.sub {left:0px; top:30px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #ACACAC; white-space:nowrap; width:160px; height:auto;}
.menu :hover ul.sub li {display:block; height:22px; position:relative; float:left; width:150px;}
.menu :hover ul.sub li a {display:block; font-size:14px; height:22px; width:160px; line-height:22px; text-indent:10px; color:#333333; text-decoration:none; border:3px solid #530000; border-width:0 0 0 0;}

.menu :hover ul.subcompany {left:-100px; top:26px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #ffffff; white-space:nowrap; width:450px; height:auto;}
.menu :hover ul.subcompany li {display:block; height:18px; position:relative; float:left; width:150px;}
.menu :hover ul.subcompany li a {display:block; font-size:12px; height:18px; width:140px; line-height:18px; color:#333333; border:3px solid #ffffff; border-width:0 0 0 0;}

.menu :hover ul.subproducts {left:-100px; top:26px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #ffffff; white-space:nowrap; width:600px; height:300px;}
.menu :hover ul.subproducts li {display:block; height:18px; position:relative; float:left; width:150px;}
.menu :hover ul.subproducts li a {display:block; font-size:12px; height:18px; width:140px; line-height:18px; color:#333333; border:3px solid #ffffff; border-width:0 0 0 0;}

.menu :hover ul.subsales {left:-40px; top:26px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #ffffff; white-space:nowrap; width:300px; height:auto;}
.menu :hover ul.subsales li {display:block; height:18px; position:relative; float:left; width:150px;}
.menu :hover ul.subsales li a {display:block; font-size:12px; height:18px; width:140px; line-height:18px; color:#333333; border:3px solid #ffffff; border-width:0 0 0 0;}

.menu :hover ul.subservice {left:-40px; top:26px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #ffffff; white-space:nowrap; width:300px; height:auto;}
.menu :hover ul.subservice li {display:block; height:18px; position:relative; float:left; width:150px;}
.menu :hover ul.subservice li a {display:block; font-size:12px; height:18px; width:140px; line-height:18px; color:#333333; border:3px solid #ffffff; border-width:0 0 0 0;}

.menu :hover ul.sub li a.fly {background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; }
.menu :hover ul.sub li a:hover {background:#1C579E; color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#850025; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#850025; 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:130px; top:-4px; background-image:url(../images/bgmenu.jpg); background-repeat: repeat-x; background-position: top; background-color:#FFFFFF; padding:3px 0; border:1px solid #888; white-space:nowrap; width:160px; height:auto;}
	
.bgfly {background-image: url(../images/bgflyoutarrow.png); background-repeat: no-repeat; background-position: right;}