/** IE bugs: a:link, a:visited, a:hover need to be styled as well; does not display separator... workaround? */
/** customize colors here */
a.mainlevel, a.mainlevel_active, a.mainlevel_current,
a.mainlevel:link, a.mainlevel_active:link, a.mainlevel_current:link,
a.mainlevel:visited, a.mainlevel_active:visited, a.mainlevel_current:visited {
        background-color: #FFFFFF;
        color: #3A5C76;
         border-top: 1px solid #558db2;
         border-left: 1px solid #558db2;
         border-bottom: 1px solid #558db2;

}

a.mainlevel:hover, a.mainlevel_active:hover, a.mainlevel_current:hover, a.mainlevel_right:hover {
        background-color: #90caf0;
        color: #3A5C76;

}

a.mainlevel_right {
        background-color: #FFFFF;
        color: #3A5C76;
         border: 1px solid #558db2;

}

a.sublevel, a.sublevel_active, a.sublevel_current,
a.sublevel:link, a.sublevel_active:link, a.sublevel_current:link,
a.sublevel:visited, a.sublevel_active:visited, a.sublevel_current:visited {
        background-color: #FFFFFF;
        color: #1C7BB0;
}

a.sublevel:hover, a.sublevel_active:hover, a.sublevel_current:hover {
        background-color: #90caf0;
        color: #C9ECFF;
}

ul.mainlevel ul ul a.sublevel, ul.mainlevel ul ul a.sublevel_active, ul.mainlevel ul ul a.sublevel_current,
ul.mainlevel ul ul a.sublevel:link, ul.mainlevel ul ul a.sublevel_active:link, ul.mainlevel ul ul a.sublevel_current:link,
ul.mainlevel ul ul a.sublevel:visited, ul.mainlevel ul ul a.sublevel_active:visited, ul.mainlevel ul ul a.sublevel_current:visited {
        background-color: blue;
        color: white;
}

ul.mainlevel ul ul a.sublevel:hover, ul.mainlevel ul ul a.sublevel_active:hover, ul.mainlevel ul ul a.sublevel_current:hover {
        background-color: #90caf0;
        color: blue;
}


/** customize style / layout here */

a.mainlevel, a.mainlevel_active, a.mainlevel_current, span.mainlevel, a.mainlevel_right,
a.mainlevel:link, a.mainlevel_active:link, a.mainlevel_current:link,a.mainlevel_right:link,
a.mainlevel:visited, a.mainlevel_active:visited, a.mainlevel_current:visited, a.mainlevel_right:visited,
a.mainlevel:hover, a.mainlevel_active:hover, a.mainlevel_current:hover, a.mainlevel_right:hover
 {
        font-size: 12px;
         font-family: Tahoma;
         font-weight: bold;
        text-align: left;
        text-decoration: none;
        display: block;
        padding: 0.3em 1em 0.3em 1em;        /* top, right, bottom, left */
}



a.sublevel, a.sublevel_active,  span.sublevel,
a.sublevel:link, a.sublevel_active:link, a.sublevel_current:link,
a.sublevel:visited, a.sublevel_active:visited, a.sublevel_current:visited
 {
        font-weight: normal;
         font-size: 12px;
         font-family: Tahoma;
        text-align: left;
        text-decoration: none;
        display: block;
        border-left: 1px solid #558db2;
        border-right: 1px solid #558db2;
         border-bottom: 1px solid #558db2;
        padding: 0.3em 0.5em 0.3em 0.5em;        /* top, right, bottom, left */
}

a.sublevel:hover, a.sublevel_active:hover, a.sublevel_current:hover
{
color: #3A5C76;

}



a.mainlevel, a.mainlevel_active, a.mainlevel_current, span.mainlevel {
}

a.sublevel, a.sublevel_active, a.sublevel_current, span.sublevel {
        font-size: 90%;
        border-top: none;
        height: 1%;        /* this is required for the IE to cause the "hasLayout" property and make the whole anchor clickable - "Holly Hack" */
}

#active_menu,
a.mainlevel_active, a.mainlevel_current,
a.mainlevel_active:link, a.mainlevel_current:link,
a.mainlevel_active:visited, a.mainlevel_current:visited,
a.mainlevel_active:hover, a.mainlevel_current:hover,
a.sublevel_active,
a.sublevel_active:link,
a.sublevel_active:visited,
a.sublevel_active:hover {
        font-weight: normal;
        background-color: #90caf0;
        color: #3A5C76;
         font-weight: bold;
         border-top: 1px solid #558db2;
         border-left: 1px solid #558db2;
         border-bottom: 1px solid #558db2;
}

a.sublevel_current,
a.sublevel_current:link,
a.sublevel_current:visited,
a.sublevel_current:hover {
        font-weight: normal;
        background-color: #90caf0;
        color: #3A5C76;
         border-right: 1px solid #558db2;
         border-left: 1px solid #558db2;
         border-bottom: 1px solid #558db2;
}


#menu_right {
        font-weight: normal;
        background-color: #90caf0;
        color: #3A5C76;
         border-top: 1px solid #517995;
}

ul.mainlevel, .mainlevel ul {
        padding: 0;
        margin: 0;
        list-style: none;
        line-height: 1;
        z-index: 100;
}

ul.mainlevel li {
        padding: 0;
        margin: 0;
        background: none;
        float: left;
}

ul.mainlevel li li {
        position: relative;
        display: block;
        width: 8em;
}


ul.mainlevel ul {
        display: block;
        position: absolute;
        left: -999em;
        margin: -0.1em 0 0 0em;
        width: auto;
        height: auto;
        z-index: 101;
}

ul.mainlevel li li ul {
        margin: 0em 0 0 10em;
        z-index: 102;
}

ul.mainlevel li:hover ul,
ul.mainlevel li.hover ul {
        left: auto;
}

ul.mainlevel li:hover ul ul,
ul.mainlevel li.hover ul ul {
        left: -999em;
}

ul.mainlevel li:hover ul li:hover ul,
ul.mainlevel li.hover ul li.hover ul {
        left: auto;
}


ul.mainlevel, ul.mainlevel li li {
        clear: left;
}

/** separator */
span.mainlevel, span.sublevel {
        display: block;
        width: 1em;
        border-width: 0px;
        margin-left: 1em;
        padding: 0;
        padding-top: 1px;
}

/** IE5.0/win workaround: the ">" is handled like a "," */
ul.mainlevel > ul.mainlevel {
        position: absolute;
        top: 5em;        /* change the absolute position for IE5.0 here */
}
ul.mainlevel > ul.mainlevel li.hover ul {
        margin: 0.1em 0 0 0em;        /* top, right, bottom, left */
}
ul.mainlevel > ul.mainlevel li.hover ul ul {
        margin: -1.6em 0 0 10em;        /* top, right, bottom, left */
}
