/* Main */
#menu{
	width: 984px;
	height: 50px;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	list-style: none;  
	background: url(img_m_1.gif);
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-box-shadow: 0 2px 1px #9c9c9c;
	-webkit-box-shadow: 0 2px 1px #9c9c9c;
	box-shadow: 0px 2px 1px #4a347c;
z-index: 99999; 	
}

/* EDIT: removed border-right: 0px solid #acb0a2; and applied a new CLASS: BUBU1 */
#menu li{
	float: left;
	padding: 0px 0px 0px 0px;
	position: relative;
	display: block;
z-index: 99999; 	
}

/* EDIT: HEIGHT and PADDING - to verticaly align bigger or smaller fonts, WIDTH - each cell same width, TEXT ALIGN - text centered in each cell */
#menu a{
	float: left;
	height: 32px;
	padding: 18px 20px 0px 20px;
	color: #4a347c;
	font: bold 14px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #ffffff;
width:156px;
text-align:center;
z-index: 99999; 
}

/* EDIT: the purple image rollover, it may have round corners */
#menu li:hover > a{
	color: #ffffff;
	text-shadow: 0 1px 0 #000000;	
	display: block;
	background:url(img_m_2.gif);
}

*html #menu li a:hover{ /* IE6 */
	color: #ffffff;
}

#menu li:hover > ul{
	display: block;
}

/* Sub-menu */

#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 99999;    
    background: #c0dc8f;
    background: -moz-linear-gradient(#c0dc8f, #a094b8);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #a094b8),color-stop(1, #a094b8));
    background: -webkit-linear-gradient(#c0dc8f, #a094b8);    
    background: -o-linear-gradient(#c0dc8f, #a094b8);	
    background: -ms-linear-gradient(#c0dc8f, #a094b8);	
    background: linear-gradient(#c0dc8f, #a094b8);	
    -moz-border-radius: 5px;
    border-radius: 5px;	
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

/* EDIT: WIDTH - each cell same width, TEXT ALIGN - text left in each cell */
#menu ul a{    
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
	color: #4a347c;
	text-shadow: 0 1px 0 #ffffff;	
text-align: left;
width: 200px;
}

*html #menu ul a{ /* IE6 */   
	height: 10px;
	width: 200px;
}

*:first-child+html #menu ul a{ /* IE7 */    
	height: 10px;
	width: 200px;
}

#menu ul a:hover{
    background: #4a347c;
	background: -moz-linear-gradient(#a094b8,  #4a347c);	
	background: -webkit-gradient(linear, left top, left bottom, from(#a094b8), to(#4a347c));
	background: -webkit-linear-gradient(#a094b8,  #4a347c);
	background: -o-linear-gradient(#a094b8c,  #4a347c);
	background: -ms-linear-gradient(#a094b8,  #4a347c);
	background: linear-gradient(#a094b8,  #4a347c);
}

#menu ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #c0dc8f;
}

/* EDIT: DROPDOWN ARROW - Over */
#menu ul li:first-child a:hover:after{
    border-bottom-color: #a094b7; 
}

#menu ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */





/* EDIT: BUBU for background */
.bubu1 {
background: url(img_m_3.gif) no-repeat right top;
}

/* EDIT: BUBU replaces "#menu a{" for different cell width to match 984 */
#bubu2 a{
	float: left;
	height: 32px;
	padding: 18px 20px 0px 20px;
	color: #4a347c;
	font: bold 14px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #ffffff;
width:160px;
text-align:center;

}

/* EDIT: BUBU for specific round corners */
#bubu3 a{
-moz-border-radius: 15px 0px 0px 15px;
border-radius: 15px 0px 0px 15px;	
}

#bubu4 a{
-moz-border-radius: 0px 15px 15px 0px;
border-radius: 0px 15px 15px 0px;	
}

