/*--chat css start here --*/
.right-bar {
    position: relative;
    height: 100vh;
}
.right-bar .tab-content {
    position: absolute;
    right: -20px;
    width: 365px;
    height: 100vh;
    overflow-y: auto;
}
.right-bar .tab-content > .tab-pane {
    height: 100vh;
    background: #fff;
    overflow-y: auto;
}
.session-chat .chat-area div#myChat {
    padding: 0;
}
.chat-list-header {
    position: sticky;
    top: 0;
    background: #ffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 5;
}
.session-chat .chat-area {
    height: 100vh;
    width: auto;
    overflow: hidden;
}
.card-box.chat-box .app {
    max-width: 100%;
    border-radius: 10px;
}
.chat-list-header ul {
    padding: 30px 30px 0 30px;
    border-bottom: 1px solid #e5e5e5;
}
.chat-list-header ul li {
    display: inline-block;
    margin-right: 20px;
}
.app.chat-box .chat-list-header .form-group input {
    height: 55px;
    background: #e6edf7;
    width: 100%;
    border-radius: 100px;
    padding: 10px 20px;
}
.app.chat-box .chat-list-header .form-group {
    padding: 15px 30px;
}
.chat-list-header ul li a {
    font-size: 16px;
    color: #555555;
    font-weight: 700;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 10px;
    display: inline-block;
    padding-bottom: 10px;
}
.chat-list-header ul li a.active {
    border-color: #6d71f9;
    color: #6d71f9;
}
.app.chat-box {
    height: 100vh;
}
.app.chat-box .chat-area-header {
    border-bottom: 1px solid #d0d1fd;
}
.app {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    max-width: 100%;
    height: 90vh;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}
