.chat-profile {
    display: flex !important;
    background-color: #F5F5F5;
    padding: 10px;
    border-radius: 8px 8px 0px 0px;
}

.chat-profile h4 {
    cursor: pointer;
    margin-right: auto !important;
    color: #44444F;
    margin: 0;
    font-weight: 700;
    font-size: 20px;
}

.chat-profile h4 img {
    padding-right: 10px;
    height: 45px;
}

.chat-box-user h5 {
    cursor: pointer;
    color: #44444F;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 3px solid #fff;
    transition: 0.5s all;
}

.chat-box-user .active,
.chat-box-user h5:hover {
    border-right: 3px solid #09CCB5;
    color: #09CCB5;
}

.chat-box-user h5 img {
    padding-right: 10px;
    height: 25px;
}

.chat-profile-dot {
    padding: 9px;
    cursor: pointer;
}

.chat-body {
    min-height: 600px;
    padding: 20px;
}

.chat-body .text-left {
    float: left;
    background-color: #fff;
}

.chat-body .text-right {
    float: right;
    background-color: #F3F4F7;
}

.chat-body p {

    color: #585858;
}

.chat-line::after {
    content: "";
    clear: both;
    display: table;
}

.chat-line {
    max-width: 500px;
    padding: 10px;
    border: 1px solid #F3F4F7;
    border-radius: 7px;
    margin-bottom: 10px;
}

.time-right {
    color: #B5B6B7;
    font-size: 11px;
    font-weight: 300;
    float: right;
}

.time-left {
    color: #B5B6B7;
    font-size: 11px;
    font-weight: 300;
    float: left;
}

.chat-box-user,
.chat-box-chat {
    float: left;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0px 4px 54px rgb(0 0 0 / 1%);
    margin: 0 auto 100px;

}

.chat-box-user {
    margin-top: 65px;
    border-radius: 8px 0px 0px 8px;
    min-width: 180px;
}

.chat-box-chat {
    border-radius: 8px;
    width: calc(100% - 180px);
}

.chat-main-box {
    max-width: 992px;
    margin: 100px auto;
}

.send-actions {
    padding: 20px;
    border-top: 1px solid rgba(8, 10, 12, 0.08);
}

.send-actions input {
    margin-right: 15px;
    width: calc(100% - 145px) !important;
    margin-bottom: 0px !important;
}

.send-actions .send-btn {
    padding: 10px 40px;
}


@media screen and (max-width: 768px) {

    .chat-box-user,
    .chat-box-chat {
        float: left;
        width: 100% !important;
    }
    .chat-box-user h5 {
        width: 46%;
        display: inline-block;
        margin: 1% !important;
    }
    .chat-line {
        max-width: 100%;
    }
     .chat-profile h4 .chat_user_name {
        font-size: 16px;
        padding-left: 10px;
    }
    .fileUpload span {
        font-size: 14px;
    }
    .chat-box-user .active, .chat-box-user h5:hover {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 500px) {
    .chat-main-box {
        margin: 0px auto;
    }
    .send-actions .send-btn {
        font-size: 14px;
    }

    .chat-box-user h5 {
        width: 100%;
    }
    
    .chat_user_name {
        padding-left: 10px;
    }
}