:root {

	--cinza-frio: #BDCCD4;
	--cinza-titulos: #658698;
	--labels: #486473;
	--background-detalhes: #F6F6F6;

	--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: #FF6F61;
	/* 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 !important:;
}


.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;
}
/*

.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;
	flex-wrap: nowrap;
}

.painel .aba: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: wrap;
}

.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;
}

.painel .infosecundaria p {
	margin-bottom: .5em;
}


.painel .numero {
	text-align: right;
	flex: 1;
	font-size: 2.2em;
	letter-spacing: -1px;
	line-height: 0.7;
}

.folha .numero {
	color: #8FAD70;
}

.ciano .numero,
conversas .regulador a {
	color: #279CB1;
}

.lilas .numero,
.conversas .executante a {
	color: #7C78B2;
}

.cinza .numero {
	color: #8C98A7;
}

.ocre .numero,
.conversas .solicitante a {
	color: #D48D4E;
}

.coral .numero {
	color: #e3594a;
}


.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;
	}

}
*/

.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;
}

.ultima-vista {
	border-bottom: solid 3px #D76E0A;
}

.versoes {
	display: flex;
}

/*
.esquerda {
	min-width: 16em;

}
*/


.colunas {
	column-count: 2;
}

.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;
}

.notification-pointer::after {
	content: "";
	position: absolute;
	display: block;
	border: #EC4527 0.4rem solid;
	border-radius: 1rem;
	height: 0rem;
	width: 0rem;
	margin-top: -1.03em;
	margin-left: 0.6em;
}

.fa-fw.notification-pointer::after {
	margin-left: 0.8em;
}

.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 {
	display: flex;
	flex-wrap: wrap;
}

.flex1 {
	flex: 1;
/*	margin-right: 1em;*/
}
.flex1:last-child {
	margin-right: 0;
}

.flex0 {
	flex: 0;
}

.align-items-center {
	align-items: center;
}

.align-items-end {
	align-items: flex-end;
}

.grid > div {
	margin-top: 0
}

.esquerda {
	flex: 0 0 16em;
}

.direita {
	flex: 1;
}

.item-dados-antropometricos {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 35px;
}

.dados {
	margin-top: .25em;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: .2em .5em;
}

.nowrap {
	white-space: nowrap;
}

.legenda {
	color: #777;
}

.esquerda .btn-link {
	padding: 0;
}

.sem-padding-esquerda {
	padding-left: 0;
}

.label.situacao {
	text-transform: lowercase;
	color: white;
}

.espontanea,
.retorno,
.primeira,
.interconsulta,
.salvo {
	background-color: #dedede;
	color: #888;
}

/** coisas que vêm do prontuario **/

.quadro {
	border: 2px solid #658698;
	padding: 10px 30px 20px;
	margin: 0 2em 2em 0;
}

.quadro .cabecalho {
	background-color: #658698;
	color: white;
	margin: -10px -30px 10px;
	padding: 10px 20px;
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 800;
}

/* ETAPAS */

.etapas {
	margin: 2em 0;
	font-size: 19px;
	display: flex;
	justify-content: space-around;
	padding: 0;
}

.etapas {
	flex: 1;
	text-align: center;
/*	border: 1px solid lightblue;*/
}

.etapas > * {
/*	border: 1px solid lightgreen;*/
/*	width: 50%;*/
}

.etapas li:after {
/*	content:' ';*/
	width: 100%;
	height: 3px;
	background-color: #ccc;
	display: inline-block;
	position: relative;

}

.etapas a:hover {
	text-decoration: none;
}

.etapas i {
	display: block;
}

.etapas .atual {
	font-weight: bold;
}

.etapas .completo {
	color: var(--success);
}

.input-com-botao {
	display: flex;
}

.input-com-botao *:first-child {
	flex: 1;
}

.input-com-botao .btn {
	margin-top: 1.7em;
	width: auto;
	align-self: baseline;
	margin-left: 1em;
}

.input-com-botao > .form-group {
	flex: 1 auto;
	margin-right: 1em;
}

.modal-body .input-com-botao {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.modal-body .input-com-botao .btn {
	margin-top: 0;
	margin-left: 0;
}

.grossa {
	display: none;
	border: 3px solid #eee;
	margin: 3em 0 1em;
	
}

.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;
}
	
.corAzulLabel {
	color: #486473;
}

.bordaDuplaNotificacao {
	border-style: double;
	padding-top : 15px;
	padding-bottom : 15px;
	margin-left: 14px !important;
}

.fonteMaiorEBordaNotificacao {
	font-size : 18px;
	border-style: solid;
	padding-top : 15px;
	padding-bottom : 15px;
	margin-left: 14px !important;
}

.bordaAbaixoGrossa {
	border-bottom: 4px solid #bdccd4;
}

/* Calendário de disponibilidades - escalas */
.calendario-escalas .fc-event-container .fc-content {
	text-transform: uppercase;
	font-size: 10px;
	padding: 3px 6px;
	letter-spacing: 1px;
}

.calendario-escalas .fc-event-container .fc-content .fc-title .fc-titulo {
	font-weight: bold;
}

.calendario-escalas .fc-event-container .fc-content .fc-title .fc-subtitulo {
	font-size: 7px;
}

.calendario-escalas .fc-event-container .fc-content .fc-title .fc-badge {
	border-radius: 6px;
	background-color: #ffffff;
	text-transform: none;
	padding: 2px 3px;
	margin: 3px;
}

.calendario-escalas .fc-event-container .agendada, .calendario-escalas .fc-event-container .primeira {
	background-color: #d4ebef;
	border-left: 3px solid var(--ciano);
	color: var(--ciano);
}

.calendario-escalas .fc-event-container .retorno, .calendario-escalas .fc-event-container .programada {
	background-color: #e5e4f0;
	border-left: 3px solid var(--lilas);
	color: var(--lilas);
}

.calendario-escalas .fc-event-container .espontanea {
	background-color: #e6ebe0;
	border-left: 3px solid var(--success);
	color: var(--success);
}

.calendario-escalas .fc-event-container .domiciliar {
	background-color: #f6e8dc;
	border-left: 3px solid var(--ocre);
	color: var(--ocre);
}

.calendario-escalas .fc-content .fc-time {
	display: none;
}

.calendario-escalas .fc-event {
	border: 1px solid white;
}

.calendario-escalas.fc table {
	border: hidden;
}

.agenda-executante-cabecalho {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
	align-items: center;
}

.agenda-executante-cabecalho > *, .agenda-executante-cabecalho .form-group{
	margin: 0 !important;
	padding: 0 !important;
}

.agenda-executante-cabecalho .flex {
	align-items: center;
}

.agenda-executante-cabecalho .flex > * {
	margin-right: 5px;
}

.agenda-executante-titulo {
	font-size: 39px;
	flex: 1;
}

.flex-row-space-between {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	
}

.bold {
	font-weight: bold;
}

.sessao-paciente {
	
	margin: 9px 0 6px;
}

.sessao-radio {
	
	padding: 27px 0;
}

.--risco-risco-2-laranja {
	color:  #f5871e;
}

.sessao-erro {
	color: #9f1d05;
	display: block;
	padding: 27px 0 6px;
}

.modal-titulo-alerta {
	font-size: 22px;
 	font-weight: bold;
 	color: #9f1d05;
}

.modal-mensagem {
	font-size: 19.5px;
	font-weight: normal;
}

.retangulo-arvore {
  padding: 4px 9px 4px 7px;
  background-color: #486473;
  color: #ffffff;
  size: 15px;
   margin: 4px 0 0 0;
}

.retangulo-arvore-subretangulo {
  border: solid 1px;
  margin: 0 0 9px 0;
}

.avisoResize img {
  max-width: 100%;
  height: auto;
}

.radio label.bold {
    font-weight: bold;
}

