body {
  font-size: small !important;
  min-height: 75rem !important;
  padding-top: 3.0rem !important;
  padding-bottom: 40px;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif !important;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
  color: #242426 !important;
}

pre {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #ff0000;
  white-space: pre-wrap;
  font-size: small;
}

.c-title {
  text-align: center;
  color: #0080FF;
  background: #EFF8FB;
  padding: 3px;
  border: 1px solid;
  border-color: #e6f2ff;
  font-style: italic;
  font-weight: bold;
}

.container-border {
  border: 1px solid #000;
  border-radius: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Show it is fixed to the top */
.pesquisar {
  /* padding-top: 30px;
    padding-left: 50px; */

  padding: 30px 0 0 50px;
}

#setor {
  width: 400px;
}

/* Header style */


/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f5f5f5;
  text-align: center;
  z-index: 100;
}

.footer>.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

/* Info processos */
.destaque {
  color: red !important;
}

/*Form estilização*/
fieldset {
  border: 1px groove #ddd !important;
  padding: 0 1.4em 1.4em 1.4em !important;
  margin: 0 0 1.5em 0 !important;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
}

legend {
  font-size: 1.2em !important;
  font-weight: bold !important;
  text-align: left !important;
  width: auto;
  padding: 0 10px;
  border-bottom: none;
}

/* Menu topo */
.navbar-custom {
  box-shadow: 0 3px 3px 0 #b5b5b5;
  padding: 0px !important;
  border-bottom: 4px solid #f8a701 !important;
  background-color: #004bad !important;
}

