@keyframes jumpTempChat
{
	0%
	{
		right: 2px;
	}
	50%
	{
		right: 20px;
	}
	100%
	{
		right: 2px;
	}
}

#chatGeneral
{
	background-color: #ffffff;
	border: 1px solid #999999;
	border-radius: 4px 4px 0px 0px;
	bottom: 0px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	color: #000000;
	font: message-box;
	font-size: 12px;
	height: 330px;
	position: fixed;
	right: 2px;
	width: 220px;
	z-index: 20000;
}

#chatGeneral > #chatGeneralBuscar
{
	border-top: 1px solid #999999;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	height: 38px;
	text-align: center;
	width: auto;
}

#chatGeneral > #chatGeneralBuscar input
{
	border: none;
	height: 100%;
	padding: 7px;
	padding-left: 0px;
	width: 90%;
}

#chatGeneral > #chatGeneralBuscar input:focus
{
	border: none;
	outline: none;
}

#chatGeneral > #chatGeneralConectados
{
	margin-top: 40px;
	height: 250px;
	overflow: scroll;
	overflow-x: hidden;
}

#chatGeneral > #chatGeneralConectados::-webkit-scrollbar-track
{
	background-color: #f5f5f5;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
}

#chatGeneral > #chatGeneralConectados::-webkit-scrollbar
{
	background-color: #f5f5f5;
	height: 7px;
	width: 7px;
}

#chatGeneral > #chatGeneralConectados::-webkit-scrollbar-thumb
{
	background-color: #b0b0b0;
}

#chatGeneral > #chatGeneralConectados ul
{
	margin: 0px;
	padding: 0px;
	width: 220px;
}

#chatGeneral > #chatGeneralConectados ul > li
{
	cursor: pointer;
	list-style: none;
	width: 100%;
}

#chatGeneral > #chatGeneralConectados ul > li:hover
{
	background-color: #eeeeee;
}

#chatGeneral > #chatGeneralConectados ul > li > *
{
	display: inline-block;
	vertical-align: middle;
}

#chatGeneral > #chatGeneralConectados ul > li > img
{
	border-radius: 7px;
	box-shadow: 0px 0px 1.5px rgba(0, 0, 0, 0.2), 0px 0px 1.5px rgba(0, 0, 0, 0.2) inset;
	height: 33px;
	margin: 5px;
	margin-left: 5px;
	margin-right: 5px;
	width: 33px;
}

#chatGeneral > #chatGeneralConectados ul > li > div
{
	font-size: 13px;
	margin-right: 5px;
	width: 160px;
	word-wrap: break-word;
}

#chatGeneral > #chatGeneralConectados ul > li > div > .chatGeneralRol
{
	color: #999999;
	font-size: 9px;
	text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
}

#chatGeneral > #chatGeneralTitulo
{
	background-color: #ffffff;
	border-bottom: 1px solid #999999;
	border-radius: 4px 4px 0px 0px;
	color: #000000;
	cursor: pointer;
	display: table;
	font-weight: bold;
	height: 40px;
	left: 0px;
	position: absolute;
	right: 0px;
	text-align: center;
	top: 0px;
	width: 100%;
}

#chatGeneral > #chatGeneralTitulo > div
{
	display: table-cell;
	vertical-align: middle;
}

.ventanaChat
{
	background-color: #ffffff;
	border: 1px solid #999999;
	border-radius: 4px 4px 0px 0px;
	bottom: 0px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	font: message-box;
	font-size: 12px;
	height: 330px;
	position: fixed;
	width: 250px;
	z-index: 20000;
}

.ventanaChat > .divArrastrarArchivoChat
{
	background-color: #ffffff;
	bottom: 0px;
	display: none;
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 1000;
}

