/****************************************************************
*
*					GUI MENSAJES
*
****************************************************************/
/**				nav tab													  **/
.rc-tab {
	list-style-type: none;
	margin: 5px 0 0 0;
	padding: 0;
	box-sizing: border-box;
	width: 100%;
}

.rc-tab li {
	/*float: left;*/
	display: table-cell;
	width: 1%;
}

.rc-tab li a {
	display: block;
	padding: 5px 15px;
	text-align: center;
	text-decoration: none;
	color: #999;
	font-weight: bold;
}

.rc-tab li.active {
	border-color: #66cc99;
	border-style: solid;
	border-width: 0 0 2px 0;
	border-radius: 2px;
}

.rc-tab li.active a {
	color: #000;
	/*#66cc99*/
}

/**				Panel conversaciones									  **/
.rc-panel {
	/*position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;*/
	margin-top: -15px;
	height: calc(100% - 61px);
	background-color: #fff;
	overflow: hidden;
}
.rc-panel-market{
	height: calc(100% - 135px);
	margin-top: 0;
}
.rc-panel-body {
	position: relative;
	height: 100%;
}
.rc-panel-coverall{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin-top: 0;
	height: 100%;
}

/**				Ventana de mensajes									**/
.rc-sidebar {
	height: 100%;
	padding-top: 15px;
	overflow: overlay;
}

/**				Ventana de mensajes									**/
.rc-chat-container {
	height: 100%;
	overflow-y: auto;
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 0;
	padding-bottom: 15px;
	background-color: #eee;
}

.modal .rc-chat-container {
	height: 100%;
	width: 100%;
	overflow-y: auto;
	position: relative;
	padding: 0px;
}

.close-chat {
	font-size: 2em;
	z-index: 10000;
	cursor: pointer;
}

/**				item mensaje											**/
.rc-chat-alert{
	width: 100%;
	height: 5px;
	background-color: #fff;
}
.rc-chat-alert.active{
	background-color: red;
}
.rc-chat-header {
	position: relative;
	width: 100%;
	height: 85px;
	padding: 10px;
	padding-top: 15px;
	padding-bottom: 0;
	background-color: #fff;
}
.rc-chat-header .rc-chat-item-body {
	border-bottom: 0px solid #eee;
	padding: 0;
}
/*.rc-chat-header .rc-chat-name{
	white-space: nowrap; 
  	overflow: hidden;
  	text-overflow: ellipsis;
  	width: 90%;

}*/
/*.rc-chat-header.expand {
	height: 100%;
	padding: 10px;
	padding-top: 15px;
	background-color: #fff;
}*/
.ellipsis.expand{

}
.rc-chat-wrap {
	height: calc(100% - 170px);
	overflow-y: overlay;
	background-color: #eee;
	width: 100%;
	padding: 0 15px;
}

.rc-chat-window{
	padding-top: 30px;
	padding-bottom: 30px;
}

.rc-chat-input-wrap {
	padding: 0 15px;
}

.rc-chat-input-wrap table {
	width: 100%;
	height: 100%;
	margin-top: 15px;
	position: relative;
	display: table;
}

.rc-chat-input {
	display: table-row;
}

.rc-chat-input div {
	display: table-cell;
	height: 100%;
}

.rc-chat-input textarea {
	box-sizing: border-box;
	margin: 0;
	outline: none;
	resize: none;
	/*background-color: #eee;*/

	padding: 10px;
	border-radius: 0 0 0 10px;
	border-width: 0px;

	/*min-height: 49px;
	height: 49px;
	max-height: 130px;*/
	width: 100%;
	color: black;

	vertical-align: bottom;
}

.rc-chat-input button {
	color: white;
	background-color: #628094;
	/*width: 51px;*/
	height: 100%;
	vertical-align: bottom;
	border-radius: 0 0 10px 0;
	border-width: 0px;
}




/**				filtros tipos											  **/
.rc-chat-radio-container {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-right: -3px;
}

.rc-chat-radio-container span {
	padding: 4px 10px;
	color: #000;
	font-weight: bold;
	font-size: 0.8em;
	box-sizing: border-box;
	border-color: #66cc99;
	border-style: solid;
	border-width: 1px;
}

