/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
/* MENU ATAS */
.menulist, .menulist  ul 
{
 margin: 0;
 padding: 0;
 color:#000000;
 /*width:auto;*/
 list-style: none;
 
 /*font-size:12px;*/
}

/* sementara */
.mainMenu 
{
	background-image:url(../images/menu_separator.gif);
	background-position:left center;
	background-repeat:no-repeat;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
/* sub menu */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 20px; /* I'm using ems rather than px to allow people to zoom their font */
 left:-2px;
 width:150px;
}

/* Second and third etc. level submenus - position across from parent instead *//* sub menu dari sub menu */
.menulist ul ul {
 top: 0px;
 left: 150px;
}

/*
	menu bar
*/
.menulist li {
 float: left;
 position: relative;
 margin-right: -1px;
 width:100px;
 text-align:center;
 color:#FFFFFF;
}


/* container submenu, baik dari menubar, maupun dari submenu juga */
.menulist ul li {
 width:auto;
 float: none;
 margin-right: 0;
 margin-bottom: -3px;
 text-align:left;
 /*padding:2px*/
 background-image:url(../images/deviant_menuside.gif);
 background-color: #FFFFFF;
 background-repeat:repeat-y;
 border-left:1px solid #AAAAAA;
 border-right:1px solid #AAAAAA;
 font-size:11px;
 
}


a.submenu_n:visited, a.submenu_n:link, a.submenu_n:active
{
	color: #333333;
	font-size:8pt;
	margin:2px;
	font-style:normal;
}

a.submenu_n:hover
{
	font-size:8pt;
	font-style:normal;
	font-weight:bold;
	text-decoration:none;
	color:#C0A062;
	/*border:1px solid #CCCCCC;*/
}


.menulist ul>li:last-child {
 margin-bottom: 1px;
}

.firstmenuitem
{
	border-top:1px solid #AAAAAA;
}

.lastmenuitem
{
	border-bottom:1px solid #AAAAAA;
}

/* Links inside the menu */
.menulist a {
 display: block;
 color: #333333;
 text-decoration: none;
 padding:3px;
 padding-left:10px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */


/* saat menu di hover sama mouse */


.menulist a:hover, .menulist_h a.highlighted:hover, .menulist_h a:focus {
 color: #FFFFFF;
 /*background-color: #C0A000;*/
 /*background-color: #000000;*/
 background-image:url(../images/menu_hover.gif);
 /*border:1px solid #FFFFFF;*/
 font-weight:bold;
 font-style:normal;
}


/* saat focus di menubar hilang (tidak dihover lagi) */
.menulist  a.highlighted {
 
 color: #FFFFFF;
 background-color: #FFFFFF;
 background-image:url(../images/menu_hover.gif);
 /*border:1px solid #FFFFFF;*/
	
/*	filter: Alpha(Opacity=20, FinishOpacity:80); */
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* 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;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */
