:root {

	--cinza-frio: #BDCCD4;
	--cinza-titulos: #658698;
	--labels: #486473;

	--cor-principal: #1A71A6;
	/* gercon (azul): #1A71A6 | gerint (verde): #268E93 | gerpac (vinho): #903f61 | dis (verde claro): #3A9FA9 */
	--success: #8FAD70;
	/* folha */
	--info: #7dc3d0;
	/* azul claro */
	--warning: #f0ad4e;
	/* amarelo */
	--danger: #d9534f;
	/* vermelho */

	--ciano: #279cb1;
	/* regulador */
	--ocre: #d48d4e;
	/* solicitante */
	--lilas: #7c78b2;
	/* executante */
	--coral: #e3594a;
	/* admin */
	--cinza-azulado: #8c98a7;
	/* rotina */
}

body {
	cursor: auto !important;
	padding-right: 0px !important;
	margin-right: 0px !important;
	overflow: break-word;
}

* {
	transition: width ease 0.5s;
	font-family: Source Sans Pro, sans-serif;
	box-sizing: border-box;
}


.justo-esquerda {
	padding-left: 0px !important;
}

.justo-direita {
	padding-right: 0px !important;
}

.alinha-esquerda {
	float: left;
}

.alinha-direita {
	float: right;
}

.alinha-centro {
	margin-left: auto;
	margin-right: auto;
}

.linha {
	float: left;
	height: 20px;
	width: 100%;
	margin-left: -10px;
	margin-top: -5px;
	border-bottom: 1px solid black;
	padding-left: 20px;
	padding-right: 20px;
}

.seta {
	float: left;
	width: 0px;
	height: 0px;
	margin-top: 10px;
	border: 5px solid transparent;
}

.seta.esquerda {
	border-right-color: black;
}

.seta.direita {
	border-left-color: black;
}

.tooltip-inner {
	white-space: pre;
	/* you can also try white-space: normal; */
	max-width: none;
}

.scrollable-dropdown-menu .dropdown-menu {
	max-height: 290px;
	overflow-y: auto;
	top: 82px !important;
}

.scrollable-dropdown-menu .dropdown-menu-right .dropdown-menu {
	left: auto !important;
	right: 0 !important;
}

.search-numbers {
	position: absolute;
	z-index: 10;
	top: 56px;
	white-space: nowrap;
}

.GERCON::before {
	background-color: #297b98;
	content: "GERCON"
}

.AGHOS::before {
	background-color: #47b769;
	content: "AGHOS"
}

.SMC::before {
	background-color: #f5871f;
	content: "SMC"
}

.tag-sup {
	float: right;
	height: 12px;
	width: 12px;
	font-size: 11px;
	margin-left: -12px;
}

.tag-sub {
	float: right;
	height: 12px;
	width: 12px;
	font-size: 11px;
	margin-top: 11px;
	margin-left: 3px;
}


.grossa {
	display: none;
	border: 3px solid #eee;
	margin: 3em 0 1em;

}

.ultima-vista {
	border-bottom: solid 3px #D76E0A;
}


.colunas {
	column-count: 2;
}

.colunas4 {
	column-count: 4;
}


@media (min-width: 1400px) {
	.colunas4 {
		column-count: 3;
	}
}

.colunas4 p {
	break-inside: avoid;
	margin-top: 0;
	margin-bottom: 1em;
}

.nowrap {
	white-space: nowrap;
}

.esquerda .btn-link {
	padding: 0;
}

.sem-padding-esquerda {
	padding-left: 0;
}


/* paineis */

.painel {
	display: flex;
	align-items: stretch;
	margin-top: 2em;
	border: 0 solid transparent;
	border-bottom: 2px solid #BDCCD4;
	flex-wrap: wrap;
}

.direita .painel {
	margin-top: 0;
}


.painel .aba {
	flex: 1;
	margin-right: .4em;
	margin-bottom: .4em;
}

.painel .aba a:last-child {
	margin-right: 0;
}

.painel .aba a {
	padding: 1.1em 1.3em 1em 1em;
	display: flex;
	height: 100%;
	background: #dedede;
	border-left: 0 solid #fff;
	border-top: 2px solid #BDCCD4;
	border-right: 2px solid #BDCCD4;
	border-bottom: 0 solid #fff;
	margin: 0 0 0 7px;
	flex-wrap: nowrap;
}

.painel > .aba.active {
	margin-bottom: -2px;
	font-weight: bold;
}

.painel .texto {
	flex: 3;
	font-size: 1.1em;
	color: #658698;
	letter-spacing: 0.5px;
	line-height: 1 !important;
	text-transform: uppercase;
}

.painel .infosecundaria {
	font-size: .7em;
	/*	line-height: .8em;*/
}

.painel .infosecundaria p {
	margin-bottom: .5em;
}

.painel .texto > .infosecundaria {
	margin-top: 0;
}


.painel .numero {
	text-align: right;
	flex: 1;
	font-size: 2.2em;
	letter-spacing: -1px;
	line-height: 0.7;
}

.folha .numero {
	color: var(--success);
}

.ciano .numero,
conversas .regulador a {
	color: var(--ciano);
}

.lilas .numero,
.conversas .executante a {
	color: var(--lilas);
}

.cinza .numero {
	color: var(--cinza-azulado);
}

.ocre .numero,
.conversas .solicitante a {
	color: var(--ocre);
}

.coral .numero {
	color: var(--coral);
}


.grupoExames {
	font-size: 19px !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-top: 25px !important;
	margin-bottom: 10px !important;
}

@media (max-width: 1024px) {

	.painel .aba.active {
		margin-bottom: 8px;
	}

	.painel .texto {
		font-size: 16px;
	}

	.painel .numero {
		font-size: 36px;
	}

}