.rc-chat-radio-container:first-child span {
	border-radius: 3px 0px 0px 3px;
}

.rc-chat-radio-container:last-child span {
	border-radius: 0px 3px 3px 0px;
}


.rc-chat-radio-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.rc-chat-radio-container input:checked~span {
	background-color: #66cc99;
	color: #fff;
}

/**				item conversacion 									**/
.rc-chat-item {
	position: relative;
	box-sizing: border-box;
	background-color: #fff;
	border-bottom: 1px solid #eee;
}
.rc-chat-item-body {
	border-left: 5px solid #fff;
	/*border-bottom: 1px solid #eee;*/
	/*border-radius: 14px;*/
	padding: 5px;
}
.rc-chat-item:hover {
	/*background-color: #3498db15;*/
	background-color: #ecf0f1;
}
.rc-chat-item.active .rc-chat-item-body {
	background-color: #ecf0f1;
	/*background-color: #3498db30;*/
}

.rc-chat-item.unread .rc-chat-item-body {
	border-left-color: red;
}

.rc-chat-item.waiting .rc-chat-item-body {
	border-left-color: #628094;
}

.rc-chat-item .click-face {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	border-radius: 14px;
}

.rc-chat-item .badge-unread {
	display: none;
	background-color: red;
	/*
	color: white;
	border-radius: 50px;
	font-size: 13px;
	font-weight: bold;
	min-width: 20px;
	line-height: 1;
	padding: 3px 7px;
	text-align: center;
	vertical-align: middle;*/
}

.rc-chat-item.unread .badge-unread {
	display: inline-block;
}

.rc-chat-item table {
	height: 100%;
	width: 100%;
}

.rc-chat-avatar {
	border-radius: 50%;
	height: 50px;
	width: 50px;
	object-fit: cover;
}

.rc-chat-content {
	position: relative;
	padding: 0;
	height: 100%;
	max-width: calc(100% - 120px);
}

.rc-chat-title {
	font-weight: bold;
	/*color: #000000;
	word-break: break-word;*/
}
.one-type .rc-chat-type {
	display: none;
}
.rc-chat-time {
	font-size: 12px;
	color: #9f9fa0;
}

.rc-chat-menu {
	text-align: right;
	color: #9f9fa0;
	min-width: 25px;
	max-width: 60px;
	min-height: 50px;
}

.rc-chat-type.color-direct {
	color: #628094;
}

.rc-chat-type.color-market {
	color: #10D511;
}

.rc-chat-type.color-ins {
	color: #66cc99;
}



/**				chat message 									**/

.rc-message {
	clear: both;
	background-color: white;
	color: black;

	word-wrap: break-word;
	padding: 5px 15px;
	max-width: 90%;
	width: auto;
	border-radius: 10px;
	margin-top: 10px;
}

.rc-message.new-message-divider {
	background-color: #eee;
	color: black;
	text-align: center;
	font-weight: bold;
	padding: 5px 15px;
	width: 100%;
	max-width: 100%;
	border-width: 2px 0px;
	border-radius: 0px;
	border-style: solid;
	border-color: black;
}

.rc-message.out+.rc-message.out,
.rc-message.in+.rc-message.in {
	margin-top: 2px;
}

.rc-message.in {
	float: left;
	margin-left: 0;
}
.rc-message.out {
	float: right;
	margin-right: 0;
	background-color: #628094;
	/*background-color: #66cc99;*/

	color: white;
}
.rc-message.send-error {
	background-color: red;
	color: white;
}

.rc-message p {
	white-space: pre-line;
	margin-bottom: 0px;
}

/**				cambios interaz para pc, tablet					**/
@media only screen and (min-width: 991px) {
	.rc-panel,
	.rc-panel-market{
		height: calc(100% - 61px);
		margin-top: -21px;
	}
	.rc-chat-container {
		position: relative;
	}
	.rc-panel-coverall{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin-top: 0;
		height: 100%;
	}
}

/*@supports (display: flex){
	.rc-chat-item-body {
		display: flex;
	}
}*/