/* The "clearFix" class is used for clearing the main menu items because they
   are left-floated for horizontal main menus and we have to clear them if our main
   menu is relatively positioned (as in this example) so that the main menu box
   takes its place correctly on the page. We have to apply this class to the parent
   DIV of the root UL of our menu tree. Please take a look at section 6.1 in the
   SmartMenus User's Manual for a detailed explanation if you like. */

.clearFix:after { /* for modern browsers */
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}
.clearFix { /* for IE7/Win */
    min-height:1px;
    width: 100px;
}
* html .clearFix { /* for IE5-6/Win */
    height:1px;
    width: 100px;
}
* html>body .clearFix { /* for IE5/Mac */
    height:auto;
    display:inline-block;
}

/* The following 4 rules are fixes for CSS bugs in IE on Windows and Mac that result in
   incorrent background position when background image is used for the menu items.
   Normally the items' border should not be taken into account when the background image
   is aligned but this is not the case in these browsers.
   The first 3 rules for IE on Win are only needed if your main menu is horizontal.
   You can remove all 4 rules if you can live with the small display differences in
   these browsers or if you are not using background image for the menu items. */

*:first-child+html .MM>li>a { /* for IE7/Win */
	background-position:20px 1px;
}
* html .MM a { /* for IE5-6/Win */
	background-position:1px 1px;
}
* html .MM ul a { /* for IE5-6/Win */
	background-position:0 0;
}
* html>body #Menu1 a { /* for IE5/Mac */
	background-position:1px 1px;
}
.MM a:visited, MM a:link, MM a:active {
  color:#ff0000;
}

/* CSS for the sidebox */
*:first-child+html .SBMM>li>a { /* for IE7/Win */
	background-position:20px 1px;
}
* html .SBMM a { /* for IE5-6/Win */
	background-position:1px 1px;
}
* html .SBMM ul a { /* for IE5-6/Win */
	background-position:0 0;
}
* html>body #SideboxMenu a { /* for IE5/Mac */
	background-position:1px 1px;
}
.SBMM a:visited, SBMM a:link, SBMM a:active {
  color:#ff0000;
}

