/*
CSS para conter definições da estrutura do layout padrão

 - por definição não será alterado por cliente
 - utiliza de IDs para definição precisa e não viral das partes do layout

*/


.iconeMenu{
	margin-left: 10px;
    width: 40px;
    padding-right: 10px;
}

.imagemEntrar{
	vertical-align: middle;
}

.menuPrincipalBotaoAbre{
	float:left;
	background:#333;
	cursor:pointer;
	padding:12px 12px 12px 0px;
	position:relative;
}
.menuPrincipalBotaoFecha{
	float:left;
	background:#333;
	cursor:pointer;
	padding:12px 2px 12px 0px;
	position:relative;
}

.menuPrincipalBotaoAbreSome,
.menuPrincipalBotaoFechaSome{
	display:none
}

#divImagemLogo{
	display:table-cell;
	vertical-align:middle;
	text-align: center;
	height:50px;
	width:200px;
}

.divRodape{
	background: #333;
	/*background: rgba(102, 102, 102, 0.8);*/
	color: #ffffff;
	padding: 2px;
	text-align: center;
}

.logoThemaRodape{
	height: 40px;
}


@keyframes blink {
  50% {
    opacity: 0.0;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0.0;
  }
}
.blink {
  animation: blink 0.1s step-start 0s infinite;
  -webkit-animation: blink 0.1s step-start 0s infinite;
}


/*===============================*/
/*           cabecalho           */
/*===============================*/
.cabecalho{
	height: 58px;
	padding: 0 !important;
	border: 0 !important;
	margin: 0 !important;
	background-color: #FFFFFF;
	color: #242424 !important;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 11px;
}

/* Esquerda e direita crescem por igual para o logo ficar centralizado */
.cabecalho .cabecalho-barra{
	display: flex;
	align-items: center;
	gap: 16px;
	height: 58px;
	padding: 0 16px;
	box-sizing: border-box;
}

.cabecalho .cabecalho-esquerda,
.cabecalho .cabecalho-direita{
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
}

.cabecalho .cabecalho-esquerda{
	gap: 16px;
}

.cabecalho .cabecalho-direita{
	justify-content: flex-end;
	gap: 8px;
}

/* Forms e a4j:outputPanel que so agrupam: os filhos participam do layout */
.cabecalho .cabecalho-contents{
	display: contents;
}

/* Logo varia por cliente: so a altura e fixa */
.cabecalho .cabecalho-logo{
	flex: none;
}

.cabecalho .cabecalho-logo a{
	display: block;
}

.cabecalho .cabecalho-logo img{
	display: block;
	width: auto;
	height: 30px;
}

.cabecalho .cabecalho-cliente{
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
}

.menu-abrir {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	box-sizing: border-box;
	border: 1px Solid #F04242;
	border-radius: 50%;
	background-color: #F04242;
	color: #FFFFFF;
	cursor: pointer;
}

.menu-abrir:hover {
	border: 1px Solid #4A5864;
}

.menu-abrir::before {
	content: 'menu_open';
	font-family: 'Material Symbols Outlined';
	font-size: 24px;
	line-height: 1;
	-webkit-font-feature-settings: 'liga';
	font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	transform: scaleX(-1);
}

/* Administracao: details/summary com a lista flutuante */
.select-adm {
	position: relative;
	min-width: 0;
	color: #242424;
}

/* Margem negativa compensa o padding: o texto fica onde o prototipo indica */
.select-adm-trigger {
	display: flex;
	align-items: center;
	padding: 4px 4px 4px 8px;
	margin: 0 -5px 0 -9px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	list-style: none;
	cursor: pointer;
}

.select-adm-trigger::-webkit-details-marker {
	display: none;
}

.select-adm-trigger:hover {
	border-color: #4A5864;
}

.select-adm-trigger-disabled {
	cursor: default;
}

.select-adm-trigger-disabled:hover {
	border-color: transparent;
}

