.rating {
    color: gray;
}

.positive {
    color: #6bc654;
}

.negative {
    color: #f11334;
}

.rating-label {
    color: gray;
    background: #eee;
    border-radius: 3px;
    font-size: 0.9em;
    padding: 2px 3px;
}

.rating-label.positive {
    color: green;
    background: #dfd;
}

.rating-label.negative {
    color: brown;
    background: #fdd;
}

.kudos {
    display: inline-block;
    border-radius: 4px;
    padding: 1px 5px;
    background: rgba(0,0,0,0.1);
}
.kudos.positive {
    background: #6bc654;
    color: #fff;
}
.kudos.negative {
    background: #f11334;
    color: #fff;
}

.kudos i.icon16 {
    width: 10px;
    height: 10px;
    margin-top: 0.2em;
    margin-right: 0.1em;
}
.kudos.positive i.icon16 {
    background-position: -3px -67px;
}
.kudos.negative i.icon16 {
    background-position: -19px -67px;
}
.kudos.small i.icon16 {
    margin-top: 0.3em;
}

.all-topics{
    text-align: center;
}

.userbox {
    padding: 20px;
    text-align: center;
    border-bottom:1px solid #ebebeb;
}




.userpic--userbox{
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;

}

@media (max-width: 1000px){
    .userbox {
        padding: 10px;
    }

    .userpic--userbox{
        max-width: 30px;
        max-height: 30px;
        vertical-align: middle;

    }

    .userbox_pic,
    .userbox_name{
        display: inline-block;
        vertical-align: middle;
        margin: 0 5px;
    }
}

.userbox-sections{
    margin: 0;
    padding: 0;
}

.userbox-sections_el{
    padding: 5px 15px;
    border-bottom: 1px solid #ebebeb;
    list-style: none;
    margin: 0;
}

.userbox-sections_el a{
    text-decoration: none;
}

.userbox-sections_count{
    float: right;
    min-width: 22px;
    text-align: center;
}

.hub-all{
    padding: 5px 15px;
    border-bottom: 1px solid #ebebeb ;
    font-weight: bold;
}

.hub-sidebar-create_btn{
    width: 100%;
    border-radius: 0;
    text-align: center;
    font-size: 15px;
}

.hub-sidebar-create_btn .icon{
    margin: 0 2px 4px 0;
}

.hab-search{
    margin: 20px 15px;
}

.hub-aside-nav {
    padding: 10px;
}

.hub-aside-nav h5 {
    margin: 10px 0px 20px;
}

.hub-aside-nav ul {
    padding-left: 0;
}

.hub-aside-nav ul li {
    list-style: none;
    margin: 0 0 20px;
    line-height: 1.3em;
    word-break: break-all;
}

.hub-aside-nav ul li a {
    text-decoration: none;
}

.hub-aside-nav ul img.userpic {
    width: 32px; height: 32px;
    float: left;
    margin-right: 10px;
}

.hub-command{
    margin: 0;
    padding: 0;
}

.hub-command_el{
    margin: 0;
    padding: 5px 10px;
    list-style: none;
    overflow: hidden;
}

.hub-command_el a{
    text-decoration: none;
}

.hub-command_userpic{
    width: 25px;
    height: 25px;
    float: left;
}

.hub-command_title{
    margin: 0 0 0 35px;
    display: block;
}

.hub-command_type{
    font-size: 12px;
    margin: 0 5px;
}

div.tagsinput {
    border: 1px solid #d1d1d1;
    background: #FFF;
    width:300px;
    height:100px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 10px 5px;
}

div.tagsinput span.tag {
    border: 1px solid #a5d24a;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    display: block; float: left;
    padding: 5px;
    text-decoration:none;
    background: #cde69c;
    color: #638421;
    margin-right: 5px;
    margin-bottom:5px;
    font-family: helvetica;
    font-size:13px;
}

div.tagsinput span.tag a {
    font-weight: bold;
    color: #82ad2b;
    text-decoration:none;
    font-size: 11px;
}

div.tagsinput input {
    width:80px;
    margin:0px;
    font-family: helvetica;
    font-size: 13px;
    border:1px solid transparent;
    padding: 2px /* 5px */;
    background: transparent;
    color: #000;
    outline:0px;
    margin-right:5px;
    margin-bottom:5px;
}

div.tagsinput div {
    display:block;
    float: left;
}

.tags_clear {
    overflow: hidden;
}

