.chatbox {
	position: relative;
	bottom: 0;
	right: 0;
	/*width: 200px;*/
	width: 200px;
	/*height: 300px;*/
	/*background-color: #fff;*/
	background-color: transparent;
	font-family: 'Lato', sans-serif;

	-webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
	transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);

	display: -webkit-flex;
	display: flex;

	-webkit-flex-direction: column;
	flex-direction: column;
	border: 1px solid #2a2a2b;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}
@media all and (max-width:719px)
{
	.chatbox {
		right: 0;
	}
}

.chatbox--tray {
	bottom: 0px;
}

.chatbox--closed {
	bottom: 0px;
}

.chatbox .form-control:focus {
	border-color: #1f2836;
}

.chatbox__title,
.chatbox__body {
	border-bottom: none;
}

.chatbox__title {
	min-height: 25px;
	padding-left: 0px;
	padding-right: 0px;
	/*background-color: #1f2836;*/
	background-color: var(--color1);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	cursor: pointer;

	display: -webkit-flex;
	display: flex;

	-webkit-align-items: center;
	align-items: center;
}

.chatbox__title h5 {
	height: 25px;
	margin: 0 10px 0 10px;
	line-height: 25px;
	position: relative;
	padding-left: 20px;

	-webkit-flex-grow: 1;
	flex-grow: 1;
}

.chatbox__title h5 a {
	color: #fff;
	font-weight: bold;
}

.chatbox__title h5 a:hover {
	color: #fff;
}

.chatbox__title h5:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 12px;
	height: 12px;
	/*background: #4CAF50;*/
	background: #CCCCCC;
	border-radius: 6px;

	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.chatbox__title h5.active:before {
	background: #4CAF50 !important;
}

.chatbox__title__tray,
.chatbox__title__close {
	width: 24px;
	height: 24px;
	outline: 0;
	border: none;
	background-color: transparent;
	opacity: 0.5;
	cursor: pointer;

	-webkit-transition: opacity 200ms;
	transition: opacity 200ms;
}

.chatbox__title__tray:hover,
.chatbox__title__close:hover {
	opacity: 1;
}

.chatbox__title__tray span {
	width: 12px;
	height: 12px;
	display: inline-block;
	/*border-bottom: 2px solid #fff*/
	border-bottom: 2px solid #2a2a2b;
}

.chatbox__title__close svg {
	vertical-align: middle;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.2px;
}

/*.chatbox__body,*/
.chatbox__credentials {
	padding: 15px;
	border-top: 0;
	background-color: #f5f5f5;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;

	-webkit-flex-grow: 1;
	flex-grow: 1;
}

.chatbox__credentials {
	display: none;
}

