/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
	background-color: #C8C8C8	;
	color: #5e400e;

	cursor: pointer;
	opacity: 2.8;
	position: fixed;
	bottom: 49px;
	right: 5px;
	width: 40px;
	display: inline-block;
	border-radius: 60px;
	box-shadow: 0px 0px 2px #888;
	padding: 0.5em 0.6em;
}
.msg_count {
	background-color: #CD5C5C;
	color: white;
	height:24px;
	width: 35px;
	display: inline-block;
	border-radius: 50%;
}
.open-button2 {
	background-color: #C8C8C8	;
	color: #5e400e;

	z-index: 1;
	cursor: pointer;
	opacity: 2.8;
	position: fixed;
	bottom: 49px;
	right: 5px;
	width: 40px;
	display: inline-block;
	border-radius: 60px;
	padding: 0.5em 0.6em;
}
/* The popup chat - hidden by default */
.chat-popup {
display: none;
position: fixed;
bottom: 30;
right: 5px;
border: 3px solid #f1f1f1;
z-index: 9;
}

.chat-popup_mobile {
display: none;
position: fixed;
bottom: 30;
right: 5px;
border: 3px solid #f1f1f1;
z-index: 9;
}

.chat_title {
  color:#CD5C5C;
}

/* Add styles to the form container */
.form-container {
max-width: 500px;
width:450px;
padding: 10px;
min-height: 200px;
background-color: white;
bottom: 49px;
}
.form-container_mobile {
max-width: 250px;
width:250px;
padding: 10px;
min-height: 200px;
background-color: white;
bottom: 49px;
}
/* Full-width textarea */
.form-container textarea {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;
resize: none;

bottom:0;
}

/* When the textarea gets focus, do something */
.form-container textarea:focus {
background-color: #ddd;
outline: none;
}

/* Set a style for the submit/send button */
.form-container .btn {
background-color: #4CAF50;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
width: 100%;
margin-bottom:10px;
opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
background-color: red;

}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
opacity: 1;
}

.minimize_button_chat {
  float:right;
  cursor: pointer;
}

.send_msg_icon {

}

.my-custom-scrollbar {
  margin-top: 5px;
width:100%;
height: 100%;
overflow: auto;
}
.table-wrapper-scroll-y {
display: block;
}

.my-custom-scrollbar th {
  cursor:pointer;
}

