/* ==============================
CSS CHAT
============================== */
#chat_webinar{display:none;}
.chat {
	background: #ffffff;
	color: #373E4C;
	font-family: 'Roboto','Open Sans', sans-serif;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: all 0.3s;
	transform: translateX(0);
	width: 100%;
	z-index: 90;
}

.chat .chat-dialog {
	height: 100%;
	opacity: 1;
	transition: all 0.2s;
	width: 100%;
}

/*Contracted*/

.chat.contracted {
	width: 60px;
}

.chat .chat-btn-expand {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.chat .chat-btn-expand .btn {
	align-items: center;
	background: #ffffff;
	border-radius: 50%;
	color: #373E4C;
	display: flex;
	font-size: 11px;
	font-weight: 600;
	height: 50px;
	justify-content: center;
	opacity: 0.3;
	transition: all 0.3s;
	width: 50px;
}

.chat .chat-btn-expand:hover .btn {
	background: #EBECEE;
	opacity: 0.75;
}

.chat .chat-btn-expand .btn:hover {
	opacity: 1;
}

/*Disable*/
.chat.disable {
	align-items: center;
	display: flex;
	justify-content: center;
}

.chat.disable .chat-msg-disable {
	align-items: center;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}

.chat.disable .chat-msg-disable .icone {
	align-items: center;
	background: #F5F5F6;
	border-radius: 50%;
	display: flex;
	height: 140px;
	justify-content: center;
	width: 140px;
}

.chat.disable .chat-msg-disable h2 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 7px;
}

.chat.disable .chat-msg-disable p {
	font-size: 14px;
	font-weight: 600;
}

.chat.disable .chat-msg-disable .btn {
	background: #373E4C;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
	color: #ffffff;
	font-weight: 700;
	margin-top: 16px;
}

/*CHAT-CONTENT*/

.chat .chat-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: flex-start;
	width: 100%;
	opacity: 1;
	position: absolute;
	transition: all 1.3s;
}

.chat.contracted .chat-content {
	opacity: 0;
	position: absolute;
}

/*CHAT-HEADER*/
.chat .chat-header {
	border-radius: 0px 10px 0px 0px;
	box-shadow: 0px 5px 10px rgba(55, 62, 76, 0.1);
	display: flex;
	justify-content: space-between;
	padding: 11px 18px 11px 15px;
	width: 100%;
}

.chat .chat-header h2 {
	font-size: 15px;
	font-weight: 700;
}

/*CHAT-BODY*/
.chat .chat-body {
	display: flex;
	flex-direction: column-reverse;
	flex-grow: 1;
	overflow-y: auto;
	padding: 15px 5px 15px 5px;
}

.chat .chat-messages {
	width: 100%;

}

.chat .chat-msg {
	align-items: center;
	background: #ffffff;
	display: flex;
	justify-content: space-between;
	padding: 3px 0 3px 10px;
	transition: all 0.3s;
}

.chat .chat-msg:hover {
	background: #f1f1f1;
}

.chat .chat-msg.deleted .user-message {
	font-style: italic;
	opacity: 0.7;
}

.chat .chat-msg.deleted .options {
	display: none;
}

.chat .chat-msg.admin-msg {
	background: #EBECEE;
	border-radius: 10px;
	margin: 5px 0;
	padding: 10px;
	font-weight: 600;
}

.chat .chat-msg.admin-msg .user-name {
	opacity: 1;
	font-weight: 700;
}

.chat .chat-msg-content {
	font-size: 12px;
	line-height: 1.3
}

.chat .chat-msg-content .user-name {
	font-weight: 600;
	opacity: 1;
	color: #000;
}

.chat .chat-msg-content .user-time {
	font-size: 10px;
	opacity: 0.5;
}

/*Chat Options*/

.chat .options {
	cursor: pointer;
	opacity: 0;
	padding: 2px 10px;
	position: relative;
}

.chat .chat-header .options {
	opacity: 1;
}

.chat .chat-header .option {
	white-space: nowrap;
	font-weight: 600 !important;
}

.chat .chat-msg:hover .options {
	opacity: 1
}

