body {  
         behavior: url(includes/csshover3.htc);
} /* WinIE behavior call */

/* Overall Settings for CSS Flyout Sidebox Area */
div#nav-cat {
     margin-top: 0em;
     background-color: #FFFFFF;
     width: 95%;
     margin-left: auto;
     margin-right: auto;
     font-weight: bold;
     font-size: 1.2em;
}

/* Overall Settings for CSS Flyout Menu Area */
div#nav-cat ul {
         margin: 0; 
         line-height: 15px;
         padding: 0; 
         width: 100%; 
         background-color: #FFFFFF; 
         z-index: 1000;
/*  border: 1px solid #AAA;*/
}

/* Sets Backgrond Colour for further submenu blocks */
div#nav-cat ul.level2 {background-color: #D79FF4; width: 175px;}
div#nav-cat ul.level3 {background-color: #DFB3F7;}
/* div#nav-cat ul.level4 {background-color: #E7C6F9;} */
/* div#nav-cat ul.level5 {background-color: #c65928;} */
/* div#nav-cat ul.level6 {background-color: #c65928;} */

/* Sets Category Text Background on Main Menu for categories without subcats */
div#nav-cat li {
    z-index: 1; 
        position: relative; 
        list-style: none; 
        margin: 0;
    margin-top: 2px; /* change it to whatever space you want to put space between buttons*/
    border-bottom: 1px solid #FFF; /* <---this line may help or hinder IE menu shifting issues */
}

/* Set different coloured bottom borders for further submenu blocks */
 div#nav-cat ul.level2 li{ 
	border-bottom: 1px solid #D79FF4; 
 } 

 div#nav-cat ul.level3 li{ 
 	border-bottom: 1px solid #DFB3F7; 
 } 

/* div#nav-cat ul.level4 li{border-bottom: 1px solid #E7C6F9;}  */

div#nav-cat li li {
    margin: 0; /* this overrides the margin-top in the declaration above */
} 

/* Sets currently hovered category on the Main Menu and it's parent category to orange background */
div#nav-cat li:hover {background-color: #ececec;}

/* Sets Category Text Background on Main Menu for categories with subcats */
div#nav-cat li.submenu {background: url(../images/arrow.gif) 95% 50% no-repeat;}

/* Sets currently hovered category on the Main Menu and it's parent category to ... background */
div#nav-cat li.submenu:hover {background: url(../images/arrow2.gif) 95% 50% no-repeat;background-color: #d7d7d7;}

/* Settings for Category Text */
div#nav-cat li a {
        display: block; 
        padding: 0.25em 0 0.25em 0.5em;
    text-decoration: none; 
        width: 99%; 
        color: #400080;
}

/* Settings for the display of submenu blocks */
div#nav-cat ul a {
        width: auto;
}

/* Settings for position of submenu blocks */
div#nav-cat ul ul {
        position: absolute; top: 0; left: 100%;
    display: none;
    z-index: 1000;
}

/* Settings for extra submenu blocks */
div#nav-cat ul.level1 li.submenu:hover ul.level2, 
div#nav-cat ul.level2 li.submenu:hover ul.level3 {
        display:block; 
/*        background-color: #efdfff; */
}
div#nav-cat ul.level3 li.submenu:hover ul.level4,
div#nav-cat ul.level4 li.submenu:hover ul.level5,
div#nav-cat ul.level5 li.submenu:hover ul.level6 {
        display:none; 
}