.not_valid {
    background: #FBD8DB !important;
    color: #90111A !important;
}

.error-box {
    border: 2px solid red;
}

.error-box .redactor-box {
    margin-bottom: 0;
}

ul.auth-type {
    padding: 0 0 10px !important;
    list-style: none;
}

ul.auth-type li {
    padding-right: 10px;
    display: inline-block;
}

ul.auth-type li a {
    padding: 5px 6px;
}

ul.auth-type li a img {
    margin-right: 5px;
    top: 4px;
    position: relative;
}

/* Topic type badges
-------------------- */

.badge {
    border-radius: 10px;
    padding: 3px 10px 4px !important;
    white-space: nowrap;
    font-size: 13px;
    font-weight: normal;
    background: #eee;
}

.badge.badge-none {
    background: #fff;
    border: 1px solid #eee;
    color: #aaa;
}

.badge.badge-answered {
    background: #dfd;
    color: green;
    font-weight: bold;
}

.badge.badge-pending {
    background: #eee;
    color: #777;
}

.badge.badge-accepted {
    background: #dfd;
    color: green;
}

.badge.badge-confirmed {
    background: #cfc;
    color: green;
}

.badge.badge-inprogress {
    background: #cfc;
    color: green;
    font-style: italic;
}

.badge.badge-rejected {
    background: #fdd;
    color: #a00;
}

.badge.badge-complete {
    background: #dfd;
    color: green;
    font-weight: bold;
}

.badge.badge-fixed {
    background: #dfd;
    color: green;
    font-weight: bold;
}

.badge.badge-archived {
    background: #eed;
    color: #aa7;
}

h1 .badge {
    position: relative;
    top: -2px;
    font-size: 0.6em;
    border-radius: 16px;
    padding: 4px 13px 6px !important;
}

h1 .staff {
    position: relative;
    top: -2px;
    font-size: 0.6em;
    padding: 2px 7px 3px !important;
    font-weight: normal;
}

h1 .kudos {
    position: relative;
    top: -2px;
    font-size: 0.6em;
    border-radius: 16px;
    padding: 4px 13px 6px !important;
    display: inline;
}


/* Homepage
----------- */
.category-list{
    margin: 0 0 30px;
    padding: 0;
}

ul.category-list li {
    list-style: none;
    margin: 0 0 25px;
    overflow: hidden;
}

ul.category-list li .category-description {
    font-size: 0.9em;
}

.category-list_date{
    color: #afafaf;
    font-size: 12px;
}

.category-name{
    margin: 0 5px 0 0;
    font-weight: bold;
    font-size: 18px;
}

ul.category-list li .category-description p {
    margin-bottom: 10px;
}

ul.category-list li .category-description a {
    color: #aaa;
}

ul.category-list li img.category-logo {
    max-width: 48px;
    max-height: 48px;
    float: left;
    margin: 5px 10px 0 0;
}

ul.category-list li ul.featured-topics {
    padding-left: 0;
}

ul.category-list li ul.featured-topics li {
    margin-bottom: 0;
}

.topic-stream {
    padding-top: 10px;
}

.topic-stream_head{
    overflow: hidden;
}

.topic-stream_title{
    float: left;
}



.topic-stream .sorting {
    margin-top: 0;
}

.topic-stream ul.topics {
    margin-top: 0;
}


/* Topic page
------------- */



.vote.helpful {
    background: #f6f6f6;
    border:1px solid #ebebeb;
    padding: 20px;
    margin: 20px 0;
}

.vote.helpful a {
    padding: 2px 5px;
    font-weight: bold;
}
.vote.helpful textarea {
    width: 100%;
    min-height: 100px;
}

