.container{max-width:1170px; margin:auto;}
img{ max-width:100%;}
.inbox_people {
  background: #f8f8f8 none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%; border-right:1px solid #c4c4c4;
}
.inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;
  height: 700px;
  max-height: 700px;
  min-height: 700px;
}
.top_spac{ margin: 20px 0 0;}


.recent_heading {float: left; width:40%;}
.srch_bar {
  display: inline-block;
  text-align: right;
  width: 60%; padding:
}
.headind_srch{ padding:10px 29px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

.recent_heading h4 {
  color: #05728f;
  font-size: 21px;
  margin: auto;
}
.srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
.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;
}
.srch_bar .input-group-addon { margin: 0 0 0 -27px;}

.chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
.chat_ib h5 span{ font-size:13px; float:right;}
.chat_ib p{ font-size:14px; color:#989898; margin:auto}
.chat_img {
  float: left;
  width: 11%;
}
.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
  cursor: pointer;
}

.chat_people{ overflow:hidden; clear:both;}
.chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 18px 16px 10px;
}
.inbox_chat { height: 550px; overflow-y: scroll;}

.active_chat{ background:#ebebeb;}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
  font-size: 36px;
  color: #6733ba;
}
.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }
 .received_withd_msg p {
  background: #22b66e none repeat scroll 0 0;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}
.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}
.received_withd_msg { width: 57%;}
.mesgs {
  float: left;
  padding: 30px 15px 0 25px;
  width: 60%;
}

 .sent_msg p {
  background: #05728f none repeat scroll 0 0;
  border-radius: 3px;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
  float: right;
  width: 46%;
}
.input_msg_write input {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 10px;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.type_msg {
    border-top: 1px solid #c4c4c4;
    border-left: 1px solid #c4c4c4;
    position: relative;
    width: 60%;
    float: right;
}
.msg_send_btn {
  background: #05728f none repeat scroll 0 0;
  border: medium none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  height: 33px;
  position: absolute;
  right: 10px;
  top: 7px;
  width: 33px;
}
.messaging { padding: 0 0 50px 0;}
.msg_history {
  height: 516px;
  overflow-y: auto;
}

.conversation {
    max-height: 650px;
    height: 650px;
    overflow-y: scroll;
    background-color: #EBEFF2;
    border-left: 1px solid #c4c4c4;
}

.conversation div:not(.chiplist) {
    clear: both;
}

.conversation .cloud {
	max-width: 60%;
	word-break: break-all;
	width: 60%;
	padding: 5px 5px 5px 10px;
    box-shadow: 1px 1px 1px #c4c4c4;
	margin: 2px 5px;
}

.conversation .cloud-date {
    max-width: 60%;
	word-break: break-all;
	width: 60%;
    padding: 0px 10px 5px 10px;
    font-size: 12px;
    color: #404244;
}

.conversation .date-mo {
    float: right;
    text-align: right;
}

.conversation .date-mt {
    float: left;
}

.conversation .mo {
    color: #404244;
    border-radius: 15px 3px 15px 15px;
    background-color: #fff;
    font-weight: 500;
	float: right;
}

.conversation .mt {
    color: #fff;
    border-radius: 3px 15px 15px 15px;
    font-weight: 500;
	background-color: #4286F3;
	float: left;
}

/* .conversation .mt:nth-child(even) {
    border-radius: 15px 15px 15px 3px;
}

.conversation .mo:nth-child(even) {
    border-radius: 15px 15px 3px 15px;
} */

.text-ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width:200px;
	margin: 0px;
}

.chiplists {
	display: block;
}

.convervation_send_message {
	width: 59%;
	float: right;
}

.conversation .chiplist-mo {
	width: 100%;
	color: #000;
	float: right;
}

.conversation .chiplist {
	display: inline-block;
	margin: 5px;
	padding: 4px 8px;
	border-radius: 12px;
	border: 1px solid #4286F3;
    color: #4286F3;
    background-color: #fff;
    text-align: center;
    float: right;
}

.conversation .chiplist-mt {
	width: 100%;
	margin: 5px 0px;
	color: #000;
	float: left;
}

.conversation .message_status {
	font-size: 12px;
	color: #333;
	margin: 0px;
	display: inline-block;
}

.conversation .info_message_status {
	font-size: 12px;
	text-align: right;
	margin:0 0 0 5px;
	display: inline-block;
}

.new_messages {
	width: 35%;
	padding: 5px;
	border-radius: 5px;
	background-color: #48c;
	color: #fff;
	text-align: center;
	float: left;
	margin: 10px auto -43px 15%;
	opacity: .5;
	position: relative;
	z-index: 10;
	transition: all 0.5s ease;
}

.new_messages:hover {
	opacity: 1;
	transition: all 0.5s ease;
	cursor: pointer;
}

.conversation .richcard_preview {
	max-width: 60%;
	word-break: break-all;
    width: 60%;
    overflow: hidden;
    box-shadow: 1px 1px 1px #c4c4c4;
	margin: 2px 5px;
}

.conversation .richcard_preview .footer {
    width: 100%;
    padding: 5px 5px 5px 10px;
    background-color: #fff;
    color: #333;
}

.conversation .carousel_preview .footer {
    width: 100%;
    background-color: #fff;
    color: #333;
    padding: 5px 5px 5px 10px;
}

.conversation .richcard_preview .thumbnail, .carousel_preview .content .thumbnail {
	width: 100%;
}

.conversation .richcard_preview .footer .title, .carousel_preview .content .footer .title {
	font-weight: bold;
}

.conversation .richcard_preview .suggestion, .content .suggestion {
	padding: 5px;
    text-align: center;
    display: block;
    word-wrap: break-word;
    background-color: #fff;
	color: #333;
	font-weight: bold;
}

.conversation .carousel_preview {
	max-width: 95%;
	word-break: break-all;
    width: 95%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 2px 5px;
    white-space: nowrap;
}

.conversation .carousel_preview .content{
    max-width: 200px;
	word-break: break-all;
    width: 200px;
    box-shadow: 1px 1px 1px #c4c4c4;
    margin: 2px 5px;
    border-radius: 15px;
    background-color: #fff;
    display: inline-block;
    overflow: hidden;
    flex: none;
}

.conversation .carousel_preview .content .img{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px top;
}

.conversation .content .description {
	max-width: 100%;
	word-wrap: break-word !important;
	white-space: pre-line !important;
}

.selected {
    background-color: #48c;
}

.selected h5 {
    color: #fff;
}

.clear-fix {
    clear: both;
}