#center-text {
	display: flex;
	flex: 1;
	flex-direction:column;
	justify-content: center;
	align-items: center;
	height:100%;
}
#chat-circle {
	z-index: 3000;
	position: fixed;
	bottom: 40px;
	right: 40px;
	background: #F96E11;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	color: white;
	padding: 5px;
	cursor: pointer;
	box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
#chat-circle:hover {
	z-index: 3000;
	position: fixed;
	bottom: 40px;
	right: 40px;
	background: #FD6509;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	color: white;
	padding: 5px;
	cursor: pointer;
	box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.btn#my-btn {
	background: white;
	padding-top: 13px;
	padding-bottom: 12px;
	border-radius: 45px;
	padding-right: 40px;
	padding-left: 40px;
	color: #5865C3;
}
#chat-overlay {
	background: rgba(255,255,255,0.1);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: none;
}
.chat-box {
	z-index: 3000;
	display:none;
	background: #efefef;
	position:fixed;
	right:30px;
	bottom:70px;  
	width:350px;
	max-width: 85vw;
	max-height:100vh;
	border-radius:5px;  
	box-shadow: 0px 5px 35px 9px #6DBE45;
	/* box-shadow: 0px 5px 35px 9px #ccc; */
}
.chat-box-toggle {
	float:right;
	margin-right:15px;
	margin-top:8px;
	cursor:pointer;
}
.chat-box-header {
	background: #6DBE45;
	height:70px;
	border-top-left-radius:5px;
	border-top-right-radius:5px; 
	color:white;
	text-align:center;
	font-size:20px;
	padding-top:17px;
}
.chat-box-body {
	position: relative;  
	height:370px;  
	height:auto;
	/* border:1px solid #ccc;   */
	overflow: hidden;
}
.chat-box-body:after {
	content: "";
	background-image: url('data:image/svg+xml;base64,PH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gMy4wOSAxOS4zMzEtNC4zMSAxOS4zMzEtNC4zMSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L3N2Zz4=');
	opacity: 0.1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height:100%;
	position: absolute;
	z-index: -1;
}
#chat-input {
	background: #f4f7f9;
	width:100%; 
	position:relative;
	height:47px;  
	padding-top:10px;
	padding-right:50px;
	padding-bottom:10px;
	padding-left:15px;
	border:none;
	resize:none;
	outline:none;
	border:1px solid #ccc;
	color:#888;
	border-top:none;
	border-bottom-right-radius:5px;
	border-bottom-left-radius:5px;
	overflow:hidden;  
}
.chat-input > form {
	margin-bottom: 0;
}
#chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #ccc;
}
#chat-input::-moz-placeholder { /* Firefox 19+ */
	color: #ccc;
}
#chat-input:-ms-input-placeholder { /* IE 10+ */
	color: #ccc;
}
#chat-input:-moz-placeholder { /* Firefox 18- */
	color: #ccc;
}
.chat-submit {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: transparent;
	box-shadow: none;
	border: none;
	border-radius: 50%;
	color: #6DBE45;
	width: 35px;
	height: 35px;
}
.chat-logs {
	padding:15px; 
	height:370px;
	overflow-y:scroll;
}
.chat-logs::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}
.chat-logs::-webkit-scrollbar{
	width: 5px;  
	background-color: #F5F5F5;
}
.chat-logs::-webkit-scrollbar-thumb{
	background-color: #FD6509;
}
@media only screen and (max-width: 500px) {
	.chat-logs {
		height:40vh;
	}
}
.chat-msg.user > .msg-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	float: right;
	width: auto;
}
.chat-msg.self > .msg-avatar img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	float: left;
}
.cm-msg-text {
	background: #6DBE45;
	padding: 5px 10px;
	color: #fff;
	max-width: 80%;
	float: left;
	margin-left: 10px;
	position: relative;
	margin-bottom: 15px;
	border-radius: 10px;
	font-size: 13px !important;
	text-align: left !important;
	width: 280px !important;
}
.msg-avatar {
	max-width: 80%;    
}
.chat-msg {
	clear:both;    
}
.chat-msg.self > .cm-msg-text {  
	float:right;
	margin-right:5px;
	background: #FD6509;
	color:white;
}
.cm-msg-button>ul>li {
	list-style:none;
	float:left;
	width:50%;
}
.cm-msg-button {
	clear: both;
	margin-bottom: 70px;
}
.chat-title {
	float: left;
	padding: 0 20px;
}
.mt-0 {
	margin-top: 0 !important;
}
.b-0 {
	border: 0 !important;
}
.img-circle {
  border-radius: 50% !important;
}
.text-chabot {
	border-radius: 0 !important;
	width: 19rem !important;
	float: left;
	font-size: 0.8rem;
	background-color: transparent;
	padding-right: 40px;
}
.text-chabot:focus {
	border-radius: 0 !important;
	width: 19rem !important;
	float: left;
	font-size: 0.8rem;
	background-color: transparent;
}

#chat_convo .direct-chat-messages {
  height: 350px !important;
  min-height: 350px !important;
  height: inherit;
}
.direct-chat-messages, .direct-chat-contacts {
  transition: transform .5s ease-in-out;
}
.direct-chat-messages {
	transform: translate(0, 0);
	overflow: auto;
	padding: 10px;
}
.direct-chat-msg, .direct-chat-text {
  display: block;
}
.mr-4, .mx-4 {
  margin-right: 1.5rem !important;
}
.direct-chat-img {
  border-radius: 50%;
  float: left;
  height: 40px;
  width: 40px;
}
.border-primary {
  /* border-color: #007bff !important; */
  border: 1px solid #d5d5d5 !important;
}
img {
  vertical-align: middle;
  border-style: none;
}
.direct-chat-text::after {
  border-width: 5px;
  margin-top: -5px;
}

.direct-chat-text::before {
  border-width: 6px;
  margin-top: -6px;
}
.direct-chat-msg::after {
  display: block;
  clear: both;
  content: "";
}

.card-header::after, .card-body::after, .card-footer::after {
  display: block;
  clear: both;
  content: "";
}
.right .direct-chat-img {
  float: right;
}
.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
  border-left-color: #007bff;
}
.right .direct-chat-text::after, .right .direct-chat-text::before {
  border-left-color: #d2d6de;
  border-right-color: transparent;
  left: 100%;
  right: auto;
}
.direct-chat-text::after, .direct-chat-text::before {
  border: solid transparent;
    border-top-width: medium;
    border-right-color: transparent;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-color: transparent;
    border-left-width: medium;
  border-right-color: #d2d6de;
  content: " ";
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 100%;
  top: 15px;
  width: 0;
}
.h-50 {
  height: 50px !important;
}
.power_by {
	font-size: 9px;
	float: right;
	margin-right: 10px;
}

