.options [data-m-action="comments"]
{
    display: inline-block;
    min-width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: transparent;
    position: relative;
    /*border: solid 1px #f0f0f0;*/
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    /*margin-bottom: 10px;*/
    text-align: center;
    line-height: 38px;
    /*float: right;*/
    order: 2;
}
.options [data-m-action="comments"]:hover
{
    background-color: var(--bg-light-gray);
}
[data-m-action="comments"] > i {
    display: inline-block;
    font-style: normal;
    height: 32px;
    vertical-align: middle;
    line-height: 32px;
    padding: 0;
    position: relative;
    margin: 0;
    cursor: pointer;
    opacity: 0.75;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    color: transparent;
    font-size: 0em;
    text-decoration: none;
}
[data-m-action="comments"] > i:hover {
    opacity: 1;
}
[data-m-action="comments"] > i:before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 32px;
    position: absolute;
    left: 2px;
    top: 0;
    background-repeat: no-repeat;
    background-position: center center;
    -moz-transition: transform .25s ease-in-out;
    -webkit-transition: transform .25s ease-in-out;
    -o-transition: transform .25s ease-in-out;
    transition: transform .25s ease-in-out;
    transform: scale(0.6);
}
[data-m-action="comments"] > i:hover:before {
    transform: scale(0.75);
}
[data-m-action="comments"] > i.icon:before {
    background-image: url('/application/we/modules/social/client/img/comments.svg');
}
[data-m-action="comments"] > i.active {
    padding: 0 0 0 32px;
    color: #777;
    margin: 4px;
}
[data-m-action="comments"].hover > i,
[data-m-action="comments"]:hover > i,
[data-m-action="comments"] > i.e
{
    padding: 0 4px 0 28px;
    color: #333;
    font-size: 0.85em;
    margin: 4px;
}

