.chat {
	display: none;
	position: fixed;
	overflow: hidden;
	bottom: 0;
	right: 1%;
	width: 98%;
	max-width: 360px;
	height: 56px;
	background-color: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 0 128px 0 rgba(0,0,0,0.1), 0 32px 64px -48px rgba(0,0,0,0.5);
	z-index: 4;
}
.chat.aberto {
	height: auto;
}
.div-flutuante {
	padding: 0em;
	margin: -2em 0 10em 20em;
	position: absolute;
}
.div-flutuante-mensagem {
	padding: 0em;
	position: absolute;
	margin: -2em 0 10em 375px; 
	color: #a0020f;
	font-size: 18px;
}
.chat-area .header {
	display: flex;
	align-items: center;
	padding: 6px 10px;
	background-image: url(../imagens/seta-cima-a.png);
	background-repeat: no-repeat;
	background-position: 94% 50%;
	cursor: pointer;
}
.chat-area .header.aberto {
	background-image: url(../imagens/seta-baixo.png);
}
.chat-area .header .back-icon {
	color: #333;
	font-size: 18px;
}
.chat-area .header .details span {
	font-size: 17px;
	font-weight: 500;
}
.chat-box {
	position: relative;
	min-height: 400px;
	max-height: 400px;
	overflow-y: auto;
	padding: 10px 20px;
	background: #f7f7f7;
	box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%), inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chat-box .text {
	position: absolute;
	top: 45%;
	left: 50%;
	width: calc(100% - 50px);
	text-align: center;
	transform: translate(-50%, -50%);
}
.chat-box .chat-msg {
	margin: 0 0 6px 0;
}
.chat-box .chat-msg img {
	object-fit: cover;
	width: 35px;
	height: 35px;
	border-radius: 50%;
}
.chat-box .chat-msg p {
	word-wrap: break-word;
	padding: 3px 14px 4px 14px;
	box-shadow: 0 0 32px rgb(0 0 0 / 8%), 0rem 16px 16px -16px rgb(0 0 0 / 10%);
}
.chat-box .outgoing {
	display: flex;
}
.chat-box .outgoing .details {
	margin-left: auto;
	max-width: calc(100% - 10px);
}
.outgoing .details p {
	background: #d7f7c0;
	color: #404040;
	border-radius: 12px 12px 0 12px;
}
.chat-box .incoming {
	display: flex;
	align-items: flex-end;
}
.chat-box .incoming .img img {
	height: 35px;
	width: 35px;
}
.chat-box .incoming .details {
	margin-right: auto;
	margin-left: 10px;
	max-width: calc(100% - 10px);
}
.incoming .details p {
	background: white;
	color: #404040;
	border-radius: 12px 12px 12px 0;
}
.typing-area {
	padding: 10px;
	display: flex;
	justify-content: space-between;
}
.typing-area input {
	width: calc(100% - 48px);
	margin: 0;
	font-size: 16px;
	padding: 8px 13px;
	border: 1px solid #e6e6e6;
	outline: none;
	border-radius: 5px;
}
.typing-area button {
	width: 40px;
	height: 40px;
	border: none;
	outline: none;
	background-color: #35631a;
	cursor: pointer;
	pointer-events: none;
	border-radius: 50%;
	transition: all 0.3s ease;
}
.typing-area button:hover, .typing-area button.active {
	background-color: #6eab3b;
	pointer-events: auto;
}
.login .caixa .botao.fora:hover {
	background-color: #6eab3b;
}
@media screen and (max-width: 450px) {
	.chat-area .header {padding: 15px 20px;}
	.chat-box {min-height: 400px; padding: 10px 15px;}
	.chat-box .chat-msg p {font-size: 15px;}
	.chat-box .outogoing .details {max-width: 230px;}
	.chat-box .incoming .details {max-width: 265px;}
	.incoming .details img {height: 30px; width: 30px;}
}