.vote.helpful .wa-auth-adapters{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.topic-content {
    margin: 20px 0;
}

.meta {
    width: 80px;
    float: left;
    text-align: center;
    padding-top: 5px;
    margin: 0 5px 0 0;
}

.meta img.userpic {
    width: 50px;
    height: 50px;
}

.meta-ousted {
    margin-left: 90px;
}
.topic-content img,
.topic-content iframe,
.topic-preview img,
.topic-preview iframe {
    max-width: 100%;
}

.topic.type-forum .meta-ousted {
    min-height: 70px;
}

.hidden { display: none; }


/* Comments & Answers
--------------------- */

.comment {
    padding: 10px;
}

.comment.in-reply-to{
    background: #fafafa;
}

.comment ul.redactor-toolbar {
    clear: none;
}

.comment span.hint a {
    color: #aaa;
    text-decoration: underline;
}

.comment .comment-form {
    margin-top: 10px;
}

.comment .comment-form textarea {
    min-height: 100px;
}

.comment.in-reply-to {
    position: relative;
}

.comment.in-reply-to .actions .aux {
    display: none;
}

.comment.new {
    background: #f4fff8;
}

.comment.solution {
    background: #dfd;
}

.comment.featured-comment {
    background: #eed;
}

.comment-form {
    background: none;
    border: none;
    margin: 20px  0 0;
}

.comment-form .comment-redactor .redactor-box {
    margin-bottom: 10px;
}

.redactor-toolbar:after {
    clear: none !important;
}
.comment-form .comment-redactor .errormsg {
    margin-left: 0;
    margin-bottom: 20px;
}

.comment-form_user{
    margin: 0 5px;
}

.comment_button-solution{
    margin: 0 0 0 10px;
}

.comment-delete,
.comment-edit{
    float: right;
}

.comment-form .userpic {
    margin: 0 5px 0 0;
}

.forum-reply-form textarea {
    width: 100%; margin-bottom: 10px;
}

.forum-reply-form .errormsg {
    margin-left: 0;
    margin-bottom: 20px;
}

.pageless-wrapper {
    font-style: italic;
}

.back-to-root {
    margin-left: 5px;
}

.comments{
    margin: 20px 0 0;
}

.comments h4 {
    margin: 0 0 10px;
    float: left;
}

.comments ul {
    padding-left: 0;
    list-style: none;
}

.comments .credentials {
    margin-bottom: 0;
}

.comments .text {
    margin: 5px 0 0;
    line-height: 20px;
}

.comments .text p:last-child,
.comments .text ul:last-child{
    margin-bottom: 0;
}


.comments .text img,
.comments .text iframe {
    max-width: 100%;
}

.comment_actions {
    font-size: 0.9em;
    overflow: hidden;
    line-height: 15px;
    margin: 10px 0 0;
}

.comment_topic{
    margin: 0 0 0 5px;
}

.comments textarea {
    min-height: 100px;
    width: 75%;
    margin-top: 0;
}

.comments ul li ul {
    padding-left: 25px;
}

/* shrinked comment reply form view */

.comments ul li ul li .comment.in-reply-to .comment-form-fields label { display: none; }
.comments ul li ul li .comment.in-reply-to .comment-form .comment-redactor { margin-left: 0; }
.comments ul li ul li .comment.in-reply-to .comment-form .comment-submit { padding-left: 0; }

.comments-header{
    margin: 0 0 20px;
}

.comments-header--question{
    float: left;
}

.credentials a {
    text-decoration: none;
    outline: none;
}


.comment_userpic{
    margin: 0 2px 0 0;
}

.comment_username{
    margin: 0 5px 0 0;
}

.comment_date {
    font-size: 12px;
    color: #ccc;
    margin: 0 5px;
}


.follow {
    background: #ffc;
    padding: 20px;
    margin-bottom: 30px;
}

.follow.following .hide-when-following,
.follow.not-following .hide-when-not-following {
    display: none;
}

.hide-when-not-following .star{
    margin: 0 10px 4px 0;
}

.follow #button-follow {
    margin-right: 7px;
}

.follow #button-unfollow {
    margin-left: 7px;
}

/* reset default <ul> and <ol> styling for comment content */

.comments ul li .comment ul,
.comments ul li .comment ol { padding-left: 25px; margin-left: 0 !important; }
.comments ul li .comment ul li { list-style: disc; }
.comments ul li .comment ol li { list-style: decimal; }

.comments.answers .comment {
    min-height: 60px;
    padding: 10px;
    position: relative;
}

.comments.answers .text,
.comments.answers .actions {
    margin-left: 70px;
}

.comments.answers ul li ul {
    margin-left: 35px;
}

.comments.answers ul li ul li ul {
    margin-left: 10px;
    font-size: 1em;
}

.comments.answers ul li ul .text,
.comments.answers ul li ul .actions {
    margin-left: 0;
}



.comments ul li .comment .wa-auth-adapters ul { padding-left: 0; margin-top: 5px; }
.comments ul li .comment .wa-auth-adapters ul li { list-style: none; clear: none; }

/* Vote icons
------------- */

