/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any
way to fit your requirements.
=================================================================== */

.menu {
width:1004px;
font-size:0.85em;
position:relative;
background:#7e7976 url(images/np_.gif); /*NEaktivnyi punkt menyu*/
z-index:100;
margin: 0;
padding: 0px 0px 0px 0px;
border: 0;
text-align: center;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:165px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:165px; /*Shirina konteinera punktov menyu IE7*/
position:relative;
margin: 0px;
height:34px;
}
.menu li.lileft {
width:165px; /*Shirina konteinera punktov menyu IE7*/
}

.menu li.np_left{
width:4px; /*Shirina konteinera*/
background:url(images/np_left.gif); /*NEaktivnyi punkt menyu*/
}
.menu li.np_separator{
width:1px; /*Shirina konteinera*/
background:url(images/np_separator.gif); /*NEaktivnyi punkt menyu*/
}
.menu li.np_right{
width:4px; /*Shirina konteinera*/
background:url(images/np_right.gif); /*NEaktivnyi punkt menyu*/
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:14px;
text-decoration:none;
text-align: center;
color:#fff;
width:165px; /* Shirina ssylok menyu IE7*/
height:34px;
line-height:34px;
border:0px solid #fff;
border-width:0;
background:#7e7976 url(images/np_.gif); /*NEaktivnyi punkt menyu*/
padding-left:0px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:165px; /*Shirina ssylok v menyu dlya IE5.5*/
w\idth:165px; /*Shirina ssylok v menyu dlya IE6*/
}
/* style the top level hover */
.menu a:hover{
color:#fff;
font-weight: bold;
font-weight: lighter ; /*Pochemu-to bez etoi figni ne rabotaet vypadayuschee menyu v IE 5.5, 6*/
background:#7e7976 url(images/np_a.gif); /*Aktivnyi punkt menyu*/
text-decoration:none;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#927959 url(images/np_a.gif); /*Aktivnyi punkt menyu*/
text-decoration:none;
}

/* style the second level links */
.menu ul ul li {
height:20px; /*vysota konteinera vtorogo urovnya*/
}
.menu ul ul a, .menu ul ul a:visited {
background:#7a6348; /*NEaktivnyi punkt menyu*/
color:#fff;
height:auto;
line-height:1em;
padding:5px 5px 5px 6px;
text-align: left;
font-size:12px;
width:154px;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:154px;
w\idth:154px;
}
/* style the second level background */ /* NEaktivnyi punkt menyu u kotorogo est' podmenyu 3go urovnya*/
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#0C9E18 ;
}
/* style the second level hover */ /* Aktivnyi punkt menyu u kotorogo est' podmenyu 3go urovnya*/
.menu ul ul a.drop:hover{
background:#7e7976 url(images/bg_Buttons_color.png);
}
/*Tsvet aktivnogo elementa menyu vtorogo urovnya*/
.menu ul ul a:hover{
color:#fff;
background:#927959;
font-weight: bold;
}
.menu ul ul :hover > a.drop {
background:#927959;
font-weight: bold;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#0C9E18;
}
/* style the third level hover */ /*Aktivnyi punkt menyu tret'ego urovnya*/
.menu ul ul ul a:hover {
background:#04860E url(images/bg_Buttons_color.png);
font-weight: bold;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:34px;
left:0;
width:100px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:34px;
t\op:34px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:149px; /* Vot tut problemy s pozitsiei menyu tret'ego urovnya v IE i Mozilla*/
top:0;
width:100px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-149px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
visibility:visible;
}