.select-adm-atual {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.select-adm-seta {
	flex: none;
	font-size: 20px;
	color: #4A5864;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.select-adm-lista {
	position: absolute;
	top: 100%;
	left: -21px;
	margin: 4px 0 0;
	padding: 8px;
	min-width: 100%;
	list-style: none;
	background-color: #FFFFFF;
	border: 1px solid #D7D7DB;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
	z-index: 1000;
}

.select-adm-item {
	display: block;
	padding: 8px 12px;
	border-radius: 4px;
	color: #242424;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.select-adm-item:hover,
.select-adm-item:focus,
.select-adm-item.selecionado {
	background-color: #ECECEC;
	outline: none;
}

/* Tarjas: ambiente fora de producao (azul) e projecao (amarela) */
.cabecalho .cabecalho-chip{
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 12px;
	box-sizing: border-box;
	border-radius: 50px;
	font-weight: 700;
	white-space: nowrap;
}

.cabecalho .cabecalho-chip-ambiente{
	background-color: #0073E5;
	color: #FFFFFF;
}

.cabecalho .cabecalho-chip-projecao{
	background-color: #FFDD99;
	color: #242442;
}

.cabecalho .cabecalho-chip-projecao .material-symbols-outlined{
	font-size: 18px;
	color: #CC8800;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.cabecalho .cabecalho-chip-separador{
	width: 0;
	height: 16px;
	border-left: 1px solid #CC8800;
}

.cabecalho .cabecalho-separador{
	flex: none;
	align-self: stretch;
	width: 0;
	border-left: 1px solid #D7D7DB;
}

/* Busca de telas (campinho): 200px, cresce ate 310px no foco */
.cabecalho .campinho{
	flex: none;
}

.cabecalho .menu-autocomplete{
	width: auto;
}

.cabecalho .menu-autocomplete .input-menu-autocomplete{
	width: 200px;
	border-color: #D7D7DB;
}

.cabecalho .menu-autocomplete:focus-within .input-menu-autocomplete,
.cabecalho .menu-autocomplete:has(.input-menu-autocomplete-panel:not([hidden])) .input-menu-autocomplete{
	width: 310px;
}

/* Botoes de icone 28x28 */
.cabecalho .cabecalho-icone{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: 4px;
	background: none;
	color: #4A5864;
	text-decoration: none;
	cursor: pointer;
}

.cabecalho .cabecalho-icone:hover{
	border-color: #4A5864;
}

.cabecalho .cabecalho-icone img{
	display: block;
	width: 22px;
	height: 22px;
}

.cabecalho .cabecalho-icone-avatar img{
	border-radius: 50%;
	object-fit: cover;
}

/* Entrar (deslogado), segue o hover dos botoes de icone */
.cabecalho .cabecalho-entrar{
	flex: none;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 28px;
	padding: 0 8px 0 4px;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: 4px;
	color: #242424;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.cabecalho .cabecalho-entrar:hover{
	border-color: #4A5864;
}

.cabecalho .cabecalho-entrar .material-symbols-outlined{
	font-size: 20px;
	color: #4A5864;
}

/* Paineis (Mais opcoes, Usuario): abrem no hover ou foco do botao */
.cabecalho .cabecalho-dropdown{
	position: relative;
	flex: none;
}

.cabecalho .cabecalho-dropdown:hover .cabecalho-icone,
.cabecalho .cabecalho-dropdown:focus-within .cabecalho-icone{
	border-color: #4A5864;
}

.cabecalho .cabecalho-dropdown-painel{
	position: absolute;
	top: calc(100% + 2px);
	right: 0;
	z-index: 1000;
	display: none;
	min-width: 160px;
	max-width: 320px;
	padding: 8px 0;
	box-sizing: border-box;
	background-color: #FFFFFF;
	border: 1px solid #D7D7DB;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
	white-space: nowrap;
}

.cabecalho .cabecalho-dropdown:hover .cabecalho-dropdown-painel,
.cabecalho .cabecalho-dropdown:focus-within .cabecalho-dropdown-painel{
	display: block;
}

/* Ponte sobre o vao entre botao e painel: o hover nao se perde */
.cabecalho .cabecalho-dropdown-painel::before{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 4px;
}

.cabecalho .cabecalho-dropdown-titulo{
	margin: 0;
	padding: 8px 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 700;
}

.cabecalho .cabecalho-dropdown-item,
.cabecalho .cabecalho-dropdown-texto{
	display: block;
	padding: 8px 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #242424;
	text-decoration: none;
}

.cabecalho .cabecalho-dropdown-item{
	cursor: pointer;
}

.cabecalho .cabecalho-dropdown-item:hover,
.cabecalho .cabecalho-dropdown-item:focus-visible{
	background-color: #F0F0F2;
	outline: none;
}

/* Sem janelas abertas: acoes do painel bloqueadas */
.cabecalho .cabecalho-dropdown-item-desabilitado,
.cabecalho .cabecalho-dropdown-item-desabilitado:hover{
	background-color: transparent;
	color: #A0A0A8;
	cursor: not-allowed;
}

.cabecalho .cabecalho-dropdown-separador{
	height: 0;
	margin: 8px 16px;
	border: none;
	border-top: 1px solid #D7D7DB;
}

/* Linha com acoes a direita (janela aberta, credencial) */
.cabecalho .cabecalho-dropdown-linha{
	display: flex;
	align-items: center;
}

.cabecalho .cabecalho-dropdown-linha .cabecalho-dropdown-item,
.cabecalho .cabecalho-dropdown-linha .cabecalho-dropdown-texto{
	flex: 1 1 auto;
	min-width: 0;
}

.cabecalho .cabecalho-dropdown-linha:hover,
.cabecalho .cabecalho-dropdown-linha:focus-within{
	background-color: #F0F0F2;
}

.cabecalho .cabecalho-dropdown-linha .cabecalho-dropdown-item:hover,
.cabecalho .cabecalho-dropdown-linha .cabecalho-dropdown-item:focus-visible{
	background-color: transparent;
}

.cabecalho .cabecalho-dropdown-credencial{
	background-color: #F0F0F2;
}

/* Janela selecionada (classe aplicada pelo janelas.js) */
.cabecalho .controleDeJanelasProgramaSelecionado{
	box-shadow: inset 3px 0 0 #242442;
}

.cabecalho .cabecalho-dropdown-acao{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0 0 0 2px;
	padding: 0;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: 4px;
	background: none;
	color: #4A5864;
	text-decoration: none;
	cursor: pointer;
}

.cabecalho .cabecalho-dropdown-acao:last-child{
	margin-right: 4px;
}

.cabecalho .cabecalho-dropdown-acao .material-symbols-outlined{
	font-size: 16px;
	font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}

.cabecalho .cabecalho-dropdown-acao:hover,
.cabecalho .cabecalho-dropdown-acao:focus-visible{
	border-color: #4A5864;
	outline: none;
}

.menu-abrir:focus-visible,
.select-adm-trigger:focus-visible,
.cabecalho .cabecalho-icone:focus-visible,
.cabecalho .cabecalho-entrar:focus-visible{
	outline: 2px solid #4A5864;
	outline-offset: 1px;
}

@media (max-width: 1100px){
	.cabecalho .campinho,
	.cabecalho .cabecalho-separador-campinho,
	.cabecalho .cabecalhoAssistenteThea{
		display: none;
	}
}


/*===============================*/
/*              Meio             */
/*===============================*/
#meio{
	overflow:auto;
	width:100%;
}

#colunaMenu {
	width:300px;
	position:fixed;
	left:-300px;
	top:50px;
	bottom:0;
	white-space: nowrap;
	
	transition: 0.5s;
	-moz-transition:  0.5s; /* Firefox 4 */
	-webkit-transition:  0.5s; /* Safari and Chrome */
	-o-transition: 0.5s; /* Opera */
	
	z-index:150;
	 /*
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  	filter: alpha(opacity=50);
  	-moz-opacity: 0.5;
  	-khtml-opacity: 0.5;
  	opacity: 0.5;
  	*/
}

