/* --------------------------------------------
	НАВИГАЦИЯ
-------------------------------------------- */

.nav {
    zoom: 1;
}

.nav li {
    float: left;
}

.nav li:last-child {
    border-right: none;
}

.nav li a {
    display: block;
    padding: 10px 15px;
}

.nav li a:hover {
    text-decoration: none;
}

.nav li.active a {}

/* Nav Pills */
.nav.nav-pills {
    margin-bottom: 15px;
    height: 25px;
    border-bottom: 1px solid #c8c8c8;
    box-shadow: 0 1px 0 0 #fff;
}

.nav.nav-pills li {
    margin-right: 20px;
    float: left;
}

.nav.nav-pills li a {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    padding: 0;
    line-height: 25px;
}

.nav.nav-pills li a:hover {}

.nav.nav-pills li.active a {
    color: #393939;
    border-bottom: 1px solid #717171;
}

.nav.nav-pills.nav-pills-profile {
    margin-bottom: 30px;
}



/* Nav Topic Filter */
.nav.nav-filter {
    height: 30px;
}

.nav.nav-filter li {
    position: relative;
    top: -1px;
    float: right;
    background: rgba(1, 157, 195, 0.5);
    margin-right: 10px;
    border-radius: 10px;
}
.nav.nav-filter li:hover {
    background: rgba(1, 157, 195, 1);
}
.nav.nav-filter li:first-child {
    margin-right: 0;
}

.nav.nav-filter li.active a .icox {
    color: #fff;
}


.nav.nav-filter li.line-nav {
    border-right: 1px dotted #00B5E0;
    width: 0;
    height: 30px;
    padding: 0;
    margin: 0;
}

.nav.nav-filter li.new-nav {}
.nav.nav-filter li.new-nav a {
    padding: 0 15px;
}
.nav.nav-filter li.new-nav #new_count_new {
    font-style: normal;
    color: #006C9C;
    text-shadow: 1px 1px 0 #FFF;
    border-radius: 8px 0 0 8px;
    display: inline-block;
    background: #B5FF00;
    padding: 0 7px 0 9px;
    line-height: 30px;
    float: left;
}


.nav.nav-filter li.creat-nav {
    /*width: 30px;*/
    margin-left: 10px;
}
.nav.nav-filter li.creat-nav:focus {
    width: 150px;
}

.nav.nav-filter li.creat-nav a {
    width: 90px;
    font-weight: bold;
    background: #00B5E0;
    border-radius: 10px;
}
.nav.nav-filter li.creat-nav .sub-menu {
    width: 148px;
    /*left: -1px;*/
}
.nav.nav-filter li.creat-nav.active a {
    /*margin-left: -1px;*/
    padding: 0 30px;
}

.nav.nav-filter li.blogs-nav a {
    width: 120px;
    padding: 0 25px 0 20px;
}

.nav.nav-filter li.popular-nav a {
    /*width:125px;*/
    padding: 0 35px 0 30px;
}
.nav.nav-filter li.popular-nav a.new-icon-page {
    background: url("../images/ico-44.png") no-repeat 17px 13px;
}
.nav.nav-filter li.popular-nav a.discussed-icon-page {
    background: url("../images/ico-43.png") no-repeat 17px 15px;
}
.nav.nav-filter li.popular-nav a.top-icon-page {
    background: url("../images/ico-42.png") no-repeat 17px 13px;
}

.nav.nav-filter li.popular-nav.active a {}
.nav.nav-filter li.popular-nav.active a.new-icon-page {
    background: url("../images/ico-32.png") no-repeat 17px 13px;
}
.nav.nav-filter li.popular-nav.active a.discussed-icon-page {
    background: url("../images/ico-33.png") no-repeat 17px 15px;
}
.nav.nav-filter li.popular-nav.active a.top-icon-page {
    background: url("../images/ico-34.png") no-repeat 17px 13px;
}

.nav.nav-filter li.popular-nav .sub-menu {
    width: 137px;
}

