/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
	padding: 0;
	margin: 0px;
	list-style: none;
	top: 500px;
	left: 0px;
	width: 1050px;
	margin-left: -2px;
	font-family:Arial
	
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	text-align: left;
	visibility: hidden;
	position: absolute;
	top: 19px;
	left: 5px;
	width: 222px;
	margin-left: -17px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
	top: 0px;
	left: 239px;
	/*z-index: 0;  this doesn't work - we can't overlap the menus because IE sucks */
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
	float: left;
	position: relative;

}

.bg {
	background: #1b279c;
	margin: 0px;
	padding: 5px 10px;
	
}

.bord {
	border: 1px solid #10196e;
	margin: 0;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90); 
	moz-opacity: 0.9; 
	khtml-opacity: 0.9; 
	opacity: 0.9;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
	float: none;
	margin-right: 0;
	line-height: 15px;
}
.menulist ul>li:last-child {
	margin-bottom: 1px;
}

/* Links inside the menu */
.menulist a, .menulist a:link, .menulist a:visited {
	display: block;
	color: #ffffff;
	font-size: 12px;
}

/* List  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a:focus {
	color: #E3E2B3;
	font-size: 12px;
	text-decoration: none;
}


/* Links inside the menu */
.menulistMain a, #menulistMain a:link, .menulistMain a:visited {
	display: block;
	color: #ffffff;
	font-size: 12px;
}

/* List  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulistMain a:hover, .menulistMain a.highlighted:hover, .menulistMain a:focus {
	color: #000000;
	font-size: 12px;
	text-decoration: none;
}
.menulistMain  a.highlighted {
	color: #000000;
	text-decoration: none;
}

a.greg:link, a.greg:hover, a.greg:visited, a.greg:active {
	font-size: 12px;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
	display:  none;
}
.menulist ul a .subind {
	display:  block;
	float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
	float: left;
}
.menulist ul a {
	float: none;
}
/* \*/
.menulist a {
	float: none;
}
/* */

#mainNav {padding:0px 4px 0px 4px;}

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
	float: left;
	height: 1%;
}
* html .menulist  ul a {
	height: 1%;
}
/* End Hack */

/* this is normally used when javascript is disabled. 
* we'll use it by default to avoid all animation */
.menulist li:hover>ul {
 visibility:visible;
}

