/****************************************************************
 
Generic CSS Document for a horizontal drop-down menu

***************************************************************/


/***********************************************

Main navigation code begins here ...

***********************************************/

#navigation  {
margin: 0px 0px 0px 0px;
border-top: none;
border-left: none;
padding: 0;
width: 100%;
height: 3.5em;
font-family: helvetica, arial, Verdana, sans-serif;
background-image:url(../images/bluetiles.png);
background-repeat: repeat-x;
background-position: 0px 0px;
}

.dropdown{
background-image:url(../images/rightarrow.png);
background-repeat: no-repeat;
background-position: 6px 13px;
padding: 0px 0px 0px 5px;
margin: 0px;
}

/* remove indents/bullets from ul and define width of menu */
#navigation ul{ 
margin: 0px;
padding: 0px;
list-style: none;	
	}


/* transform the first-level list into a horizontal menu bar */
/* alternately I could use "display: inline" but for this menu, I will float them to the left */
/* z-index is set here to let all sub-menus override everything underneath */
#navigation li {
float: left;
position: relative;
width: 11em;
font-size: 1.29em;
/* z-index: 200; /* this is the z buddy that fixed that $#!t in IE/Win 5.01 - 6 */
	}

/* second-level lists that are the sub-menu themselves */
/*postition sub-menu items - appearing to the right of parent menu item*/
#navigation li ul {
position: absolute;
left: 0px;
top: 2.7em;  /* this sets how much the sub-menu 'drops' below the main navigation */
display: none;
	   }
      
#navigation  ul li ul:hover, #navigation ul:hover li:hover a.dropdown {
background-color: #5A94D1;
color: #fff;
-moz-border-radius-topleft: 8px;
-khtml-border-top-left-radius: 8px;
-webkit-border-top-left-radius: 8px;
border-top-left-radius: 8px;
-moz-border-radius-topright: 8px;
-khtml-border-top-right-radius: 8px;
-webkit-border-top-right-radius: 8px;
border-top-right-radius: 8px;
background-image:url(../images/rightarrowwhite.png);
background-repeat: no-repeat;
background-position: 6px 13px;
}	   
/* menu stylings - borders, boxes, color, etc */
#navigation  ul li a {
display: block;
height: 1.95em;  /* note IE6/Win does not like the em height designation */
text-decoration: none;
color: #222;
padding: 10px 5px 0px 20px;
margin: 0px 0px 0px 0px;
font-weight: bold;
/* border-bottom: 0; */
letter-spacing: 1px;
		}
/* menu hover stylings - changes background and text color for main & sub-menus */		
#navigation ul li a:hover{
background: #5A94D1 none repeat scroll 0%;
color: #fff;
 -moz-border-radius-topleft: 8px;
-khtml-border-top-left-radius: 8px;
-webkit-border-top-left-radius: 8px;
border-top-left-radius: 8px;
-moz-border-radius-topright: 8px;
-khtml-border-top-right-radius: 8px;
-webkit-border-top-right-radius: 8px;
border-top-right-radius: 8px;			
			   }	
#navigation ul li ul li{
font-size: 1em;
border-top: none;
}
#navigation  ul li ul li a{
padding: 10px 5px 15px 20px;
background-color: #e2e9ef;
border: none;
border-bottom: 1px solid #fafafa;
color:#333;
font-size: 11px;
font-weight: normal;
font-family: Arial, Verdana, sans-serif;
-moz-border-radius-topleft: 0px;
-khtml-border-top-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
border-top-left-radius: 0px;
-moz-border-radius-topright: 0px;
-khtml-border-top-right-radius: 0px;
-webkit-border-top-right-radius: 0px;
border-top-right-radius: 0px;
}
#navigation  ul li ul li a:hover{
border: none;
border-bottom: 1px solid #fafafa;
background-image: url(../images/hoverblue.png);
background-repeat: no-repeat;
background-position: 0px 0px;
color:#fff;
text-decoration: none;
-moz-border-radius-topleft: 0px;
-khtml-border-top-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
border-top-left-radius: 0px;
-moz-border-radius-topright: 0px;
-khtml-border-top-right-radius: 0px;
-webkit-border-top-right-radius: 0px;
border-top-right-radius: 0px;
}	
/*  removed to end conflict with height designation in main (ul li a) style 
	plus this menu is not being optimized for IE 5.x */
/* Fix IE - Hide from IE Mac \*/
/* html ul li { float: left; height: 1%; } /* added 'height: 1%' to fix IE 5.01 jumping/flickering menu bug */
/* html ul li a { height: 1%; }
/* End */ 
	

/* make sub-menus appear on hover - added "li.over ul" to accomodate javascript IE/Win fix */
#navigation  li:hover ul, li.over ul { display: block; z-index: 200; }	



/***********************************************

Search bar CSS starts here. 

***********************************************/
#search{
width: 335px;
height: 35px;
margin: 0px 0px 0px 660px;
padding: 5px 0px 0px 5px;
background-image: url(../images/searchback.png);
background-repeat: no-repeat;
background-position: 0px -4px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* make a fix for this to work in ie 7 and ie 6.  The bottom margins in ie are to high on the bottom. */
#search span{
margin: 0px;
padding: 0px 2px 0px 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color:#222;
font-weight:normal;
display:inline;
}
#search span.button{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
/*
background-image: url(../images/searchbutton.png);
background-repeat: no-repeat;
background-position: 0px 5px;
*/
}
#search span input{
margin: 0px 0px 0px 0px;
padding: 0px;
display: inline;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#search textarea{
margin: 0px 0px 0px 0px;
padding: 0px;
float: left;
display: inline;
}


