/**** Chat Popup Layout******/
.open-chat-list {
    position: fixed;
    bottom: 0px;
    right: 110px;
    max-height: 560px;
    width: fit-content;
    text-align: right;
    z-index: 100000001;
}
.msg_box {
    display: inline-block;
    margin-right: 20px;
    background: #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    text-align: left;
}
.open-chat-list .msg_box {
    width: 315px;
}
.interview-messages .msg_box {
    width: 100%;
}
.video-chat-wrapper {
    height: 260px;
    background-color: #000000;
}
.msg_head {
    background: black;
    color: white;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px 5px 0px 0px;
    height: 43px;
    position: relative;
}
.msg_head a {
    color: #fff !important;
}
.msg_body {
    font-family: sans-serif;
    background: white;
    /*height: 330px;*/
    font-size: 12px;
    /*padding: 15px;*/
    /*overflow: auto;
    overflow-x: hidden;*/
}
.msg_input {
    width: 100%;
    height: 55px;
    border: 1px solid white;
    border-top: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.msg-left {
    position: relative;
    background: #e2e2e2;
    padding: 5px;
    min-height: 10px;
    margin-bottom: 5px;
    margin-right: 10px;
    border-radius: 5px;
    word-break: break-all;
}
.msg-right {
    background: #d4e7fa;
    padding: 5px;
    min-height: 15px;
    margin-bottom: 5px;
    position: relative;
    margin-left: 10px;
    border-radius: 5px;
    word-break: break-all;
}
/*.message-text {*/
/*    height: 40px !important;*/
/*}*/

.msg_box .message-details{
    width: 100%;
}
.msg_box .messages{
    height: 200px;
}
.msg_head .profile-picture {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.msg_head .d-name {
    margin: 0;
    position: absolute;
    left: 40px;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.msg_head .box-action-btn .btn {
    line-height: 1;
    padding: 0px 5px;
    font-size: 16px;
    color: #fff;
    float: unset;
}
.msg_head .box-action-btn {
    margin: 0;
    position: absolute;
    top: 50%;
    right: 5px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.msg_head .box-action-btn .btn-video {
    color: #28A745;
    font-size: 18px;
}
.minimized-chat-list {
    position: fixed;
    right: 5%;
    bottom: 30px;
}
.minimized-chat-list .min-chat {
    height: 60px;
    width: 60px;
    margin-bottom: 30px;
    border-radius: 50%;
    border: 1px solid #fff;
    /*overflow: hidden;*/
    position: relative;
    cursor: pointer;
}
.minimized-chat-list .min-chat img{
    border-radius: 50%;
    border: 1px solid #fff;
    height: 100%;
    width: 100%;
}

.minimized-chat-list .close-min {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #fff;
    color: #3a3a3a;
    padding: 0.5em;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    border: 2px solid #3a3a3a;
    cursor: pointer;
    opacity: 0;
}
.min-chat:hover > .close-min {
    opacity: 1;
}
.minimized-chat-list .close-min::before {
    content: " ";
    position: absolute;
    display: block;
    background-color: #3a3a3a;
    width: 2px;
    left: 10px;
    top: 4px;
    bottom: 4px;
    transform: rotate(45deg);
}
.minimized-chat-list .close-min::after {
    content: " ";
    position: absolute;
    display: block;
    background-color: #3a3a3a;
    height: 2px;
    top: 10px;
    left: 4px;
    right: 4px;
    transform: rotate(45deg);
}
.chat-action {
    background-color: #f8f8f8;
    clear: both;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    /*width: 100%;*/
}
.chat-action .form-group {
    width: 100%;
}
.chat-action .form-group textarea {
    width: 100%;
    padding: 5px 11px;
    height: 58px;
}
.chat-action .input-wrap {
    width: 100%;
    position:relative
}
.chat-action .input-group-prepend{    position: absolute;
    top: 7px;
    right: 6px;
}
.chat-action .input-group-prepend .input-group-text {
    -webkit-appearance: none;
    background: #007bff;
    color: #fff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    /*width: 55px;*/
    display: block;
    border: none;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
}
.chat-action .btn {
    width: 36px;
    height: 36px;
}
.chat-action .comment-box {
    padding-left: 15px;
    -ms-flex: 0 0 72%;
    flex: 0 0 72%;
    max-width: 72%;
}
.chat-action .btn-box {
    -ms-flex: 0 0 28%;
    flex: 0 0 28%;
    max-width: 28%;
}
.friend-message{
    text-align: left;
}
#total_msg_count, .unread-msg {
    margin-left: -5px;
    margin-top: -2px;
    display: inline-block;
    font-size: 11px;
    font-family: Arial;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    line-height: 18px;
    text-align: center;
    background: #e31128;
    font-weight: 600;
    position: absolute;
}
.messages .fa-times-circle {
    color: #dc3545;
}
.messages .user_name a {
    color: #000;
}
.messages .fa-check-circle {
    color: #218838;
}
@media (max-width: 768px) {
    .open-chat-list{
        right: 40px;
    }
}
/*******************
	Mobiles Screen
*******************/
@media screen and (max-width: 560px) {
    .open-chat-list{
        right: 10px;
    }
    .msg_box {
        margin-right: 0px;
    }
}