#chat_message_wrapper {
	position: fixed;
	bottom: 0;
	padding-left: 40px;
	padding-right: 40px;
}
.chat_message_box {
	width: 300px;
	position: relative;
	background: #fff;
	border: 1px solid #ccc;
	display: inline-block;
	margin-right: 10px;
	vertical-align: bottom;
}
.chat_message_box.minimized-chat .chat_inner {
	display: none;
}
.chat_message_box .chat_message_box_inner,
.chat_message_box .chat_header,
.chat_message_box .chat_message_bottom  {
	padding: 5px;
}
.chat_message_box .chat_header {
  background: #222;
  color: #fff;
}

.chat_message_box .chat_header a {
	color: #fff;opacity:.7;
}
.chat_message_box .chat_header a:hover {opacity:1;}
.chat_message_box .chat_header:hover {
	cursor: pointer;background:#000;
}
.chat_message_box .chat_message_box_inner {
	height: 265px;
	overflow-y: auto;
}
.chat_message_box .chat-message-send {
	display: none; /* temp */
}
.chat_message_box .chat_actions {
	position: absolute;
	top:5px;
	right:10px;
}
.chat_message_box .chat_actions span {
  margin-left: 5px;
}
.chat_add_user_form  {
  position: absolute;
  width: 100%;padding:5px;background:#f7f7f7 !important;border-bottom:1px solid #ddd;
}
.chat_message_box input[type=text],
.chat_add_user_form input[type=text] {font-size:14px;width:100%;margin-right:5px;padding:5px;}
.chat_add_user_form input[type=text] {width:220px;}
.chat_message_bottom {background:#f7f7f7;border-top:1px solid #ddd;}
.auto_complete_result {
	background: none;
	overflow-y: auto;
	width: 100%;
	padding:0;
margin:0;margin-left:5px;
	border: none;
	min-height: 50px;
}
.auto_complete_result li {
	list-style-type: none;
	list-style-image: none;
}
.participants {
	margin-top: 5px;
}
.participant {
	border: 1px solid #ccc;
	padding: 2px;
	margin-right: 2px;
	display: inline-block;
}
.remove-participant {
	margin-left: 2px;
}
.chat_add_user_form {
	background: #fff;
}
.chat_message_box .chat_name {
	max-width: 220px;
	display: inline-block;
}
.chat_message_box .message-count-display {
	display: none;
	margin-left: 10px;
	padding: 2px 10px;
	color: #fff;
	font-weight: bold;
	background: red;
}
.chat_message_box .message-row.unread {
	/*background: #ccc;*/
}
ul.messages,
ul.inbox-messages {
   margin-left: 0;
   padding-left: 0;
}
ul.messages li,
ul.inbox-messages li {
	list-style: none;
	list-style-image: none;
	list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 10px;
}
 ul.messages .chat-name,
 ul.inbox-messages .chat-name {
	font-weight: bold;
}

ul.messages li:hover,
ul.inbox-messages li:hover {
	cursor: pointer;
	background: #ccc;
}
ul.messages li.unread,
ul.inbox-messages li.unread {
	background: #d9edf7;
}
.navbar-chat-messages .dropdown-menu {
	min-height: 200px;
	max-height: 500px;
	overflow-y: auto;
	width: 350px;
}
.navbar-chat-messages .bottom-loader {
  	text-align: center;
  	font-size: 30px;
}
.typing-user {
	color: #777;
	font-size: 10px;
}
.chat_message_box .chat_header .chat_actions,
.chat_message_box .chat_header .chat_actions a {
	color: #777;
}
.disabled-chat {
	color: red;
	padding: 5px 0;
}
.chat-rename-form {
	font-size: 12px;
	padding: 10px;
	position: absolute;
  	top: 0;
  	width: 100%;
  	height: 100%;
  	background-color: #fff;
}
.rename-chat-cancel {
	margin-left: 10px;
}
.chat_message_box.new_message .chat_header {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    
    -moz-animation-name: blinker;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    
    animation-name: blinker;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.8; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.8; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.8; }
    100% { opacity: 1.0; }
}

.chat_message_box .unread-count {
	display: none;
	margin: 0 5px;
	padding: 0 5px;
	font-size: 11px;
	background: red;
}

.chat_message_box.minimized-chat.new_message .unread-count {
	display: inline-block;
}
#chat-message-inbox {
	min-height: 500px;
	width: 100%;
}
#chat-message-inbox #chat-message-nav {
	border-right: 1px solid;
}
#chat-message-inbox #chat-message-nav,
#chat-message-inbox #chat-message-msg-container {
	display: inline-block;
	vertical-align: top;
	padding: 0 10px 10px;
	height: 100%;
}

#chat-message-inbox .chat_message_box {
	width: 100%;
	border: 0;
	margin-right: 0;
}
#chat-message-nav .inner-wrapper {
	overflow: auto;
	padding-bottom: 30px;
	position: relative;
}
#chat-message-inbox .chat_message_box .chat_header {
	color: #000;
    height: 50px;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
    font-size: 18px;
    background: transparent;
}
#chat-message-inbox .chat_message_box .chat_name {
	max-width: none;
}
#chat-message-inbox .chat_message_box .header:hover {
	background: transparent;
}
#chat-message-inbox .chat_message_box .chat_message_box_inner {
	min-height: 400px;
}
#chat-message-inbox .chat_message_box .chat-textbox {
	height: 60px;
}

#chat-message-inbox #chat-message-nav {
	width: 30%;
	position: relative;
}
#chat-message-inbox #chat-message-msg-container {
	width: 70%;
	position: relative;
}
.system-message {
	font-size: 11px;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
}
#chat-message-msg-container .fa.fa-spinner {
	position: absolute;
    top: 50%;
    left: 50%;
    font-size: 34px;
    margin-left: -17px;
    margin-top: -17px;
}
ul.inbox-messages li.active {
	background: #337ab7;
	color: #fff;
}
#chat-message-nav #load-more-wrapper {
	font-size: 25px;
    text-align: center;
    position: absolute;
    width: 100%;
}
.chat-message-disclaimer {
	padding: 10px;
    background: #ccc;
    font-weight: bold;
}
#chat-message-admin-all-chats .chat-message-row {
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}