#top-menu ul, /* сбрасываем поля и отступы у списков */
#top-menu ul ul {
    list-style:none;
    padding:0;
    margin:0;
}
#top-menu ul {    
    position:relative;
    height:50px;
    text-align:center;   
    font-size: 14px;
        z-index: 2;
}
#top-menu ul li {  
    display: inline-block;
    list-style: none outside none;
    background: url(../images/top-menu-sep.png) 0px 25px no-repeat;
        height: 50px;
        position: relative;
}
#top-menu ul li:last-child {
    border:none;
    box-shadow:none
}    
#top-menu ul li a {
    display:block;
    color: #63573f;
    text-decoration: none;
    padding:16px 15px
}
#top-menu ul li:hover a {
    background: #aaa79d;
    color: #fff;
text-decoration: none;
}
#top-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
 
/*************************** Выпадающие подпункты */
#top-menu ul li ul {
    background: rgba(161, 157, 146, 0.9);
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;    
    text-transform:none;
    opacity: 0;
    visibility: hidden;
    position:absolute;
    display: block !important;
    top:49px;
    font-size:12px;
    height:auto;
    width:315px;
    z-index: 9999;
    border-top:none;
    z-index: 9980;
}
#top-menu ul li ul li a:first-child:nth-last-child(2):before { 
 content: ""; 
  position: absolute; 
  height: 12px; 
  width: 4px; 
  background: url('http://kguki.com/content/site/img/submenu-arrow.png');
  top: 50% ;
  right:8px;  
  margin: -6px 0 0 0;
}
#top-menu ul li:hover ul li a{
   background: none
}
#top-menu ul li ul li:hover a:first-child:nth-last-child(2):before { 
background: url('http://kguki.com/content/site/img/submenu-arrow-hover.png');
}
#top-menu ul li ul li {
    border:none;
    position:relative;
    float:none;
    height:auto;
    margin:0;
    padding: 0;
    text-align:left !important;
    background:none;
    display: block;
    z-index: 9980;
}
#top-menu ul li ul li:last-child {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#top-menu ul li ul li a {
    padding:10px 20px;
    border:none;
    color: #fff;
    font-size: 16px;
    position: relative;
    z-index: 9999;
}
 
/*************************** Выпадающие пункты второго уровня */
#top-menu ul li ul li:hover a{
background: #71706e;
    color: #fff;
}

#top-menu ul li ul li:first-child:hover{
  box-shadow: none;
}
#top-menu ul li:hover ul li ul li a{
  background: rgba(156, 151, 137, 0.51);
  color: #fff;
}

#top-menu ul li ul li ul li:hover a{
background: #71706e;
    color: #fff;
}
#top-menu ul li ul li:hover ul li{
  box-shadow: none;
}
#top-menu ul li ul li ul {
    top: -1px;
    width: 315px;
    margin: 0 0 0 20px;
    border:none;
    _margin: 0; /*IE6 only*/ 
}
#top-menu ul li:last-child ul{
	left: -134px;
}