/**
 * simedarby
 *  
 * @copyright  Copyright (c) 2010 Scicom (MSC) Berhad
 * @author     Ng Kiat Siong, Celera eShop, kiatsiong.ng@gmail.com
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

#nav { padding:0 0 3px; width: 952px; margin: 0 auto; position:absolute;
   /* background: url(../images/nav.gif) no-repeat 0 0;
    font: bold 1em Arial, Helvetica, sans-serif;*/ }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:999; }
#nav a { display:block; line-height:1.3em; text-decoration:none; }
#nav a:hover { border-top:5px solid #ff4200; margin-top:-5px; display:block; line-height:1.3em; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 0 LEVEL  ***************/
#nav li { float:left; }
#nav a { float:left; color:#8B5242; font-weight:bold; }
#nav li.active a { color:#FF4200; /*background: url(../images/nav.gif) repeat-x 0 -87px; */}
#nav span { /*background: url(../images/nav.png) no-repeat 100% -44px;*/ padding:7px 15px; }
#nav li.first span { padding-left: 18px; }
#nav li.over a,
#nav a:hover { color:#FF4200;}

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#f4f4f4; }
#nav li.active li a,
#nav ul li.active a { background: #fff; }
/*#nav ul li.over { background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%; }*/
#nav ul li.last { background:#ecf3f6; padding-bottom:0; }

#nav ul a,
#nav ul a:hover { float:none; padding:0; background:none; }
#nav ul li a { font-weight:normal !important; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:15em; top:28px; left:-10000px; border:1px solid #aaa; border-color: #ccc #aaa #aaa #ccc; /*border-top-width: 0;*/ }
#nav ul span { background: none; }

/* Show menu */
#nav li.over > ul { left:-1px; }
#nav li.over > ul li.over > ul { left:100px; }
#nav li.over ul ul { left:-10000px; }

#nav ul li a { background:#fff; }
#nav ul li a:hover { background:#f4f4f4; }
#nav ul li.over > a { background:#f4f4f4; }
#nav ul li a,
#nav ul li a:hover { color:#2f2f2f !important; }
#nav ul span, #nav ul li.last li span { padding:4px 15px 5px 15px;}

/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; border-top-width: 1px; }
