@font-face {
    font-family: 'RobotoSlab-Regular';
    src: url(../font/RobotoSlab-Regular.woff) format('woff');    
    font-style: normal;
    font-weight: normal;
}
#nav,#nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    width: 546px;
    font-size: 10px;
    height: 47px;
    padding: 10 0 0 0px;
    position: relative;
    font-family:'RobotoSlab-Regular';
}
.hsubs {    
    font-size: 13px;
}
.hsubs1 {
    left: 23px;
    font-size: 13px;
}
.hsubs2 {
    left: 11px;
    font-size: 13px;
}
.hsubs3 {
    left: 12px;
    font-size: 13px;
}
#nav li a {
    color: #FFFFFF;	
    display: block;
    float: left;
    font-weight: normal;
    height: 40px;
    padding: 18px 0px 1px 40px; /* движение названия страниц вверх  */
    position: relative;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000000;
}
#nav   li:hover a 
{
    color: #cccccc;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {    
    outline: 0 none;
}
#nav li:hover ul.subs {
    left: 0;
    top: 54px;
    width: 180px;
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
#nav ul li {
    background: none;
    width: 100%;
}
#nav ul li a {
    float: none;
}
#nav ul li:hover > a {
    background-color: #121212;
    color: rgb(245, 89, 110);}	
.hsubs {width:95px;}	
.redv:nth-child(4){
    color:#f15574;
}
#nav li a#redv{color:#f15574;
 }
#lavalamp {
    background: url('lavalamp.png') no-repeat scroll 0 0 transparent;
    height: 16px;
    left: 61px;
    position: absolute;
    top: 2px;             /* движение ползунка вверх  */
    width: 54px;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
#lavalamp:hover {
    -moz-transition-duration: 3000s;
    -ms-transition-duration: 3000s;
    -o-transition-duration: 3000s;
    -webkit-transition-duration: 3000s;
    transition-duration: 3000s;
}
#nav li:nth-child(1):hover ~ #lavalamp { 
 left:63 px;   
}
#nav li:nth-child(2):hover ~ #lavalamp {
   left:195px;
}
#nav li:nth-child(3):hover ~ #lavalamp {
    left: 330px;
}
#nav li:nth-child(4):hover ~ #lavalamp {
    left:470px;
}




/*
#nav ul {
    background-color: #222;
    border:1px solid #222;
    border-radius: 0 5px 5px 5px;
    border-width: 0 1px 1px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: -9999px;
    z-index: 2;
}