@charset "utf-8";
/* CSS Document */
#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
/*total menu bar*/
#menu {
    width: auto;/*this is the length of the entire menu*/
    margin: auto;/*this is how far from the TOP the menu is*/
    border: 0px solid #515547;
    background-color: ;
    background-image:url(images/TopMenu/menu_1.gif);
    border-radius: 0px;/*this is corner rounding on whole menu - 6 is good- 0 is square*/
    box-shadow: 0 0px 0px #6C725D;
}
#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}
#menu li {
    float: left;
    border-right: 1px solid #a3a896;
	border-left: 1px solid #818772;
    box-shadow: 0px 0 0 #818772;
    position: relative;
	
}

#menu a {
    float: left;
    padding: 14px 23px;/*this is the height of the entire menu and the padding around the text*/
    color: #3b250d;
    text-transform: uppercase;
    font: bold 16px Times New Romasn, Times, Serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #a8a092;
	
}

#menu li:hover > a {
    color: #564634;
	text-decoration: underline;
	
}

*html #menu li a:hover { /* IE6 only */
    color: #5d5644;
}
#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0px;
    z-index: 1;    
    background: #444;   
    background: linear-gradient(#adb1a2, #858c73); /*this is the background color of each menu button*/
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
    border-radius: 3px;
    transition: all .4s ease-in-out;
	
}

#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
	
	
}

#menu ul ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);      
}

#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
/*Bottom of the list options*/
#menu ul li:last-child {   
    box-shadow: none;    
}

#menu ul a {    
    padding: 10px;
    width: 180px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#menu ul a:hover {
    background-color: #adb1a2;
    background-image: linear-gradient(#858c73, #adb1a2); /*this is the color gradient shown when you rollover a link*/
	box-shadow: 0 -1px 0 rgba(255,255,255,.3);
}

/*Dropdown top options*/
#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #7e9077; 
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #7e9077; 
    border-bottom-color: transparent;   
}

#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

$(function() {
  if ($.browser.msie && $.browser.version.substr(0,1)<7)
  {
    $('li').has('ul').mouseover(function(){
        $(this).children('ul').css('visibility','visible');
        }).mouseout(function(){
        $(this).children('ul').css('visibility','hidden');
        })
  }
});

