﻿.live-chat-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    color: var(--c2);
    background-color: var(--c1);
    background-image: unset;
    border-color: var(--c1-alt);
    padding: 6px 15px;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

.live-chat-button .live-chat-comment {
    font-size: 32px;
    margin: 7px -3px;
    color: var(--c2);
}

.live-chat-button .live-chat-badge-comment {
    font-size: 32px;
    margin: 8px 0;
    color: var(--c2);
}

.live-chat-button .live-chat-badge {
    border: rgba(169,68,66,0.6) 1px solid;
    color: #fff;
    background-color: #a94442;
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding-top: 1px;
    text-align: center;
    top: -5px;
    right: -2px;
    display: block;
}

.live-chat-button.live-chat-disabled {
    background-color: #ccc;
    border-color: #bbb;
}
.live-chat-button.live-chat-disabled .live-chat-badge,
.live-chat-button .live-chat-badge.live-chat-badge-disabled {
    display: none;
}

.live-chat-window-container.k-window {
    position: fixed;
    bottom: 95px;
    right: 15px;
    top: unset !important;
    left: unset !important;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.5);
}
.live-chat-window-container .k-window-titlebar {
    background-color: var(--c1);
    color: var(--c2);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.live-chat-window-messages, .live-chat-window-calls {
    border: 1px solid #e5e5e5;
    overflow-y: scroll;
}

.live-chat-window-messages {
    height: 270px;
    padding-left: 4px;
    padding-right: 4px;
}

.live-chat-window-calls {
    height: 387px;
}

.live-chat-person-detail p {
    margin: 0;
}

.live-chat-text-bold {
    font-weight: bold;
}

.live-chat-call {
    margin-bottom: 0px;
    overflow-y: auto;
    padding-top: 7px;
    padding-bottom: 7px;
}

.live-chat-call:hover {
    background-color: #CACACA;
    cursor: pointer;
}

.live-chat-call-detail p {
    margin: 0;
}

div.badge-inner-circle {
    height: 40px;
    width: 40px;
}

.unread-messages-badge {
    background-color: #a94442;
    border: rgba(169,68,66,0.6) 1px solid;
}

.live-chat-window-container .k-window-content {
    padding: 0;
}

.live-chat-window-container .kendo-window-footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.live-chat-current-user-footer {
    height: 125px;
}

.live-chat-message .message-bubble {
    padding: 8px;
    border-radius: 15px;
    margin: 5px;
    display: table;
    max-width: 95%;
}
.live-chat-current-user, .live-chat-agent-user {
    clear: both;
}
.live-chat-current-user .message-bubble {
    border: solid 1px var(--c1-alt);
    background-color: var(--c1);
    color: var(--c2);
    float:right;
}
.live-chat-current-user .message-timestamp {
    clear:both;
}
.live-chat-agent-user .message-bubble {
    border: solid 1px #aaa;
    background-color: #eee;
}
.live-chat-agent-user .message-timestamp {
    margin: 0;
    font-weight:lighter;
}

.live-chat-message .message-name {
    font-weight: bold;
}

.live-chat-message .message-text {
    white-space: pre-line;
}

.live-chat-current-user .message-name {
    display: none;
}

#LiveChatCall textarea#UserMessage {
    resize: none;
}

#divSendMessage .send-message {
    float: left;
    width: calc(-88px + 100%);
}

#divSendMessage .send-message textarea {
    height: 60px;
}

#divSendMessage .send-button {
    float: right;
    padding: 8px;
}

#divSendMessage .send-button button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    background-color: var(--c1);
    border-color: var(--c1-alt);
    color: var(--c2);
    padding:8px;
    font-size: 3rem;
}

#LiveChatWindowDetails {
    background-color: #F9F9F9;
    padding-top: 5px;
    padding-bottom: 5px;
    max-height: 56px;
    overflow-y: hidden;
}

.live-chat-person-detail {
    width: 424px;
    display: inline-block;
}

#LiveChatNewCall .border {
    height: 388px;
}

.chat-header-btn-continer {
    width:13%;
    float:right;
}

.live-chat-current-user .message-title {
    text-align:right;
}

.live-chat-agent-user .message-timestamp {
    margin-right: 5px;
    margin-left: 5px;
}

.live-chat-agent-online[data-agentId] {
    background-color: green;
}

.live-chat-agent-unassigned[data-agentId=''], .live-chat-agent-unassigned[data-agentId=null] {
    background-color: lightgray;
}

[data-agentId] {
    background-color: red;
}

#LiveChatWindowDetails div.page-header-image-tiny {
    margin-top: 5px;
    margin-right: 20px;
}

#LiveChatCall .badge-inner-circle.js-live-chat-agent-status {
    height: 20px;
    width: 20px;
    left: 18px;
    top: -10px;
}

#LiveChatMyCalls .badge-inner-circle.js-live-chat-agent-status {
    height: 20px;
    width: 20px;
    left: 38px;
    top: -7px;
}
    
.relative-wrapper {
    position: relative;
    width: 0px;
}