.rawt-comment-balloon {
    display: none;
    text-align: center;
    color: #444;
    text-decoration: none !important;
    position: relative;
    width: 2em;
    height: 2em;
}

.rawt-comment-balloon.have-comments {
    display: block;
}

.rawt-comment-balloon .icon {
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    font-size: 2em;
}

.rawt-comment-balloon .icon:before {
    content: "\f075";
}

.rawt-comment-balloon .value {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    font-size: 0.73em;
    line-height: 2.8em;
    width: 2.71em;
}

a.rawt-comment-balloon:hover {
    background-position:0 100%;
    text-decoration: underline;
}

/**
 * Latest list
 */
.rawtcomments-latest-list {
    position: relative;
}

.rawtcomments-latest-list li {
    list-style: none;
    margin: 0 !important;
    padding: 0.4em 0 !important;
}

.rawtcomments-latest-list li.first {
    border: none;
}

.rawtcomments-latest-list .list-image {
    vertical-align: top !important;
}

.rawtcomments-latest-list .list-title .desc {
    display: block;
    margin-bottom: 0.3em;
}

.rawtcomments-latest-list .list-title .desc a {
    display: block;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.4em;
}

.rawtcomments-latest-list .list-title .author {
    display: table;
    float: right;
}

.rawtcomments-latest-list .list-title .author .rawt-avatar,
.rawtcomments-latest-list .list-title .author .name {
    display: table-cell;
    vertical-align: middle;
}

.rawtcomments-latest-list .list-title .author .rawt-avatar {
    padding-left: 1em;
}

.rawtcomments-latest-list .list-title .author .name {
    font-size: 0.9em;
    font-style: italic;
}


/**
 * Formatting of drupal comments
 */
.comment {
    margin-bottom: 1.2em;
    display: table;
    vertical-align: top;
}

.comment h2.title {
    margin-bottom: 1em;
}

.comment div.user-picture img {
    margin-left: 0;
}

.comment .attribution {
    display: table-cell;
    font-size: 0.8em;
    padding: 0 1em 0 0;
    vertical-align: top;
}

@media all and (min-width: 750px) {
    #comments .indented {
        padding: 0 2em 0 0;
    }

    .comment .attribution {
        font-size: 1em;
    }
}

.comment .attribution img {
    margin: 0;
}

/*.comment .attribution .username {
    white-space: nowrap;
}*/

.comment .submitted p {
    padding: 0;
    margin: 0.3em 0;
}

.comment .submitted .comment-permalink {
    font-size: 0.8em;
    text-transform: lowercase;
}

.comment .content {
    font-size: 0.9em;
}

/*.comment .comment-arrow {
    background: none;
    border-left: 1px solid;
    border-right: 1px solid;
    height: 40px;
    margin-left: -47px;
    margin-top: 10px;
    position: absolute;
    width: 20px;
}*/

.comment .comment-text .comment-pointer {
    position: absolute;
    width: 14px;
    height: 33px;
    background: none;
    top: 0.5em;
    left: -22px;
}

.comment .comment-text {
    display: table-cell;
    vertical-align: top;
    position: relative;
    width: 100%;
    padding: 8px;
}

.comment .indented {
    margin-left: 40px;
}

.comment ul.links {
    padding: 0 0 0.25em 0;
}

.comment ul.links li {
    padding: 0 0.5em 0 0;
}

.comment ul.links li a {
    font-size: 0.9em;
    text-decoration: none;
}

/*#comments .comment-unpublished {
    margin-right: 5px;
    padding: 5px 2px 5px 5px;
}

#comments .comment-unpublished .comment-text .comment-arrow {
    border-left: 1px solid #fff4f4;
    border-right: 1px solid #fff4f4;
}*/

.comment .username {
    display: block;
    text-transform: capitalize;
}

.comment .rawt-avatar img {
    width: 48px;
    height: 48px;
}

@media all and (min-width: 750px) {
    .comment .rawt-avatar img {
        height: 72px;
        width: 72px;
    }
}

#comments .comment-permalink {
    display: none;
}

.comment .comment-time {
    display: block;
}

