﻿.tool_chat_wrapper {
	position: relative;
	height: calc(100% - 34px);
	width: 100%;
}

.tool_chat_wrapper .chat_box_wrapper{
	height: calc(100% - 50px);
	min-height: 150px;
	padding: 0 0 30px 0;
	overflow-y: scroll;
	width: 100%;
}

.tool_chat_wrapper .chat_submit_box {
	position: absolute;
	width: 100%;
	bottom: 0px;
	left: 0;
	overflow: hidden;
	padding: 8px;
	box-sizing: border-box;
	background-color:#e9e3e3;
}

.tool_chat_wrapper hr{ 
	border: none;
	border-left: 1px solid hsla(200, 10%, 50%,100);
	height: 40px;
	width: 1px;
	display:inline-block;
	margin:0;
}

.tool_chat_wrapper img {
	border: 0 none;
	box-sizing: border-box;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}


.tool_chat_wrapper .myMessageBox {
	position: relative;
	border: 1px solid #cccccc;
	width: 200px;
	background-color: #b3ecff;
	padding: 5px;
	margin: 5px;
	border-radius: 10px;
	clear: both;
	float: right;
}

.tool_chat_wrapper .userMessageBox {
	position: relative;
	border: 1px solid #cccccc;
	width: 200px;
	background-color: #b3ffc6;
	padding: 5px;
	border-radius: 10px;
	margin: 5px;
	clear: both;
	float: left;
}

.tool_chat_wrapper .smallMessageText {
	font-size: 10px;
	color: #8c8c8c;
}

.tool_chat_wrapper .messageText {
	word-wrap: break-word;
}

.tool_chat_wrapper .chat_message_time{
	color: #2F4F4F;
	display: block;
	font-size: 11px;
	padding-top: 4px;
	text-transform: uppercase;
	text-align:right;

}

.tool_chat_wrapper .chat_box .chat_message_wrapper ul.chat_message > li + li {
	margin-top: 4px;
}
.tool_chat_wrapper .uk-input-group-addon .glyphicon.glyphicon-send {
	color: #ffffff;
	font-size: 21px;
	line-height: 30px;
	padding: 0px 8px;
	padding: 0px 8px;
	width:100%;
}

.chat_box {
	padding: 16px;
}
.chat_box .chat_message_wrapper::after {
	clear: both;
}
.chat_box .chat_message_wrapper::after, .chat_box .chat_message_wrapper::before {
	content: " ";
	display: table;
}
.chat_box .chat_message_wrapper .chat_user_avatar {
	float: left;
}
.chat_box .chat_message_wrapper {
	margin-bottom: 16px;
}
.md-user-image {
	border-radius: 50%;
	width: 34px;
}

