#sgl-nav {
    font-size:10px;
    font-family:tahoma;
    width: 800px;
height:21px; background:url('../images/bg_10x25_grad.gif');
}

#sgl-nav ul {
    position: absolute;
    width: 100%;
    padding: 0; margin:0;
    list-style:none;
    z-index: 1003; /* we want menu to be in front of other layers*/ 
    display: block;
}
#sgl-nav ul li {
    position: relative;
    float: left;
    margin: 0;
    /* IE :hover silly javascript workaround */
   /* behavior: url(themes/default/css/listItemHover.htc); // moved into header.html */
    background: #cccccc;
    /* standard button width */
    mmin-width:100px;
    _wwidth:100px;
}

#sgl-nav ul li a {
    display: block;
    position: relative;
    padding:0.2em;
    padding-left: 5px; padding-right: 5px;
    background: #dddddd;
/*    background:url('../images/bg_1x18_grad.gif');*/
    background:url('../images/bg_10x25_grad.gif');
    /*background:url('../images/datagrid_bg6.jpg'); background-position:top left;*/
    font-weight: bold;
    color: #555555;
    color: navy;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border:1px solid #aaaaaa;
    min-height:15px;
}
#sgl-nav ul li a SPAN{
    display:none;
}
#sgl-nav ul li a:hover {
    color: black;
    background: #dddddd;
    color: white;
    background: navy;
    text-decoration: none;
    border:1px solid black;
}

#sgl-nav ul li a.hasKids {
    text-decoration: underline;
}
/* this is for nested positions in first menu level if positions >10 */
#sgl-nav ul li a.hasKidsMore {
    text-decoration: none;
/*   background:url('../images/bg_1x18_grad_d.gif');*/
   background:url('../images/bg_10x25_grad_d.gif');
/*
    background:url('../images/datagrid_bg6.jpg'); background-position:top left;
*/
}

#sgl-nav ul li a.hasKids SPAN {
        display:inline;
        text-align:right;
        width:10px;
        background-image:url('../images/arr_d.gif');
        background-position: right;
        background-repeat:no-repeat;
}

/* This one doesn't affect IE */
#sgl-nav ul li:hover > ul{
    display: block;
    width:100%;
    /* Mozilla */
    min-width:120px;
}
#sgl-nav ul ul,
#sgl-nav ul ul li {
    width: 100%;
    /* IE */
     _width:120px;
    /*position:relative; z-index:5;*/
    word-wrap: wrap-word;
    word-break: break-all;
}

#sgl-nav ul ul li a {
    border: 1px solid #aaaaaa;
    border-top: none;
    padding: 0.2em;
    padding-left: 0.5em;
    color: #555555;
    text-align:left;
    font-weight: normal;
    background: #eeeeff;
    word-wrap: wrap-word;
    word-break: break-all;
}

#sgl-nav ul ul li a:hover {
    text-decoration: none;
    background: #ddddee;
        color: black;
}
#sgl-nav ul ul li:first-child > a {
    border-top: 1px solid #aaaaaa;
}
/*hide all sublevels*/
#sgl-nav ul ul {
    display: none;
}

#sgl-nav ul ul ul {
    top: 0.5em;
    left: 95%;
}
#sgl-nav ul li.liMore ul ul {
    top: 0.5em;
    left: -95%; /* cascade nested elements to LEFT */
}
