/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.MM { position:relative; z-index:50;}

/* remove all the bullets, borders and padding from the default list styling */
.MM ul ul {width:170px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.MM li {float:left; position:relative;}
/* style the links for the top level */

/* hide the sub levels and give them a positon absolute so that they take up no room */
.MM ul ul, .MM ul ul.gal {visibility:hidden; position:absolute; height:0; top:40px; left:0px; width:170px; padding: 5px 0 0; background: #E5E6E6; z-index:200; }

.MM ul ul.gal {
	left:-88px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.MM table { position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
.MM ul ul li { background: #E5E6E6; padding: 0 5px; width: 160px; height: auto; border: 0;}

.MM ul ul a, .MM .MM_last ul a { color: #3E60AD; text-align: left; height: auto; padding: 6px 10px 6px 10px; width:140px; font-size: 12px; border-top: 0; border-right: 0; border-left: 0; border-bottom: 1px solid #3E60AD; text-transform: none; background: none; display:block;}

.MM ul ul .topsub_last a, .MM .MM_last ul .topsub_last a { border: none; padding: 6px 10px 6px 10px; }

.MM ul ul .topsub_last, .MM .MM_last ul .topsub_last { padding-bottom: 5px; }

.MM a:hover { color: #0e76bc; background: none; }
.MM :hover > a { color: #6D6F71; }

/* make the second level visible when hover on first level list OR link */
.MM ul li:hover ul, .MM ul a:hover ul {visibility:visible;  }

.MM ul ul a:hover, .MM .MM_last ul a:hover  { background: #3E60AD; color: #fff; width:140px; }

.MM ul ul :hover > a, .MM .MM_last ul :hover > a { background: #3E60AD; color: #fff; width:140px; text-shadow:none; }

.MM ul ul .topsub_last a:hover, .MM .MM_last ul .topsub_last a:hover { border-bottom: 0; }