.comment-form {
    display: inline-block;
    width: 100%;
    background-color: transparent;
    padding: 0;
    order: 5;
    margin: 5px 10px;
    position: relative;
}
.comment-form textarea {
    -webkit-appearance: none;
    width: 100%;
    resize: none;
}
.comment-form textarea::-webkit-resizer {
    display: none;
}
.comment-form > div[contenteditable],
.comment-form > textarea,
.replies > div[contenteditable],
.replies > textarea
{
    /*margin: 0 0 15px 0;*/
    margin: 0;
    position: relative;
    padding: 10px;
    min-height: 60px;
    background-color: var(--bg-input);
    border-radius: 10px;
    border: none;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.comment-form > div[contenteditable]:empty:before,
.comment-form > textarea:empty:before,
.replies > div[contenteditable]:empty:before,
.replies > textarea:empty:before
{
    content: attr(placeholder);
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999999;
}
.replies > div[contenteditable]:empty:before,
.replies > textarea:empty:before
{
    left: -30px;
    display: inline-block;
    padding: 0 0 0 43px;
    height: calc(100% - 3px);
    z-index: 3;
    border-left: solid 1px var(--white);
}
.replies > div[contenteditable]:focus:before,
.replies > textarea:focus:before
{
    content: '';
    position: absolute;
    top: 10px;
    left: -30px;
    display: inline-block;
    padding: 0 0 0 43px;
    height: calc(100% - 3px);
    z-index: 3;
    border-left: solid 1px var(--white);
}
.comment-form > div[contenteditable]:focus,
.comment-form > textarea:focus,
.comment-form > div[contenteditable]:hover,
.comment-form > textarea:hover,
.replies > div[contenteditable]:focus,
.replies > textarea:focus,
.replies > div[contenteditable]:hover,
.replies > textarea:hover
{
    /*border: none;*/
    /*border-bottom: 1px solid #dbdbdb;*/
    outline: 0px solid transparent;
    border: none;
}
.replies > div[contenteditable],
.replies > textarea
{
    min-height: 34px;
    margin-top: 5px;
    /*border-bottom: none;*/
}
/*.replies > div[contenteditable]:focus {*/
/*border-bottom: none;*/
/*}*/
.comments-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
.comments-wrapper .comment {
    float: none;
    clear: both;
    display: block;
    padding: 0;
    color: #888;
    background-color: transparent;
    border: none;
    position: relative;
    flex: 100%;
    max-width: 100%;
}
.comments-wrapper .comment .inner {
    padding: 10px 10px 20px 10px;
    background-color: var(--bg-input);
    border-radius: 10px;
    margin: 5px 0;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    position: relative;
}
.comments-wrapper .comment .inner:hover {
    background-color: var(--bg-input-hover);
}
/*.comments-wrapper .comment:before {*/
    /*content: '';*/
    /*position: absolute;*/
    /*right: 15px;*/
    /*top: 32px;*/
    /*display: inline-block;*/
    /*width: 34px;*/
    /*height: 14px;*/
    /*background-color: transparent;*/
    /*-moz-transition: all .25s ease-in-out;*/
    /*-webkit-transition: all .25s ease-in-out;*/
    /*-o-transition: all .25s ease-in-out;*/
    /*transition: all .25s ease-in-out;*/
    /*z-index: 3;*/
    /*opacity: 1;*/
/*}*/
/*.comments-wrapper .comment:hover:before {*/
    /*transition-delay: 250ms;*/
    /*-moz-transition-delay: 250ms;*/
    /*-webkit-transition-delay: 250ms;*/
    /*-o-transition-delay: 250ms;*/
    /*opacity: 0;*/
    /*width: 0;*/
    /*!*height: 0;*!*/
/*}*/
.comments-wrapper .comment:last-of-type {
    border-bottom: none;
}
.comments-wrapper .comment:hover {
    /*background-color: #fdfdfd;*/
}
.comments-wrapper .comment a.author + small {
    color: #aeaeae;
    font-size: 0.8em;
    -moz-transition: color .25s ease-in-out;
    -webkit-transition: color .25s ease-in-out;
    -o-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}
.comments-wrapper .comment:hover > a.author + small {
    color: #a4a4a4;
}
.comments-wrapper .comment a.author {
    font-weight: 400;
    margin: 0 10px 0 0;
    cursor: pointer;
    color: var(--dark);
}
.comments-wrapper .comment a.author:hover {
    text-decoration: none;
    color: var(--black);
}
.comments-wrapper .comment a.author img {
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
/*.comments-wrapper .comment .inner > a.reply,*/
.comments-wrapper .comment .inner > a.delete
{
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
    background-repeat: no-repeat;
    background-position: center center;
    right: 7px;
    top: 14px;
    z-index: -1;
    /*transition-delay: 500ms;*/
    /*-moz-transition-delay: 500ms;*/
    /*-webkit-transition-delay: 500ms;*/
    /*-o-transition-delay: 500ms;*/
    background-color: transparent;
    border-radius: 2px;
    text-align: center;
}
/*.comments-wrapper .comment .inner:hover > a.reply,*/
.comments-wrapper .comment .inner:hover > a.delete
{
    opacity: 0.9;
    z-index: 2;
    width: 12px;
    height: 12px;
}
/*.comments-wrapper .comment .inner > a.reply:hover,*/
.comments-wrapper .comment .inner > a.delete:hover
{
    opacity: 1;
}
/*.comments-wrapper .comment .inner > a.reply {*/
/*background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIiB3aWR0aD0iMTIiPjxwYXRoIGZpbGw9IiM5OTk5OTkiIGQ9Ik0xMS4wOTMgMjUxLjY1bDE3NS45OTggMTg0QzIxMS44MSA0NjEuNDk0IDI1NiA0NDQuMjM5IDI1NiA0MDh2LTg3Ljg0YzE1NC40MjUgMS44MTIgMjE5LjA2MyAxNi43MjggMTgxLjE5IDE1MS4wOTEtOC4zNDEgMjkuNTE4IDI1LjQ0NyA1Mi4yMzIgNDkuNjggMzQuNTFDNTIwLjE2IDQ4MS40MjEgNTc2IDQyNi4xNyA1NzYgMzMxLjE5YzAtMTcxLjA4Ny0xNTQuNTQ4LTIwMS4wMzUtMzIwLTIwMy4wMlY0MC4wMTZjMC0zNi4yNy00NC4yMTYtNTMuNDY2LTY4LjkxLTI3LjY1TDExLjA5MyAxOTYuMzVjLTE0Ljc5MSAxNS40Ny0xNC43OTEgMzkuODMgMCA1NS4zem0yMy4xMjctMzMuMThsMTc2LTE4NEMyMTUuMTQ5IDI5LjMxIDIyNCAzMi43MzggMjI0IDQwdjEyMGMxNTcuMTE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IDQxLjE2IDIzLjMwNEwzNDkuNTg5IDgwSDQyNHptLTI2OS42MTEgMGgxMzkuMjIzTDI3Ni4xNiA1MC45MTNBNiA2IDAgMCAwIDI3MS4wMTUgNDhoLTk0LjAyOGE2IDYgMCAwIDAtNS4xNDUgMi45MTNMMTU0LjM4OSA4MHpNMzY4IDEyOEg4MHYzMzBhNiA2IDAgMCAwIDYgNmgyNzZhNiA2IDAgMCAwIDYtNlYxMjh6IiBjbGFzcz0iIi8+PC9zdmc+');
    /*right: 35px;*/
}
.comments-wrapper .comment .inner > a.reply {
    position: absolute;
    bottom: 3px;
    right: 10px;
    font-size: 11px;
    cursor: pointer;
    color: #b9b9b9;
}
.comments-wrapper .comment .inner > a.reply:hover {
    color: var(--gray666);
    text-decoration: none;
}
.comments-wrapper .comment p {
    float: none;
    clear: both;
    margin: 5px 0 !important;
    text-align: left !important;
}
.comments-wrapper .comment p img {
    max-width: 100%;
}
.comments-wrapper .comment .replies {
    padding: 0 0 0 40px;
    position: relative;
}
.comments-wrapper .comment .replies .typing {
    display: flex;
    justify-content: left;
    align-items: center;
    position: absolute;
    padding: 5px 0;
    margin-left: -15px;
    overflow: hidden;
    width: 30px;
    bottom: 5px;
    left: 50%;
}
.comments-wrapper .comment .replies .typing:before {
    content: '';
    position: relative;
    left: -5px;
    width: 5px;
    height: 5px;
    border-radius: 3px;
    background-color: #dbdbdb;
    /*color: #dbdbdb;*/
    box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    animation: dotTyping 1.25s infinite linear;
}
@keyframes dotTyping {
    0% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    }
    16.667% {
        box-shadow: 5px -5px 0 0 #bbb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    }
    33.333% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    }
    50% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px -5px 0 0 #bbb, 25px 0 0 0 #dbdbdb;
    }
    66.667% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    }
    83.333% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px -5px 0 0 #bbb;
    }
    100% {
        box-shadow: 5px 0 0 0 #dbdbdb, 15px 0 0 0 #dbdbdb, 25px 0 0 0 #dbdbdb;
    }
}

