.text-success {
    color: var(--common-primary-brand-emerald-100, #00866d);
}

#comments-container {
    width: auto;
    height: 475px;
    overflow: scroll;
    overflow-x: hidden;
    position: relative;
}
#comments-container #comments {
    width: 100%;
    margin-top: 0;
    padding: 12px;
}
#comments-container #comments.loading-container {
    z-index: 0;
}
#comments-container .comment {
    box-sizing: border-box;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-direction: row;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0 0 8px 0;
    padding-bottom: 0;
    gap: 8px;
    max-width: calc(100% - 50px);
}
#comments-container .comment.me {
    justify-content: flex-end;
    max-width: 100%;
}
#comments-container .comment .message-infos {
    min-height: 60px;
    text-align: center;
    vertical-align: top;
}
#comments-container .comment .comment-avatar {
    display: inline-block;
    width: 36px;
    align-self: flex-end;
}
#comments-container .comment.me .comment-avatar {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    padding-right: 0;
}
#comments-container .comment.me .comment-avatar .avatar {

}
#comments-container .comment .comment-avatar .avatar,
#tableParticipants .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0;
}

#comments-container .comment .comment-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    align-items: flex-start;
}
#comments-container .comment.me .comment-container {
    align-items: flex-end;
}
#comments-container .comment .comment-content {
    background: var(--app-layout-bg, #F9F5F1);
    padding: 12px 16px;
    display: inline-block;
    vertical-align: top;
    width: auto;
    border-radius: 16px 16px 16px 0;
    position: relative;
}
#comments-container .comment.published .comment-content {
    min-height: 60px;
    padding-right: 60px !important;
}
#comments-container .comment.me .comment-content,
.webinar-sidebar .tab-content #box-chat #comments-container .comment.me .comment-content {
    border-radius: 16px 16px 0 16px;
    background: var(--common-primary-brand-cobalt-blue-100, #385FEB);
    color: white;
}
#comments-container .comment .comment-content:before {
    display: none;
    background-color: #FFF;
    content: "\00a0";
    height: 5px;
    width: 7px;
    position: absolute;
    top: auto;
    bottom: 0;
    transform: skew(135deg);
    box-shadow: -2px 1px 2px 0 rgba(52,54,75,0.1);
    left: -2px;
    right: auto;
}
#comments-container .comment.me .comment-content:before {
    right: -2px;
    left: auto;
    transform: skew(45deg);
    box-shadow: 2px 1px 2px 0 rgba(52, 54, 75, 0.1);
}
#comments-container .comment.published .comment-content:after {
    background: var(--common-primary-brand-coral-100, #FF7559);
    content: "\f0a1";
    color: white;
    font: normal normal normal 12px / 1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    height: 36px;
    width: 39px;
    position: absolute;
    top: 12px;
    right: 16px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
}
#comments-container .comment.me.published .comment-content:after {
    left: -16px;
}
#comments-container .comment.published.has-been-published .comment-content:after {
    background: #424B54;
}
#comments-container .comment .comment-infos {
    display: flex;
    flex-direction: row;
    gap: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-neutral-black-40, rgba(0, 0, 0, 0.40));
    font-size: 12px;
    font-weight: 500;
}

@media (min-width: 769px) {
    #comments-container .comment .comment-infos .date {
        display: none;
    }
}

#comments-container .comment:hover .comment-infos .date {
    display: inline-block;
}
#comments-container .comment .comment-infos .name {
    color: var(--color-neutral-black-40, rgba(0, 0, 0, 0.40));
    display: inline-block;
    font-weight: 500;
    vertical-align:middle;
    float: none;
    margin: 0;
    padding: 0;
    border: none;
    height: auto;
}
body.dark #comments-container .comment .comment-infos .name {
    color: #707281!important
}

#comments-container .comment .comment-infos .label {
    height: 19px;
    padding: 2px 6px;
    font-weight: 500;
    font-size: 10px;
    border-radius: 6px;
}
#comments-container .comment .comment-content .email {
    font-weight: 400;
    color:var(--app-color-grey-medium);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}
#comments-container .comment .comment-actions {
    display: flex;
    padding: 10px 8px;
    align-items: center;
    gap: 0;
    height: 36px;
    border-radius: 16px;
    background: var(--Background-Secondary, #FFF);
    box-shadow: 0 2px 4px 0 var(--common-primary-brand-cobalt-blue-20, #E8EDFF);
    position: absolute;
    top: -24px;
    left: 0;
    z-index: 1;
}
#comments-container .comment .comment-actions a {
    padding: 8px;
    cursor: pointer;
}
#comments-container .comment .comment-actions {
    display: none;
}
#comments-container .comment:hover .comment-actions {
    display: flex;
}

