/* FOOTER */
.chat .messages-footer {
    padding-bottom: 10px;
}
    /* SUMMERNOTE */
    .chat .messages-footer .summernote-container {
        display: flex;
        background-color: var(--base-bg-shade);
        color: var(--base-text-color);
        border-radius: 25px;
        position: relative;
        display: flex;
        flex-direction: column;
        flex-shrink: 1;
        overflow: hidden;
        width: 960px;
        border: 1px solid var(--base-bg-shade);
    }

        .chat .messages-footer .summernote-container .summernote {
            flex: 1;
        }

.chat .summernote-left-buttons, .chat .summernote-right-buttons {
    display: flex;
    align-items: flex-end;
    margin-bottom: 3px;
}

.chat .note-toolbar {
    display: none;
}

.chat .note-editor.note-frame {
    border: none;
    flex: 1;
    overflow: auto;
}

.chat .note-placeholder {
    display: block;
    line-height: 28px;
    width: 100%;
}

.chat .note-frame .note-editing-area .note-editable {
    background-color: transparent !important;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0px;
    padding-top: 5px;
}

.chat .note-editable {
    font-family: 'Helvetica Neue','Segoe UI',Helvetica,Verdana,sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

    .chat .note-editable .message-reply-container {
        /*display: none !important;*/
    }

.chat .note-editor .bs-tooltip-bottom {
    /* TOOLTIPOVI ZEZAJU */
    display: none;
}

.chat .note-statusbar {
    display: none;
}
/* DROPZONE */
.chat .dropzone-buttons {
    background-color: var(--base-bg);
    margin: 0px 15px 0 15px;
    padding: 15px;
    text-align: right;
    border-bottom-left-radius: .1875rem;
    border-bottom-right-radius: .1875rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}
/* SUMMERNOTE LINK MODAL FIX */
.chat .link-dialog .sn-checkbox-open-in-new-window,
.chat .link-dialog .sn-checkbox-use-protocol {
    display: none;
}
/* QUICK CHAT NOTE MODAL FIX */
.chat .quick-chat-modal .note-modal .modal-footer {
    display: flex;
    padding: 10px;
}

.chat .quick-chat-modal .note-modal .modal-body {
    padding: 10px;
}

.chat .btn-msg-action {
    background-color: var(--base-bg-shade);
}

.chat .btn-msg-send {
    background: linear-gradient(135deg, var(--base-theme-color), var(--grayed-base-theme-color));
    color: var(--base-text-color-with-bg-theme-color);
}

.chat .btn-msg-preview-close {
    width: 20px;
    height: 30px;
    border-radius: 20px;
    float: right;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 5px;
    color: var(--base-text-color);
    background-color: transparent;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .chat .btn-msg-preview-close i.ic-fluent {
        font-size: 20px;
    }

.smooth-transition {
    transition: height 300ms cubic-bezier(0.33, 0, 0, 1) 0ms;
}

.chat .rich-text-action-container {
    background: var(--base-bg-lighter);
    display: flex;
    align-items: center;
    height: 50px;
}

    .chat .rich-text-action-container button {
        width: 32px;
        height: 32px;
    }

        .chat .rich-text-action-container button i.ic-fluent {
            font-size: 14px;
        }

.chat #rich-text-edit {
    margin-left: -4px;
    margin-right: -4px;
}

.chat #emoji-picker {
    height: 250px !important;
    position: absolute;
    top: -318px;
    width: 350px;
}

.chat #emoji-container {
    height: 0px;
}

.chat [message-list-breakpoint]:not([message-list-breakpoint="xs"]) .border-radius-top-left-none {
    border-top-left-radius: 0px !important;
}

.chat [message-list-breakpoint="xs"].emoji-show #emoji-picker {
    height: 250px !important;
    position: relative;
    top: 0px !important;
    width: 100%;
}

.chat [message-list-breakpoint="xs"].emoji-show #emoji-container {
    height: 250px;
}

.chat [message-list-breakpoint="xs"].emoji-show .message-item-content {
    padding-top: 0px !important;
}

.chat #files-preview {
    overflow: auto;
    align-items: stretch;
    max-height: 200px;
}

.chat .dropzone-file-previews {
    position: relative;
    display: flex;
    flex-flow: wrap;
    flex-grow: 1;
    flex-shrink: 1;
    overflow: auto;
    align-items: stretch;
}

    .chat .dropzone-file-previews .dz-remove {
        margin-top: 0px !important;
    }


    .chat .dropzone-file-previews .dz-preview {
        display: flex;
        flex-direction: column;
        width: 135px;
        height: 135px;
        min-width: 135px;
        box-shadow: none;
        position: relative;
        overflow: auto;
        border: 1px solid var(--base-bg-shade);
        border-radius: .3875rem;
        background-color: var(--base-bg-lighter);
        padding: 0px;
    }

    .chat .dropzone-file-previews .dz-details {
        flex: 1;
        padding-bottom: 10px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        display: flex;
        flex-direction: column;
    }

    .chat .dropzone-file-previews .dz-size {
        order: 2;
    }

    .chat .dropzone-file-previews .dz-filename {
        order: 1;
    }

    .chat .dropzone-file-previews .dz-size [data-dz-size] strong {
        font-weight: normal;
    }

    .chat .dropzone-file-previews [data-dz-name] {
        font-weight: bold;
    }

    .chat .dropzone-file-previews .dz-image {
        flex: 1;
        height: 0;
    }

        .chat .dropzone-file-previews .dz-image img {
            height: 100%;
            object-fit: cover;
        }

    .chat .dropzone-file-previews .dz-image-preview {
        padding: 0px;
    }

        .chat .dropzone-file-previews .dz-image-preview .dz-details {
            display: none;
        }

    .chat .dropzone-file-previews .dz-filename span {
        display: block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.chat .btn-add-more-files {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: var(--base-shadow-color);
    color: var(--base-text-color);
    border-color: transparent;
    text-align: left;
    border-width: 0px;
    height: 134px;
    width: 60px;
    border-radius: 6px;
    padding: 0px;
    cursor: pointer;
    border-style: solid;
    margin: 0.5rem;
    order: 99;
}

    .chat .btn-add-more-files i.ic-fluent {
        font-size: 20px;
    }


.chat .summernote-separator {
    border-bottom: 1px solid var(--base-text-color);
}

.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark, .dropzone-previews .dz-preview .dz-error-mark, .dropzone-previews .dz-preview .dz-success-mark {
    z-index: 0;
}

.chat .chat-typing-text {
    position: relative;
    display: inline;
    flex-grow: 0;
    flex-shrink: 1;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
    font-size: 12px;
    color: rgb(138, 141, 145);
    font-family: "SF Regular", "Segoe System UI Regular", "Segoe UI Regular", sans-serif;
    font-weight: 400;
    margin-right: 5px;
    cursor: inherit;
    height: 17px;
}

.chat .chat-typing-bubble {
    position: relative;
    overflow: visible;
    background-color: transparent;
    flex-grow: 0;
    flex-shrink: 0;
    width: 30px;
    height: 15px;
    top: 1px;
    opacity: 0.8;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(images/bubbles/light.gif);
    background-size: contain;
    border-style: none;
    display: flex;
}

.chat .note-btn-italic:focus {
    box-shadow: none;
}

.chat .note-btn-bold:focus {
    box-shadow: none;
}

.chat .note-editable > p {
    margin-bottom: 0.5rem !important;
}