[data-m-action="comments"] a .icon {
    display: inline-block;
    font-style: normal;
    height: 16px;
    vertical-align: middle;
    padding: 0;
    /*position: relative;*/
    /*margin: 0;*/
    cursor: pointer;
    opacity: 0.5;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    margin: 8px;
}
[data-m-action="comments"] a:hover .icon {
    opacity: 0.75;
    height: 20px;
    margin: 6px 6px;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] {
    float: none;
    position: absolute;
    left: 6px;
    top: 100%;
    margin: -24px 0 0 0;
    border: none;
    z-index: 1;
    height: auto;
    min-height: 24px;
    line-height: 24px;
    min-width: 24px;
}
.comments-wrapper .comment .inner [data-m-action="emotions"]:hover {
    background-color: #f9f9f98c;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i {
    height: 28px;
    margin: 0;
    line-height: 28px;
    opacity: 0.6;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i:before {
    top: -4px;
    left: -4px;
}
.comments-wrapper .comment .inner [data-m-action="emotions"].hover > i:before,
.comments-wrapper .comment .inner [data-m-action="emotions"]:hover > i:before,
.comments-wrapper .comment .inner [data-m-action="emotions"] > i.active:before {
    transform: scale(0.65);
}
.comments-wrapper .comment .inner [data-m-action="emotions"].hover > i,
.comments-wrapper .comment .inner [data-m-action="emotions"]:hover > i,
.comments-wrapper .comment .inner [data-m-action="emotions"] > i.e {
    padding: 0 8px 0 26px;
    opacity: 0.75;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i.active {
    padding: 0 8px 0 26px;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i:hover {
    opacity: 1;
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i:hover:before {
    transform: scale(0.9);
}
.comments-wrapper .comment .inner [data-m-action="emotions"] > i.e._ {
    opacity: 1;
}

.comment .replies {
    position: relative;
}
.comment .replies:before {
    content: '';
    display: inline-block;
    height: 100%;
    width: 30px;
    position: absolute;
    border-left: 1px solid var(--border-color);
    left: 11px;
    /*border-bottom: 1px solid #eaebf0;*/
    /*border-radius: 0 0 0 15px;*/
    top: -5px;
    z-index: 2;
}
.comment .replies .comment:before
{
    content: '';
    position: absolute;
    display: inline-block;
    width: 29px;
    height: 26px;
    top: 28px;
    left: -29px;
    border-radius: 0 0 0 15px;
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 4;
}
.comment .replies:hover:before,
.comment .replies:hover > .comment:before
{
    border-color: var(--bg-input);
}
.replies > div[contenteditable]:after,
.replies > textarea:after
{
    content: '';
    position: absolute;
    display: inline-block;
    width: 29px;
    height: 15px;
    top: 8px;
    left: -29px;
    border-radius: 0 0 0 15px;
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 4;
    background-color: transparent;
}
.comment .replies .comment:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 20px;
    left: -32px;
    background-color: var(--white);
    border-radius: 50%;
    border: 1px solid var(--light);
    z-index: 5;
}
/*.comment .replies:hover:before,*/
/*.comment .replies .comment:hover:before*/
/*{*/
    /*border-color: #d2d2d7;*/
/*}*/
.comment .replies > .comment:last-child .inner:before
{
    content: '';
    position: absolute;
    display: inline-block;
    width: 29px;
    bottom: 0;
    top: 26px;
    left: -29px;
    background-color: var(--white);
    z-index: 3;
}

body.dark [data-m-action="comments"].hover > i,
body.dark [data-m-action="comments"]:hover > i,
body.dark [data-m-action="comments"] > i.e
{
    color: #ccc;
}