.vote {
    color: #aaa;
}
.vote strong { margin-right: 7px; }
.vote i.icon16 { background-image: url("img/vote.png"); background-size: 128px 16px; background-position: 0 0; }
.vote i.icon16.up-bw { background-position: 0 0; }
.vote i.icon16.down-bw { background-position: -16px 0; }
.vote i.icon16.up { background-position: -32px 0; }
.vote i.icon16.down { background-position: -48px 0; }
.vote a:hover i.icon16.up-bw { background-position: -32px 0; /* colored version */ }
.vote a:hover i.icon16.down-bw { background-position: -48px 0; /* colored version */ }

.vote.qa {
    display: block;
    width: 65px;
    float: left;
    text-align: center;
    font-size: 1.3em;
    z-index: 1;
}
.vote.qa a,
.vote.qa strong { display: block !important; margin: 0 auto !important; padding: 2px !important; line-height: 1em !important; }
.vote.qa strong { font-size: 1.8em; position: relative; }

.vote.qa { position: relative; padding: 20px 0 25px; }
.vote.qa a.plus { position: absolute; top: 0; left: 0; right: 0; }
.vote.qa a.minus { position: absolute; bottom: 0; left: 0; right: 0; }
.vote.qa i.icon16 { margin: 0; }
.vote.qa i.icon16.up-bw { background-position: -64px 0; }
.vote.qa i.icon16.down-bw { background-position: -80px 0; }
.vote.qa i.icon16.up { background-position: -96px 0; }
.vote.qa i.icon16.down { background-position: -112px 0; }
.vote.qa a:hover i.icon16.up-bw { background-position: -96px 0; /* colored version */ }
.vote.qa a:hover i.icon16.down-bw { background-position: -112px 0; /* colored version */ }

@media (max-width: 600px){
    .follow{
        text-align: center;
    }

    .vote.qa{
        font-size: 1em;
        width: 30px;
        margin: 0 10px 0 0;
    }

    .meta-ousted,
    .comments.answers .text,
    .comments.answers .actions{
        margin-left: 0;
    }

    .comment .meta{
        width: 30px;
    }

    .comment  .meta img.userpic{
        width: 30px;
        height: 30px;
    }

    .forum-reply-form .meta{
        display: none;
    }

    .comment_user{
        display: block;
    }

}


/* Topic list
------------- */

ul.sorting {
    margin: 0 0 20px;
    padding: 0;
}

ul.sorting li {
    margin: 0 10px 0 0;
    list-style: none;
    display: inline-block;
}

ul.aux.sorting li{
    margin: 0 0 0 10px;
}


ul.sorting li a {
    text-decoration: none;
    margin: 2px 5px;
    border-bottom: 1px dashed;
}

ul.sorting li.selected a {
    background: #f6f6f6;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    padding: 2px 5px;
    margin: 0;
}

ul.sorting.aux {
    float: right;
}

@media (max-width: 600px){
    .topic-stream_title{
        float: none;
    }

    ul.sorting.aux{
        float: none;
    }

    ul.aux.sorting li {
        margin: 0 10px 0 0;
    }

    .comments-header--question{
        float: none;
    }
}

i.sort-desc {
    height: 0;
    width: 0;
    border: 4px solid transparent;
    border-bottom-color: #000;
    margin-bottom: 0.2em;
    display: inline-block;
}

i.sort-asc {
    height: 0; width: 0;
    border: 4px solid transparent;
    border-top-color: #000;
    margin-top: 0.1em;
    display: inline-block;
}

ul.topics {
    font-size: 1.1em;
    margin: 0;
    padding: 0;
}

ul.topics li {
    list-style: none;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0 0 15px;
}

ul.topics li:last-child{
    margin-bottom: 0;
}

.topic_rating,
.topic_name{
    margin: 0 10px 0 0;
}


.topic_star.icon10 {
    margin: 0 0 0 5px;
}

.topic_author{
    margin: 0 10px 0 0;
    font-size: 13px;
}

.topic_comment{
    max-width: 400px;
}

ul.topics li p {
    margin-bottom: 0;
    margin-top: 2px;
    color: #999;
    font-size: 0.8em;
    width: 80%;
}

ul.topics li .hint {
    font-size: 0.8em;
}

ul.topics li .hint.new {
    color: #000;
    background: #ffc;
}

ul.topics li .meta {
    text-align: center;
    padding-top: 0;
}

