﻿
/* SECTION - CONTATO */
.section.contato {
	position: relative;
	background: url(../img/bkg1_991.webp) top center no-repeat;
	background-size: cover;
}

.section.contato .scroll-container {
	border: none;
	margin: 10px 0px 10px 0px;
	max-height: 400px;
	overflow-y: scroll;
	padding-right: 10px;
}

.section.contato .conversa-stage {
	display: flex;
}

.section.contato .lista-conversas {
	margin: 10px;
	width: 300px;
	background-color: rgba(255,255,255,0.2);
	padding: 20px;
	border-radius: 8px;
	min-height: 300px;
	max-height: 500px;
	overflow: auto;
}

	.section.contato .lista-conversas > div {
		padding: 10px 20px;
		padding-top: 20px;
		background-color: white;
		margin-bottom: 10px;
		color: var(--c-blue1);
		border-radius: 10px;
		box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
		cursor: pointer;
		opacity: 0.9;
	}

		.section.contato .lista-conversas > div.conversa-placeholder {
			border-radius: 0;
			padding-bottom: 20px;
			background-color: rgba(255,255,255,0.3);
		}

		.section.contato .lista-conversas > div:hover {
			opacity: 1;
		}

	.section.contato .lista-conversas .conversa-data {
		float: right;
		color: #888;
		font-size: 10pt;
	}

	.section.contato .lista-conversas .conversa-assunto {
		font-weight: 900;
	}

	.section.contato .lista-conversas .conversa-mensagem {
		font-size: 12pt;
		margin: 15px 0;
	}

	.section.contato .lista-conversas .conversa-status {
		display: inline-block;
		font-size: 12pt;
		padding: 10px 20px;
		background-color: #f0f0f0;
	}

.section.contato .conversa-detalhe {
	position: relative;
	margin: 10px;
	flex: 1;
	background-color: rgba(255,255,255,0.2);
	padding: 20px;
	border-radius: 8px;
	min-height: 300px;
	max-height: 500px;
	display: flex;
	flex-direction: column;
}

	.section.contato .conversa-detalhe .top {
		display: flex;
		align-items: center;
		text-align: left;
		font-size: 16pt;
		margin-bottom: 10px;
	}

		.section.contato .conversa-detalhe .top > div:nth-child(1) {
			flex: 1;
		}

	.section.contato .conversa-detalhe .chat {
		flex: 1;
		background: rgba(255,255,255,0.8);
		color: var(--c-blue1);
		padding: 20px;
		overflow: auto;
	}

		.section.contato .conversa-detalhe .chat .chat-data {
			display: flex;
			margin-bottom: 20px;
		}

		.section.contato .conversa-detalhe .chat .chat-status {
			width: 30%;
			margin: 0 auto;
			padding: 10px;
			background-color: #f0f0f0;
		}

		.section.contato .conversa-detalhe .chat .chat-data:before,
		.section.contato .conversa-detalhe .chat .chat-data:after {
			content: "";
			flex: 1;
			border-bottom: 1px solid var(--c-blue1);
			position: relative;
			top: -8px;
		}

		.section.contato .conversa-detalhe .chat .chat-data span {
			margin: 0 20px;
		}

		.section.contato .conversa-detalhe .chat .chat-enviado {
			width: 55%;
			background-color: #ffc38e;
			box-shadow: 0 0 5px rgba(0,0,0,0.1);
			border-radius: 15px;
			padding: 15px;
			text-align: left;
			margin-bottom: 20px;
			margin-left: auto;
		}

		.section.contato .conversa-detalhe .chat .chat-recebido {
			width: 55%;
			background-color: white;
			box-shadow: 0 0 5px rgba(0,0,0,0.1);
			border-radius: 15px;
			padding: 15px;
			text-align: left;
			margin-bottom: 20px;
		}

		.section.contato .conversa-detalhe .chat p {
			font-size: 12pt;
		}

			.section.contato .conversa-detalhe .chat p + span {
				display: block;
				text-align: right;
			}

	.section.contato .conversa-detalhe .bottom form {
		display: flex;
		align-items: center;
	}

	.section.contato .conversa-detalhe .bottom textarea {
		font-size: 12pt;
	}

	.section.contato .conversa-detalhe .bottom form > div:first-child {
		flex: 1;
	}

	.section.contato .conversa-detalhe .bottom .fa {
		font-size: 20pt;
		margin: 0 10px;
	}

	.section.contato .conversa-detalhe:not(.carregado) > * {
		display: none;
	}

	.section.contato .conversa-detalhe:not(.carregando):not(.carregado):before {
		content: "Selecione uma conversa";
		font-size: 12pt;
		height: 30px;
		width: 100%;
		line-height: 30px;
		position: absolute;
		top: calc(50% - 15px);
		left: 0;
		text-align: center;
	}

	.section.contato .conversa-detalhe.carregando:before {
		content: "Carregando...";
	}


#btnChamadosAbertos {
	display: none;
	color: white !important;
	text-decoration: none !important;
}