.chatbox__credentials .form-control {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.chatbox__body {
	/*overflow-y: auto;*/
	background-color: #fff;
}

.chatbox__body__message {
	position: relative;
}

.chatbox__body__message p {
	padding: 15px;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	-webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
	box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
}

.chatbox__body__message img {
	width: 40px;
	height: 40px;
	border-radius: 4px;
	border: 2px solid #fcfcfc;
	position: absolute;
	top: 15px;
}

.chatbox__body__message--left p {
	margin-left: 15px;
	padding-left: 30px;
	text-align: left;
}

.chatbox__body__message--left img {
	left: -5px;
}

.chatbox__body__message--right p {
	margin-right: 15px;
	padding-right: 30px;
	text-align: right;
}

.chatbox__body__message--right img {
	right: -5px;
}

.chatbox__message {
	padding: 15px;
	min-height: 50px;
	outline: 0;
	resize: none;
	border: none;
	font-size: 12px;
	border: 1px solid #ddd;
	border-bottom: none;
	background-color: #fefefe;
}

.chatbox--empty {
	/*height: 292px;*/
}

.chatbox--empty.chatbox--tray {
	bottom: 0;
}

.chatbox--empty.chatbox--closed {
	bottom: 0;
}

.chatbox--empty .chatbox__body,
.chatbox--empty .chatbox__message {
	display: block;
}

.chatbox--empty .chatbox__credentials {
	display: none;
}




















div.chat-full-div2.container{max-width:1170px; margin:auto; padding:0; font-family: Arial !important;}
div.chat-full-div2 img{ max-width:100%;}
div.chat-full-div2 .inbox_people {
	background: #f8f8f8 none repeat scroll 0 0;
	float: left;
	overflow: hidden;
	width: 40%; border-right:1px solid #c4c4c4;
}
div.chat-full-div2 .inbox_msg {
	border: 1px solid #c4c4c4;
	clear: both;
	overflow: hidden;
}
div.chat-full-div2 .top_spac{ margin: 20px 0 0;}


div.chat-full-div2 .recent_heading {float: left; width:40%;}
div.chat-full-div2 .srch_bar {
	display: inline-block;
	text-align: right;
	width: 60%; padding:
}
div.chat-full-div2 .headind_srch{ padding:10px 29px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

div.chat-full-div2 .recent_heading h4 {
	color: #05728f;
	font-size: 21px;
	margin: auto;
}
div.chat-full-div2 .srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
div.chat-full-div2 .srch_bar .input-group-addon button {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border: medium none;
	padding: 0;
	color: #707070;
	font-size: 18px;
}
div.chat-full-div2 .srch_bar .input-group-addon { margin: 0 0 0 -27px;}

div.chat-full-div2 .chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
div.chat-full-div2 .chat_ib h5 span{ font-size:13px; float:right;}
div.chat-full-div2 .chat_ib p{ font-size:14px; color:#989898; margin:auto}
div.chat-full-div2 .chat_img {
	float: left;
	width: 11%;
}
div.chat-full-div2 .chat_ib {
	float: left;
	padding: 0 0 0 15px;
	width: 88%;
}

div.chat-full-div2 .chat_people{ overflow:hidden; clear:both;}
div.chat-full-div2 .chat_list {
	border-bottom: 1px solid #c4c4c4;
	margin: 0;
	padding: 18px 16px 10px;
}
div.chat-full-div2 .inbox_chat { height: 550px; overflow-y: scroll;}

div.chat-full-div2 .active_chat{ background:#ebebeb;}

div.chat-full-div2 .incoming_msg_img {
	display: inline-block;
	width: 6%;
}
div.chat-full-div2 .incoming_msg{ overflow:hidden; margin:12px 0;}
div.chat-full-div2 .received_msg {
	display: inline-block;
	padding: 0 0 0 10px;
	vertical-align: top;
	width: 92%;
 }
 div.chat-full-div2 .received_withd_msg p {
	/*background: #ebebeb none repeat scroll 0 0;*/
	border-radius: 3px;
	color:#fff;
	background: var(--color2);
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 5px 10px 5px 12px;
	width: 100%;
	word-wrap: break-word;
}
div.chat-full-div2 .time_date {
	color: #747474;
	display: block;
	font-size: 12px;
	margin: 8px 0 0;
}
div.chat-full-div2 .received_withd_msg { /*width: 57%;*/ width: 80%;}
div.chat-full-div2 .mesgs {
	float: left;
	/*padding: 30px 15px 0 25px;
	width: 60%;*/
	padding: 0;
	width: 100%;
}

div.chat-full-div2	.sent_msg p {
	/*background: #05728f none repeat scroll 0 0;*/
	color:#fff;
	background: var(--color1);
	border-radius: 3px;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 5px 10px 5px 12px;
	width:100%;
}
div.chat-full-div2 .outgoing_msg{ overflow:hidden; margin:12px 0;}
div.chat-full-div2 .sent_msg {
	float: right;
	/*width: 46%;*/
	width: 70%;
	word-wrap: break-word;
}
div.chat-full-div2 .input_msg_write input {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border: medium none;
	outline: medium none;
	color: #4c4c4c;
	font-size: 15px;
	min-height: 33px;
	width: 100%;
}

div.chat-full-div2 .type_msg {border-top: 1px solid #c4c4c4;position: relative; padding-left: 10px; padding-right: 43px;}
div.chat-full-div2 .msg_send_btn {
	/*background: #05728f none repeat scroll 0 0;
	color: #fff;*/
	background: var(--color1);
	color: #fff;
	border: medium none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 17px;
	height: 33px;
	position: absolute;
	right: 0;
	top: 0;
	width: 33px;
	margin-right: 0px;
}
div.chat-full-div2 .messaging {
	padding: 0 0 0px 0;
}
div.chat-full-div2 .msg_history {
	/*height: 516px;
	overflow-y: auto;*/
	height: calc(200px);
	overflow-y: scroll;
}
div.chatbox__rate
{
	padding: 0px 20px 10px 20px;
}
div.chatbox__rate input[type="radio"]
{
	margin-top: 2px;
	margin-bottom: 2px;
}
div.chatbox__rate input[type="checkbox"]
{
	margin-top: 2px;
	margin-bottom: 2px;
}
div.chatbox__rate input[type="text"]
{
	margin-top: 2px;
	margin-bottom: 2px;
	border: 1px solid black;
	width: 100%;
	padding: 5px;
}













.image_preview_input {
	position: relative;
	overflow: hidden;
	margin: 0px;
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
.image_preview_input input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}
.image_preview_input_title {
	margin-left:2px;
}
.popover{
    max-width: 100%; // Max Width of the popover (depending on the container!)
}