.comment ul.links {
    display: block;
    margin: 0;
    padding: 0;
}

#comments .comment-hidden ul.links {
    display: none;
}

.comment ul.links li {
    display: inline-block;
    margin: 0.5em 0.2em;
    padding: 0;
}

#comments .indented {
    margin-left: 0;
}

@media all and (min-width: 750px) {
    #comments .indented {
        margin-left: 40px;
    }
}

.comment ul.links li a {
    display: inline-block;
    border: 1px solid #ddd;
    overflow: hidden;
    text-align: center;
    padding: 0.5em;
}

.comment .comment-text .text {
    position: relative;
    padding: 10px;
}

.comment .comment-text .comment-rating {
    margin-bottom: 1em;
}

.comment .comment-rating-info {
    margin: -1em 0 1em 0;
}

#comments form .form-actions > * {
    display: inline-block;
    margin-right: 0.8em;
}

#comments .comment form {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #bbb;
}

.comment-form .field-name-comment-body {
    margin-bottom: 1em;
}

.comment-form .filter-wrapper {
    display: none;
}

.comment-form .field-type-image .tabledrag-toggle-weight-wrapper,
.comment-form .field-type-image .tabledrag-changed-warning,
.comment-form .field-type-image .tabledrag-changed,
.comment-form .field-type-image table.sticky-header,
.comment-form .field-type-image table thead,
.comment-form .field-type-image .image-widget .file-icon,
.comment-form .field-type-image .image-widget .file,
.comment-form .field-type-image .image-widget .file-size {
    display: none !important;
}

.comment-form .field-type-image table {
    margin-bottom: 0.5em;
}

.comment-form .field-type-image table .image-widget {
    padding-left: 1.5em;
}

.comment-form .field-type-image table tr {
    background: none;
}

.comment-form .field-type-image table tbody {
    border: none;
}

.comment-form .field-type-image table td:first-child {
    width: 0;
}

.comment-form .field-type-image table td {
    padding: 0.8em 0.5em;
}

.comment-form .image-widget input {
    padding: 0.5em 0 0.5em 0;
}

.comment-form input[type="submit"] {
    margin-right: 1em;
}

#comments .image-widget .image-preview {
    padding: 5px;
}

#comments .image-widget .image-preview img {
    margin: 0;
}

.comment .comment-images .comment-image {
    float: left;
    margin: 0 0.3em 0.3em 0;
    border: 1px solid #ddd;
}

.comment .comment-images .comment-image a,
.comment .comment-images .comment-image img {
    display: block;
}

.comment .comment-vote {
    float: right;
    margin: -0.2em -1em 0.2em 0.5em;
}

.comment .comment-badges {
    position: absolute;
    top: -1.5em;
    left: 1.5em;
}

.comment .comment-badges > * {
    -moz-border-radius: 0.3em;
    -khtml-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

#comments .comments-node-link {
    display: inline-block;
    margin: 1em 0;
    padding: 0.2em 0.5em;
    background: #fff;
}

#comments #comments-more-all {
    display: inline-block;
    margin: 1em 0;
}

#comments .comment-form-title {
    margin-top: 1em;
}

#comments .empty-title {
    margin: 0 0 1em 0;
}

.comment .vud-widget {
    position: relative;
}

.comment .vud-widget-updown .ajax-progress {
    position: absolute;
    top: 80px;
    left: 2px;
}

.comment .vud-widget-updown .up-inactive:hover,
.comment .vud-widget-updown .down-inactive:hover,
.comment .vud-widget-updown .up-active,
.comment .vud-widget-updown .down-active {
    font-size: inherit;
}

/**
 * Entity Index
 */
.rawt-entity-index th.comments,
.rawt-entity-index td.comments {
    padding-left: 1em;
    padding-right: 1em;
    width: 2em;
}

.rawt-entity-index th.comments .icon {
    font-size: 1.3em;
    margin: 0;
}

.rawt-entity-index td.comments .rawt-comment-balloon {
    display: inline-block;
    position: relative;
    left: auto;
    top: auto;
    font-size: 1.1em;
}