.chat .chat-msg:hover .options>svg {
	opacity: 0.5;
}

.chat .chat-msg .options:hover {
	opacity: 1
}

.chat .chat-msg .options:hover>svg {
	opacity: 1
}

.chat .chat-msg.fixed{
	position: absolute;
	top: 42px;
    left: 0px;
    width: calc(100% - 15px);
	background-color: #545656 !important;
	color: #FFF;
}

.chat .options .list-options {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
	display: none;
	flex-direction: column;
	padding: 5px;
	position: absolute;
	right: 5px;
	opacity: 0;
	transition: all 0.3s;
	z-index: 100;
}

.chat .options:hover .list-options {
	display: flex;
	opacity: 1;
}

.chat .chat-msg:last-child .options .list-options {
	bottom: 100%;
}

.chat .options .list-options li {
	align-items: center;
	display: flex;
	color: #737882;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	padding: 2px;
	width:max-content!important;
	height:max-content!important;
}

.chat .options .list-options li:hover {
	background: #f1f1f1;
	border-radius: 7px;
}

.chat .chat-msg .options .list-options li svg {
	margin-right: 7px;
}


.chat .chat-msg .options .list-options .option {
	display: none;
}

.chat .chat-msg.my-msg .options .list-options .apagar-msg {
	display: flex;
}

.chat .chat-msg:not(.my-msg) .options .list-options .denunciar-msg {
	display: flex;
}

/*CHAT-FOOTER*/
.chat .chat-footer {

	border-radius: 0px 0px 10px 0px;
	box-shadow: 0px -5px 10px rgba(55, 62, 76, 0.1);
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 10px;
}

.chat .chat-footer .form--group {
	align-items: center;
	background: #EBECEE;
	border-radius: 10px;
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
}

.chat .chat-footer .chat-btn-emoji {
	margin-right: 10px;
}

.chat .chat-footer .form--control {
	flex-grow: 1;
	font-size: 13px;
	height: 40px;
	padding: 12px;
	line-height: 1.3;
}

.chat .chat-footer .form--control,
.chat .chat-footer .form--control:focus {
	background: transparent !important;
	border: none;
	outline: none;
	overflow: auto;
	resize: none;
}

.chat .chat-footer .btn-send {
	align-items: center;
	background: #EBECEE;
	border-radius: 50px;
	display: flex;
	height: 40px;
	margin-left: 10px;
}

.chat .chat-footer .btn-send:focus {
	outline: none;
}

/*Dark Theme*/
.chat.darkTheme,
.chat.darkTheme .chat-msg {
	background: #333646;
	color: #EBEBEC;
}

.chat.darkTheme .chat-header,
.chat.darkTheme .chat-footer,
.chat.darkTheme .chat-msg:hover {
	background: #252734;
}

.chat.darkTheme .chat-msg.admin-msg,
.chat.darkTheme .chat-footer .form--group,
.chat.darkTheme .chat-footer .btn-send,
.chat.darkTheme .chat-btn-expand .btn,
.chat.darkTheme.disable .chat-msg-disable .icone {
	background: #424657;
	color: #ebecee;
}

.chat.darkTheme .chat-footer .btn-send svg {
	fill: #EBEBEC
}

.chat.darkTheme.disable .chat-msg-disable .btn {
	background: #EBEBEC;
	color: #333646
}

.chat.darkTheme .icon-smile-1 {
	display: none;
}

.chat.darkTheme .icon-smile-2 {
	display: flex;
}

/*Visibilidade*/

.chat .chat-btn-expand {
	display: none;
}

.chat .chat-content {
	display: flex;
}

.chat .chat-msg-disable {
	display: none;
	width: 100%;
    text-align: center;
}

.chat.contracted .chat-btn-expand {
	display: flex;
}

.chat.disable .chat-content {
	display: none;
}

.chat.disable .chat-msg-disable {
	display: flex
}

.chat.closed {
	transform: translateX(-100%);
	opacity: 1;
	width: 0;
}

.chat.closed .chat-dialog {
	opacity: 0;
}