#comments-container .comment.me .comment-actions .btn-group {
    margin-left: 0;
    /*margin-right: 10px;*/
}
#comments-container .comment .comment-actions .btn-group button {
    background: transparent;
    margin-bottom: 0;
    border: none;
    height: 24px;
    width: 22px;
    padding: 8px;
}
#comments-container .comment .comment-infos .tooltip {
    position: fixed;
}
#comments-container .comment .comment-actions .btn-group .dropdown-menu {
    border: none;
    margin: 0;
    overflow: hidden;
}
#comments-container .comment.me .comment-actions .btn-group .dropdown-menu {
    left: auto;
    right: 0;
}
/*#comments-container .comment .comment-actions .btn-group .dropdown-menu > li > a {
    color: #34364B;
    opacity: .8;
    padding: 6px 10px !important;
}
#comments-container .comment .comment-actions .btn-group .dropdown-menu > li > a:hover {
    opacity: 1;
}
#comments-container .comment .comment-actions .btn-group .dropdown-menu > li > a i {
    width: 20px;
    text-align: center;
    font-size: 13px;
}
#comments-container .comment .comment-actions .btn-group .dropdown-menu > li > a i.nc-icon {
    vertical-align: middle;
    padding-bottom: 2px;
}*/

#comments_scroll {
    width: 100%;
    bottom: 20px;
    left: 0;
    z-index: 1;
    position: absolute;
    text-align: center;
    display: none;
    padding: 0 15px;
}
#comments_scroll .btn {
    padding: 4px 16px;
    height: 32px;
    font-size: 11px;
    box-shadow: 0 1px 4px 0 rgba(20,27,58,0.14), 0 2px 16px 0 rgba(0,0,0,0.15) !important;
}
#addCommentForm .form-group {
    margin-bottom: 0;
}
#addCommentForm .input-group {
    display: table;
    width: 100%;
}

#lastNextMessages {
    height: 50px;
    width: 100%;
    text-align: center;
    padding: 10px;
}
#lastNextMessages .btn {
    padding: 4px 16px;
    height: 32px;
    font-size: 11px;
    line-height: 24px;
    box-shadow: 0 1px 4px 0 rgba(20,27,58,0.14), 0 2px 16px 0 rgba(0,0,0,0.15) !important;
}
#lastNextMessages .btn:hover {
    color: white;
}

#chat-publique,
#chat-prive {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
#chat-prive {
    padding: 0;
}

#box-chat .bloc-video {
    border-radius: 20px;
    overflow: hidden;
}

#box-chat #pinned_messages {
    z-index: 1;
    position: relative;
    margin: 0 10px;
}
.pinned_message {
    border-radius: 16px;
    background: var(--Background-Secondary, #FFF);
    display: flex;
    padding: 16px;
    padding-right: 30px;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}
.pinned_message .avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0;
}
.pinned_message .pinned_message-content {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: right;
}
.pinned_message h4 {
    margin: 0;
    padding: 0;
    color: var(--app-color-dark) !important;
    font-size: 14px;
    font-weight: 700;
}
.pinned_message p {
    color: var(--app-color-dark) !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
.pinned_message .pinned_message-notification-img {
    width: 73px;
    position: absolute;
    top: -20px;
    right: -27px;
    z-index: 2;
}
.pinned_message .close {
    font-size: 12px;
    opacity: 1;
    margin-top: 4px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.pinned_message .close a {
    color: #70777e;
    font-size: 14px;
}

.emojiPicker {
    margin-top: -240px;
}
#broadcastRoom .emojiPicker {
    margin-top: -286px;
}


#comments_desactive {
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    background: white;
    left: 0;
    top: 0;
}
#comments_desactive .box-no-content .icon {
    margin-bottom: 30px;
}

#comments .event {
    display: flex;
    flex-direction: row;
    margin: 10px 0;
}
#comments .event hr {
    flex: 1;
    margin: 10px 0px;
    border-top: 1px solid #DDDDE1;
    border-bottom: none;
    display: block;
}
#comments .event .content {
    flex: 1;
    white-space: nowrap;
    padding: 2px 10px 0 10px;
    color: #90959A;
    font-size: 11px;
    text-align: center;
}
#comments .event-item {
    border-radius: 16px;
    background: rgba(216, 211, 207, 0.40);
    box-shadow: var(--app-box-shadow-beige);
    margin: 16px 0;
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
#comments .event-item .title {
    color: var(--app-color-dark);
    font-size: 14px;
    font-weight: 500;
}
#comments .event-item .btn {
    max-width: 350px;
}
#comments .event-item .btn:hover {
    transform: none;
}
#comments .event-item.texte .btn {
    background: var(--common-primary-brand-coral-100, #FF7559);
}
#comments .event-item .btn span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#comments .block_answer {
    background: #fafafa;
    padding: 10px;
    margin: 10px 10px 10px 35px;
    border-radius: 4px;
}
#comments textarea.input-error {
    border-color: #ED3B51;
}
#comments .block_answer .actions {
    padding-top: 10px;
}
#comments .block_answer .actions .btn:first-child {
    margin-right: 10px;
}

