@charset "windows-1251";
/* CSS Document */

/**************** menu coding *****************/
#nav, #nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0px solid #000;
  background: #fff;
  float: left;
  width: 100%;
}
#nav
{
	margin-left: 1px;
}
#nav li {  
float: left;
position: relative;
background:#FFFFFF;
}
#nav li a{

  width:145px !important;
  width:144px;
  height:51px;
  background:url(/templ/okompanii_1.jpg) left no-repeat;

  display: table-cell;
  vertical-align: middle;

  

}
#nav li a span{
text-transform:uppercase;
margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");
font-weight:700;

width:120px;
float:right;
margin-right:7px;
}
#nav li ul li a span{
text-transform:none;
font-weight:400;

width:100%;
float:none;
margin-right:0px;
}
#nav li ul li{
  float: left;
  position: relative;
  background: #1f4c9c;
  
}
#nav li ul li a{
  width:125px;
  height:100%;
  background: none;
  padding-right:15px;

  text-transform:none;
}
#nav li ul li a:hover{
  width:125px;
  height:100%;
  background: none;
  padding-right:15px;

  text-decoration:underline;

}

#nav  a {
  color: #fff;
  text-decoration: none;
  display: block;
  width: auto;
  padding: 0;
  
}
#nav li a:hover {
  width:145px;
  height:51px;
  color: #fff;
 
   background:url(/templ/okompanii_2.jpg) left no-repeat;
}
#nav li:hover,
#nav li.jshover {

}

#nav li ul {
  display: none;
  position: absolute;
  background: #1f4c9c;
  padding: 0 0;
  width: 145px;
}
#nav li li a {
  width: auto;
  background: none;
}
#nav li:hover ul,
#nav li.jshover ul {
  display: block;
}

#nav li:hover li ul,
#nav li.jshover li ul {
  display: none;
  width: 145px;
  top: 0;
  left: 100px;
  lef\t: 100px;
}
#nav li:hover li:hover ul,
#nav li.jshover li.jshover ul {
  display: block;
}

