﻿mf-chat {
    display: -webkit-box;
    width: 100%;
    padding: 10px;
    background: rgb(0,0,0);
    height: 100%;
    max-height: 100%;
    min-height: 300px;
}
.mf-chat {
    width: 100%;
    border: 5px solid rgb(40, 45, 50);
    height: 100%;
    padding: 5px;
    position: relative;
    display: block;
    max-height: 100%;
    margin: -5px;
    padding-bottom: 40px;
}
mf-chat .chat-message-history {
    width: 100%;
    height: 100%;
    display: inline-block;
    overflow: auto;
    background-color: #ffffff;
}
mf-chat .chat-new-message {
    width: 275px;
}
.mf-chat button{
	background-color: #1f78b1;
	border: 0;
	color: rgb(250, 250, 250);
	padding: 5px 15px;
}

.outgoing-chat {
    text-align: right;
}
.incoming-chat {
    text-align: left;
}

.message-body {
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    height: auto;
}

.message-main-receiver {
    /*padding: 10px 20px;*/
    max-width: 60%;
}

.message-main-sender {
    padding: 3px 20px !important;
    margin-left: 40% !important;
    max-width: 60%;
}

.message-text {
    margin: 0 !important;
    padding: 5px !important;
    word-wrap:break-word;
    font-weight: 200;
    font-size: 14px;
    padding-bottom: 0 !important;
}

.message-time {
    margin: 0 !important;
    margin-left: 50px !important;
    font-size: 12px;
    text-align: right;
    color: #9a9a9a;

}

.receiver {
    width: auto !important;
    padding: 4px 10px 7px !important;
    border-radius: 10px 10px 10px 0;
    background: #1c363b;
    font-size: 12px;
    word-wrap: break-word;
    display: inline-block;
    color: white;
}

.sender {
    float: right;
    width: auto !important;
    background:#0a9090;
    border-radius: 10px 10px 0 10px;
    padding: 4px 10px 7px !important;
    font-size: 12px;
    display: inline-block;
    word-wrap: break-word;
    color: white;
}