/* *******************************
message-area - design-ref- https://codepen.io/beaver10/pen/VwGJexX
******************************** */
.pc-right-open-panel .card.pc-panel.pc-chat {
    width: 450px;
    background: rgba(255, 255, 255, 1);
}
.chat-area {
    position: relative;
    width: 100%;
    border-radius: 10px;
    height: 95vh;
    overflow: hidden;
    min-height: calc(100% - 1rem);
}
.chatlist {
    outline: 0;
    height: 100%;
    overflow: hidden;
    width: 300px;
    float: left;
    padding: 15px;
}
.chat-area .modal-content {
    border: none;
    border-radius: 0;
    outline: 0;
    height: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
}
.chat-area .modal-dialog-scrollable {
    height: 100% !important;
}
.chatbox {
    width: auto;
    overflow: hidden;
    height: 100%;
}
.chatbox .modal-dialog,
.chatlist .modal-dialog {
    max-width: 100%;
    margin: 0;
}
.msg-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-area .form-control {
    display: block;
    width: 80%;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.chat-area .form-control:focus {
    outline: 0;
    box-shadow: inherit;
}
a.add img {
    height: 36px;
}
.chat-area .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    align-items: center;
    justify-content: space-between;
    flex-wrap: inherit;
}
.chat-area .nav-tabs .nav-item {
    width: 100%;
}
.chat-area .nav-tabs .nav-link {
    width: 100%;
    color: #180660;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    margin-top: 5px;
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.chat-area .nav-tabs .nav-item.show .nav-link,
.chat-area .nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: transparent transparent #000;
}
.chat-area .nav-tabs .nav-link:focus,
.chat-area .nav-tabs .nav-link:hover {
    border-color: transparent transparent #000;
    isolation: isolate;
}
.chat-list h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}
.chat-list p {
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}
.chat-list a.d-flex {
    margin-bottom: 15px;
    position: relative;
    text-decoration: none;
}
.chat-list .active {
    display: block;
    content: '';
    clear: both;
    position: absolute;
    bottom: 3px;
    left: 34px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.msg-head h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}
.pc-right-open-panel .msg-head p {
    font-size: 14px;
    margin-bottom: 0 !important;
    font-weight: 400;
}
.pc-right-open-panel .card.pc-panel p a {
    font-weight: 700;
    color: #3FC1FC;
}
.msg-head span.user-icon {
    background: #E2F6FF;
    border: 1px solid #A8E4FD;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 700;
    color: #555555;
    text-transform: uppercase;
    margin-right: 10px;
}
.call-screen .modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 4px;
 }
 .call-screen .modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background-color: #A8E4FD;
 }
 .call-screen .modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background-color: #3FC1FC;
 }