.labelMamaDireitaEsquerda { 
	height: 60px; 
	text-align: center; 
	padding-top: 30px; 
}

.questionListDireitaEsquerda .row:hover { 
	background-color: #f5f5f5; 
}
	
.blocoMamaDireita { 
	border-right:1px solid #bbb; 
	margin-left:10px; 
	margin-right:-10px; 
}
	
.blocoMamaEsquerda { 
	margin-left:10px; 
	margin-right:-10px; 
}

.direita .inforesultado {
	margin-top: 30px;
	margin-bottom: 20px;
}

/* ajustes para a tabela de agendas da APS */
.agenda-tabela-aps {
	height: calc(100vh - 335px);
	overflow: auto;
}

.agenda-tabela-aps table thead {
	position: sticky;
	z-index: 4;
	top: 0;
	background-color: white;
    color: var(--labels);
}

.agenda-tabela-aps table thead tr.dados-profissional th.fixado-topo {
	z-index: 5;
	top: 33.56px;
}

.agenda-tabela-aps .fixado-esquerda {
	position: sticky;
	z-index: 3;
	left: 0;
	background-color: white;
    border: 0;
    box-shadow: inset 1px 1px #ddd, -1px -1px #ddd;
	min-width: 55px;
	width: 55px;
}

.agenda-tabela-aps table thead tr th{
	text-align: center;
    border: 0;
    box-shadow: inset 1px 1px #ddd, -1px -1px #ddd;
}

.agenda-tabela-aps thead tr.dados-profissional th.header-profissional {
	min-width: 250px;
}

.agenda-tabela-aps thead tr.dados-profissional th.header-profissional div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
	min-height: 35px;
}

.agenda-tabela-aps thead tr.dados-profissional th div span {
	flex: 1 0 auto;
	align-self: center;
}

.agenda-tabela-aps tbody tr td {
    border: 0;
    box-shadow: inset 1px 1px #ddd;
	padding: 0;
}

.agenda-tabela-aps td.profissional .fc-axis {
	display: none;
}

.agenda-tabela-aps td.fc-today {
	background-color: transparent;
}

.agenda-tabela-aps td.col-horario-tabela-agendas tr .fc-widget-content ~ .fc-widget-content,
.agenda-tabela-aps .fixado-esquerda .fc-content-skeleton > table > tbody > tr > td.fc-axis ~ td,
.agenda-tabela-aps .fc-header-toolbar,
.agenda-tabela-aps thead.fc-head {
	display:none;
}

.agenda-tabela-aps .fc-event {
	border: 1px solid white;
}

.agenda-tabela-aps.fc table {
	border: hidden;
}

.agenda-tabela-aps .fc-agendaDay-view tr {
    height: 34px;
}

.agenda-tabela-aps .fc-event-container .fc-content .fc-title .fc-titulo {
	font-weight: bold;
	font-size: 14px;
}

.agenda-tabela-aps .fc-event-container .fc-content .fc-title .fc-subtitulo {
	font-size: 11px;
}

/*.fc-event-container .fc-content .fc-title .fc-badge {
	border-radius: 6px;
	background-color: #ffffff;
	text-transform: none;
	padding: 2px 3px;
	margin: 3px;
}*/

.agenda-tabela-aps .fc-event-container .livre {
	background-color: #EAEBE0;
	border-left: 3px solid var(--success);
	color: var(--success);
}

.agenda-tabela-aps .fc-event-container .agenda.confirmada {
	background-color: #E2E0EF;
	border-left: 3px solid var(--lilas);
	color: var(--lilas);
}

.agenda-tabela-aps .fc-event-container .realizada {
	background-color: #E1E4E5;
	border-left: 3px solid #67767E;
	color: #67767E;
}

.agenda-tabela-aps .fc-event-container .não.aguardou, .agenda-tabela-aps .fc-event-container .faltante {
	background-color: #EEEEEE;
	border-left: 3px solid #7A7A7A;
	color: #7A7A7A;
    text-decoration: line-through;
	font-weight: normal !important;
}