.container1 {
  border: 2px solid #dedede;
  background-color: #f1f1f1;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

.darker {
  border-color: #ccc;
  background-color: #F0F8FF;
}

.container1::after {
  content: "";
  clear: both;
  display: table;
}

.time-right {
  float: right;
  color: #aaa;
}

.time-left {
  float: left;
  color: #999;
}

  .msg_card_body{
		margin-left: -15px;
		margin-right:-15px;
  }

  .type_msg{
    background-color: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color:white !important;
    height: 60px !important;
    overflow-y: auto;
  }
    .type_msg:focus{
       box-shadow:none !important;
         outline:0px !important;
  }

  .send_btn{
border-radius: 0 15px 15px 0 !important;
background-color: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color: white !important;
    cursor: pointer;
  }

.msg_cotainer{
  float:left;
  margin-top: auto;
	word-wrap: break-word;
  margin-bottom: auto;
  margin-left:-20px;
  border-radius: 22px;
  min-width:70px;
  max-width:150px;
  background-color: #82ccdd;
  padding: 10px;
  position: relative;
}
.msg_cotainer2{
  float:left;
  margin-top: auto;
	word-wrap: break-word;
  margin-bottom: auto;
  margin-left:-20px;
  border-radius: 22px;
  min-width:70px;
  max-width:150px;
  padding: 10px;
  position: relative;
}
.card1{

		}
.msg_cotainer_send{
    float:right;
		word-wrap: break-word;
		margin-top: auto;
		margin-bottom: auto;
		margin-right:-20px;
		border-radius: 22px;
    min-width:70px;
    max-width:150px;
		background-color: #78e08f;
		padding: 10px;
		position: relative;
	}
	.msg_cotainer_send2{
	    float:right;
			word-wrap: break-word;
			margin-top: auto;
			margin-bottom: auto;
			margin-right:-20px;
			border-radius: 22px;
	    min-width:70px;
	    max-width:150px;
			padding: 10px;
			position: relative;
		}
.msg_time{
  position: absolute;
  left: 0;
	width: 100px;
	min-width:100px;
	max-width:100px;
  bottom: -15px;
  color: #000000;
  font-size: 10px;
}
.msg_time_send2{
  position: absolute;
  right: -60px;;
  top: -15px;
	min-width:100px;
	max-width:100px;
	width: 100px;
  color: #000000;
  font-size: 10px;
}
.msg_time_send{
  position: absolute;
  right:0;
  bottom: -15px;
	min-width:100px;
	max-width:100px;
	width: 100px;
  color: #000000;
  font-size: 10px;
}
.msg_head{
  position: relative;
}
#action_menu_btn{
  position: absolute;
  right: 10px;
  top: 10px;
  color: white;
  cursor: pointer;
  font-size: 20px;
}
.action_menu{
  z-index: 1;
  position: absolute;
  padding: 15px 0;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border-radius: 15px;
  top: 30px;
  right: 15px;
  display: none;
}
.action_menu ul{
  list-style: none;
  padding: 0;
margin: 0;
}
.action_menu ul li{
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 5px;
}
.action_menu ul li i{
  padding-right: 10px;

}
.action_menu ul li:hover{
  cursor: pointer;
  background-color: rgba(0,0,0,0.2);
}
@media(max-width: 576px){
.contacts_card{
  margin-bottom: 15px !important;
}
}
#custom-search-input {
 background: #e8e6e7 none repeat scroll 0 0;
 margin: 0;
 padding: 10px;
}
  #custom-search-input .search-query {
  background: #fff none repeat scroll 0 0 !important;
  border-radius: 4px;
  height: 33px;
  margin-bottom: 0;
  padding-left: 7px;
  padding-right: 7px;
  }
  #custom-search-input button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 0 none;
  border-radius: 3px;
  color: #666666;
  left: auto;
  margin-bottom: 0;
  margin-top: 7px;
  padding: 2px 5px;
  position: absolute;
  right: 0;
  z-index: 9999;
  }
  .search-query:focus + button {
  z-index: 3;
  }
  .all_conversation button {
  background: #f5f3f3 none repeat scroll 0 0;
  border: 1px solid #dddddd;
  height: 38px;
  text-align: left;
  width: 100%;
  }
  .all_conversation i {
  background: #e9e7e8 none repeat scroll 0 0;
  border-radius: 100px;
  color: #636363;
  font-size: 17px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  width: 30px;
  }
  .all_conversation .caret {
  bottom: 0;
  margin: auto;
  position: absolute;
  right: 15px;
  top: 0;
  }
  .all_conversation .dropdown-menu {
  background: #f5f3f3 none repeat scroll 0 0;
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  width: 100%;
  }
  .all_conversation ul li {
  border-bottom: 1px solid #dddddd;
  line-height: normal;
  width: 100%;
  }
  .all_conversation ul li a:hover {
  background: #dddddd none repeat scroll 0 0;
  color:#333;
  }
  .all_conversation ul li a {
 color: #333;
 line-height: 30px;
 padding: 3px 20px;
}
  .member_list .chat-body {
  margin-left: 0px;
  margin-top: 0;
  }
  .top_nav {
  overflow: visible;
  }
  .member_list .contact_sec {
  margin-top: 3px;
  }
  .member_list li {
  padding: 6px;
  }
  .member_list ul {
  border: 1px solid #dddddd;
  }
  .chat-img img {
  height: 34px;
  width: 34px;
  }
  .member_list li {
  border-bottom: 1px solid #dddddd;
  padding: 6px;
  }

  .member_list li:last-child {
  border-bottom:none;
  }
  .member_list {
  height: 380px;
  overflow-x: hidden;
  overflow-y: auto;
  }
  .sub_menu_ {
 background: #e8e6e7 none repeat scroll 0 0;
 left: 100%;
 max-width: 233px;
 position: absolute;
 width: 100%;
}
.sub_menu_ {
 background: #f5f3f3 none repeat scroll 0 0;
 border: 1px solid rgba(0, 0, 0, 0.15);
 display: none;
 left: 100%;
 margin-left: 0;
 max-width: 233px;
 position: absolute;
 top: 0;
 width: 100%;
}
.all_conversation ul li:hover .sub_menu_ {
 display: block;
}
.new_message_head button {
 background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
 border: medium none;
}
.new_message_head {
 background: #f5f3f3 none repeat scroll 0 0;
 float: left;
 font-size: 13px;
 font-weight: 600;
 padding: 18px 10px;
 width: 100%;
}
.message_section {
 border: 1px solid #dddddd;
}
.chat_area {
 float: left;
 height: 300px;
 overflow-x: hidden;
 overflow-y: auto;
 width: 100%;
}
.chat_area li {
 padding: 14px 14px 0;
}
.chat_area li .chat-img1 img {
 height: 40px;
 width: 40px;
}
.chat_area .chat-body1 {
 margin-left: 0px;
 margin-right: 60px;
}
.chat-body1 p {
 background: #82ccdd none repeat scroll 0 0;
 border-radius: 22px;
 float:left;
 padding: 10px;
}
.admin_chat p{
  background-color: #78e08f;
  border-radius: 22px;
  float:right;
}
.chat_area .admin_chat .chat-body1 {
 margin-left: 60px;
 margin-right: 0px;
 float:right;

}
.chat_area li:last-child {
 padding-bottom: 10px;
}
.message_write {
 background: #f5f3f3 none repeat scroll 0 0;
 float: left;
 padding: 15px;
 width: 100%;
}

.message_write textarea.form-control {
 height: 70px;
 padding: 10px;
}
.chat_bottom {
 float: left;
 margin-top: 13px;
 width: 100%;
}
.upload_btn {
 color: #777777;
}
.sub_menu_ > li a, .sub_menu_ > li {
 float: left;
 width:100%;
}
.member_list li:hover {
 background: #428bca none repeat scroll 0 0;
 color: #fff;
 cursor:pointer;
}

.chat-img2 img {
	margin-top:5px;
  height: 70px;
  width: 70px;
}

.product_card {
		height:80px;
		width: 210px;
		border:1px solid #E0E0E0;;
		margin-left:-15px;
		margin-right:-20px;
		margin-top:0px;
		background-color:#E0E0E0;
}

.msg_product{
  position: absolute;
	margin-left:5px;
	min-width:100px;
	max-width:100px;
	width: 100px;
  color: #000000;
  font-size: 10px;
}
.msg_product2{
  position: absolute;
	margin-left:5px;
	min-width:100px;
	max-width:100px;
	width: 100px;
  color: #000000;
  font-size: 10px;
}
.container_item {
  width:100%;
  height: 100px;
  border: 1px solid #E0E0E0;
  background-color:	#E0E0E0;
}
