.huma-chat-container {
	position: fixed;
	bottom: 35px;
	right: 24px;
	width: 640px;
	background: #ddd;
	z-index: 2040 !important;
}

.huma-chat-container h4, .huma-chat-container h5 {
	line-height: 1.5em;
	margin: 0;
}

.huma-chat-container h5 {
	color: #122e12;
	font-weight: bold;
	font-size: 125%;
}

.huma-chat-container hr {
	background: #e9e9e9;
	border: 0;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 1px;
	margin: 0;
	min-height: 1px;
}

.modal-new-chat {
	position: absolute;
}

.modal-new-chat-body {
	padding: 5px 20px 13px 20px;
	overflow-y: auto;
}

.chat-list {
	background: #ddd;
	padding-right: 5px !important;
	float: left;
	width: 45%;
	font-size: 12px;
}

.chat-list ul {
	padding: 10px;
	list-style: none;
}

.chat-list li {
	padding-bottom: 10px;
	display: block !important;
}

.chat-item:hover {
	background-color: #ccc;
	cursor: pointer;
}

.chat-list h5 {
	font-size: 12px;
}

.chat-list header {
	background: #666;
	border-radius: 3px 3px 0 0;
	color: #fff;
	cursor: pointer;
	padding: 12px 18px;
	height: 50px;
}

.modal-new-chat-body {
	height: 280px;
}

.chat-list-history {
	height: 360px;
}

.chat-history {
	height: 302px;
}


.chat-list-history {
	width: 100%;
	overflow-y: auto;
}

.chat-list-history div.chat-item {
	padding: 2px;
}

.chat-list-history  div.chat-active {
	background-color: #bebebe;
}

a.list-group-item-chat {
	padding: 10px !important;
	min-height: 20px !important;
	margin-right: 10px !important;
}

.chat-list-history div.chat-item>span.nome-empresa-chat {
	font-size: 10px;
	line-height: 10px;
	font-weight: bold;
}

.chat-list-history div.chat-item>span.chat-counter-new-messages {
    float: right;
    margin-top: 2px;
    margin-right: 3px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background: #659a65;
    border-radius: 16px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.2);
}

.chat-list-close {
	background: #1b2126;
	border-radius: 50%;
	color: #fff;
	display: block;
	float: right;
	font-size: 10px;
	height: 16px;
	line-height: 16px;
	margin: 2px 0 0 0;
	text-align: center;
	width: 16px;
}

.btn-add-chat {
	position: relative;
	display: inline-block;
	float: right;
	top: -25px;
}

.btn-circle, .btn-circle-3d {
	border-radius: 50% !important;
}

.btn-primary .btn-circle {
	-webkit-box-shadow: 0px 0px 3px 1px #245580;
	-moz-box-shadow: 0px 0px 3px 1px #245580;
	box-shadow: 0px 0px 3px 1px #245580;
}

.huma-chat {
	font-size: 12px;
	width: 55%;
	float: right;
}

.huma-chat header {
	background: #293239;
	border-radius: 5px 5px 0 0;
	color: #fff;
	cursor: pointer;
	padding: 16px 24px;
}

.huma-chat header div.nome-empresa-chat {
	position: absolute;
	font-size: 9px;
	line-height: 9px;
	top: 35px;
	left: 45%;
	width: 55%;
	text-align: center;
}

.huma-chat h4:before {
	background: #1a8a34;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 8px;
	margin: 0 8px 0 0;
	width: 8px;
}

.huma-chat h4 {
	font-size: 12px;
}

.huma-chat h5 {
	font-size: 10px;
}

.huma-chat form {
	padding: 24px;
}

div.chat-data {
	text-align: center;	
}

div.chat-data span {
 	background: #add8e6;
    color: #333;
    display: inline-block;
    margin: 10px 10px 0 0;
    padding: 3px 10px;
    -moz-border-radius: 8px 10px;
    border-radius: 8px 10px;
    border:solid 1px #ccc;
    background-color: #acf;
}

.chat-message-counter {
	background: #659a65;
	border: 1px solid #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
	height: 28px;
	left: 6px;
	line-height: 28px;
	margin: -15px 0 0 -15px;
	position: absolute;
	text-align: center;
	top: 5px;
	width: 28px;
}

.chat-close {
	padding: 0px !important;
	min-height: 26px !important;
	background: #bc3f3f;
	border-radius: 50%;
	color: #fff;
	display: block;
	float: right;
	font-size: 14px;
	font-weight: bold;
	height: 26px;
	line-height: 26px;
	margin: 2px 0 0 0;
	text-align: center;
	width: 26px;
}

.chat {
	background: #fff;
	border-color: #666;
 	border-left: 1px solid;
 	border-right: 2px solid;	
 	border-bottom: 5px solid;	
}

.chat-history {
	padding: 8px 24px;
	overflow-y: scroll;
}

.chat-message {
	margin: 16px 0;
}

.chat-message img {
	border-radius: 50%;
}

.message-not-readed {
	background: #dcf8c6 !important;
}

.fa-rotate-45 {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.message-not-readed .icon {
	float: right;
}

.message-in img {
	float: left;
	visibility: hidden;
}

.message-out img {
	float: right;
}

.message-in div.chat-message-content {
	margin-left: 16px;
}

.message-out div.chat-message-content {
	margin-right: 56px;
}

.message-in div.chat-message-content, .message-out div.chat-message-content
	{
	padding: 2px;
	background-color: #efefef;
	border-radius: 6px 6px 0 6px;
}

.chat-time {
	float: right;
	font-size: 10px;
	color: #122e12;
	font-weight: bold;
}

.icon-print {
	font-size: 18px !important;
}

.chat-feedback {
	font-style: italic;
	margin: 0 0 0 80px;
}

div.has-error label {
	color: #a94442;
}

.alert-chat-danger {
	color: #AC260D;
	background-color: #F2DEDC;
	border: #EBCCCF solid 1px;
	max-height: 35px;
	padding: 5px;
	margin-bottom: 6px;
}