.chat .icon-smile-1 {
	display: flex
}

.chat .icon-smile-2 {
	display: none;
}

.chat.dark .icon-smile-1 {
	display: none
}

.chat.dark .icon-smile-2 {
	display: flex;
}


/*MODAL DENUNCIAR - CHAT*/

#modalDenunciar .modal-content {
	padding: 40px 20px;
}

#modalDenunciar .modal-body {
	align-items: center;
	display: flex;
	justify-content: center;
}

#modalDenunciar .modal-body .denuncia-mensagem {
	color: #333646;
	flex-grow: 1;
	margin-right: 32px;
}

#modalDenunciar .modal-body .denuncia-mensagem h2 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 20px;
}

#modalDenunciar .modal-body .denuncia-mensagem p {
	font-size: 13px;
	margin-bottom: 20px;
}

#modalDenunciar .modal-body .denuncia-ilustracao {
	background: #F1F1F6;
	border-radius: 50%;
	height: 170px;
	max-width: 170px;
	overflow: hidden;
	width: 100%;

}

#modalDenunciar .modal-body .denuncia-ilustracao svg {
	width: 170px;
	height: 170px;
}

#modalDenunciar .modal-footer {
	display: flex;
	justify-content: space-between;
}

#modalDenunciar .modal-footer .btn {
	border: none;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
	padding: 12px 24px;
}

#modalDenunciar .modal-footer .btn-primary {
	background: #1ABCFE;
	color: #ffffff;
}

#modalDenunciar .modal-footer .btn-default {
	background: #F1F1F6;
	color: #333646;
}


/*MODAL DENUNCIAR Confirmado - CHAT*/
#modalDenunciarConfirmado .modal-content {
	padding: 40px 20px;
	max-width: 450px;
	margin: auto;
}

#modalDenunciarConfirmado .modal-body {
	align-items: center;
	display: flex;
	color: #333646;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

#modalDenunciarConfirmado .modal-body h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 20px 0;
}

#modalDenunciarConfirmado .modal-body p {
	font-size: 14px;
}

#modalDenunciarConfirmado .modal-footer {
	display: flex;
	justify-content: center;
}

#modalDenunciarConfirmado .modal-footer .btn-primary {
	background: #1ABCFE;
	border: none;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	padding: 12px 24px;
}

/* ==========EMOJI========== */
.emojionearea .emojionearea-button.active+.emojionearea-picker-position-top {
	margin-top: -150px!important;
    left: 0!important;
    width: 100%!important;
}

.emojionearea .emojionearea-picker .emojionearea-wrapper {
	position: relative;
    height: 140px!important;
    width: 100%!important;
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area {
	height:100px!important;
}

.emojionearea .emojionearea-picker .emojionearea-filters {
	height: 40px!important;
}

.emojionearea .emojionearea-picker {height:140px!important;}
.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter {
	height: 34px!important;
	width: 26px!important;
}
.emojionearea .emojionearea-editor {
 min-height: 3em!important;
 transition: all 0.3s;
}

.emojionearea .emojionearea-editor:focus {
	min-height: 8em!important;
}

.user-message img.emoji {width:20px; vertical-align:middle;}

/* ==========RESPONSIVO========== */

@media screen and (max-width: 490px) {

	/*Chat*/
	.chat {
		width: 100%;
		border-radius: 0;
	}

	.chat .chat-content {
		width: 100% !important;
	}

	.chat.closed {
		height: 0;
	}

	/*Modal*/
	#modalDenunciar .modal-body {
		flex-direction: column-reverse;
	}

	#modalDenunciar .modal-body .denuncia-mensagem {
		margin: 0;
	}

	#modalDenunciar .modal-body .denuncia-mensagem h2 {
		margin-top: 20px;
	}

	#modalDenunciar .modal-footer {
		flex-direction: column;
	}

	#modalDenunciar .modal-footer :last-child {
		margin-top: 20px;
	}
}

@media screen and (max-height: 490px) and (orientation: landscape) {
	.chat {
		display: none;
	}
}

/* ==========/CHAT========== */