.nav.nav-filter li.tag-nav a {
    width:120px;
}
.nav.nav-filter li.tag-nav.active a {
    background: #0197BB;
}
.nav.nav-filter li.tag-nav a#close-tag {
    display: none;
}

.nav.nav-filter li.active .parent {
    background-color: #019DC3!important;
    color: #fff;
    text-shadow: none;
    border-radius: 10px 10px 0 0;
}
.nav.nav-filter li.active .parent .caret-pre {
    background: url("../images/ico-57.png") no-repeat 0 -8px;
}

.nav.nav-filter li .sub-menu {
    display: none;
    position: absolute;
    top: 30px;
    z-index: 1;
    background: #019DC3;
    padding: 10px 1px 8px;
    border-radius: 0 0 10px 10px;
}
.nav.nav-filter li .sub-menu li {
    float: none;
    /*background: url("../images/line-7.png") repeat-x bottom;*/
    line-height: 36px;
    height: 36px;
}
.nav.nav-filter li .sub-menu li:last-child {
    background: none;
}
.nav.nav-filter li .sub-menu li a {
    color: #fff;
    text-transform: uppercase;
    background: none;
    line-height: 36px;
    height: 36px;
    font-weight: normal;
    border: none;
    text-shadow: none;
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
    padding: 0 30px;
}
.nav.nav-filter li .sub-menu li a:hover {
    background-color: transparent!important;
    color: #fff;
    opacity: 1;
}

.nav.nav-filter li .sub-menu a .icox {
    top: 10px;
    left: 13px;
}


.nav.nav-filter li.search-nav {
    float: right;
}
.nav.nav-filter li.search-nav .txt {
    font-family: "PT Sans", serif;
    text-transform: uppercase;
    font-size: 13px;
    border: 0;
    background: none;
    text-align: left;
    float: right;
    padding: 0;
    position: relative;
    top: 1px;
    right: 34px;
    height: 25px;
    width: 155px;
    line-height: 28px;
    color: #FFF;
    box-sizing: border-box;
}
.nav.nav-filter li.search-nav .txt:focus {
    outline: none;
    box-shadow: none;
}
.nav.nav-filter li.search-nav .link {
    background: none;
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 0;
    position: absolute;
    right: 9px;
    top: 5px;
    border-radius: 0;
    z-index: 1;
    box-sizing: border-box;
    padding: 0;
}
.nav.nav-filter li.search-nav .link:focus {
    outline: none;
    box-shadow: none;
}

.nav.nav-filter li.search-nav i.search {
    background: url("../images/ico-56.png") no-repeat;
    position: absolute;
    right: 9px;
    top: 5px;
    width: 17px;
    height: 17px;
    margin: 0;
}
.nav.nav-filter li.search-nav i.search.active {}

.nav.nav-filter li.search-nav form {
    margin: 0;
    position: relative;
    top: 1px;
    height: 30px;
}

.nav.nav-filter li a {
    position: relative;
    color: #fff;
    padding: 0 30px;
    /*min-width: 90px;*/
    float: left;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 30px;
    height: 30px;
}

.nav.nav-filter li a .icox {
    position: absolute;
    left: 14px;
    top: 14px;
}

.nav.nav-filter li a span {
    overflow: hidden;
    display: inline-block;
    height: 30px;
}

.nav.nav-filter li a .pencil {
    background: url("../images/ico-54.png") no-repeat 0 -17px;
    display: inline-block;
    height: 17px;
    width: 17px;
    position: absolute;
    left: 8px;
    top: 6px;
}
.nav.nav-filter li a .star {
    background: url("../images/ico-55.png") no-repeat;
    display: inline-block;
    height: 18px;
    width: 17px;
    position: absolute;
    left: 7px;
    top: 6px;
}
.nav.nav-filter li a .caret-pre {
    background: url("../images/ico-57.png") no-repeat;
    display: inline-block;
    width: 13px;
    height: 8px;
    position: absolute;
    right: 11px;
    top: 11px;
}

