
nav ul li a .msg-count { position: absolute; top: .4rem; right: .4rem; }
#chat-opts { min-width: 200px; }
#chat-window
{
	border-radius: 3px 3px 0 0;
	position: fixed;
	bottom: 0;
	right: 1rem;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 0 10px rgba(0, 0, 0, .3);
	height: 510px;
	width: 350px;
	z-index: 1000;

	/* En el centro de la pantalla */
	/* top: 0;
	left: 0;
	right: 0;
	height: 75%;
	width: 80%;
	margin: auto; */
}

/* #chat-window:after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	margin: auto;
	z-index: 999;
	background-color: rgba(0, 0, 0, .1);
} */
#chat-window .backdrop-chat-window, #chat-window #loading-chat-window, #chat-window .preloader-content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1001;
	display: none;
}
#chat-window .preloader-content {
	display: inline-block;
	margin: auto;
	height: 38px;
}
#chat-window #header-chat {
	padding: .2rem;
	border-radius: 3px 3px 0 0;
	background-color: #0d1e3f;
	color: #FFF;
	height: 40px;
}
#chat-window #header-chat .actions-icons { font-size: 22px; }
#chat-window #header-chat #name-user-chat { width: 90%; }
#chat-window #header-chat #name-user-chat #filter-users-chat { height: auto; margin: 0; padding: 5px 2px; }
#body-chat, #footer-chat { background-color: #F3EFEC; }
#body-chat, #chat-users-list
{
	height: calc(100% - 40px);
	overflow-y: auto;
	overflow-x: hidden;
}
#body-chat .msg
{
	position: relative;
	left: 0;
	right: 0;
	margin: auto;
	margin-bottom: .5rem;
	width: 95%;
	transition: all .1s ease-in-out;
}
#body-chat .msg .attachs-files
{
	background-color: #EEE;
	padding: 5px 7px 5px 0;
	border: thin solid #DDD;
	border-radius: 2px;
}
#body-chat .msg .attachs-files i { margin-right: 0; }
#body-chat .msg .date-chats
{
	font-size: 12.5px;
	font-weight: 350;
	line-height: 21px;
	display: inline-block;
	border-radius: 7.5px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
	background-color: rgba(225, 245, 254, .92);
	padding: 5px 12px 6px 12px;
	box-shadow: 0 2px 0.5px rgba(0, 0, 0, 0.13);
	margin: .7rem 0;
}
#body-chat .msg:after
{
	content: '';
	display: table;
	clear: both;
}
/* #body-chat .msg-date { font-size: .85rem; } */
#body-chat .photo.right { margin: 0 0 0 .5rem; }
#body-chat .photo.left { margin: 0 .5rem 0 0; }
#body-chat .chat-bubble
{
	box-shadow: 0 1px .5px rgba(0, 0, 0, .3);
	display: inline-block;
	max-width: calc(100% - 45px);
	min-width: 10px;
	padding: .3rem .5rem;
	position: relative;
	word-wrap: break-word;
	font-weight: 350;
}
#body-chat .chat-bubble .chat-actions {
	display: inline-block;
	position: absolute;
	right: 3px;
	opacity: 0;
	z-index: 10;
}
#body-chat .bubble-out .chat-actions { background-color: #d4fec3; }
#body-chat .bubble-in .chat-actions { background-color: #FFF; }
#body-chat .bubble-in
{
	background-color: #FFF;
	border-radius: 0 7px 7px 7px;
	float: left;
}
#body-chat .bubble-out
{
	background-color: #D3FEC3;
	border-radius: 7px 0px 7px 7px;
	float: right;
}
#body-chat .tail-left
{
	background: transparent url('../img/tail-l-white.png') no-repeat center;
	background-size: cover;
	position: absolute;
	height: 15px;
	left: -10px;
	top: 0;
	width: 15px;
}
#body-chat .tail-right
{
	background: transparent url('../img/tail-r-green.png') no-repeat center;
	background-size: cover;
	position: absolute;
	height: 15px;
	right: -10px;
	top: 0;
	width: 15px;
}
#body-chat .text { cursor: text; white-space: pre-wrap; }
#body-chat .text .hour, #body-chat .text .status
{
	font-size: .8rem;
	color: #9E9E9E;
	margin-left: 3px;
	position: relative;
	bottom: -.15rem;
}
#body-chat .chat-users-list {
	margin: 0 0 3px 0;
	width: 100%;
	border-bottom: 1px solid #e0e0e0;
}