.ventanaChat > .divArrastrarArchivoChat > span
{
	bottom: 150px;
	color: #000000;
	font-size: 16px;
	position: absolute;
	text-align: center;
	width: 100%;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje
{
	border-top: 1px solid #999999;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	height: 38px;
	position: relative;
	text-align: left;
	width: auto;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > input
{
	border: none;
	font-size: 12px;
	height: 100%;
	padding: 7px;
	width: 85%;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > input:focus
{
	border: none;
	outline: none;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo
{
	position: absolute;
	right: 2px;
	top: 2px;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo:hover
{
	cursor: pointer;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo:hover > .divAdjuntarArchivoContenedor
{
	display: inline-block;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo > img
{
	height: 15px;
	width: 15px;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo > .divAdjuntarArchivoContenedor
{
	background-color: #ffffff;
	border: 1px solid #999999;
	bottom: 100%;
	display: none;
	overflow-x: hidden;
	padding: 2px;
	padding-bottom: 5px;
	padding-top: 7px;
	position: absolute;
	right: 0px;
	width: 237px;
	word-wrap: break-word;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo > .spanEnviarAdjunto
{
	display: none;
	color: #72A0C7;
	vertical-align: top;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo > .spanEnviarAdjunto:hover
{
	text-decoration: underline;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divAdjuntarArchivo > .divAdjuntarArchivoContenedor .fileAdjuntarArchivo
{
	display: none;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon
{
	position: absolute;
	right: 2px;
	text-align: center;
	top: 20px;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon:hover
{
	cursor: pointer;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon:hover > .divEmoticonContenedor
{
	display: inline-block;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon > img
{
	height: 15px;
	width: 15px;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon > .divEmoticonContenedor
{
	background-color: #ffffff;
	border: 1px solid #999999;
	bottom: 100%;
	display: none;
	font-size: 17px;
	padding-bottom: 7px;
	padding-top: 7px;
	position: absolute;
	right: 0px;
	width: 244px;
	word-wrap: break-word;
	z-index: 10000;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon > .divEmoticonContenedor > img
{
	border-bottom: 1px solid #eeeeee;
	margin: 0px;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon > .divEmoticonContenedor > img:hover
{
	border-bottom: 1px solid orange;
	cursor: pointer;
}

.ventanaChat > .ventanaChatCampoEnviarMensaje > .divEmoticon > .divEmoticonContenedor > span:hover
{
	background-color: #999999;
}

.ventanaChat > .ventanaChatMensajes
{
	background-image: url('../img/chat/fondoMensajesChatGeneral.png');
	margin-top: 40px;
	height: 250px;
	overflow: scroll;
	overflow-x: hidden;
}

.ventanaChat > .ventanaChatMensajes::-webkit-scrollbar-track
{
	background-color: #f5f5f5;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.ventanaChat > .ventanaChatMensajes::-webkit-scrollbar
{
	background-color: #f5f5f5;
	height: 7px;
	width: 7px;
}

.ventanaChat > .ventanaChatMensajes::-webkit-scrollbar-thumb
{
	background-color: #b0b0b0;
}

.ventanaChat > .ventanaChatMensajes ul
{
	margin: 0px;
	margin-top: 10px;
	padding: 0px;
}

.ventanaChat > .ventanaChatMensajes ul > li
{
	cursor: default;
	display: inline-block;
	list-style: none;
	width: 100%;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajeContacto"]
{
	text-align: left;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajePropio"]
{
	text-align: right;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajeContacto"] > div
{
	background-color: #ffffff;
	border-radius: 0px 10px 10px 10px;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajePropio"] > div
{
	background-color: #e9e9e9;
	border-radius: 10px 0px 10px 10px;
	color: #383838;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajeContacto"] > div .enlaceUrlChat
{
	color: #59A4E4;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajePropio"] > div .enlaceUrlChat
{
	color: #59A4E4;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajeContacto"] > img
{
	margin-left: 5px;
}

.ventanaChat > .ventanaChatMensajes ul > li[class="ventanaChatMensajePropio"] > img
{
	margin-right: 5px;
}

.ventanaChat > .ventanaChatMensajes ul > li > *
{
	display: inline-block;
	vertical-align: top;
}

.ventanaChat > .ventanaChatMensajes ul > li > img
{
	background-color: #ffffff;
	border: 1px solid #999999;
	border-radius: 30px;
	height: 22px;
	margin: 5px;
	margin-top: 0px;
	width: 22px;
}

.ventanaChat > .ventanaChatMensajes ul > li > div
{
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
	font-size: 12px;
	margin-bottom: 2px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 4px;
	max-width: 155px;
	padding: 5px;
	text-align: left;
	word-wrap: break-word;
}

.ventanaChat > .ventanaChatMensajes ul > li > div .enlaceUrlChat:hover
{
	text-decoration: underline;
}

.ventanaChat > .ventanaChatMensajes ul > li > div img:not(.notStyle)
{
	height: 25px;
	width: 25px;
}

.ventanaChat > .ventanaChatMensajes ul > li > div a
{
	color: #59A4E4;
	text-decoration: none;
}

.ventanaChat > .ventanaChatMensajes ul > li > div a:hover
{
	text-decoration: underline;
}

.ventanaChat > .ventanaChatTitulo
{
	background-color: #ffffff;
	border-bottom: 1px solid #999999;
	border-radius: 4px 4px 0px 0px;
	cursor: pointer;
	display: table;
	font-weight: bold;
	height: 40px;
	left: 0px;
	position: absolute;
	right: 0px;
	text-align: center;
	top: 0px;
	width: 100%;
	z-index: 1000;
}

.ventanaChat > .ventanaChatTitulo > div
{
	color: #000000;
	display: table-cell;
	vertical-align: middle;
}

.ventanaChat > .ventanaChatTitulo > .divCerrar
{
	color: #000000;
	display: inline-table;
	font-size: 14px;
	height: 15px;
	position: absolute;
	right: 0px;
	text-shadow: none;
	top: 0px;
	width: 15px;
}

.ventanaChat > .ventanaChatTitulo > .divCerrar > span
{
	display: table-cell;
	vertical-align: middle;
}

.ventanaChat > .ventanaChatTitulo > .divCerrar:hover > span
{
	text-decoration: line-through;
}

.ventanaChat > .ventanaChatTitulo > .divEstado
{
	border-radius: 10px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
	height: 10px;
	left: 10px;
	position: absolute;
	top: 15px;
	width: 10px;
}

.ventanaChat > .ventanaChatTitulo .divEstadoEscritura
{
	animation: jumpTempChat 2s linear infinite;
	bottom: 2px;
	color: #000000;
	display: none;
	font-size: 11px;
	position: absolute;
	right: 2px;
}

.ventanaChat > .ventanaChatTitulo .divEstadoLectura
{
	bottom: 2px;
	color: #000000;
	display: inline-block;
	font-size: 11px;
	position: absolute;
	right: 2px;
}

#pestaniaChat
{
	background-color: #ffffff;
	border: 1px solid #999999;
	bottom: 0px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	color: #000000;
	font-size: 22px;
	height: 30px;
	overflow: hidden;
	position: fixed;
	text-align: center;
	user-select: none;
	width: 50px;
	z-index: 21000;
}

#pestaniaChat:hover
{
	height: 200px;
	width: 120px;
	transform: translateX(70px);
}

#pestaniaChat:hover > span
{
	display: none;
}

#pestaniaChat:hover > #pestaniaChatContenedor
{
	overflow-y: scroll;
	top: 0px;
}

#pestaniaChat > #pestaniaChatContenedor
{
	background-color: #ffffff;
	height: 100%;
	left: 0px;
	position: absolute;
	top: 100%;
	width: 100%;
}

#pestaniaChat > #pestaniaChatContenedor > div
{
	border-bottom: 1px solid #eeeeee;
	cursor: pointer;
	min-height: 30px;
	text-align: left;
	width: 100%;
}

#pestaniaChat > #pestaniaChatContenedor > div:hover
{
	background-color: #eeeeee;
}

#pestaniaChat > #pestaniaChatContenedor > div > span
{
	color: #000000;
	font-size: 11px;
	padding: 2px;
	text-transform: lowercase;
	width: 100%;
}

/*Down is section view*/

.buttonVerImgChat
{
	background-color: #D45D5D;
	border: none;
	border-radius: 2px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);
	color: #ffffff;
	display: inline-block;
	font-size: 17px;
	margin: 2px;
	padding: 7px;
	padding-left: 15px;
	padding-right: 15px;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	vertical-align: middle;
}

.buttonVerImgChat:hover
{
	background-color: #6195ce;
	color: white;
	cursor: pointer;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

.buttonVerImgChat:focus
{
	outline: none;
}

@keyframes rotatingTempChat
{
	from
	{
		transform: rotateY(0deg);
	}
	to
	{
		transform: rotateY(360deg);
	}
}

@keyframes reconnectTempChat
{
	0%
	{
		opacity: 1;
	}
	50%
	{
		opacity: 0.2;
	}
	100%
	{
		opacity: 1;
	}
}

.girarTempChat
{
	animation: rotatingTempChat 2s linear infinite;
}

.opacityTempChat
{
	animation: reconnectTempChat 1s linear infinite;
}