.navbar-brand {
  text-transform: uppercase;
  color: #FFF !important;
  letter-spacing: 2px;
  margin-top: 3 !important;
  margin-bottom: 3 !important;

  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.navbar-custom ul {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

.navbar-custom ul li a:hover {
  color: #FFF !important;
}

.navbar-custom ul li {
  position: relative;
  height: 100% !important;
}

.navbar-custom ul li a {
  /* font:500 11px Lato; */
  letter-spacing: 2px;
  font-weight: bold;
  padding: 16px !important;
  color: #ffffff !important;
  text-transform: uppercase;
  position: relative;
  z-index: 1000;
}

.navbar-custom .navbar-toggler {
  border: none;
}

.navbar-collapse {
  box-shadow: none !important;
  border: none !important;
}

.navbar-custom .navbar-toggler:hover {
  background: transparent !important;
}

.navbar-custom .navbar-toggler:focus {
  background: transparent !important;
}

.navbar-custom .navbar-toggler:active {
  background: transparent !important;
}

.icon-bar {
  background: #ffffff !important;
}

.hover {
  display: block;
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #0d6efd !important;
  z-index: 0;
  opacity: 0;
  border-radius: 3px;
}

.navbar-custom ul li .active {
  color: #ffe800 !important;
}

@media (max-width: 767px) {
  .navbar-custom ul {
    padding-bottom: 20px;

  }

  .navbar-custom ul li a {
    padding: 12px !important;
  }
}

@media (max-width: 480px) {
  .navbar-custom ul {
    padding-bottom: 20px;
  }
}

/* Loading carregemnto imagem */
#loading {
  /*background: #f4f4f2 url("img/page-bg.png") repeat scroll 0 0;*/
  height: 100%;
  left: 0;
  margin: auto;
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
}

.bokeh {
  border: 0.01em solid rgba(150, 150, 150, 0.1);
  border-radius: 50%;
  font-size: 100px;
  height: 1em;
  list-style: outside none none;
  margin: 0 auto;
  position: relative;
  top: 19%;
  width: 1em;
  z-index: 2147483647;
}

.bokeh li {
  border-radius: 50%;
  height: 0.2em;
  position: absolute;
  width: 0.2em;
}

.bokeh li:nth-child(1) {
  animation: 1.13s linear 0s normal none infinite running rota, 3.67s ease-in-out 0s alternate none infinite running opa;
  background: #00c176 none repeat scroll 0 0;
  left: 50%;
  margin: 0 0 0 -0.1em;
  top: 0;
  transform-origin: 50% 250% 0;
}

.bokeh li:nth-child(2) {
  animation: 1.86s linear 0s normal none infinite running rota, 4.29s ease-in-out 0s alternate none infinite running opa;
  background: #ff003c none repeat scroll 0 0;
  margin: -0.1em 0 0;
  right: 0;
  top: 50%;
  transform-origin: -150% 50% 0;
}

.bokeh li:nth-child(3) {
  animation: 1.45s linear 0s normal none infinite running rota, 5.12s ease-in-out 0s alternate none infinite running opa;
  background: #fabe28 none repeat scroll 0 0;
  bottom: 0;
  left: 50%;
  margin: 0 0 0 -0.1em;
  transform-origin: 50% -150% 0;
}

.bokeh li:nth-child(4) {
  animation: 1.72s linear 0s normal none infinite running rota, 5.25s ease-in-out 0s alternate none infinite running opa;
  background: #88c100 none repeat scroll 0 0;
  margin: -0.1em 0 0;
  top: 50%;
  transform-origin: 250% 50% 0;
}

@keyframes opa {
  12% {
    opacity: 0.8;
  }

  19.5% {
    opacity: 0.88;
  }

  37.2% {
    opacity: 0.64;
  }

  40.5% {
    opacity: 0.52;
  }

  52.7% {
    opacity: 0.69;
  }

  60.2% {
    opacity: 0.6;
  }

  66.6% {
    opacity: 0.52;
  }

  70% {
    opacity: 0.63;
  }

  79.9% {
    opacity: 0.6;
  }

  84.2% {
    opacity: 0.75;
  }

  91% {
    opacity: 0.87;
  }
}

@keyframes rota {
  100% {
    transform: rotate(360deg);
  }
}

/* Destaque */
@keyframes destaque {
  40% {
    opacity: .4;
  }

  50% {
    opacity: 0.6;
  }

  60% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

.destaque {
  color: #fff !important;
  -webkit-animation: destaque .3s linear infinite;
  -moz-animation: destaque .3s linear infinite;
  -ms-animation: destaque .3s linear infinite;
  -o-animation: destaque .3s linear infinite;
  animation: destaque 1s linear infinite;
}


/* Menu */
/* Animation to fade in the dropdown menus */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Assigning the above animation to all dropdown menus */
.dropdown-menu {
  &.show {
    -webkit-animation: fadeIn 0.3s alternate;
    /* Safari 4.0 - 8.0 */
    animation: fadeIn 0.3s alternate;
  }
}

/* Mega Menu adjustments */
.nav-item.dropdown.dropdown-mega {
  position: static;

  .dropdown-menu {
    width: 90%;
    top: auto;
    left: 5%;
  }
}

.dropstart .dropdown-toggle::before {
  vertical-align: 0.1rem;
}

/*Callout*/
/* my own interpretation of Bootstrap callout */
.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 4px;
  margin-left: 50px;
}

.bs-callout-xl {
  margin-left: 0px;
}

.bs-callout-lg {
  margin-left: 50px;
}

.bs-callout-md {
  margin-left: 100px;
}

.bs-callout-sm {
  margin-left: 150px;
}

.bs-callout-xs {
  margin-left: 200px;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.bs-callout code {
  border-radius: 4px;
}

.bs-callout+.bs-callout {
  margin-top: -5px;
}

.bs-callout-default {
  border-left-color: #777;
  background-color: #f7f7f9;
}

.bs-callout-default h4 {
  color: #777;
}

.bs-callout-primary {
  border-left-color: #428bca;
}

.bs-callout-primary h4 {
  color: #428bca;
}

.bs-callout-success {
  border-left-color: #5cb85c;
  background-color: #efffe8;
}

.bs-callout-success h4 {
  color: #5cb85c;
}

.bs-callout-danger {
  border-left-color: #d9534f;
  background-color: #fcf2f2;
}

.bs-callout-danger h4 {
  color: #d9534f;
}

.bs-callout-warning {
  border-left-color: #f0ad4e;
  background-color: #fefbed;
}

.bs-callout-warning h4 {
  color: #f0ad4e;
}

.bs-callout-info {
  border-left-color: #5bc0de;
  background-color: #f0f7fd;
}

.bs-callout-info h4 {
  color: #5bc0de;
}

/* bg transparency and disabled effects for Bootstrap callout */
.bs-callout-default.transparent {
  background-color: rgb(247, 247, 249, 0.7);
  /*#f7f7f9*/
}

.bs-callout-success.transparent {
  background-color: rgb(239, 255, 232, 0.7);
  /*#efffe8*/
}

.bs-callout-warning.transparent {
  background-color: rgb(254, 251, 237, 0.7);
  /*#fefbed*/
}

.bs-callout-danger.transparent {
  background-color: rgb(252, 242, 242, 0.7);
  /*#fcf2f2*/
}

.bs-callout-info.transparent {
  background-color: rgb(240, 247, 253, 0.7);
  /*#f0f7fd*/
}

.bs-callout.disabled {
  opacity: 0.4;
}

/* Estilização do formulário inspecionar PDF */
.custom-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .375rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  white-space: nowrap;
  cursor: pointer;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: all .2s ease-in-out;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.custom-file-label:hover {
  color: #495057;
  background-color: #ced4da;
  border-color: #adb5bd;
}

/* Loading CSS */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  pointer-events: none;

  /* IMPORTANTE: Adiciona flexbox aqui para ter um ponto de referência */
  /* Mesmo sem as classes no HTML, o display: flex aqui é necessário para que
     os itens dentro de #loading sejam flex items. */
  display: flex;
}

#loading.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* NOVO: Estilo para o spinner dentro do loading */
#loading .spinner-border {
  /* Define o posicionamento para usar 'top' e 'left' */
  position: absolute;
  /* POSICIONA EM RELAÇÃO AO PAI (#loading) */

  /* Distância do topo */
  top: 20%;
  /* Isso garante que o spinner comece 30px abaixo do topo do overlay */

  /* Centralização horizontal */
  left: 50%;
  /* Move o ponto de início para o meio da tela */

  /* Garante o tamanho, se não estiver vindo do style inline no HTML */
  width: 3rem;
  height: 3rem;
}

