/**
 */


.rm_comment_comment_show {
    color: #000;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}
.rm_comment_comment_block {
    display: flex;
    padding: 8px 0px;
}
.rm_comment_comment_show .portrait {
    width: 72px;
    min-width: 72px;
    height: 72px;
    background: rgba(0,0,0,0.6);
    border-radius: 72px;
    margin-right: 10px;
}

.rm_comment_comment_show .portrait img {
    width: 72px;
    height: 72px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 72px;
    object-fit: cover;
    overflow: hidden;
}

.rm_comment_comment_data {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.rm_comment_comment_meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rm_comment_comment_username {
    font-size: 20px;
    line-height: 1.2;
}

.rm_comment_comment_username a {
    color: black;
}

.rm_comment_comment_timestamp {
    line-height: 1.2;
}

.rm_comment_comment_body {
    font-size: 16px;
    margin-bottom: 8px;
}

.rm_comment_comment_body a {
    display: inline-block;
    position: relative;
    color: #000;
    font-family: Impact;
    cursor: pointer;
}

.rm_comment_comment_body a.mention {
    /* background-color: #EBF5FB; */
    background-color: rgba(29, 155, 209, 0.1);
    color: #1264A3;
    font-weight: normal;
    font-family: inherit;
    padding: 2px 4px;
    border-radius: 4px;
}

.rm_comment_comment_body a:hover {
    text-decoration: none;
    opacity: 0.7;
}

.rm_comment_comment_body a.read-more {
    padding: 4px 0px;
}

.rm_comment_comment_body a.read-more::after {
    content: '';
    position: absolute;
    top: 9px;
    right: -19px;
    width: 14px;
    height: 14px;
    background: url(../../images/garage/icon-dropdown.svg) no-repeat;
    background-size: contain;
}

.rm_comment_comment_body input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    width: 1px;
    height: 1px;
    max-width: 1px;
    max-height: 1px;
}

.rm_comment_comment_body > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: unset;
}

.rm_comment_comment_body input:checked + p {
    -webkit-line-clamp: unset;
}

.rm_comment_comment_body input:checked ~ a,
.rm_comment_comment_body p:not(.truncated) ~ a {
    display: none;
}

.rm_comment_comment_actions_container {
    background: #201E1E;
    border-radius: 5px;
    width: fit-content;
    transition: all 200ms ease-in-out;
}

.rm_comment_comment_actions_container.loading {
    pointer-events: none;
    opacity: 0.8;
}

.rm_comment_comment_actions {
    display: flex;
    width: fit-content;
}

.rm_comment_comment_actions_container a,
.rm_comment_comment_actions_container button {
    background-color: rgba(0,0,0,0);
    color: white;
    display: flex;
    align-items: center;
    outline: none;
    border: unset;
    padding: 4px;
    width: fit-content;
    height: fit-content;
}

.rm_comment_comment_actions_container a:disabled,
.rm_comment_comment_actions_container button.disabled {
    pointer-events: none;
    opacity: 0.8;
}

.rm_comment_comment_actions_container a:hover,
.rm_comment_comment_actions_container button:hover {
    opacity: 0.7;
    text-decoration: none;
}

.rm_comment_comment_like_action .comment-like {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-like.svg) no-repeat center;
    transform-origin: bottom center;
    background-size: contain;
    cursor: pointer;
}

.rm_comment_comment_like_action .comment-likes-count {
    margin-left: 8px;
    text-transform: uppercase;
    line-height: 1.2;
    color: white;
    white-space: nowrap;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.rm_comment_comment_like_action.liked .comment-like {
    background-image: url(../../images/garage/icon-liked.svg);
}

.rm_comment_comment_like_action.animating .comment-like {
    animation: likeAnim 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.rm_comment_comment_actions_container .reply-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-reply.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}

.rm_comment_comment_actions_container .pencil-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-pencil.svg) no-repeat center;
    transform-origin: center;
    background-size: 28px 28px;
    cursor: pointer;
}

.rm_comment_comment_actions_container .trash-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-trash-white.svg) no-repeat center;
    transform-origin: center;
    background-size: 24px 24px;
    cursor: pointer;
}

.rm_comment_comment_actions_container .more-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-more.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}

.rm_comment_comment_actions_container .close-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-close.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}

.rm_cmment_comment_reply_form_wrapper {
    padding: 10px;
}

.rm_comment_comment_flag_action {
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
}

.rm_comment_comment_flag_action span.flaged {
    display: none;
}

.rm_comment_comment_flag_action.flaged {
    color: #E82126;
}

.rm_comment_comment_flag_action.flaged span.flaged {
    display: block;
}

.rm_comment_comment_flag_action.flaged span.unflaged {
    display: none;
}

