body {
  padding-top: 0;
  font-size: 20px;
  color: #777;
}

.bg-white {
  background-color: #fff;
}


small, .small {
  font-size: 85%;
}

.friend-list li a .chat-alert {
  position: absolute;
  right: 8px;
  top: 27px;
  font-size: 10px;
  padding: 3px 5px;
}

.chat-message {
}

.chat {
	list-style: none;
	margin: 0;
}

.chat-message{
	margin-bottom: 0;
	padding-bottom: 100px;
  background-color: var(--bg);
}

ul {
	padding-left: 0px;
}
.pome-avator{
  width: 45px;
  height: 45px;
  border-radius: 50em;
  -moz-border-radius: 50em;
  -webkit-border-radius: 50em;
}

img {
  max-width: 100%;
}

.chat-body {
  padding-bottom: 20px;
}

.chat li.left .chat-body {
  margin-left: 60px;
  background-color: #F9D2DB;
  margin-right: 30px;
	border-radius: 10px;
}
.chat li.left2 .chat-body {
  background-color: #F9D2DB;
	border-radius: 10px;
}

.chat li .chat-body {
  position: relative;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #f1f5fc;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.chat li .chat-body .header {
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5fc;
}

.chat li .chat-body p {
  margin: 0;
}

.chat li.left .chat-body:before {
  position: absolute;
  top: 10px;
  left: -8px;
  display: inline-block;
  background: #F9D2DB;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-left: 1px solid #f1f5fc;
  content: '';
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
.chat li.left2 .chat-body:before {
}

.chat li.right .chat-body:before {
/*
  position: absolute;
  top: 10px;
  right: -8px;
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-right: 1px solid #f1f5fc;
  content: '';
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
*/
}

.chat li {
  margin: 15px 0;
}

.chat li.right .chat-body {
  margin-left: 60px;
  background-color: #fff;
	min-width: 320px;
	border-radius: 10px;

}

.chat-box {
/*
  position: fixed;
  bottom: 0;
  left: 444px;
  right: 0;
*/
  padding: 15px;
  border-top: 1px solid #eee;
  transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
}

.primary-font {
  color: #3c8dbc;
}

a:hover, a:active, a:focus {
  text-decoration: none;
  outline: 0;
}
.chatbox{
	width: 100%;
	max-width:420px;
	position: fixed;
	bottom: 0;
	background-color: #31a9ee;
	color: #FFFFFF;
	z-index:10;
  left: 50%;
	transform: translateX(-50%);
	padding: 0px;
	box-shadow: 0 0 14px rgb(0, 0, 0, 0.09);
	height:70px;
	font-size: 2rem;

}
.chat-main{
	height: calc(100vh - 66px);
}

.chat li .clearfix{
	display: list-item;;
}

.fas_button_circle{
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background: #6699cc;
	color: #fff;	
	cursor: pointer;
}
.fas_button_circle:before{
	line-height: 50px;
	width: 50px;
	text-align: center;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f1d8';
	font-size: 30px;
}
.chat-link-btn{
	font-size: 2rem;
	width: 350px;
	background: #FFF;
	color: #000;
	margin-top: 5px;
	margin-bottom: 5px;

}
.chat-heart{
	width: 30px;
}