@media (max-width: 500) {
	.painel .aba {
		flex: 1 auto;
		margin-right: 0;
	}

}

/* histórico */

.itemhistorico {
	font-size: 16px;
	font-weight: 600;
	color: #658698 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.3px
}

.titulo-itemhistorico {
	font-weight: 600;
	color: #658698 !important;
	font-size: 22.5px;
	margin-bottom: 25.2px;
	margin-top: 30px;
}


/* versões */

.versoes {
	display: flex;
}

.versoes h1 {
	margin-top: 0;
}

.versoes h3 {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 900;
	font-size: 0.9em;
	margin-bottom: 1em;
}

.versoes h2:first-child {
	margin-top: 0;
}

.versoes h4 {
	margin-bottom: 0;
}

h3 .situacao {
	font-size: .7em;
}

.perfis {
	color: #777;
	font-size: .9em;
	line-height: 1em;
}

.novidades {
	list-style: none;
	margin: 0;
	padding: 0;
}

.novidades li {
	padding-bottom: 1em;
}

.novidades span {
	font-size: 1.4em;
	line-height: 1.2em;
}

.novidades .funcionalidade:before {
	content: '\f005';
	font-family: 'FontAwesome';
	color: #aaa;
	margin-left: -1.4em;
	padding-right: .2em;
}

.novidades .melhoria:before {
	content: '\f0e4';
	font-family: 'FontAwesome';
	color: #aaa;
	margin-left: -1.4em;
	padding-right: .2em;
}

.novidades .correcoes:before {
	content: '\f188';
	font-family: 'FontAwesome';
	color: #aaa;
	margin-left: -1.4em;
	padding-right: .2em;
}

.linha_selec {
	background-color: #cef;
}

.linha_selec:hover {
	background-color: #bdf !important;
}

/* destaque campos procedimento */

.muda {
	animation: mudaCor 0.7s;
}

@keyframes mudaCor {
	0% {
		border-color: #efefef;
	}

	25% {
		border-color: #d4e6ec;
	}

	50% {
		border-color: #d4e6ec;
	}

	75% {
		border-color: #d4e6ec;
	}

	100% {
		border-color: #efefef;
	}

	0% {
		background-color: #efefef;
	}

	25% {
		background-color: #d4e6ec;
	}

	50% {
		background-color: #d4e6ec;
	}

	75% {
		background-color: #d4e6ec;
	}

	100% {
		background-color: #efefef;
	}
}

/* flex */

.flex {
	display: flex;
	flex-wrap: wrap;
}

.flex1 {
	flex: 1;
	margin-right: 1em;
}

.flex1:last-child {
	margin-right: 0;
}

.grid > div {
	margin-top: 0
}

.flex > div {
	margin-right: 2em;
}

.flex > div:last-child {
	margin-right: 0;
}

.flex .esquerda {
	flex: 0 0 25em;
	padding-right: 0;
}

.direita {
	flex: 1;
}

.dados {
	margin-top: .25em;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: .2em .5em;
}

.legenda {
	color: #777;
}


.input-com-botao {
	display: flex;
}

.input-com-botao *:first-child {
	flex: 1;
}

.input-com-botao .btn,
.input-com-botao .botao {
	margin-top: 1.7em;
	width: auto;
	align-self: start;
	margin-left: 1em;
}


.input-com-botao .input-number {
	margin-top: 1.7em;
	margin-left: .6em;
	align-self: start;
}

.lista.flex {
	align-items: center;
	border-bottom: 1px solid #ddd;

}

.lista.flex .form-control {
	margin: 0.5em;
	width: auto;
	display: inline;
}

.lista.flex input[number] {
	width: 3em;
}

.flex > .blocosolicitacao {
	flex: 1;
	margin-right: 2em;
}


/* coisas que vêm do prontuario - transferir para complexoregulador.less */

.quadro {
	border: 2px solid var(--cinza-titulos);
	padding: 10px 30px 20px;
	margin: 0 2em 2em 0;
}

.quadro .cabecalho {
	background-color: var(--cinza-titulos);
	color: white;
	margin: -10px -30px 10px;
	padding: 10px 20px;
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 800;

}



/* situações - transferir para complexoregulador.less */


.label.situacao {
	text-transform: lowercase;
}

.espontanea,
.retorno,
.primeira,
.interconsulta,
.salvo {
	background-color: #dedede;
	color: #888;
}



/* cores gerint - transferir para complexoregulador.less */


.conversas .estabelecimento {
	flex: 3;
}

.conversas a {
	padding: 12px !important;
}

.conversas .label {
	font-size: 80%;
}

.iconeduashoras {
	color: var(--coral);
}

.iconeseishoras {
	color: #e6a62c;
}

.iconeatualizada {
	color: var(--success);
}

.iconepropria {
	color: #f5871f;
}

.encaminhado {
	color: #787878;
}

.imediata,
.respondida {
	color: var(--success);
}

.rejeitado,
.pendencia {
	color: #e82f2f;
}

.aceito,
.reavaliacao {
	color: var(--ciano);
}

.transferencia {
	color: #6862bc;
}

/* tipografia */

.negrito {
	font-weight: bold !important;
}


h8 {
	color: #777;
	display: block;
}

.timeline-title,
.timeline-title + .solicitacao-status-cores {
	display: inline-flex;
	margin: 0 0 1em;
	vertical-align: middle;
	margin-right: .8em;
}

.solicitacao-status-cores + .timeline-title {
	background-color: royalblue !important;
}

.corMutirao {
	background-color: #562B00;
}

.corOci {
	background-color: #0080ff;
}

.corMutiraoConsultas {
	background-color: #cc4388;
}