.nav.nav-filter li a:hover {}

.nav.nav-filter li.active a {
    background: #333;
    color: #fff;
}

.nav.nav-filter li a.new {}

.nav.nav-filter li a.new:hover {}

.nav.nav-filter li.active a.new {}

.nav.nav-filter li.active a.new:hover {}

.nav.nav-filter.nav-filter-sub li a {
    padding: 5px 10px;
    font-size: 11px;
    color: #777;
}

.nav.nav-filter.nav-filter-sub li.active a {
    color: #fff;
}

.nav-filter-wrapper {
    margin-bottom: 42px;
}

/* Userbar */
#userbar {
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;

    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f3f3f3));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
    background: linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#f3f3f3', GradientType = 0);
}

#userbar .search {
    float: left;
    margin: 5px 0 0 6px;
    *margin: 4px 0 0 4px;
}

.nav-userbar {
    float: right;
    font-size: 13px;
    color: #FFF;
    margin-top: 16px;
    margin-right: 10px;
}

.nav-userbar li {
    float: left;
    margin-right: 8px;
}
.nav-userbar li:last-child {
    margin-right: 0;
}

.nav-userbar li a {
    color: #fff;
    text-decoration: none;
}
.nav-userbar li a:hover {}

.nav-userbar li.link-login {
    margin-top: -6px;
}
.nav-userbar li.link-login a {
    display: inline-block;
}
.nav-userbar li.link-login .caret-pre {
    background: url("../images/ico-57.png") no-repeat center bottom;
    display: block;
    width: 100%;
    height: 8px;
    margin: 4px 0 0;
}


.nav-userbar li.nav-userbar-username {
    float: right;
    font-size: 14px;
    position: relative;
    margin-top: -21px;
    margin-right: -10px;
    height: 60px;
}
.nav-userbar li.nav-userbar-username a {
    position: relative;
    color: #fff;
    border: none;
    background: #019DC3;
    width: 85px;
    display: block;
    line-height: 60px;
    height: 60px;
}
#drop-user-menu a {
    width: auto;
    padding-left: 30px;
}
.nav-userbar li.nav-userbar-username a.username {
    float: right;
}
.nav-userbar li.nav-userbar-username .ico-new-mess {
    background-color: #C0392B;
    font-family: arial;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    left: 40px;
    line-height: 17px;
    min-height: 15px;
    min-width: 15px;
    position: absolute;
    text-align: center;
    text-decoration: blink;
    z-index: 1;
    height: 18px;
    left: 35px;
    top: 5px;
    width: 18px;
}
.nav-userbar li.nav-userbar-username .avatar {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    top: 15px;
    left: 17px;
}
.nav-userbar li.nav-userbar-username .caret-pre {
    background: url("../images/ico-57.png") no-repeat;
    display: inline-block;
    width: 13px;
    height: 8px;
    position: absolute;
    right: 15px;
    top: 28px;
}
.nav-userbar li.nav-userbar-username .caret-pre.active {
    background: url("../images/ico-57.png") no-repeat 0 -8px;
}