.rm_comment_comment_flag_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 4px;
}
/*
.rm_comment_comment_actions_container.type-actions {
    max-width: 220px;
    max-height: 46px;
}

.rm_comment_comment_actions_container.type-actions .rm_cmment_comment_reply_form_wrapper,
.rm_comment_comment_actions_container.type-actions .rm_comment_comment_flag_wrapper {
    display: none;
}

.rm_comment_comment_actions_container.type-reply {
    max-width: 320px;
    max-height: 120px;
}

.rm_comment_comment_actions_container.type-reply .rm_comment_comment_actions,
.rm_comment_comment_actions_container.type-reply .rm_comment_comment_flag_wrapper {
    display: none;
}

.rm_comment_comment_actions_container.type-flag {
    max-width: 290px;
    max-height: 46px;
}

.rm_comment_comment_actions_container.type-flag .rm_comment_comment_actions,
.rm_comment_comment_actions_container.type-flag .rm_cmment_comment_reply_form_wrapper {
    display: none;
} */

.rm_comment_comment_form_holder {
    position: relative;
    padding: 10px;
    background: #201E1E;
    border-radius: 5px;
}

.rm_comment_comment_form_holder > span {
    color: white;
}

form.rm_comment_comment_new_form.processing {
    opacity: 0.5;
    pointer-events: none;
}

form.rm_comment_comment_new_form textarea {
    width: 100%;
    min-width: calc(min(50vw, 300px));
    height: 6em;
    padding: 9px;
}
form.rm_comment_comment_new_form textarea ~ .mentions-kinder-multiline {
    min-height: 6em;
    min-width: calc(min(50vw, 300px));
}
form.rm_comment_comment_new_form.error textarea {
    border-color: red;
}
form.rm_comment_comment_new_form .rm_comment_submit {
    width: fit-content;
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 16px;
    display: flex;
    align-items: center;
}

form.rm_comment_comment_new_form button {
    background-color: rgba(0,0,0,0);
    color: white;
    display: flex;
    align-items: center;
    outline: none;
    border: unset;
    width: fit-content;
    height: fit-content;
}

form.rm_comment_comment_new_form .reply-reply-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-reply-reply.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}

form.rm_comment_comment_new_form .reply-close-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-reply-close.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}

form.rm_comment_comment_edit_form {
}
form.rm_comment_comment_edit_form textarea {
    width: 100%;
    height: 6em;
    padding: 9px;
}

form.rm_comment_comment_edit_form textarea ~ .mentions-kinder-multiline {
    min-height: 6em;
    width: 100%;
}

form.rm_comment_comment_edit_form .rm_comment_submit {
    width: fit-content;
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 16px;
    display: flex;
    align-items: center;
}

form.rm_comment_comment_edit_form button {
    background-color: rgba(0,0,0,0);
    color: white;
    display: flex;
    align-items: center;
    outline: none;
    border: unset;
    width: fit-content;
    height: fit-content;
}

form.rm_comment_comment_edit_form .edit-close-icon {
    width: 38px;
    height: 38px;
    background: url(../../images/garage/icon-reply-close.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
}
.rm_comment_comment_edit_form .rm_comment_submit input[type="submit"] {
    width: 38px;
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    background: url(../../images/garage/icon-reply-reply.svg) no-repeat center;
    transform-origin: center;
    background-size: contain;
    cursor: pointer;
    display: block;
    position: relative;
    opacity: 1;
    outline: none;
    border: unset;
    pointer-events: auto;
}
.rm_comment_form_errors {
    color: #ff0000;
}
.rm_comment_comment_replies {
    padding-left: 64px;
}

.mentions-kinder-wrap .mention {
    background-color: rgba(29, 155, 209, 0.1);
    color: #1264A3;
}

@media (max-width: 767px) {

    .rm_comment_comment_show {
        font-size: 14px;
    }

    .rm_comment_comment_show .portrait {
        width: 48px;
        min-width: 48px;
        height: 48px;
        border-radius: 48px;
    }

    .rm_comment_comment_show .portrait img {
        width: 48px;
        height: 48px;
        border-radius: 48px;
    }


    .rm_comment_comment_username {
        font-size: 14px;
    }

    .rm_comment_comment_timestamp {
        font-size: 11px;
    }
    .rm_comment_comment_replies {
        padding-left: 54px;
    }

    .rm_comment_comment_body {
        font-size: 11px;
    }

    .rm_comment_comment_body a.read-more::after {
        top: 7px;
        right: -15px;
        width: 10px;
        height: 10px;
    }

    .rm_comment_comment_like_action .comment-likes-count {
        font-size: 10px;
        margin-left: 0px;
    }

    .rm_comment_comment_like_action .comment-like,
    .rm_comment_comment_actions_container .reply-icon,
    .rm_comment_comment_actions_container .more-icon,
    .rm_comment_comment_actions_container .close-icon,
    form.rm_comment_comment_new_form .reply-reply-icon,
    form.rm_comment_comment_new_form .reply-close-icon {
        width: 30px;
        height: 30px;
    }

    .rm_comment_comment_actions_container .pencil-icon {
        width: 30px;
        height: 30px;
        background-size: 24px 24px;
    }

    .rm_comment_comment_actions_container .trash-icon {
        width: 30px;
        height: 30px;
        background-size: 24px 24px;
    }
}
