#mainmenu { margin-bottom: 35px; }
#menu_left { background-image: url(/images/front/menu_image.gif); background-position: 0 -34px; background-repeat: no-repeat; height: 34px; width: 8px; position: relative; float: left; }
#menu_mid { width: 755px; height: 34px; background-image: url(/images/front/menu_image.gif); background-position: 0 -68px; background-repeat: repeat-x; float: left; padding-left: 4px; }
#menu_right { background-image: url(/images/front/menu_image.gif); background-position: -1px 0; background-repeat: no-repeat; height: 34px; width: 8px; float: left; }
#nav, #nav ul { padding: 0; margin: 0; list-style: none; position: absolute; z-index: 99; }
#nav { position: relative; float: left; }
#nav a { display: block; color: white; font-weight: bold; margin-top: 1px; padding-left: 5px;}
#nav a.mainmenu { margin-top: 4px; cursor: default; }
#nav a.submenu_cursor { cursor: default; }
#nav a:hover { display: block; text-decoration: none; }
#nav li { float: left; padding-right: 7px; height: 22px; margin-top: 4px; border-left: 2px solid #4a5aad; border-right: 2px solid #4a5aad; }
#nav li ul { position: absolute; border-left: 2px solid black; border-right: 2px solid black; border-bottom: 2px solid black; background-color: #374597; left: -999em; margin-bottom: 10px; margin-top: 8px; margin-left: -2px; padding-bottom: 5px; }
#nav li ul li { float: left; background-color: #374597; height: 21px; padding-right: 5px; border-left: none; border-right: none; border-top: 2px solid #374597; border-bottom: 2px solid #374597; }
#nav li ul ul { margin: -26px 0 0 0; border: 2px solid black; }
#nav li ul li ul li { background-color: #374597; }
#nav li:hover ul { left: auto; }
#nav li:hover ul ul, #nav li.sfhover ul ul { left: -999em; }
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { left: auto; }
#nav li:hover, #nav li.sfhover { background-color: #374597; height: 28px; border-left: 2px solid black;  border-right: 2px solid black; margin-top: 2px; padding-top: 2px; }
#nav li ul li:hover, #nav li ul li.sfhover { background-color: #6875bc; height: 21px; cursor: pointer; border-left: none; border-right: none; border-top: 2px solid #5866af; border-bottom: 2px solid #5866af; margin-top: 2px; margin-left: 0; }
#nav .hr { background-image: url(/images/front/divider.gif); background-repeat: repeat-x; margin-left: 2px; }
#nav li.hr hr { display: none; }
#nav .spacer { height: 5px; }
#nav .submenu_arrow { margin-left: 10px; margin-top: 2px; margin-right: 5px; }
#nav .rounded { -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; } 
#nav .rounded_all { -moz-border-radius: 5px; -webkit-border-radius: 5px; } 
#nav li ul li:hover a, #nav li ul li.sfhover a  { height: 22px; margin-top: -4px; padding-top: 5px; }

#nav .outofmenu { margin-left: -32px; margin-top: 8px; position: absolute; display:none; cursor: default; }
#nav .outofsubmenu { margin-top: -62px; position: absolute; display:none; cursor: default; }

*:first-child+html #menu_mid { width: 759px; }
*:first-child+html #nav a { margin-top: 2px;}
*:first-child+html #nav li ul li { height: 23px; }
*:first-child+html #nav li:hover, *:first-child+html #nav li.sfhover { height: 30px; padding-top: 6px; margin-bottom: 2px;  }
*:first-child+html #nav li ul li:hover, *:first-child+html  #nav li ul li.sfhover { padding-top:3px; margin-bottom: 2px; }
*:first-child+html #nav li ul li:hover, *:first-child+html #nav li ul li.sfhover { height: 28px; padding-top: 4px; margin-bottom: -3px; }
*:first-child+html #nav li ul li:hover a, *:first-child+html #nav li ul li.sfhover a { height: 26px; margin-top: -6px; padding-top: 6px; }
*:first-child+html #nav li ul li ul li:hover a, *:first-child+html #nav li ul li ul li.sfhover a { height: 27px; margin-top: -6px; padding-top: 4px; }

* html #menu_mid { width: 759px; }
* html #nav a { margin-top: 2px; }
* html #nav li ul li { height: 23px; }
* html #nav li:hover, * html #nav li.sfhover { height: 30px; padding-top: 6px; margin-bottom: 2px; }
* html #nav li ul li:hover, * html #nav li ul li.sfhover { height: 28px; padding-top: 4px; margin-bottom: -3px; }
* html #nav li ul li:hover a, * html #nav li ul li.sfhover a { height: 26px; margin-top: -6px; padding-top: 6px; }
* html #nav li ul li ul li:hover a, * html #nav li ul li ul li.sfhover a { height: 27px; margin-top: -6px; padding-top: 4px; }