<style>
/* For Gmenu on the list page */
.Gmenu ul, .Gmenu ul li{margin:0;padding:0;display:inline;}
.Gmenu ul li {float:left;position:relative;width:auto;}
/* for Paris */
.menutab1 {float:left;border-collapse: collapse; margin-top:1px}
.menutab1 * {padding:0;margin:0}
.menutab2 {border-style:solid;border-width:1px;border-right:none; border-bottom:none;height:25px}
.menutab3 {border-style:solid;border-width:1px;border-bottom:none; border-right:none;padding:3px;height:18px;}
.menutab3 a {white-space:nowrap}
/* for Madrid */
.menuitem {padding:6px 18px 10px 13px;margin-bottom:1px;}
.main_item{margin-right:2px;}
</style>
<div id="mainmenu_block" class="Gmenu">
<ul>
##foreach @BUILDER.MenuNodes as @menu filter !@menu.parent##
	<li id="li##@menu.id##" view="topitem" ##if @menu.type=="Separator"##class="hr"##endif##>
	##include templates\topmenuitem_hpreview.htm##
	</li>
##endfor##			
</ul>
</div>