#colunaMenu:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  	filter: alpha(opacity=100);
  	-moz-opacity: 1;
  	-khtml-opacity: 1;
  	opacity: 1;
}

.colunaMenuAberto{
	left:0!important;
}

.topoMenu{
	background-color:#ddd;
	
	position:absolute;
	width:300px;
	height:25px;
	z-index:2;
	
	text-align: right;
}

#tituloMenu{
	line-height:20px;
	z-index:2;
	font-size:14px;
	position:absolute;
	font-weight:bold;
	margin-left:5px;
	margin-top:2px;
	color:#333;
}

#menu {
	top: 24px;
	padding-top:1px;
	bottom: 0px;
	width:300px;
	position: absolute;
	overflow-y: auto;
	overflow-x: hidden;
	background-color: #dddddd;
}

#menuOutrasOpcoes{
	/*background: #dddddd;*/
	background-image: url("bgOutrasOpcoes.png.faces?ln=img");
	
	width:150px;
	position:fixed;
	top:50px;
	bottom:0;
	right:-150px;
	z-index:105;
	
	transition: 0.5s;
	-moz-transition:  0.5s;
	-webkit-transition:  0.5s;
	-o-transition: 0.5s;	
}

#menuOutrasOpcoes:hover{
	right:0px;
}
.menuOutrasOpcoesConteudoBarra{
	transition: 3.0s;
	-moz-transition:  3.0s;
	-webkit-transition:  3.0s;
	-o-transition: 3.0s; 
	
	width: 20px;
	position:absolute;
	margin-left:-20px;
	color: white;
	text-align: center;
	height: 100%;
	
	background: #ddd;
}