.app.chat-box {
    height: 100vh;
}
.session-chat .app {
    border-radius: 0px;
}
.wrapper {
    width: 100%;
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}
.chat-area {
    flex-grow: 1;
}
.user-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.conversation-area {
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 30%;
    border-right: 1px solid #d0d1fd;
}
.msg-profile {
    height: 44px;
    border-radius: 50%;
    margin-right: 15px;
    background: #f1f1ff;
    text-align: center;
    padding: 11px 0;
    font-weight: 700;
    min-width: 44px;
    text-transform: uppercase;
}
.chat-msg span.user-name::before {
    content: "";
    height: 7px;
    width: 7px;
    background: #6d71f9;
    border-radius: 100px;
    position: absolute;
    left: 0;
    top: 4px;
}
.chat-msg span.user-name {
    padding-left: 14px;
    position: relative;
}
.chat-msg.owner span::before {
    background: #6d71f9;
}
.msg {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    border-bottom: 1px solid #d0d1fd;
}
.msg:hover {
    background-color: #f1f1ff;
}
.chat-area .msg:hover {
    background: transparent;
}
.chat-area .msg:hover .msg-profile {
    background-color: #e6edf7;
}
.msg:hover .msg-profile {
    background-color: #ffffff;
}
.chat-area .msg.online:before {
    left: 40px;
    bottom: 3px;
}
.msg.online:before {
    content: "";
    position: absolute;
    background-color: #6d71f9;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #6d71f9;
    left: 50px;
    bottom: 19px;
    display: none;
}
.msg-username {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}
.msg-detail {
    overflow: hidden;
    width: 100%;
}
.msg-content {
    font-weight: 500;
    font-size: 13px;
    display: flex;
}
.msg-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-area {
    display: flex;
    flex-direction: column;
    /*overflow: auto;*/
    width: 75%;
    position: relative;
}
.chat-area-header {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #ffffff;
}
.conversation-area::-webkit-scrollbar {
    width: 3px;
}
.conversation-area::-webkit-scrollbar-track {
    box-shadow: none;
}
.conversation-area::-webkit-scrollbar-thumb {
    background-color: #6d71f9;
}
.chat-area::-webkit-scrollbar {
    width: 3px;
}
.chat-area::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #e5e5e5;
}
.chat-area::-webkit-scrollbar-thumb {
    background-color: #6d71f9;
}
.chat-area-profile {
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-area-title {
    font-size: 18px;
    font-weight: 600;
}
.chat-area-main {
    flex-grow: 1;
    padding: 15px 0;
    position: relative;
    overflow: auto;
    overflow-x: hidden;
}
.chat-area-main::-webkit-scrollbar {
    width: 3px;
}
.chat-area-main::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #e5e5e5;
}
.chat-area-main::-webkit-scrollbar-thumb {
    background-color: #6d71f9;
}
.chat-msg-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-msg-profile {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: -20px;
    position: relative;
}
.chat-msg-time {
    font-size: 12px;
    font-weight: 500;
}
.chat-msg {
    display: flex;
    padding: 0 15px 10px;
}
.chat-msg-content {
    margin-left: 12px;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.chat-msg-status {
    display: inline-block;
    margin-left: 5px;
}
.chat-msg-time span.v-time-ago__text {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 12px;
    float: right;
    display: inline-block;
    color: #555555;
    width: auto;
}
.chat-msg-text {
    color: #555555;
}
.chat-modal iframe {
    width: 100%;
}
.owner {
    flex-direction: row-reverse;
}
.owner .chat-msg-content {
    margin-left: 0;
    margin-right: 12px;
    align-items: flex-end;
}
.owner .chat-message-bubble {
    background-color: #6d71f9;
    color: #fff;
    border-radius: 20px 20px 0 20px;
}
.chat-message-bubble {
    background-color: #f1f1ff;
    padding: 13px 20px;
    border-radius: 20px 20px 20px 0;
    margin-bottom: 10px;
}
.chat-msg-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 22px;
    display: inline-block;
    width: auto;
    word-break: break-word;
}
.chat-msg.owner .chat-msg-text {
    color: #fff;
}
.chat-msg.owner .chat-msg-text a {
    color: #ffffff;
}
.chat-msg-time {
    display: inline-block;
    float: right;
    width: auto;
    line-height: 22px;
    margin-left: 8px;
    font-size: 13px;
}
.asset-box .img-video-box img {
    height: 170px;
    width: 250px;
    border-radius: 10px;
    object-fit: cover;
}
.img-video-box {
    position: relative;
}
.img-video-box .download {
    background: #f1f1ff;
    height: 35px;
    width: 35px;
    border-radius: 100px;
    text-align: center;
    padding: 5px 0;
    position: absolute;
    top: 42%;
    left: 43%;
}
.img-video-box .download svg {
    height: 25px;
    width: 25px;
}
.asset-detail {
    display: inline-block;
    width: 100%;
    padding-top: 10px;
}
.chat-document .document-icon {
    height: 50px;
    width: 50px;
    background: #f1f1ff;
    text-align: center;
    border-radius: 100px;
    padding: 5px 0;
    float: left;
    margin-right: 15px;
}
.chat-document h5 span {
    display: block;
    font-weight: 600;
    margin-top: 3px;
}
.chat-document h5 {
    font-size: 15px;
    float: left;
    margin-right: 20px;
    padding: 6px 0;
    margin-bottom: 0;
    color: #ffffff;
}
.chat-document .document-icon svg {
    width: 20px;
}
.chat-document .download {
    border-radius: 100px;
    text-align: center;
    padding: 9px 0;
    float: left;
}
.chat-attchment form input {
    border: none;
    background: transparent;
    font-size: 0px;
}
.chat-document .download svg {
    height: 30px;
    width: 30px;
}
.chat-area-footer {
    display: flex;
    width: 100%;
    padding: 15px 30px;
    align-items: center;
    background-color: #f1f1ff;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
}
.chat-area-footer input {
    border: 2px solid #d0d1fd;
    color: #7c7c8d;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 100px;
    font-size: 15px;
    width: 100%;
    height: 53px;
    font-weight: 500;
}
.chat-area-footer input::placeholder {
    color: #7c7c8d;
}
.chat-area-footer .footer-area .send-btns {
    position: absolute;
    right: 5px;
    bottom: 10px;
    top: auto;
}
.session-chat .chat-area-footer .send-btns button.msger-send-btn {
    background: #6d71f9;
    height: 34px;
    width: 34px;
    border-radius: 100px;
}
.session-chat .chat-area-footer .send-btns button.msger-send-btn svg {
    width: 18px;
    height: 18px;
}
.chat-area-header .msg.online {
    padding: 0;
}
.chat-area-header .msg.online .msg-profile {
    height: 52px;
    width: 52px;
    font-size: 16px;
    padding: 15px 0;
    min-width: 52px;
    position: relative;
}
.chat-area-header .msg.online .msg-profile span {
    display: inline-block !important;
    padding: 0;
    height: 10px;
    width: 10px;
    border-radius: 100px;
    position: absolute;
    top: 2px;
    right: 2px;
}
.chat-area-header .msg.online {
    padding: 0;
    border: none;
}
.chat-modal img {
    max-height: 90vh;
    max-width: 100%;
}
.chat-modal .modal-dialog {
    max-width: fit-content;
    padding-left: 5%;
    padding-right: 5%;
    height: 90vh;
}
.chat-modal .btn-close {
    background: #e74c3c;
    color: #fff;
    padding: 10px 11px;
    border-radius: 100px;
    font-size: 25px;
    line-height: 19px;
    position: absolute;
    top: -20px;
    right: -20px;
    opacity: 1;
}
.asset-detail ul li {
    display: inline-block;
    margin-right: 10px;
}
.chat-area-header .msg.online .msg-username {
    font-size: 18px;
    margin-bottom: 1px;
}
.chat-area-footer .footer-area {
    width: 100%;
    position: relative;
}
.chat-area-footer .footer-area .sendgit-btns button.msger-send-btn {
    background: #6d71f9;
    height: 44px;
    width: 44px;
    border-radius: 100px;
}
.msg-content span.unread-count {
    background: #6d71f9;
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    margin-right: 5px;
}
a.btn-recording {
    margin: 10px 0px 10px 10px;
    padding: 0;
    display: inline-flex;
}
.session-chat .chat-msg-content {
    margin: 0;
}
.session-chat .chat-area-footer {
    padding: 15px;
}
.chat-area-footer .footer-area .attach-file {
    height: 43px;
    width: 43px;
    position: absolute;
    top: 0px;
    right: 50px;
}
/* .chat-area-footer .footer-area .attach-file input {
    background: none !important;
    position: relative;
    border: none;
    height: 44px;
    width: 100%;
} */
.chat-area-footer .footer-area .attach-file input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.chat-area-footer .footer-area .attach-file input::after {
    content: "";
    height: 46px;
    width: 48px;
    position: absolute;
    left: 0;
    top: 2px;
    background: #ffffff;
}
.chat-area-footer .footer-area .attach-file input::before {
    content: "";
    position: absolute;
    background-image: url("attachment.svg");
    height: 46px;
    width: 48px;
    top: 2px;
    left: 0;
    z-index: 99;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}