.msg-head {
    padding: 15px 20px;
    border-bottom: 1px solid #DADADA;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.msg-body ul {
    overflow: hidden;
}
.msg-body ul li {
    list-style: none;
    margin: 15px 0;
}
.msg-body ul li.sender {
    display: block;
    width: 100%;
    position: relative;
    padding-right: 10%;
}
.pc-right-open-panel .msg-body ul li.sender p {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    padding: 10px 15px;
    background: #E2F6FF;
    display: inline-block;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-bottom: 0;
}
.msg-body ul li.sender p b {
    display: block;
    color: #180660;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.msg-body ul li.repaly {
    display: block;
    width: 100%;
    text-align: right;
    position: relative;
    float: revert;
    padding-left: 10%;
}
.pc-right-open-panel .msg-body ul li.repaly p {
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
    background: #3FC1FC;
    display: inline-block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    margin-bottom: 0;
    text-align: left;
    word-break: break-all;
    line-height: 22px;
}
.pc-chat-media-details span {
    font-weight: 500;
    font-size: 13px;
}
.msg-body ul li.repaly .pc-chat-media .pc-chat-media-details span {
    color: #ffff;
}
.pc-right-open-panel .msg-body ul li.repaly .pc-chat-media p{
    background: transparent;
    padding: 0px;
}
.pc-chat-media.pc-chat-documents {
    display: inline-flex;
}
.pc-document-icon {
    height: 40px;
    width: 40px;
    background: #3FC1FC;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    margin-right: 10px;
}
.pc-chat-media.pc-chat-documents .pc-chat-media-details {
    display: inline-grid;
    margin: 0;
}
.pc-chat-media.pc-chat-documents .pc-chat-download {
    position: static;
    margin-left: 15px;
}
.msg-body ul li.repaly p b {
    display: block;
    color: #061061;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.time {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
}
li.repaly .time svg {
    margin-left: 10px;
}
li.repaly .time {
    margin-top: 5px;
}
.divider {
    position: relative;
    z-index: 1;
    text-align: center;
}
.msg-body h6 {
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    background: #E2F6FF;
    display: inline-block;
    padding: 3px 19px;
    margin-bottom: 0;
    border: 1px solid #A8E4FD;
    border-radius: 5px;
    color: #555555;
}
.divider:after {
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 15px;
    left: 0;
    border-top: 1px solid #DADADA;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.send-box {
    padding: 15px 20px;
    border-top:1px solid #DADADA;
    background: #ffffff;
    position: relative;
}
.call-screen .send-box textarea.form-control {
    height: 45px;
}
.pc-user-typing-status {
    position: absolute;
    top: -30px;
    background: #ffffff;
    left: 0;
    right: 0;
    padding: 5px 20px;
    font-weight: 500;
    font-size: 13px;
    border-bottom: 1px solid #DADADA;
}
.send-box form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.send-box .form-control {
    display: block;
    width: 85%;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.send-box button {
    background: #3FC1FC;
    color: #fff;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}
.send-box button:hover{
    background-color: #0A46AC;
    transition: 0.3s all;
}
.send-btns .button-wrapper {
    position: relative;
    width: 25px;
    height: auto;
    text-align: left;
    margin: 0 auto;
    display: block;
    border-radius: 3px;
    padding: 0;
    float: left;
    overflow: hidden;
}
.send-btns .button-wrapper span.label {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    color: #343945;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 13px;
}
#upload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.attach {
    position: absolute;
    right: 70px;
}
.button-wrapper {
    position: relative;
    text-align: center;
    margin: 0 auto;
}
button:focus {
    outline: 0;
}
.chat-icon {
    display: none;
}
.closess i {
    display: none;
}
.pc-chat-media img {
    width: 200px;
    height: 150px;
    display: inline-block;
    border-radius: 5px;
    object-fit: cover;
}
.pc-right-open-panel .msg-body ul li.sender .pc-chat-media p{
    background: transparent;
    padding: 0;
}
.pc-chat-media {
    background: #E2F6FF;
    padding: 10px 15px;
    display: inline-block;
    position: relative;
    border-radius: 0 10px 10px 10px;
}
.pc-chat-download {
    position: absolute;
    top: 10px;
    left: 15px;
    bottom: 37px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pc-chat-media-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}
.pc-chat-dowanload-icon {
    background: #3FC1FC;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    cursor: pointer;
}
.pc-chat-download.pc-chat-video-icon .pc-chat-dowanload-icon {
    background: transparent;
}
.msg-body ul li.repaly .pc-chat-media{
    background: #3FC1FC;
    border-radius: 10px 10px 0 10px;
}
.msg-body ul li.repaly .pc-chat-media.pc-chat-documents {
    text-align: left;
}
.msg-body ul li.repaly .pc-chat-media.pc-chat-documents .pc-document-icon {
    background: #ffffff;
}
.msg-body ul li.repaly .pc-chat-media.pc-chat-documents .pc-document-icon svg path{
    fill: #3FC1FC;
}
@media (max-width: 767px) {
    .chat-icon {
        display: block;
        margin-right: 5px;
    }
    .chatlist {
        width: 100%;
    }
    .chatbox {
        width: 100%;
        position: absolute;
        left: 1000px;
        right: 0;
        background: #fff;
        transition: all 0.5s ease;
        border-left: none;
    }
    .showbox {
        left: 0 !important;
        transition: all 0.5s ease;
    }
    .msg-head h3 {
        font-size: 14px;
    }
    .msg-head p {
        font-size: 12px;
    }
    .msg-head .flex-shrink-0 img {
        height: 30px;
    }
    .send-box .form-control {
        width: 70%;
    }
    .chat-area {
        height: 100vh;
    }
    .chat-list h3 {
        font-size: 14px;
    }
    .chat-list p {
        font-size: 12px;
    }
    .msg-body ul li.sender p {
        font-size: 13px;
        padding: 8px;
        border-bottom-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .msg-body ul li.repaly p {
        font-size: 13px;
        padding: 8px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-left-radius: 6px;
    }
}