.nav-userbar li.nav-userbar-username ul {
    display: none;
    padding-bottom: 8px;
    background: #019DC3;
    border-radius: 0 0 3px 3px;
    margin-top: 60px;
}
.nav-userbar li.nav-userbar-username ul li {
    float: none;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-userbar li.nav-userbar-username ul li:last-child {
    border: none;
}
.nav-userbar li.nav-userbar-username ul li .icox {
    color: #fff;
}
.nav-userbar li.nav-userbar-username ul li a {
    height: 40px;
    line-height: 40px;
    background-color: transparent;
}
.nav-userbar li.nav-userbar-username ul li a:hover {
    background-color: #00B5E0;
}

.nav-userbar li.nav-userbar-username ul li.item-stat {
    background: #0182a8;
    position: relative;
    color: #fff;
    min-width: 90px;
    padding: 0 50px 0 20px;
    display: block;
    line-height: 40px;
}
.nav-userbar li.nav-userbar-username ul li.item-stat span.strength {
    padding: 0 20px 0 25px;
}
.nav-userbar li.nav-userbar-username ul li.item-stat span.strength .icox {
    color: #fff;
    position: relative;
    left: -15px;
    top: 1px;
}
.nav-userbar li.nav-userbar-username ul li.item-stat span.rating {
    padding: 0 0 0 25px;
}
.nav-userbar li.nav-userbar-username ul li.item-stat span.rating .icox {
    color: #fff;
    position: relative;
    left: -15px;
    top: 1px;
}

.nav-userbar li.nav-userbar-username ul li .icox {
    position: relative;
    left: -15px;
    top: 3px;
    font-size: 15px;
}

.nav-userbar li .new-messages {
    color: #4AA731;
    font-weight: bold;
}

/* Nav Main */
.nav-main {
    font-weight: bold;
    font-size: 12px;
    overflow: hidden;
    text-transform: uppercase;
    margin-left: 30px;
    position: absolute;
    top: 0;
    height: 42px;
    margin-top: 9px;
    padding: 0 0 0 2px;
}
.nav-main li {
    background: url("../images/line-8.png") no-repeat right center;
    float: left;
    margin-left: -2px;
    padding: 0 3px 0 0;
}
.nav-main li.active {
    background: none;
}
.nav-main li a {
    color: #FFF;
    text-shadow: 0 -1px 0 #018CAD;
    padding: 5px 22px 0 20px;
    display: inline-block;
    line-height: 15px;
    text-align: center;
    height: 37px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}
.nav-main li a span {
    display: block;
    text-transform: lowercase;
}
.nav-main li a:hover {
    color: #fff;
    text-decoration: none;
    background: #018cad;
}
.nav-main li.active a {
    color: #fff;
    background: #018cad;
}

/* Nav Profile */
.nav.nav-profile {
    margin-bottom:30px;
    height: 39px;
    text-shadow: 0 1px 0 #FFF;
}

.nav.nav-profile li {
    margin-right: 30px;
}

.nav.nav-profile li a {
    font-weight: bold;
    color: #888;
    padding: 7px 0;
}

/* Dropdown */
.nav.nav-pills li.dropdown {
    position: relative;
}

.nav.nav-pills li.dropdown a {
    padding-right: 25px;
}

.nav.nav-pills li.dropdown i {
    position: absolute;
    top: 13px;
    right: 9px;
    height: 0;
    width: 0;
    border: 4px solid transparent;
    border-top-color: #fff;
    cursor: pointer;
}

.nav.nav-pills li.dropdown ul {
    display: none;
    position: absolute;
}

.nav.nav-pills li.dropdown.opened a {
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .5) inset;
    box-shadow: 0 0 7px rgba(0, 0, 0, .5) inset;
}

.dropdown-menu {
    position: absolute;
    top: 32px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 150px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    border-radius: 3px;
}

#dropdown-create-menu li a {
    background: none;
    color: #333;
}
#dropdown-create-menu li.active a {
    color: #AAA;
}

.dropdown-menu li {
    font-size: 14px;
    line-height: 1em;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
}

.dropdown-menu li a:hover {
    background: #fafafa;
}

.dropdown-menu li.active a {
    color: #aaa;
}

.dropdown-menu li.active a:hover {
    cursor: default;
}

.dropdown-create {
    position: relative;
    /*margin-right: 120px;*/
}

.dropdown-create a {
    font-weight: normal;
    text-shadow: 0 1px 0 #FFFFFF;
}

.dropdown-create h2 a {
    text-transform: lowercase;
}


/*хаки для FF*/
@-moz-document url-prefix() {
    .nav-userbar li.nav-userbar-username a {
        line-height: 68px;
    }
    .nav-main {
        line-height: 39px;
    }
}

.panel-new {
    padding: 0 10px;
    margin: 0 0 20px;
}