/* ================================================================
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_drop6.html
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.


90 -> 190 -> 200 -> 210
89 -> 189 -> 199 -> 209
88 -> 188 -> 198 -> 208
80 -> 180 -> 190 -> 200
d30000 -> 005dbc след текущих строк
005dbc -> 3a93d2 фон нетекущих строк
Ширина меню 200 -> 214
Ширина меню 198 -> 212
И отдельно....
Ширина меню 200 -> 320
318 и 310 определяют сдвиг подменю по горизонтали
=================================================================== */

.preload1 {background: url(img/menu/m1_0a.gif);}
.preload2 {background: url(img/menu/m1_1a.gif);}
.preload3 {background: url(img/menu/m1_0_repeated.gif);}

#nav {padding:0; margin:0; list-style:none; height:38px; background:#fff url(img/menu/m1_0_repeated.gif) repeat-x; position:relative; z-index:200; font-family:arial, verdana, sans-serif; text-align:left;}
#nav li.top {display:block; float:left;}
#nav li a.top_link {display:block; float:left; height:35px; line-height:33px; color:#ccc; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;background: url(img/menu/m1_0.gif);}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:35px; background: url(img/menu/m1_0.gif) right top no-repeat;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:35px; background: url(img/menu/m1_0a.gif) no-repeat right top;}

#nav li:hover a.top_link,
#nav a.top_link:hover
{color:#fff; background: url(img/menu/m1_1.gif) no-repeat;}
#nav li:hover a.top_link span, 
#nav a.top_link:hover span
{background:url(img/menu/m1_1.gif) no-repeat right top;}
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down
{background:url(img/menu/m1_1a.gif) no-repeat right top; padding-bottom:3px;}

#nav table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}

#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}

#nav :hover ul.sub                                           /* Свойства всех меню */
{left:1px; top:38px; background: #3a93d2; padding:3px; border:1px solid #0b4d97; white-space:nowrap; width:320px; height:auto; z-index:300;}
#nav :hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:320px; font-weight:normal;}
#nav :hover ul.sub li a
{display:block; font-size:11px; height:18px; width:318px; line-height:18px; text-indent:5px; color:#eee; text-decoration:none;border:1px solid #3a93d2;}
#nav li ul.sub li a.fly
{background:#3a93d2 url(img/menu/arrow.gif) 310px 6px no-repeat;}     /* >> строки в меню */   /* Вот это неоправдано высоко расположено */
#nav :hover ul.sub li a:hover 
{background:#005dbc; color:#fff; border-color:#fff;}         /* текущая строчка в меню */
#nav :hover ul.sub li a.fly:hover
{background:#005dbc url(img/menu/arrow_over.gif) 310px 6px no-repeat; color:#fff;}

#nav li b {display:block; font-size:11px; height:18px; width:318px; line-height:18px; margin-bottom:3px; text-indent:6px; color:#6bf; border-bottom:1px solid #6bf; cursor:default;} /* Сепараторы */

#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:289px; top:-4px; background: #3a93d2; padding:3px; border:1px solid #0b4d97; white-space:nowrap; width:320px; z-index:400; height:auto;}

#nav ul,
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover li:hover > ul                                     /* все подменю 2-го и далее уровня, кроме >> строк */
{left:290px; top:-4px; background: #3a93d2; padding:3px; border:1px solid #0b4d97; white-space:nowrap; width:320px; z-index:400; height:auto;}  /* А вот тут бы поднять */
#nav li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
#nav li:hover li:hover > a.fly
{background:#005dbc url(img/menu/arrow_over.gif) 310px 6px no-repeat; color:#fff; border-color:#fff;}
#nav li:hover li:hover > li a.fly
{background:#3a93d2 url(img/menu/arrow.gif) 310px 6px no-repeat; color:#eee; border-color:#3a93d2;}