#footer-chat
{
	box-sizing: border-box;
	position: absolute;
	bottom: 0;
	width: 100%;
	outline: none;
	padding: 5px;
}
#footer-chat div { outline: none; }
#footer-chat .text { background-color: #FFF; border-radius: 3px; width: calc(100% - 4rem); }
#footer-chat .cmd { display: inline-block; color: #0d1e3f; width: 50px; height: 100%; border-radius: 10rem; }
#footer-chat .cmd i{ padding: 7px 0; }
#footer-chat .block-compose
{
	width: 100%;
	max-width: calc(100% - 50px);
	z-index: 2;
	display: inline-block;
}
#footer-chat .block-compose .input-container
{
	border: 0;
	background-clip: padding-box;
	background-color: #FFF;
	padding: 7px 5px 7px 10px;
	-webkit-transition: height .18s ease-in-out;
	transition: height .18s ease-in-out;
	width: 100%;
	display: inline-block;
	border: thin solid #e0e0e0;
	border-radius: 2rem;
}

#footer-chat .block-compose .input-container .input
{
	word-wrap: break-word;
	white-space: pre-wrap;
	padding: 0 2px 0 0;
	min-height: 20px;
	max-height: 100px;
	overflow-y: hidden;
	overflow-x: hidden;
	position: relative;
	z-index: 1;
	width: 100%;
	outline: none;
}
#footer-chat .input-emoji {
	position: relative;
	width: 100%;
}

#footer-chat .input-placeholder
{
	margin-left: 2px;
	position: absolute;
	top: 0;
	left: 0;
	color: #999;
	pointer-events: none;
	-webkit-transition: opacity .08s linear;
	transition: opacity .08s linear;
	visibility: visible;
	z-index: 0;
	font-weight: 300;
}
#header-chat i:not(.user-status) { padding: 0 10px; }
#header-chat i.user-status { padding: 0 5px; }

.msg-count
{
	border-radius: 2rem;
	display: inline-block;
	font-size: .85rem;
	font-weight: 300;
	min-width: 20px;
	line-height: 20px;
	padding: 0 .3rem;
}
.photo
{
	border: thin solid silver;
	height: 34px;
	width: 34px;
	background-color: #EEE;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 100%;
	display: inline-flex;
	margin: 0 .5rem 0 .3rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	vertical-align: middle;
}
.jconfirm-content .photo { margin: 0; vertical-align: middle; }

.user-status { color: silver; }
.user-status.active { color: #76FF03; }

/* @media only screen and (min-width: 1367px) {
	#chat-window { width: 400px; }
} */
/* @media only screen and (max-width: 1370px) {
	#chat-window { width: 29vw; }
}
@media only screen and (max-width: 998px) {
	#chat-window { width: 37vw; }
}
@media only screen and (max-width: 720px) {
	#chat-window { width: 49vw; }
}
@media only screen and (max-width: 600px) {
	#chat-window { width: 53vw; }
}
@media only screen and (max-width: 480px) {
	#chat-window { width: 69vw; }
} */
@media only screen and (max-width: 600px) {
	#chat-window {
		height: 100%;
		width: 100%;
		top: 0;
		right: 0;
		z-index: 100;
	}
}
/*@ media only screen and (max-width: 325px) {
	#chat-window { width: 90vw; right: .5rem; }
} */