@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
*, *:before, *:after {
  box-sizing: border-box;
}

.chat-widget-wrap{
  display: flex;
  min-height: 620px;
}
.users-list-area {
  background: #1b436a;
  flex: 1;
}
.users-chat-area{
  flex: 3;
  background: #F2F5F8;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}
.people-list .search {
  padding: 20px;
}
.people-list input {
  border-radius: 3px;
  border: none;
  padding: 14px;
  color: #1b436a;
  background: #fff;
  width: 100%;
  font-size: 14px;
}
.people-list .fa-search {
  position: relative;
  left: -25px;
}
.people-list ul {
  padding: 20px;
  padding-top: 0;
  max-height: 600px;
    overflow: auto;
}
.people-list ul li {
  padding: 10px 0;
  cursor:pointer;
  list-style: none;
  border-bottom: 1px solid rgb(87 113 139);
}
.people-list img, .avatar {
  float: left;
  border-radius: 25px;
  width: 55px;
  height: 55px;
}
.people-list .about {
  float: left;
  margin-top: 8px;
}
.people-list .about {
  padding-left: 8px;
}
.people-list .about .name{
  color: white;
}
.people-list .status {
  color: #92959E;
}
.user-chat-starter-wrap{
  padding: 50px 20px;
  text-align: center;
}
.chats {
  width: 100%;
  background: #F2F5F8;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}
.chat {
  background: #F2F5F8;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}
.chat .chat-header {
  padding: 3px 20px 1px;
  border-bottom: 2px solid white;
  background: #f0f4f8;
}
.chat .chat-header img {
  float: left;
  border-radius: 35px;
}

.chat .chat-header .chat-about {
  float: left;
  padding-left: 10px;
  margin-top: 6px;
}
.chat .chat-header .chat-with {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}
.chat .chat-header .chat-num-messages {
  color: #000;
}
.chat .chat-header .fa-times {
  float: right;
  color: #1b436a;
  font-size: 30px;
  margin-top: 5px;
}
.user-chat .chat {
    margin: 0 auto;
    float: unset;
    width: 50%;
}
.user-chat span.sub-status {
    color: #000;
}
.chat .chat-history {
    /* padding: 30px 30px 20px; */
    padding: 10px 10px 10px;
    border-bottom: 2px solid white;
    /* overflow-y: scroll; */
    width: 100%;
    height: max-content;
    min-height: 100%;
    background: #fff;
}
.chat .chat-history li{
  list-style: none;
}
.chat .chat-history .message-data {
  margin-bottom: 15px;
}
.chat .chat-history .message-data-time {
  color: #a8aab1;
  padding-left: 6px;
}
.chat .chat-history .message {
  color: white;
  padding: 8px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  margin-bottom: 10px;
  /* width: 90%; */
  width: auto;
  position: relative;
}
.chat .chat-history .message:after {
  bottom: 100%;
  /* left: 10%; */
  left: auto;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #eee;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .my-message {
  background: #eee;
  color: #000;
}
.chat .chat-history .other-message {
  background: #94C2ED;
}
.chat .chat-history .other-message:after {
  border-bottom-color: #94C2ED;
  left: 70%;
}
.chat .chat-message {
  padding: 5px 20px 10px;
  background: #94c2ed05;
}
.chat .chat-message textarea {
  width: 100%;
  border: none;
  padding: 10px 20px;
  font: 14px/22px "Lato", Arial, sans-serif;
  margin-bottom: 10px;
  border-radius: 5px;
  resize: none;
}
.chat .chat-message .fa-file-o, .chat .chat-message .fa-file-image-o {
  font-size: 16px;
  color: gray;
  cursor: pointer;
}
.chat .chat-message button {
  margin-top: -65px;
  float: right;
  font-size: 16px;
  /* text-transform: uppercase; */
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #1b436a;
  padding: 20px 30px;
  border-radius: 10px;
  color: #fff;
}
.chat .chat-message button:hover {
  color: #75b1e8;
}

.online, .offline, .me {
  margin-right: 3px;
  font-size: 10px;
}

.online {
  color: #94c2ed;
}

.offline {
  color: #fff;
}

.me {
  color: #94C2ED;
}

.align-left {
  text-align: left;
}
span.sub-status {
    font-size: 12px;
    color: #94c2ed;
}
.align-right {
  text-align: right;
}
.cros-wrap {
    
    width: 20px;
    height: 20px;
    float: inline-end;
    margin-top: 15px;
    margin-right: 10px;
    cursor: pointer;
}
.close-user-chat-popup{
  font-size: 35px;
  /* margin-top: 12px; */
  float: inline-end;
  cursor: pointer;
}
.lists{
	position: absolute;
	top: 50px;
	background: #1b436a;
	padding: 10px 10px;
	border-radius: 10px;
	display:none;
	z-index: 9;
	right: 30px;
	top: 37px;
	}
.cros-icon {
    position: relative;
}
.lists li a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
	text-decoration:none;
}
.lists-list{
  padding: 0;
}
.lists-list li{
  list-style: none;
  padding: 5px 20px;
  border-bottom: 1px solid rgb(87 113 139);
  text-align: center;
}
.lists-list li:last-child{
  border-bottom: 0px solid rgb(87 113 139);
}
.cros-wrap span {
    width: 20px;
    height: 3px;
    display: block;
    background: #1b436a;
    margin-bottom: 4px;
}
.float-right {
  float: right;
}

.float-left {
  float: left;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.chat_history{
  margin-bottom: 5px!important;
}




.user-chat-popup-btn-wrap{
  position: fixed;
    bottom: 20px;
    right: 20px;
}
.user-chat-popup-btn{
  cursor: pointer;
}
.user-chat-popup-btn img{
  box-shadow: 0px 0px 15px #1b436a;
  border-radius: 50%;
  background: #1b436a;
}
.user-chat-popup-wrap{
  position: fixed;
    max-width: 630px;
    right: 20px;
    bottom: 100px;
    width: 100%;
}
.user-chat-popup-wrap .chat_history{
  height: 380px!important;
}
.user-chat-popup-wrap .chat_history{
  margin-bottom: 10px!important;
}
.user-chat-popup-wrap .chat .chat-message button{
  padding: 20px 30px;
  margin-top: -63px;
}
.user-chat-popup-wrap .chat_message{
  min-height: 65px;
}

.chat_ul {
  padding: 0;
}

/* user.php css below */

.chat_message_area
{
	position: relative;
	width: 100%;
	height: auto;
	background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 3px;
}

#group_chat_message
{
	width: 100%;
	height: auto;
	min-height: 80px;
	overflow: auto;
	padding:6px 24px 6px 12px;
}

.chat_message
{
	width: 83%;
	height: auto;
	min-height: 80px;
	overflow: auto;
	padding:6px 24px 6px 12px;
}

.image_upload form
{
	margin-bottom: 0;
	text-align: right;
	padding: 0 20px;
}
.image_upload > form > input
{
    display: none;
}

.image_upload img
{
    width: 24px;
    cursor: pointer;
}

a.attachment
{
  color: white !important;
}

.chat_icon_text {
  display: block;
  position: fixed;
  right: 0px;
  bottom: 101px;
  font-size: 14px;
  border-radius: 10px;
  font-weight: bold;
  color: #1B436A;
}

.label_chat_count_unread {
  right: 78px;
  bottom: 48px;
  position: fixed;
  padding: 10px;
  background-color: red;
  font-size: 14px;
  font-weight: bold;
}
