﻿/* HORIZONTAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 list-style: none;
 margin: 0;
 padding: 0;
 position:relative; z-index:1;
 float:right;
 
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; 
 margin-top: 13px; 
 width: 139px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 139px;
 font-size:11px;
 font-weight:bold;
 color:#fff;
}
.menulist ul ul ul
{
font-size:1em;
}
/*
 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;
 display: block;
 position: relative;
 background: #4c4c4c;
 /*border: 1px solid #330;*/
 text-transform:uppercase;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 color:#fff;
 float: none;
 font-size:11px;
 font-weight:bold;
 margin: 0;
 margin-bottom: -1px;
 
 /*padding:0 15px;*/
 
}
.menulist ul li a,.menulist ul li a.highted
{
	padding:3px 15px;
}
.menulist ul>li:first-child
{
	background-image:url("../images/menu-arrow.jpg");
	background-position:center 8px;
	background-repeat:no-repeat;
	height:20px; 
	padding-top:18px;
	padding-bottom:1px;
}
.menulist ul>li:last-child
{
	padding-bottom:18px;
	margin-bottom: 1px; /* Mozilla fix */
}



/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
 color: #fff;
 text-decoration: none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #FFF;
 background-color: #333;
}
.menulist a.highlighted {
 color: #333;
 background-color: #ccc;
}

/* 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;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */

li a#main01:link, li a#main01:active,
li a#main01:visited, li a#main01:hover
{
	
	background-image:url("../images/main-01.jpg");
	background-repeat:no-repeat;
	background-position: top left; 
	text-decoration:none;
	height:22px;
	width:133px;
	display:block;
}	

li a#main02:link, li a#main02:active,
li a#main02:visited, li a#main02:hover
{
	background:transparent url("../images/main-02.png") no-repeat top left; 
	text-decoration:none;
	height:22px;
	width:133px;
	display:block;
}

li a#main03:link, li a#main03:active,
li a#main03:visited, li a#main03:hover
{
	background:transparent url("../images/main-03.jpg") no-repeat top left; 
	height:22px;
	width:133px;
	text-decoration:none;
	display:block;
}
li a#main04:link, li a#main04:active,
li a#main04:visited, li a#main04:hover
{
	background:transparent url("../images/main-04.jpg") no-repeat top left; 
	height:22px;
	width:133px;
	text-decoration:none;
	display:block;
}
ul.leftnav li{ list-style-type:none;}