#box-chat .panel .panel-footer {
    position: relative;
    width: 100%;
}

#box-chat .panel .panel-body {
    position: relative;
}

#box-chat .panel .panel-footer .emojiPickerIcon {
    z-index: initial;
}

#box-chat #addCommentForm {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid var(--Border-Secondary, #F3EEE8);
}
#box-chat .addCommentFormRow {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}
#box-chat .addCommentFormRow .avatar {
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0;
}
#box-chat .addCommentFormRow .emojiPickerIconWrap {
    width: 100%;
}
#box-chat .addCommentFormRow input {
    border: none;
    box-shadow: none !important;
}
#box-chat .addCommentFormRow input.error {
    border: 1px solid var(--app-color-danger);
    box-shadow: 0px 2px 4px 0px var(--common-secondary-brand-red-100, #EE5340);
}
#box-chat .addCommentFormRow .addCommentForm-actions {
    display: none;
    flex-direction: row;
    gap: 0;
    justify-content: flex-end;
}
#broadcastRoom #box-chat .addCommentFormRow .addCommentForm-actions {
    display: flex;
}
#box-chat .addCommentFormRow .addCommentForm-actions .btn {
    width: 35px;
    height: 35px;
    padding: 5px;
}
#box-chat .addCommentFormRow .addCommentForm-actions .btn:hover {
    transform: none;
}
#box-chat .addCommentFormRow .addCommentForm-actions .btn:last-child {
    padding-right: 0;
    width: 30px;
}
#box-chat .addCommentFormActions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-end;
}



/* useful for app conference home page */
.panel .panel-heading h3 {
    font-size: 22px;
}
.disabled-link-input-container-replay .disabled-link-input-content {
    background: transparent;
    padding: 0;
    gap: 10px;
}
body.dark .disabled-link-input-container-replay .disabled-link-input-content {
    padding-right: 12px;
}
.disabled-link-input-container-replay input,
.disabled-link-input-container-replay input.form-control[disabled] {
    border-radius: 14px;
    background: var(--common-primary-brand-beige-40, #F9F5F1) !important;
    height: 48px;
    padding: 10px 16px;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    text-decoration: underline;
    color: var(--app-color-dark) !important;
}
body.dark .disabled-link-input-container-replay input,
body.dark .disabled-link-input-container-replay input.form-control[disabled] {
    background: var(--common-primary-brand-navy-blue-20, #434553) !important;
}
.disabled-link-input-container-replay .disabled-link-input-icons {
    gap: 6px;
    padding: 0;
}
.disabled-link-input-container-replay .disabled-link-input-icons a.btn-icon {
    border-radius: 10px;
    border: 0.6px solid #1C1D23;
    background: transparent;
    width: 30px;
    height: 30px;
}
.disabled-link-input-container-replay .disabled-link-input-icons a.btn-icon:hover {
    transform: none;
}
body.dark .disabled-link-input-container-replay .disabled-link-input-icons a.btn-icon {
    border: none;
}
body.dark .disabled-link-input-container-replay .disabled-link-input-icons a.btn-icon:hover,
body.dark .disabled-link-input-container-replay .disabled-link-input-icons a.btn-icon:hover i {
    color: rgba(255, 255, 255, 0.50);
}



@media (max-width: 767px) {
    #box-chat .addCommentFormActions {
        justify-content: center;
        margin-left: auto;
    }
    #box-chat .addCommentFormActions button {
        height: 32px;
    }
    #box-chat .addCommentFormActions button span {
        display: none;
    }
    #box-chat .addCommentFormRow .avatar {
        height: 36px;
        min-width: 36px;
        width: 36px;
        margin-right: 12px;
    }

    #box-chat .addCommentFormRow.input-focused .avatar {
        display: none;
    }

    .chat-prive-form,
    .chat-public-form {
        height: 56px;
        padding: 10px 14px;
    }
    #chat #addQuestionForm,
    #chat #addCommentForm,
    .webinar-sidebar .tab-content #box-chat #addCommentForm {
        flex-direction: row;
        align-items: center;
    }
    .chat-prive-form #addQuestionForm,
    .chat-public-form #addCommentForm,
    .webinar-sidebar .tab-content #box-chat #addCommentForm {
        height: 36px;
    }
}
