/*CHAT*/

.send_field {
    color:#000000;
    border: 1px solid var(--de-font-dark);
    width: 100%;
    line-height: 22px;
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
    overflow: hidden;
    resize: none;
    background-color: var(--de-area-background);
}
textarea.send_field:focus {
    outline: 2px solid var(--de-table-select);
}
#send_msg {
    width: 100%;
    line-height: 20px;
}
.chat {
    color:#000000;
    background-color: var(--de-area-background);
    border:rgb(156, 156, 156) solid 1px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px;
    min-height: 290px;
    max-height: 450px;
    padding: 10px;
    margin-top:10px;
    overflow-x: hidden;
    overflow-y: scroll;
    float: left;
}
.inner_chat {
    position: relative;
    min-width: 0;
}
.chat .self{
    background-color: #fdfff0 !important;
}
.chat .message {
    position: relative;
    display: block;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top:10px;
    padding: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: solid 1px rgb(163, 163, 163);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-character: "-";
    -webkit-hyphenate-character: "-";
}
.chat .message a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.chat .message a:hover,
.chat .message a:focus {
    color: #2A3F54;
}
.chat .message .chat-message-link {
    color: #337ab7;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.chat .message .chat-message-link:hover {
    text-decoration: underline;
}
.chat .message a:focus-visible,
.chat .message .chat-message-link:focus-visible {
    border-radius: 2px;
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.chat .message i{
    padding-right: 5px;
    padding-left: 5px;
}
.chat .message .msg_date {
    border: solid 1px black;
    position: absolute;
    top: -7px;
    right: 40px;
    font-size: 0.9em;
    background-color: #f1eedc;
    border-radius: 2px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 12px;
}
.chat .message .delete {
    border: solid 1px black;
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 0.9em;
    background-color: #f1eedc;
    border-radius: 2px;
    line-height: 12px;
}
.tag_view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px 2px 6px;
    border-radius: 4px;
    border: solid 1px #333;
    background-color: #f0f0f0;
    color: #333;
    font-size: 0.8em;
    min-width: 2.5em;
    box-sizing: border-box;
}
.tag_cont {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.tag_view .tag_text {
    text-align: center;
    line-height: 1.2;
}