/*#############################################################
Description: Menu for SpecProject InterPack 2011
Menu modified 10/03/2011
Author: Dmitry Rendov
#############################################################*/

.nav {
height:27px;
/*background: #fdfcf8;*/
background: url(../img/interpack/bg_menu.png) repeat-x;
position:relative;
font-family: Arial, Verdana, Geneva, sans-serif;
font-size:10pt;
padding:0;
margin:0 1px;
padding-left:2px;
width:978px;
z-index:500;
/*text-transform: uppercase;*/
}

.nav .english {position:absolute;
right: 10px;
margin-top: 4px;
float: right;
/*letter-spacing:0.4px;*/
/*text-transform: uppercase;*/
}

.nav .table {
display:table;
float:left;
}

.nav .select,
.nav .current {
float:left;
margin:0;
padding:0;
margin-left:0px;
list-style:none;
display:table-cell;
white-space:nowrap;
/*letter-spacing:0.4px;*/
}

.nav li {
margin:0;
padding:0;
height:auto;
float:left;
}

.nav .select a {
display:block;
height:27px;
float:left;
background: #fdfcf8;
background: url(../img/interpack/bg_menu.png) repeat-x;
padding:2px 8px 0 8px;
margin:0;
text-decoration:none;
line-height:19px;
white-space:nowrap;
color:#4D4D4D;
}

.nav .current a {
display:block;
height:27px;
float:left;
/*background: #DADADA;*/
/*text-decoration:underline;*/
background: url(../img/interpack/menu_sel_bg.png) repeat-x;
padding:2px 0 0 8px;
text-decoration: none;
line-height:19px;
white-space:nowrap;
color:#4D4D4D;
}


.nav .current a b {
display:block;
padding:0 8px 0 0px;
/*background: #DADADA;*/
text-decoration: none;
/*background: url(../img/interpack/menu_sel_bg.png) repeat-x;*/
}

.nav .select a:hover,
.nav .select li:hover a {
/*background: #D1DEEB;*/
/*background: url(../img/interpack/menu_sel_bg.png) repeat-x;*/
padding:0 0 0 0px;
cursor:pointer;
color:#4D4D4D;
}

.nav .select a:hover b,
.nav .select li:hover a b {
display:block;
float:left;
padding:2px 8px 0 8px;
/*background:#FF0000;*/
text-decoration:underline;
/*background: url(../img/interpack/menu_sel_bg.png) repeat-x;*/
cursor:pointer;
}



.nav .select_sub {
display:none;
height:38px;
}

/* фиксим IE6 */
.nav table {
border-collapse:collapse;
margin:-1px;
font-size:10pt;
width:0;
height:0;
}

/*  Выравниваем по левому краю */
.nav .sub {
float:left;
display:table;
margin:0 auto;
list-style:none;
font-size:8.5pt;
margin-left:0px;
/*text-transform: uppercase;*/

}

.nav .sub_active .current_sub a,
.nav .sub_active a:hover {
background:transparent;
}

.nav .select :hover .select_sub,
.nav .current .show {
display:block;
position:absolute;
width:100%;
top:27px;
color:#517bab;
background:url(../img/interpack/bg_menu.jpg);
padding:0;
z-index:100;
left:0;
text-align:center;
}

.nav .current .show {
z-index:10;
}

.nav .select :hover .sub li a,
.nav .current .show .sub li a {
display:block;
float:left;
background:transparent;
padding:0px 10px 0 10px;
margin:0;
white-space:nowrap;
border:0;
color:#517bab;
}

.nav .current .sub li.sub_show a {
color:#517bab;
display:block;
cursor:default;
background:transparent;
text-decoration:underline;
cursor:pointer;
}

.nav .select :hover .sub li a:hover,
.nav .current .sub li a:hover {
visibility:visible;
color:#517bab;
background:transparent;
text-decoration:underline;
cursor:pointer;
}