﻿.msg-container {
    position: fixed;
    bottom: 0;
    right: 100px;
    z-index: 1000;
    display: none;
}

.msg-content {
    position: relative;
    background: green;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #e2e2e2;
    width: 350px;
    background: #fff;
    height: 450px;
    box-shadow: 0px 7px 20px 4px rgba(0,0,0,0.1);
}

.msg-header {
    position: absolute;
    display: flex;
    flex: 1;
    z-index: 10001;
    min-height: 55px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #e2e2e2;
}

.left-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.left-header .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.right-header {
    display: flex;
    align-items: center;
}

.right-header .icon {
    font-size: 18px;
    padding: 5px;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-header .icon:hover {
    background: rgba(0, 0, 0, 0.1);
}

/*.msg-body {
    display: flex;
    flex-direction: column*/ /*-reverse*/ /*;
    height: calc(100% - 38px - 55px);
    background: #fff;
    overflow-y: auto;
    padding: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 55px;
}*/

.msg-body {
    display: flex;
    width: 100%;
    flex-direction: column;
    height: calc(100% - 104px);
    background: #fff;
    overflow-y: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 55px;
    overflow-x: hidden;
    position: relative;
}

.chat {
    display: flex;
    flex-direction: column;
    padding: 5px 16px;
    word-wrap: break-word;
    margin-bottom: 5px;
}

.chat.sender {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.chat.sender .chat-details {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

    .chat.me {
        align-items: flex-end;
    }

    .chat.sender .message {
        padding: 8px 10px;
        border-radius: 8px;
        background: rgb(229, 229, 229);
        color: #000;
        max-width: 220px;
        min-width: 100px;
    }


        .chat.sender .message.removed, .chat.me .message.removed {
            padding: 8px 10px;
            border-radius: 8px;
            background: white;
            color: #808080;
            max-width: 240px;
            min-width: 100px;
            border: 1px solid #e2e2e2;
        }

    .chat.me .message {
        padding: 8px 10px;
        border-radius: 8px;
        color: #fff;
        max-width: 240px;
        min-width: 100px;
    }

.msg-footer {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e2e2e2;
    z-index: 1001;
}
/*.msg-file-placeholder{
    position: absolute;
    bottom: 48px;
    display: none;
    width: 100%;
    background: #fff;
    z-index: 1000;
    border-top: 1px solid #e2e2e2;
    transition: height 2s ease-in-out 1s;
    justify-content: space-between;
    align-items: center;
}*/

.msg-file-placeholder, .reply-msg-container {
    display: none;
    width: 100%;
    background: #f2f2f2;
    transition: height 2s ease-in-out 1s;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#clear-files {
    cursor: pointer;
}

.msg-footer .icon {
    font-size: 18px;
    font-size: 18px;
    padding: 5px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-footer .icon:hover {
    background: rgba(0, 0, 0, 0.1);
}

.send-message:focus, .edit-message:focus {
    outline: none;
}


.tray-chatbox-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

#chatTitle, #fileName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

#fileName {
    max-width: 150px;
}

#download, #message-options {
    font-size: 14px;
    cursor: pointer;
    border-radius: 100%;
    /* padding: 10px; */
    height: 32px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}




.chat.me:hover #message-options {
    display: flex;
    cursor: pointer;
}

.chat.sender:hover #message-options {
    display: flex;
    cursor: pointer;
}


.chat.sender:hover #download {
    display: flex;
    cursor: pointer;
}



#download:hover, #message-options:hover {
    background: #e3e3e3;
}

.close-convo {
    cursor: pointer;
}

#message:focus, .send-message:focus, .edit-message:focus {
    box-shadow: none;
    outline: none;
}

#message {
    background-color: rgb(229, 229, 229);
    border-radius: 5px;
    resize: none;
    font-family: Nunito;
    font-size: 14px;
    border: none !important;
    height: 32px;
    max-height: 300px;
    overflow: hidden;
    letter-spacing: normal !important;
    margin: 0 !important;
}

.send-message, .edit-message {
    display: none;
}

#arrow {
    width: 30px;
    height: 30px;
    position: fixed;
    right: 263px;
    bottom: 345px;
    display: none;
    align-items: center;
    justify-content: center;
    /*background: rgb(229, 229, 229);*/
    cursor: pointer;
    z-index: 100;
}


.icon {
    cursor: pointer;
}

body > div.msg-container > div > div.msg-header.shadow-sm > div.right-header > i.fa-solid.fa-gear.text-primary.mr-icon.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle:empty::after {
    display: none;
}

#chatBubble {
    cursor: pointer;
    z-index: 2000;
    bottom: 30px;
    right: 30px;
}

#chatDate {
    text-align: center;
    font-size: 12px;
}

.video-js {
    width: 200px;
    border-radius: 10px;
}



#chatHeadDetails {
    display: none;
    position: absolute;
    top: 5px;
    right: 55px;
    width: max-content;
    padding: 10px;
    border-radius: 10px;
}

#chatHead:hover #chatHeadDetails {
    display: block;
}

#chatHeadDetails::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    right: -10px;
    bottom: 13px;
    border-width: 6.5px 0 6.5px 10px;
    border-color: transparent #17a2b8 transparent #17a2b8;
}

.reply-container {
    padding: 7px;
    padding-bottom: 20px;
    background: #f2f2f2;
    border-radius: 8px;
    margin-bottom: -15px;
    min-width: 100px;
    max-width: 250px;
}

.reply {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emoji-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -350px;
    width: 100%;
    right: -6px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    display: none;
}

.emoji-container::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -18px;
    right: 9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 12.5px 0 12.5px;
    border-color: #fff transparent transparent transparent;
}

#emoji-icon {
    cursor: pointer;
}

#search-emoji {
    background: rgb(229, 229, 229);
    border-radius: 20px;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    width: 100%;
}

#emoji-list {
    margin-left: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 5px;
    margin-right: 8px;
}

.emoji-loader {
    display: flex;
    height: 250px;
}

.icon-category {
    cursor: pointer;
}

.loader-svg {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.loader-circle {
    fill: none;
    stroke: hsl(214, 97%, 59%);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

.forward {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: none;
    border-radius: 40px;
    color: white;
}

.color-selector {
    padding: 6px 18px;
}

.divider {
    font-size: 30px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 15px;
    margin: 10px 0px;
}

.divider::before, .divider::after {
    flex: 1;
    content: '';
    padding: 1px;
    background-color: #e2e2e2;
    margin: 5px;
}


.conversation-container.read {
    background: #343a40;
}

.conversation-container.unread {
    background: #212529;
}

.conversation-container:hover {
    background: #212529;
}


/*.video-js .vjs-big-play-button {
    font-size: 3em;
    line-height: 1.5em;
    height: 1.63332em;
    width: 1.63332em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0;
    margin-top: -0.81666em;
    margin-left: -0.9em;
    cursor: pointer;
    opacity: 1;
    border: 0.06666em solid #fff;
    background-color: #2B333F;
    background-color: rgba(43, 51, 63, 0.7);
    border-radius: 100%;
    transition: all 0.4s;
}
*/