#menuOutrasOpcoes:hover .menuOutrasOpcoesConteudoBarra{
	transition: 1.2s;
	-moz-transition:  1.2s;
	-webkit-transition:  1.2s;
	-o-transition: 1.2s;
	
	opacity:0;
	-moz-opacity: 0;
	filter: alpha(opacity=0);
}
	
.menuOutrasOpcoesConteudoBarra:hover{
	cursor: pointer; 
} 

.menuOutrasOpcoesConteudo{
	height: 100%;
	overflow: hidden;
}

#conteudo{
	position:fixed;
	left:0px;
	right:0px;
	top:58px;
	bottom:0;
	
    overflow:hidden;
    
    transition: 0.5s;
	-moz-transition:  0.5s;
	-webkit-transition:  0.5s;
	-o-transition: 0.5s;
}

#rodape{
	position:absolute;
	bottom:0;
	height:40px;
	width:100%;
	border:none;
}

.divSobreRodape {
	position: absolute;
	right: 30px;
	top: 15px;
}

.statusAcaoTexto{
	font-size: small;
}

.botoesNovasFuncionalidades {
	float: right;
	display: flex;
	flex-wrap: wrap;
    flex-direction: row;
}

.botoesNovasFuncionalidadesItem{
	display: inline-flex;
	gap: 8px;
}

.textoNovalsFuncionaldiades{
	width: 100%;
}

/*Controle do RICH*/

.rf-edt-c-cnt{
	line-height: 22px;
    min-height: 22px;
}

.rf-edt-c-cnt, .rf-edt-hdr-c-cnt, .rf-edt-ftr-c-cnt {
    margin: 1px !important;
    padding: 1px !important;
}

/*--------- classe para dar espaço de 4px entre as imagens --------*/
.espacoImagem{
	margin: 0 2px;
}
/*--------- classe para os programas que estao sem fundo (melhora a visualização)*/
.fundoPrograma{
	background-color:#eeeeee;	
}

/******************/

.link:hover{
	text-decoration:underline;
}
.link:visited{
	color:none;
}

/*******************/
input.inputIntervalo{
}

.tabelaFormulario td.intervalo{
	text-align: center;
	padding: 0px;
}

.intervalo{
	
}

.statusMenu{
	width:1px !important; 
	z-index:0; 
	position: absolute;
	left: -10px;
}

/* Modal 'Sobre' no padrao dos modais de login (skin-login.css) */
/* Seletor composto vence o width: auto do .grp-rich-popup-dialogo */
.grp-rich-popup-wrapper .grp-rich-popup-dialogo.sobre-dialogo{
	width: 516px;
	gap: 16px;
	padding: 24px;
	font-size: 11px;
	text-align: center;
}

.grp-rich-popup-wrapper .sobre-dialogo .grp-rich-popup-cabecalho{
	text-align: left;
}

.grp-rich-popup-wrapper .logoThemaSobre{
	align-self: center;
	height: 70px;
}

.grp-rich-popup-wrapper .informacoesSobre{
	line-height: normal;
}

.grp-rich-popup-wrapper .informacoesSobre h4,
.grp-rich-popup-wrapper .informacoesSobre h5{
	margin: 0;
	font-weight: normal;
}

.grp-rich-popup-wrapper .informacoesSobre h4{
	font-size: 15px;
}

.grp-rich-popup-wrapper .informacoesSobre h5{
	padding-top: 3px;
	font-size: 12px;
}

.grp-rich-popup-wrapper .informacoesSobre .linkWiki{
	font-weight: bold;
	color: #242424;
	text-decoration: underline;
}

.grp-rich-popup-wrapper .informacoesSobre .linkWiki:hover{
	color: #4A5864; /* Icones */
}

/* Altura compensa o padding/titulo novos para manter o tamanho do modal */
/* Borda externa no container: com border-collapse o th fixo perderia a borda */
.grp-rich-popup-wrapper .sobre-modulos{
	max-height: 400px;
	overflow: auto;
	border: 1px solid #D7D7DB; /* Separadores */
}

.grp-rich-popup-wrapper .tabelaModulos{
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
	line-height: 13px;
	color: #242424;
}