ul.topics li .summary {
    margin-bottom: 20px;
    min-height: 32px;
}

ul.topics li:last-child .summary{
    margin-bottom: 0;
}

ul.topics li .replies {
    float: right;
    line-height: 15px;
}

@media (max-width: 800px){
    ul.topics li .meta{
        width: 30px;
        margin: 0 5px 0 0;
    }

    ul.topics li .replies{
        float: none;
    }
}

.replies{
    font-size: 13px;
    color: #c5c5c5;
}

.replies_icon{
    margin: 0 5px 2px 0;

}

ul.topics li .comment {
    font-size: 0.8em;
    padding: 10px 13px;
    margin-top: 8px;
    line-height: 1.4em;
}

ul.topics li .comment .credentials {
    margin-top: 10px;
    margin-bottom: 0;
}

.empty-list { color: #aaa; }


/* Add/edit topic
----------------- */

.topic-form ul.menu-h {
    min-height: 40px;
    margin: 0 0 20px;
}
.topic-form ul.menu-h li a {
    padding: 7px;
    border-radius: 5px;
}
.topic-form ul.menu-h li.selected a {
    background: #f7f7f7;
    border: 1px solid #ebebeb;
}

.topic-form .h-glyph16{
    margin: 0 5px 2px 0;
}

.topic-form .topic-category,
.topic-form .topic-tags { margin: 10px 0 15px; color: #777; font-size: 0.9em; }
.topic-form .topic-content { min-width: 400px; min-height: 300px; width: 100%; padding: 5px; }
.topic-form .topic-tags div.tagsinput span.tag { color: #444; padding: 3px 5px; line-height: 1em; }
.topic-form .topic-preview { border: 1px dashed brown; background: #ffd; margin: 20px 0; }
.topic-form input[type="submit"] { margin-right: 10px; }

/* Redactor: certain default.css strles reset */

html { overflow: auto !important; /* prevents Redactor's default behavior of setting "overflow: hidden;" on $dropdown:hover event */ }
.comment .redactor-toolbar { top: 0 !important; visibility: visible !important; width: 100% !important; }
#redactor-modal footer { background: #fff; top: 0; position: statuc; padding: 0; min-height: 0; font-size: 1em; color: #000; }

/* Tags autocomplete */

.ui-widget { font-family: 'Helvetica Neue', Arial, sans-serif !important; }
.ui-corner-all { border-radius: 0 !important; }
.ui-widget-content { background: #fff !important; }
.ui-widget-content a {  }

/* Authors
---------- */

ul.authors {
    padding-left: 60px;
}

ul.authors li {
    position: relative;
    list-style: none;
    margin-bottom: 30px;
}

ul.authors li img.userpic {
    position: absolute;
    left: -60px;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 0;
}
ul.authors li .kudos { float: right; }

ul.author-nav {
    font-size: 1.1em;
    list-style: outside none none;
    padding-left: 0;
}

ul.author-nav li {
    display: inline-block;
    margin: 0 20px 0 0;
}


.topic_credentials-date{
    margin: 0 0 20px;
    overflow: hidden;
}

.topic_actions{
    text-align: right;
}

.topic_action{
    text-decoration: none;
    border-bottom: 1px dashed;
    margin: 0 0 0 10px;
    line-height: 15px;
    display: inline-block;
}

.topic_action-remove{
    color: red;
}

.topic_date{
    float: right;
    font-size: 13px;
    color: #9f9f9f
}

.topic_userpic{
    display: inline-block;
    margin: 0 5px 0 0;
    text-decoration: none;
}

.topic_username{
    display: inline-block;
    margin: 0 5px 0 0;
}

@media (max-width: 700px){
    .topic_date{
        float: none;
    }
}

.sidebat-comments{
    margin: 0;
    padding: 0;
}

.sidebat-comment{
    padding: 10px;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #ebebeb;
}

.sidebat-comment:last-child{
    border-bottom: 0;
}

.sidebat-comment_icon{
    opacity: 0.4;
    margin: 0 10px 0 0;
}

.sidebat-comment_text{
    line-height: 16px;
}

.authors_title{
    text-decoration: none;
}

.authors_type{
    margin: 0 0 0 5px;
}

.tags.cloud{
    margin-bottom: 0;
}

.author-detail_title *{
    margin: 0 5px;
}

.author-detail_userpic{
    width: 100px;
    height: 100px;
}