.agenda-tabela-aps .fc-event-container .aguardando.atendimento {
	background-color: #F3DDCF;
	border-left: 3px solid var(--coral);
	color: var(--coral);
}

.agenda-tabela-aps .fc-event-container .domiciliar {
	background-color: #F6E8DC;
	border-left: 3px solid var(--ocre);
	color: var(--ocre);
}

.agenda-tabela-aps .fc-event-container .bloqueada {
	background-color: #ffffff;
	border-left: 3px solid #67767E;
	color: #67767E;
	cursor: default !important;
}

.agenda-tabela-aps .fc-event-container .desabilitada::after {
	content: '';
	background-color: white;
	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 3;
}

.agenda-tabela-aps .fc-event-container .tag-programada {
	margin-left: 10px;
	font-weight: bold;
	letter-spacing: 1px;
}

.agenda-tabela-aps .fc-event-container .fc-content .fc-title .faixa-prioridade {
	padding: 2px 5px;
    position: absolute;
    top: -29px;
    right: -34px;
    transform: rotate(-45deg);
    height: 50px;
	width: 50px;
}

.agenda-tabela-aps .topo {
	font-weight: normal;
	letter-spacing: 1px;
	color: var(--labels);
}

.modal-header .label.situacao {
	margin-left: 16px;
}

/* barrinha "pesquisando" no modal na agenda tabela aps */
.modal-body .input-com-botao .progress {
	width: 105px; 
	height: 35px;
}

.modal-body .input-com-botao .progress .progress-bar{
	width: 100%; 
	display: flex;
	align-content: center; 
	align-items: center; 
	justify-content: center;
}

/* barrinha "processando" no modal na agenda tabela aps */
.modal-footer .progress, .direita .progress {
	width: 105px; 
	height: 35px;
	margin: 0;
}

.modal-footer .progress .progress-bar, .direita .progress .progress-bar {
	width: 100%; 
	display: flex;
	align-content: center; 
	align-items: center; 
	justify-content: center;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { 
	color: #658698 !important; 
}

table tr.nao-permitido {
	cursor: not-allowed;
}

table tr.clicavel {
	cursor: pointer;
}

.infolistavazia {
    color: #486473;
    font-weight: 600;
    text-transform: lowercase;
    font-size: 1.1em;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 20px;
}

.fa-rotate-45 {
    transform: rotate(-45deg);
}

.tabela-subitem-td{
	width:80%;
	padding-left:10px;
}

.item-pai-icone{
	padding: 10px 10px 5px 5px;
}

.tree-view ul {
  list-style: none;
  padding-left: 15px;
}

.tree-view {
  margin: 5px auto;
  max-width: 700px;
}

.tree-view li {
  margin-top: 1em;
}

.tree-view i{
	vertical-align:top
}

.corMutiraoConsultas {
	background-color: #cc4388;
}

.corAmareloAlerta {
	color: #F5871F;
}

.corVermelhoRegularizacao {
	color: #FF6F61;
}

.marcaTipoOCI {
    display: inline-block;
    padding: 2px 15px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #156082;
    border-radius: 5px;
}

.detalhesProgSaude {
	background-color: #F6F6F6;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "\e014";
  height: 20px; width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Glyphicons Halflings';
  color: #999;
  font-size: 12px;
}
input:checked + .slider {
  background-color: #1A71A6;
}
input:checked + .slider:before {
  transform: translateX(22px);
  content: "✔";
  background-color: #fff;
  color: #1A71A6;
  font-size: 12px;
}
.mini-loader {
    border-width: 2px;
    position: relative;
    width: 10px !important;
    height: 10px !important;
    top: -16px;
    left: 110%;
    margin-bottom: -10px;
}

.h-60px {
	height: 60px !important;
}

.titulo-com-paginacao {
	display: flex;
	justify-content: space-between;
	align-items: end;
}