#nav_m {
    font: normal 13px/16px Arial, sans-serif;
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 28;
    width: 0;
    min-height: 100%;
    height: 100%;
}

#nav_m-wrap {
    max-width: 210px;
    min-height: 100%;
    height: 100%;
    background: #222;
    position: relative;
}

#nav_m-b_show {
    position: absolute;
    display: block;
    left: -52px;
    top: 0;
    width: 52px;
    height: 52px;
    opacity: 0.7;
    background: #222;
}

.nav_m-opening #nav_m-b_show {
    opacity: 1;
}

#nav_m-b_show-icon {
    display: block;
    position: absolute;
    font-size: 0;
    line-height: 0;
    width: 22px;
    height: 22px;
    top: 15px;
    left: 16px;
    background-image: url(../images/menu_mobile.png);
}

.nav_m-opening #nav_m-b_show-icon {
    background-position: 0 22px;
}

#nav_m-cont {
    height: 100%;
    min-height: 100%;
}

#nav_m ul {
    list-style: none;
    color: #fff;
}

#nav_m ul a {
    display: block;
    padding: 7px 18px;
    text-decoration: none;
    color: #fff;
}

#nav_m ul .active .title {
    color: #e45c52;
}

#nav_m ul .title span {
    float: right;
    color: #999;
    font-size: 11px;
}

#nav_m .drop-down-menu {
    font: normal 13px/16px Arial, sans-serif;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0 0 15px;
    display: none;
}

#nav_m .drop-down-menu li {
    display: block;
    clear: both;
}    

#nav_m .drop-down-menu a {
    color: #999;
}

#nav_m .drop-down-menu a:hover {
    background: #303030;
}

#nav_m #nav_m-user {
    padding: 14px 0 0;
}

#nav_m .js-login-form-show, #nav_m .js-registration-form-show {
    font: bold 13px Arial, sans-serif;
}

#nav_m .header-user-profile {
    padding: 0;
    width: 183px;
}

#nav_m .ava {
    width: 30px;
    height: 30px;
    margin: 0 7px 0 18px;
    vertical-align: middle;
    background: url(../images/noavatar30.png) left top no-repeat;
}

#nav_m .ava img {
    width: 30px;
    height: 30px;
    overflow: hidden;
}

#nav_m #profile {
    position: relative;
    max-width: 100px;
    overflow: hidden;
    font: bold 13px Arial, sans-serif;
    vertical-align: middle;
    width: 128px;
}

#nav_m #profile .fade {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 100%;
    font-size: 0;
    line-height: 0;
    background: -webkit-linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    background: -moz-linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    background: -ms-linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    background: -o-linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    background: linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    -pie-background: linear-gradient(right, rgba(34, 34, 34, 1), rgba(34, 34, 34, 0));
    behavior: url(css/PIE.htc);
}

#nav_m-menu {
    margin: 10px 0 0;
    clear: both;
    font: normal 13px Arial, sans-serif;
}

#nav_m-menu li {
    position: relative;
}

#nav_m-menu a:hover {
    background: #303030;
}


#nav_m-menu ul {
    display: none;
    margin: 0 0 0 10px;
}

#nav_m-menu ul a {
    color: #f0dd77;
}

#nav_m-menu ul li.active a {
    color: #e45c52;
}   

#nav_m-menu .menu-has-submenu.active, #nav_m .active, #nav_m .active a {
    color: #f0dd77;
}

#nav_m-user li {
    position: relative;
}

.menu-user .header-user-nick {
    text-align: center;
    padding: 0;
    border-top: none;
}    

.header-user-nick .ava-pic {
    width: 30px;
    height: 30px;
    margin: 0 7px 4px;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;
}

#nav_m-user .drop-down-menu {
    margin: 0;
}

#nav_m-user .drop-down-menu a {
    color: #fff;
    padding: 7px 0;
}

#nav_m-user .drop-down-menu a:hover {
    background: transparent;
}

#nav_m .user-profile-links a {
    padding: 0 0 0 5px;
}

#nav_m .header-user-write:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) -161px -619px no-repeat; 
}


.nav-user-company:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 15px;
    width: 16px;
    height: 17px;
    background: url(../images/sprite.png) -178px -619px no-repeat;    
}

.nav-user-settings:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 15px;
    width: 16px;
    height: 16px;
    background: url(../images/sprite.png) -161px -638px no-repeat;    
}

.nav-user-exit:before {
    content: "";
    position: absolute;
    top: 12px;
    left: 15px;
    width: 12px;
    height: 16px;
    background: url(../images/sprite.png) -179px -638px no-repeat;    
}

#nav_m .header-user-write .post {
    padding: 7px 0;
}

#nav_m .nav-user-company, #nav_m .nav-user-settings, #nav_m .nav-user-exit, #nav_m .nav-user-messages, #nav_m .header-user-write {
    padding: 5px 14px 7px 52px;
    border-bottom: 1px #3e3e3e solid;
}

#nav_m-user .menu-user-messages, #nav_m-user .menu-user-comments {
    padding: 5px 0;
    margin: 0 18px 0 0;  
}

@media only screen
and (min-width: 240px)
and (max-width: 768px) {
  #nav_m {display: block;}
}