/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul { 
    margin: 0;
    padding: 0;
    list-style: none;
}
.menulist {
    margin-right : 7px;
}
.menulist a{
    font-family: Tahoma;
    line-height : normal;
}
.menulist a:hover {
    text-decoration : none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
    display: none;
    position: absolute;
    top: 21px;
    left: 0;
    width : 180px;
}
*html .menulist ul {
    top: 22px;
}


/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
    top: 0;
    left: 180px;
    width: 230px;
}


/* All menu items (<li> tags). 'float: left' lines them up horizontally,
    and they are positioned relatively to correctly offset submenus. */
.menulist li { 
    float: left;
    display: block;
    position: relative;
}
.menulist .rootmenu_li {
    width: 110px;
    margin: 0 0 0 10px; 
    cursor: pointer; 
    background: url(../../images/main_menu_border.jpg) repeat-x left bottom;
}
.menulist .rootmenu_li:hover{ 
    background-image: url(../../images/main_menu_border_highlight.jpg); 
}
.menulist .rootmenu_li_end {
    background: url(../../images/main_menu_border_end.jpg) no-repeat bottom;
}
.menulist .rootmenu_li_end:hover{
    background-image: url(../../images/main_menu_border_end_highlight.jpg);
}
.menulist .rootmenu_li_end ul {
    width:135px;
}
.menulist .rootmenu_li_end ul ul {
    left: -210px;
}
.menulist .rootmenu_li li{
	background: #105AA1;	
}
.menulist .rootmenu_li li li {
    background: #00A8DE;
}
.menulist .rootmenu_li li li a:hover{
	background: #48C0E5;	
}
.menulist .subrootmenu_a {	
    font-size:11px;
    font-family: Tahoma;
    color : #FFFFFF;
    text-decoration:none;	
    font-weight:bold;
    padding-left:7px;	
}
.menulist .rootmenu_ul {
    background: #105AA1;
    padding: 15px 0 31px !important;
}
.menulist .rootmenu_ul a{
	height: 27px;  
	padding: 0 8px;
	line-height:27px;
	overflow:hidden;
}
.menulist .rootmenu_ul a:hover {
    background: #00A8DE;
}
.menulist .rootmenu_a {
    font-size:11px;
    color : #6B6B6B;
    text-decoration:none;
    font-weight:bold;
    padding-bottom:7px;
}
.menulist .moremenu:hover{ 
    background: #00A8DE; 
}
.menulist .moremenu ul {
    background: #00A8DE;
}
.menulist .moremenu li a {
    font-size:11px;
    font-family: Tahoma;
    color : #FFFFFF;
    text-decoration:none;	
    overflow:hidden;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
    /*float: none !important;*/
    margin: 0 !important;
    width : inherit;
}
.menulist ul>li:last-child {
}

/* Links inside the menu */
.menulist a {
    display: block;
    overflow:hidden;
    text-decoration: none;
}

/* Only style submenu indicators within submenus. */
.menulist a .subind {
    display: none;
    overflow:hidden;
}
.menulist ul a .subind {
    display: block;
    float: right;
    overflow:hidden;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
    float: left;
    overflow:hidden;
}
.menulist ul a {
    float: none !important;
    overflow:hidden;
}
/* \*/
.menulist a {
    float: none !important;
    overflow:hidden;
}
/* */


/*
 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%;
}
* html .menulist .rootmenu_li_end {
    margin-right : 0;
}
/* End Hacks */