/* NOVO: Estilo para o container de alertas */
#alertContainer {
  position: fixed;
  /* Fixa o elemento na tela, mesmo com rolagem */
  top: 15px;
  /* Distância de 15 pixels do topo da viewport */
  right: 15px;
  /* Distância de 15 pixels da direita da viewport */
  z-index: 1060;
  /* Garante que o alerta apareça acima de modais (z-index de modais é geralmente 1050) */
  max-width: 350px;
  /* Define uma largura máxima para os alertas */

  /* Configurações para empilhar os alertas verticalmente e com espaçamento */
  display: flex;
  flex-direction: column;
  /* Empilha os itens (alertas) em uma coluna */
  gap: 3px;
  /* Espaço entre cada alerta */
}

/*CSS CUSTOM EXTRA */
body {
  font-size: small !important;
  min-height: 75rem !important;
  padding-top: 3.0rem !important;
  padding-bottom: 40px;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif !important;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
  color: #242426 !important;
}

pre {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #ff0000;
  white-space: pre-wrap;
  font-size: small;
}

.c-title {
  text-align: center;
  color: #0080FF;
  background: #EFF8FB;
  padding: 3px;
  border: 1px solid;
  border-color: #e6f2ff;
  font-style: italic;
  font-weight: bold;
}

.container-border {
  border: 1px solid #000;
  border-radius: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border;
}

/* Custom styles for file drop zones */
.cursor-pointer {
  cursor: pointer;
}

.file-drop-zone {
  /* Removida a borda e o border-radius daqui para que a borda não contorne os botões */
  background-color: #f8f9fa;
  /* Light background */
  transition: all .2s ease-in-out;
}

/* Ensure consistent padding and height for label inside drop zone */
.file-drop-zone .form-control {
  background-color: transparent !important;
  /* Adicionada a borda tracejada e o radius ao próprio label (que tem class .form-control) */
  border: 2px dashed #007bff !important;
  /* Borda tracejada principal */
  border-right: none !important;
  /* Remove a borda direita para que se junte ao botão sem duplicidade */
  border-radius: .25rem 0 0 .25rem !important;
  /* Arredonda apenas os cantos esquerdos */
  box-shadow: none !important;
  padding: 0.375rem 0.75rem !important;
  /* Standard Bootstrap form-control padding */
  height: 100% !important;
  /* Crucial para fazer o label esticar verticalmente no input-group */
  display: flex;
  /* Para alinhar o ícone e o texto dentro do label */
  align-items: center;
  /* Para alinhar o ícone e o texto verticalmente dentro do label */
}

.input-group-sm.file-drop-zone .form-control {
  padding: 0.25rem 0.5rem !important;
  /* Standard Bootstrap form-control-sm padding */
}


.file-drop-zone:hover {
  background-color: #e2e6ea;
  /* Slightly darker on hover */
  /* Removido border-color aqui, pois a borda agora está no label */
}

.file-drop-zone.drag-over {
  background-color: #e0f2f7;
  /* Lighter blue when dragging over */
  /* Removido border-color e box-shadow aqui, pois a borda agora está no label.
       Se desejar um efeito visual no drag-over, adicione-o ao .file-drop-zone .form-control: */
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, .25);
  /* Exemplo: manter o box-shadow no container */
}

.file-drop-zone .form-control span {
  white-space: nowrap;
  /* Prevent filename from wrapping too early */
  overflow: hidden;
  text-overflow: ellipsis;
  /* Add ellipsis for long filenames */
  display: block;
  /* Ensure it takes full width within flex */
}

/* Sessão footer */

.footer {
  transition: all 0.3s ease;
}

/* Efeito sutil para o badge de versão */
.badge.bg-primary {
  transition: transform 0.2s;
}

.badge.bg-primary:hover {
  transform: translateY(-1px);
}