/* Reset all margins and paddings for browsers */
* { 
	padding: 0;
	margin: 0;
}

body { 
	font: .8em Verdana, Arial, Sans-Serif; 
	line-height: 1.6em; 
	margin: 0
}

#wrap {	margin: 0 auto;	width: 80% }

/* TOP HEADER -------- */
#top {
	margin: 0 0;
	padding: 0;
	margin-top: 7px;
	color: #666;
	height: 90px;
}
#top h1 { padding: 10px 0 0 25px; color: #FFF; font-size: 160%; background: transparent;}
#top h2 { padding: 0px 0 0 25px; color: #aaa; font-size: 80%; background: transparent;}
#top .padding { padding-top: 5px; }
#top .lefts { 
	height: 81px; 
}
#top .rights {
	float: right;
	height: 75px;
	width: 200px;
	margin-right: 20px;
	font-size: 10px;
	text-align: right;
}

/* SEARCH BOX AND BUTTON ----------*/

#searchbox {
        background:transparent url('http://www.armarcorp.com/images/menu/menupad2.gif') no-repeat scroll 0 0;
        height:35px;
        width:365px;
        display:block;
        overflow:hidden;
    }
   
#searchbox .textfield {
        background:white none repeat scroll 0 0;
        border:none;
        float:left;
        margin-right:17px;
        margin-left:10px;
        margin-top:5px;
        padding-top:2px;
        width:175px;
        height:23px;
    }
    
#searchbox .button {
        background:transparent none repeat scroll 0 0;
        border:none;
        cursor:pointer;
        float:left;
        height:26px;
        margin-top:5px;
        width:49px;
}
   
#searchbox .textfield:focus{
        outline:none;
        background:white url('http://www.armarcorp.com/images/menu/menupad2.gif') no-repeat scroll -10px -46px;
}

#subheader { 
	clear: both; 
	border-top: 1px dotted #888;	
	border-bottom: 1px dotted #888;
	background: #eaeaea;
	color: #808080;
	padding: 1em;
	margin: 10px 8px 10px 8px;
	text-align: center;
	
}
#subheader a { text-decoration: none; border-bottom: 1px dashed #004D87; } 


/* FOOTER -------- */

#footer {
	clear: both;
	background: #FFF url(http://www.armarcorp.com/images/footer.jpg) repeat-x;
	height: 46px;
	margin-left: 8px;
	margin-right: 8px;
	font-size: 75%;
	color: #000000;
}
#footer p  { padding: 5px }
#footer .rside { text-align: center; padding: 5px;}

 
a { color: #004D87; background: inherit; text-decoration: none }
ul {  padding: 0; margin: 0}
li { list-style-type: none }


/* MENU -------- */
#drop-menu {height:30px; position:relative; z-index:100;}
#drop-menu .pad {float:left;}

/* 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, 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:35px;}
.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 {width:61px; background:url(http://www.armarcorp.com/images/menu/home.gif) no-repeat;;}
.menu li.p2 {width:84px; background:url(http://www.armarcorp.com/images/menu/products.gif) no-repeat;;}
.menu li.p3 {width:92px; background:url(http://www.armarcorp.com/images/menu/customers.gif) no-repeat;;}
.menu li.p4 {width:105px; background:url(http://www.armarcorp.com/images/menu/ourcompany.gif) no-repeat;;}
.menu li.p5 {width:56px; background:url(http://www.armarcorp.com/images/menu/links.gif) no-repeat;;}
.menu li.p6 {width:65px; background:url(http://www.armarcorp.com/images/menu/search.gif) no-repeat;;}

/* set up the normal unhovered images in the links */
.menu li a#home {width:61px; background:url(http://www.armarcorp.com/images/menu/home.gif) no-repeat;}
.menu li a#products {width:84px; background:url(http://www.armarcorp.com/images/menu/products.gif) no-repeat;}
.menu li a#customers {width:92px; background:url(http://www.armarcorp.com/images/menu/customers.gif) no-repeat;}
.menu li a#company {width:105px; background:url(http://www.armarcorp.com/images/menu/ourcompany.gif) no-repeat;}
.menu li a#links {width:56px; background:url(http://www.armarcorp.com/images/menu/links.gif) no-repeat;}
.menu li a#search {width:65px; background:url(http://www.armarcorp.com/images/menu/search.gif) 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#products:hover, .menu li:hover a#products,
.menu li a#customers:hover, .menu li:hover a#customers,
.menu li a#company:hover, .menu li:hover a#company,
.menu li a#links:hover, .menu li:hover a#links,
.menu li a#search:hover, .menu li:hover a#search {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 {left:0; top:35px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:105px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:105px;}
.menu :hover ul.sub li a {display:block; font-size:11px; height:20px; width:98px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
.menu :hover ul.sub li a.fly {background:#fff url(http://www.armarcorp.com/images/menu/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub li a:hover {background:#00668C; color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#00668C url(http://www.armarcorp.com/images/menu/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#00668C url(http://www.armarcorp.com/images/menu/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:103px; top:-4px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:auto; z-index:200; height:auto; z-index:300;}