.grp-rich-popup-wrapper .tabelaModulos td,
.grp-rich-popup-wrapper .tabelaModulos th{
	padding: 10px 8px;
	border: none;
}

/* Separadores apenas verticais entre colunas */
.grp-rich-popup-wrapper .tabelaModulos td + td,
.grp-rich-popup-wrapper .tabelaModulos th + th{
	border-left: 1px solid #D7D7DB; /* Separadores */
}

.grp-rich-popup-wrapper .tabelaModulos tbody tr:nth-child(odd) td{
	background-color: #FFFFFF;
}

.grp-rich-popup-wrapper .tabelaModulos tbody tr:nth-child(even) td{
	background-color: #F4F4F6;
}

/* Depois do zebrado para prevalecer */
.grp-rich-popup-wrapper .tabelaModulos tbody tr:hover td{
	background-color: #E9E9ED;
}

.grp-rich-popup-wrapper .tabelaModulos .cabecalhoSobre{
	position: sticky;
	top: 0;
	padding: 8px;
	background-color: #E9E9ED;
	font-weight: 700;
	color: #242424;
	text-align: center;
}

.grp-rich-popup-wrapper .tabelaModulos .colunaModulo,
.grp-rich-popup-wrapper .tabelaModulos .colunaTag{
	text-align: left;
}

.grp-rich-popup-wrapper .tabelaModulos .colunaModulo{
	overflow-wrap: anywhere;
}

.grp-rich-popup-wrapper .tabelaModulos .colunaBuild,
.grp-rich-popup-wrapper .tabelaModulos .colunaData{
	text-align: center;
}

/* width 1% encolhe a coluna ao conteudo; Modulo fica com o restante */
.grp-rich-popup-wrapper .tabelaModulos .colunaBuild,
.grp-rich-popup-wrapper .tabelaModulos .colunaTag,
.grp-rich-popup-wrapper .tabelaModulos .colunaData{
	width: 1%;
}

/* Data/Hora pode quebrar no espaco entre data e hora */
.grp-rich-popup-wrapper .tabelaModulos .colunaBuild,
.grp-rich-popup-wrapper .tabelaModulos .colunaTag{
	white-space: nowrap;
}

.grp-rich-popup-wrapper .sobre-dialogo .copyright{
	color: #242424;
}

/*
Classes de template de Filtro
*/
.divConteudoFiltro {
	padding: 5px;
}

.divResultadosFiltro {
	margin-top: 10px;	
}

.painelCorpoPrograma{
	overflow-y:auto;
	margin-top: 5px;
}
.painelCorpoTelinha{
	padding:10px;
}

/*classes para os modais do menu OUTRAS OPÇOES*/
#formCriarPlanilhar, #formCriarRelatorio, #formOrdenar{
	min-width:500px;
}



.indentacao {
	background-image: url('arrow_right.png.faces?ln=img/icons');
	height: 16px;
}


.bloco-servicos {
    display: grid;
    grid-auto-flow: row;
    gap: 3.5rem;
    padding: 2rem 5rem;
    grid-template-columns: repeat(auto-fit, minmax(10px, 200px));
    justify-content: center;
}

.atalhoCard {
    min-width: 10rem;
    min-height: 10rem;
    height: 10rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    border: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #004860;
}

.atalhoCard p {
    padding: 0 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2rem;
    color: #FFFFFF;
}

.atalhoCard__icone {
    max-height: 4rem;
    min-height: 4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.atalhoCard__comIcone {
    padding: 0;
    text-align: center;
}


@media (max-width: 800px){
	
	.atalhoCard {
	    min-width: 8rem;
	    min-height: 8rem;
	    height: 8rem;
	    width: 8rem;
	    border-radius: 0.5rem;
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
	    align-items: center;
	    color: #FFFFFF;
	    border: none;
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-position: center;
	    background-color: #004860;
	}
		
	.bloco-servicos {
	    display: grid;
	    grid-auto-flow: row;
	    gap: 3.5rem;
	    padding: 2rem 5rem;
	    grid-template-columns: repeat(auto-fit, minmax(10px, 40%));
	    justify-content: center;
	}
	
	.atalhoCard p {
	  padding: 0.5rem;
	  font-weight: 700;
	  font-size: 0.75rem;
	  line-height: 1.2rem;
	  color: #FFFFFF;
	}
	
	.atalhoCard__icone {
	  max-height: 3rem;
	  min-height: 3rem;
	  margin-bottom: 1rem;
	  text-align: center;
	}
	
}