.session-chat .chat-area-footer {
    padding: 15px;
}
.session-chat .chat-area-footer textarea {
    border: 1px solid #d0d1fd !important;
    width: 100%;
    padding: 12px 92px 12px 12px;
    resize: none;
    outline: none;
    border-radius: 5px !important;
    color: #555555 !important;
    font-size: 15px;
}
.chat-area-footer .footer-area .send-btns {
    position: absolute;
    right: 7px;
    bottom: 10px;
    top: 11px;
    border: none;
}
.session-chat .chat-area-footer .send-btns button.msger-send-btn {
    background: #6d71f9;
    height: 34px;
    width: 34px;
    border-radius: 100px;
    border: none;
}
.session-chat .chat-area-footer .send-btns button.msger-send-btn svg {
    width: 18px;
    height: 18px;
}
.chat-area-footer .footer-area .attach-file {
    height: 43px;
    width: 43px;
    position: absolute;
}
.session-chat .chat-area-footer .footer-area .attach-file {
    top: 4px;
    right: 45px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*-- chat attachment css start here --*/

/*-- chat attachment css end here --*/
.chat-area-footer input {
    border: 2px solid #d0d1fd;
    color: #555555;
    background-color: #f1f1ff;
    padding: 12px;
    border-radius: 100px;
    font-size: 15px;
    width: 100%;
    height: 53px;
    font-weight: 500;
}
/* .chat-area-footer .footer-area .attach-file input {
    background: none !important;
    position: relative;
    border: none;
    height: 44px;
    width: 100%;
} */
label.input-file-type {
    cursor: pointer;
}
#chat-group-show .modal-dialog {
    max-width: 458px;
}
#chat-group-show .modal .modal-content {
    border: none !important;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(80px);
    text-align: center;
}
#chat-group-show .modal-body {
    padding: 0;
}
#chat-group-show button.btn-close {
    background: #e74c3c;
    color: #fff;
    padding: 10px 10px !important;
    border-radius: 100px;
    font-size: 25px;
    line-height: 19px;
    position: absolute;
    top: -20px;
    right: -20px;
    opacity: 1;
}
#chat-group-show .chat-header {
    padding: 30px;
    text-align: left;
    display: inline-block;
    width: 100%;
}
#chat-group-show .chat-header span.user-name {
    background: #f1f1ff;
    height: 80px;
    width: 80px;
    text-align: center;
    border-radius: 100px;
    font-size: 25px;
    padding: 22px 0px;
    float: left;
    margin-right: 20px;
    font-weight: 700;
}
#chat-group-show .chat-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 4px 0 0;
    width: 73%;
    float: left;
    word-break: break-word;
}
#chat-group-show .chat-header p {
    margin: 0;
    color: #6d71f9;
    font-weight: 500;
    width: 67%;
    float: left;
}
.date-time-chat-msg {
    text-align: center;
    margin: 40px 0;
}
.date-time-chat-msg span {
    background: #f1f1ff;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #d0d1fd;
}
.session-chat .app .modal-content {
    background: #f1f1ff;
}
.chat-description {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    border-top: 1px solid #d0d1fd;
    border-bottom: 1px solid #d0d1fd;
}
.group-detail-modal .group-detail .mamber {
    display: inline-block;
    width: 100%;
    padding: 20px 30px;
    text-align: left;
}
.group-detail-modal .group-detail .mamber h6 {
    font-weight: 700;
    margin-bottom: 15px;
}
.group-detail-modal .group-detail .mamber ul {
    padding: 0;
    list-style: none;
}
.group-detail-modal .group-detail .mamber ul li {
    display: inline-block;
    width: 100%;
    margin: 0 0 10px;
}
.group-detail-modal .user-img {
    float: left;
    background: #ffffff;
    padding: 12px 0;
    border-radius: 50px;
    margin-right: 20px;
    font-weight: 700;
    height: 52px;
    width: 52px;
    text-align: center;
    font-size: 16px;
}
.group-detail-modal .group-detail .mamber ul li .user-name {
    float: left;
    min-width: auto;
    margin-top: 8px;
}
.group-detail-modal .user-name h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}
.group-detail-modal .group-detail .mamber ul li span {
    font-weight: 400;
    margin-top: 0;
    margin-left: 0;
    display: block;
}
/*-- laptop css start here --*/
@media screen and (min-width: 1200px) and (max-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    .right-bar .tab-content {
        width: 300px;
        right: -15px;
    }
    .session-chat .chat-area-footer textarea {
        font-size: 13px;
    }
    .session-chat .chat-msg-content {
        max-width: 90%;
    }
    .chat-area-footer textarea {
        border: 1px solid #d0d1fd !important;
        color: #555555;
        background-color: #f1f1ff;
        padding: 12px 92px 12px 12px;
        border-radius: 5px;
        font-size: 15px;
        width: 100%;
        font-weight: 500;
        resize: none;
    }
    .chat-area-footer .footer-area .send-btns button.msger-send-btn svg {
        height: 18px;
        width: 18px;
    }
    .chat-area-footer .footer-area .send-btns button.msger-send-btn {
        background: #6d71f9;
        height: 35px;
        width: 35px;
        border-radius: 100px;
    }
    .chat-modal video {
        max-width: 100%;
        max-height: 90vh;
    }
    .session-chat .chat-msg-content {
        max-width: 90%;
    }
    .chat-area-footer textarea {
        /* height: 45px;
        font-size: 12px;
        border-width: 1px; */
        border: 1px solid #d0d1fd !important;
        color: #555555;
        background-color: #ffffff;
        padding: 12px 92px 12px 12px;
        border-radius: 5px;
        font-size: 15px;
        width: 100%;
        font-weight: 500;
        /* overflow-y: hidden; */
        resize: none;
    }
    .chat-area-footer .footer-area .send-btns button.msger-send-btn svg {
        height: 18px;
        width: 18px;
    }
    .chat-area-footer .footer-area .send-btns button.msger-send-btn {
        background: #6d71f9;
        height: 35px;
        width: 35px;
        border-radius: 100px;
    }
    .chat-area-footer .footer-area .send-btns {
        top: 5px;
    }
    .chat-modal video {
        max-width: 100%;
        max-height: 90vh;
    }
    .chat-message-bubble {
        padding: 10px 20px;
    }
    .session-chat .chat-msg-content {
        max-width: 90%;
    }
    .session-chat .chat-area-footer textarea {
        font-size: 13px;
    }
}
span.chat-count {
    background: #6d71f9;
    border-radius: 100px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px;
    position: absolute;
    height: 23px;
    top: -1px;
    right: -3px;
    width: 23px;
}