.chat_box .chat_message_wrapper ul.chat_message, .chat_box .chat_message_wrapper ul.chat_message > li {
	list-style: outside none none;
	padding: 0;
}
.chat_box .chat_message_wrapper ul.chat_message {
	float: left;
	margin: 0 0 0 20px;
	max-width: 77%;
}
.chat_box.chat_box_colors_a .chat_message_wrapper ul.chat_message > li:first-child::before {
	border-right-color: #616161;
}
.chat_box .chat_message_wrapper ul.chat_message > li:first-child::before {
	border-color: transparent #ededed transparent transparent;
	border-style: solid;
	border-width: 0 16px 16px 0;
	content: "";
	height: 0;
	left: -14px;
	position: absolute;
	top: 0;
	width: 0;
}
.chat_box.chat_box_colors_a .chat_message_wrapper ul.chat_message > li {
	background: #F5F5F5 none repeat scroll 0 0;
	color: #000000;
	float:left;
}
.open-btn {
	border: 2px solid #189d0e;
	border-radius: 32px;
	color: #189d0e !important;
	display: inline-block;
	margin: 10px 0 0;
	padding: 9px 16px;
	text-decoration: none !important;
	text-transform: uppercase;
}
.chat_box .chat_message_wrapper ul.chat_message > li {
	background: #ededed none repeat scroll 0 0;
	border-radius: 4px;
	clear: both;
	color: #212121;
	display: block;
	float: left;
	font-size: 13px;
	padding: 8px 16px;
	position: relative;
	word-break: break-all;
}
.chat_box .chat_message_wrapper ul.chat_message, .chat_box .chat_message_wrapper ul.chat_message > li {
	list-style: outside none none;
	padding: 0;
}
.chat_box .chat_message_wrapper ul.chat_message > li {
	margin: 0;
}
.chat_box .chat_message_wrapper ul.chat_message > li p {
	margin: 0;
}
.chat_box .chat_message_wrapper ul.chat_message > li .chat_message_time {
	color: #2F4F4F;
	display: block;
	font-size: 11px;
	padding-top: 4px;
	text-transform: uppercase;
	text-align:right;
}
.chat_box .chat_message_wrapper.chat_message_right ul.chat_message {
	float: right;
	margin-left: 0 !important;
	margin-right: 24px !important;
}
.chat_box.chat_box_colors_a .chat_message_wrapper.chat_message_right ul.chat_message > li:first-child::before {
	border-left-color: #D9F4FC;/*#E8FFD4*/
}
.chat_box.chat_box_colors_a .chat_message_wrapper ul.chat_message > li:first-child::before {
	border-right-color: #F4F4F4;
}
.chat_box .chat_message_wrapper.chat_message_right ul.chat_message > li:first-child::before {
	border-color: transparent transparent transparent #ededed;
	border-width: 0 0 29px 29px;
	left: auto;
	right: -14px;
}
.chat_box .chat_message_wrapper ul.chat_message > li:first-child::before {
	border-color: transparent #ededed transparent transparent;
	border-style: solid;
	border-width: 0 29px 29px 0;
	content: "";
	height: 0;
	left: -14px;
	position: absolute;
	top: 0;
	width: 0;
}
.chat_box.chat_box_colors_a .chat_message_wrapper.chat_message_right ul.chat_message > li {
	float:right;
	background: #D9F4FC none repeat scroll 0 0;
}
.chat_box .chat_message_wrapper ul.chat_message > li {
	background: #ededed none repeat scroll 0 0;
	border-radius: 8px;
	clear: both;
	color: #212121;
	display: block;
	float: left;
	font-size: 13px;
	padding: 8px 16px;
	position: relative;
	float:right;
}
.tool_chat_wrapper .gurdeep-chat-box {
	background: #fff none repeat scroll 0 0;
	border-radius: 16px;
	float: left;
	padding: 3px;
	width:100%;
}
.tool_chat_wrapper .submit_message {
	background: transparent none repeat scroll 0 0;
	border: medium none;
	padding: 4px 8px;
}
.tool_chat_wrapper .gurdeep-chat-box i {
	color: #333;
	font-size: 21px;
	line-height: 1px;
}

.tool_chat_wrapper .uk-input-group {
	border-collapse: separate;
	display: table;
	position: relative;
	width:100%;
}
.tool_chat_wrapper .chat_message img{
	width:30px;
	vertical-align: middle;
}
.tool_chat_wrapper .md-input{
	width:680px;
}
.tool_chat_wrapper .uk-input-group img{
	padding: 0px 4px;
	width:30px;
}

.chat_message_wrapper chat_message_right .date, .chat_message_wrapper .date{
	font-size:10px; 
	text-align:center;
}
.chat_message_wrapper chat_message_right .chat_message .attachment, .chat_message_wrapper .chat_message .attachment{
	width:186px; 
	display:inline-block; 
	padding-top:8px;
	color:#2F4F4F;
}
.chat_message_wrapper chat_message_right .chat_message .attachment1, .chat_message_wrapper .chat_message .attachment1{
	width:85px; 
	display:inline-block; 
	margin-bottom:6px;
	margin-left:5px;
	color:#2F4F4F;
}
.chat_message_wrapper chat_message_right .chat_message .table, .chat_message_wrapper .chat_message .table{
	display:table-cell; 
	vertical-align: middle;
}
.chat_message_wrapper chat_message_right .chat_message .attachment .description, .chat_message_wrapper .chat_message .attachment .description{
	display:table-cell; 
	padding-left:8px;
}
.chat_message_wrapper chat_message_right .chat_message .attachment .description .title, .chat_message_wrapper .chat_message .attachment .description .title{
	font-size:14px;
}
.chat_message_wrapper chat_message_right .chat_message .text, .chat_message_wrapper .chat_message .text{
	font-size:8px;
}