﻿
:root {
  --color-primary: #0e2471;   /* Azul escuro #283644 */
  --color-darkblue: #0e2471;   /* Azul escuro */
  --color-secondary: #72B130; /* Verde */
  --color-accent: #f6aa07;    /* Amarelo */
  --color-info: #1642dd;      /* Azul claro */
  --color-link: #0032a7;      /* Azul médio */
  --color-light-text: #eeeeee; /* #a5c7ff Azul clarinho para texto no dark mode */
  --color-primary-dark: #a5c7ff; /* Azul clarinho para texto no dark mode */
  --border-light: #ddd;
  --bg-footer: #0e2471;
  --color-blue-1: #0e2471;
  --color-blue-2: #1642DD;
  --color-blue-3: #0032a7;
  --color-blue-light: #a5c7ff;
  --color-green: #72B130;
  --color-yellow: #f6aa07;
  --color-primary-dark: #eeeeee;
  --color-yellow-hover: #fdbb2f;
}
/* Tema escuro */
body[data-bs-theme="dark"]{
  --color-primary: var(--color-primary-dark); /*#a5c7ff;*/ /* Azul clarinho no dark mode */
  --border-light: #444;
  --bg-footer: #0e2471;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.btn-primary:hover
, .btn-primary:active {
    background-color: var(--color-link);
    border-color: var(--color-link);
    color: #fff;
}
body.dark-mode .btn-primary {
    background-color: var(--color-secondary); /* verde */
    border-color: var(--color-secondary);
    color: #fff;
}
body.dark-mode .btn-primary:hover
, body.dark-mode .btn-primary:active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #0e2471;
}
.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}
.dark-mode .btn-secondary{
    color: #fff;
}
.btn-secondary:hover
, .btn-secondary:active{
    background-color: var(--color-link);
    border-color: var(--color-link);
    color: #fff;
}
.body.dark-mode .btn-secondary:hover
, .body.dark-mode .btn-secondary:active {
    color: #0e2471;
}
.btn-default {
    background-color: var(--color-info);
    border-color: var(--color-info);
    color: #fff;
}
.btn-green-border {
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    background-color: transparent;
}
.btn-green-border:hover
, .btn-green-border:active {
    border: 1px solid var(--color-secondary);
    color: #fff;
    background-color: var(--color-secondary);
}
.btn-border
, .btn-border:focus
, .btn-border:hover
, .btn-border:active {
    border: 1px solid var(--color-primary);
    color: inherit;
}
.btn-border:hover
, .btn-border:active {
    background-color: var(--color-blue-3);
    color: #fff !important;
    border-color: var(--color-blue-3) !important;
}
.dark-mode .btn-border
, .dark-mode .btn-border:focus
, .dark-mode .btn-border:hover
, .dark-mode .btn-border:active {
    border: 1px solid #666;
    color: inherit;
}

.btn-border-gray
, .btn-border-gray:focus
, .btn-border-gray:hover
, .btn-border-gray:active {
    border: 1px solid #ddd;
    color: inherit;
}
.btn-border-gray:focus
, .btn-border-gray:hover
, .btn-border-gray:active {
    background-color: var(--color-primary);
    color: #fff;
}
.dark-mode .btn-border-gray
, .dark-mode .btn-border-gray:focus
, .dark-mode .btn-border-gray:hover
, .dark-mode .btn-border-gray:active {
    border-color: #666;
    color: inherit;
}

.btn-transparent:focus
, .btn-transparent:hover
, .btn-transparent:active {
    background: var(--color-primary);
    color: #fff;
}
.btn-transparent {
    color: var(--color-primary);
}
body.dark-mode .btn-transparent:focus
, body.dark-mode .btn-transparent:hover
, body.dark-mode .btn-transparent:active {
    color: #0e2471 !important;
}

.bg-primary {
    background-color: #0e2471;
}
.bg-secondary {
    background-color: #72B130;
}
.bg-default {
    background-color: #1642DD;
}
.bg-orange {
    background-color: #f6aa07;
}

.bold {
    font-weight: bold;
}
.italic {
    font-style: italic;
}
.text-green
, body.dark-mode .text-green {
    color: #72B130;
}
.text-red {
    color: red;
}
.dark-mode .text-red {
    color: lightcoral;
}
.text-blue {
    color: #0e2471;
}
.dark-mode .text-blue {
    color: #a5c7ff;
}

body {
    font-family: 'Prometo', sans-serif;
    color: var(--color-primary);
}
.modal-content
, .form-control
, .form-control:focus {
    color: var(--color-primary);
}

.text-primary-custom {
  color: var(--color-primary);
}


body.dark-mode {
  background-color: #121212;        /* preto suave */
  color: var(--color-light-text);   /* azul clarinho para texto */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease-in;
}

h1, h2, h3, h4, h5, h6, p {
    color: var(--color-primary);
}
italic {
    font-style: italic;
}
.text-1_5 {
    font-size: 1.5rem;
}
.text-2xl {
    font-size: 2rem;
}
.text-big {
    font-size: 2.75rem;
}

body.dark-mode a {
    color: var(--color-light-text);
}

body.dark-mode .navbar {
  background-color: var(--color-link); /* azul médio */
}

body.dark-mode .alert {
  background-color: var(--color-info);
  color: var(--color-light-text);
}

body.dark-mode footer {
  background-color: #1a1a1a;        /* quase preto */
  color: var(--color-light-text);
}

.font-extralight {
    font-weight: 100;
}
.font-light {
    font-weight: 300;
}
.font-base {
    font-weight: normal;
}
.font-medium {
    font-weight: 500;
}
.font-bold {
    font-weight: bold;
}
.font-bolder {
    font-weight: 900;
}

.inline-block {
    display: inline-block;
}
.inline-flex {
    display: inline-flex;
}

.text-xs {
  font-size: 0.75rem;   /* 12px */
}

.text-sm {
  font-size: 0.875rem;  /* 14px */
}

.text-base {
  font-size: 1rem;      /* 16px */
}

.text-md {
  font-size: 1.125rem;  /* 18px */
}

.text-lg {
  font-size: 1.25rem;   /* 20px */
}

.divisor {
  align-self: stretch;          /* ocupa toda a altura do flex container */
  border-right: 1px solid #0e2471;
  margin: 10px 20px;               /* espaçamento lateral */
  padding: 0;                   /* padding não é necessário para altura */
}

body.dark-mode .divisor {
    border-right: 1px solid #0e2471;
}
.no-padding {
    padding: 0 !important;
}
.no-border {
    border: none !important;
}

.form-switch .form-check-input {
    margin-top: 0px;
}

/* Switch padrão (light-mode) segue como está */
.form-check-input {
  cursor: pointer;
}

/* Switch no dark-mode */
body.dark-mode .form-check-input {
  background-color: #222;   /* fundo escuro quando desligado */
  border-color: #444;       /* borda mais discreta */
}

body.dark-mode .form-check-input:checked {
  background-color: var(--color-primary); /* verde quando ligado */
  border-color: var(--border-light);
}

.accessibility-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.accessibility-buttons button {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
body.dark-mode .accessibility-buttons button {
    color: var(--color-light-text);
}

.accessibility-buttons button:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.logo {
  max-height: 200px;   /* altura máxima */
  max-width: 200px;    /* largura máxima */
  height: auto;       /* mantém proporção */
  width: auto;        /* mantém proporção */
}
.logo-seclog {
    max-height: 300px;   /* altura máxima */
    max-width: 400px;    /* largura máxima */
    height: auto;       /* mantém proporção */
    width: auto;        /* mantém proporção */
}
@media (max-width: 576px) {
    .logo-seclog {
        max-width: 95%;
        padding-bottom: 20px;
    }
}

.logo-light {
    display: inline-flex;
}
.logo-dark {
    display: none;
}
body.dark-mode .logo-light {
    display: none;
}
body.dark-mode .logo-dark {
    display: inline-flex;
}

.search-bar {
  width: 100%;
  max-width: 400px; /* limite opcional */
}

.search-bar input {
  flex: 1;
}

.search-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ajuste geral do campo de busca */
.search-bar .form-control {
  border: 1px solid var(--color-primary);   /* borda na cor primary */
  font-size: 0.875rem;                   /* fonte menor (14px) */
  color: var(--color-primary);              /* texto na cor primary */
}

/* Placeholder mais suave */
.search-bar .form-control::placeholder {
  color: var(--color-primary);
  opacity: 0.6;
}

/* Dark mode */
body.dark-mode .search-bar .form-control {
  background-color: #111;                /* fundo escuro */
  border: 1px solid #333;             /* azul escuro */
  color: var(--color-light-text);                           /* texto branco */
}

body.dark-mode .search-bar .form-control::placeholder {
  color: #aaa;                           /* placeholder claro */
}

.d-light {
    display: inline-block;
}
.d-dark {
    display: none;
}
.dark-mode .d-light {
    display: none;
}
.dark-mode .d-dark {
    display: inline-block;
}


/*** navbar ***/
.navbar {
  background-color: #fff;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  color: var(--color-primary);
}

.navbar-nav .nav-link.active {
  color: var(--color-primary); /* opcional */
  border-bottom: 3px solid #72B130;
}

body.dark-mode .navbar {
  background-color: #111;
}

body.dark-mode .navbar .nav-link {
  color: var(--color-light-text);
}

body.dark-mode .navbar .nav-link.active {
  color: var(--color-light-text); /* opcional */
  border-bottom: 3px solid #72B130;
}

/* Botão hamburguer */
.navbar-toggler {
  padding: 8px 4px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}
body.dark-mode .toggler-bar {
  background-color: var(--color-light-text);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}
.dropdown-menu .dropdown-item {
  border-bottom: 1px solid #666; /* cor da borda */
  padding: 8px 16px;             /* espaçamento interno */
}
.dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #1642DD;
  color: #fff;
}
body.dark-mode .dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa; /* cor de fundo ao hover */
  color: #000;
}



.main {
    min-height: 420px;
}

footer
, body.dark-mode footer {
    background-color: var(--bg-footer);
    color: #fff;
    line-height: 2;
}
footer h6 {
    font-weight: normal;
}

.hero {
    background-color: #0e2471;
    color: #fff;
    border-radius: 10px;
    min-height: 300px;
    align-items: center;
}
.hero .destaque h1
, .hero .destaque h2
, .hero .destaque h3
, .hero .destaque h4
, .hero .destaque h5
, .hero .destaque h6
, .hero .destaque p {
    color: #fff;
}
.hero .btn {
    font-size: 0.90rem;
    color: #fff;
}
.hero .btn .bi {
    font-size: 1.5rem;    
}
.hero .btn-default:hover {
    color: var(--color-blue-1);
    background: var(--color-yellow-hover);
}
.hero .avisos {
    background-color: #FDBB2F;
    color: #0e2471;
    width: 100%;
    
    max-width: 400px;
    margin: auto;
    border-radius: 10px;
    margin: 14px auto;
}
.hero .avisos a
, .hero .avisos h1 
, .hero .avisos h2
, .hero .avisos h3 
, .hero .avisos h4 
, .hero .avisos h5 
, .hero .avisos h6
, .hero .avisos p
{
    color: #0e2471;
}
.hero .avisos .carousel-item {
    height: 300px;
    overflow: auto;
    padding: 10px;
}
#avisosCarousel .carousel-indicators {
  bottom: -10px; /* ajusta a distância para baixo */
}
#avisosCarousel .carousel-indicators [data-bs-target] {
  background-color: #0032a7; /* cor azul personalizada */
  width: 12px;   /* tamanho da bolinha */
  height: 12px;
  border-radius: 50%; /* deixa redondo */
}
#avisosCarousel .carousel-indicators .active {
  background-color: #001f6b; /* azul mais escuro para destaque */
}

.tag-icon {
    display: inline-flex;
    background-color: #0e2471;
    color: #fff;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.hero-menu {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 20px 0;
}
.hero-menu a {    
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    min-width: 170px;
    width: auto;
    position: relative;
    font-size: 0.9rem;
    min-width: 170px;
    width: auto;
}
.hero-menu a .text-link {
    padding: 10px;    
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;    
    position: relative;
}
.hero-menu a .text-link .bi {
    font-size: 4rem;
    display: inline-flex;
    margin-bottom: 8px;
}
.hero-menu a .text-link .bi.bi-sm {
    font-size: 3.6rem !important;
}
.hero-menu a .text-hover {
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: #fff;
    color: #fff;
}
.hero-menu a:hover .text-hover {
    opacity: 1;
    visibility: visible;    
    background: rgba(14, 36, 113, 1);
    color: #fff;
}
body.dark-mode .hero-menu a .text-hover {
    background: #121212;
    color: #fff;
}
body.dark-mode .hero-menu a:hover .text-hover {
    background: #121212;
    color: #fff;
}


.hero-cards {
    color: var(--color-primary);
    padding: 12px 0;
}
.hero-cards .card {
    background-color: transparent;
    border-color: var(--border-light) !important;
    height: 100%;
}
.hero-cards .card .card-header {
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 400;
    border-color: var(--border-light) !important;
}
.hero-cards .card .card-body {
    color: var(--color-primary);
    border-color: var(--border-light) !important;
}
.hero-cards .card .card-header .bi {
    margin-right: 12px;
    font-size: 1.2rem;
}
.hero-cards .card .card-footer {
    background-color: transparent;
    text-align: center;
    font-size: 0.85rem;
    border-color: var(--border-light) !important;
}

.hero-cards .item {
    display: block;
    padding: 8px 0 10px 0px;
}
.hero-cards .item .fw-light {
    font-size: 0.85rem;
    padding-top:4px;
}
.hero-cards .item .text-big {
    font-size: 2.75rem;
}

.hero-menu-bottom {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 0px 0px 20px 0px;
}

.hero-menu-bottom a {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    text-decoration: none;
    font-size: 0.9rem;
    min-width: 170px;
    width: auto;
    position: relative;
}
.hero-menu-bottom a .text-link {
    padding: 10px;    
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    text-decoration: none;  
    position: relative;
}
.hero-menu-bottom a .text-link .bi {
    font-size: 3rem;
    display: inline-flex;
    margin-right: 16px;
}
.hero-menu-bottom a .text-link .bi.bi-sm {
    font-size: 3.6rem !important;
}
.hero-menu-bottom a .text-hover {
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: #fff;
    color: #fff;
}
.hero-menu-bottom a:hover .text-hover {
    opacity: 1;
    visibility: visible;    
    background: rgba(14, 36, 113, 1);
    color: #fff;
}
body.dark-mode .hero-menu-bottom a .text-hover {
    background: #121212;
    color: #fff;
}
body.dark-mode .hero-menu-bottom a:hover .text-hover {
    background: #121212;
    color: #fff;
}


.btn-green, .btn-green:active {
    color: var(--color-secondary);
}
.btn-green:hover{
    color: var(--color-info);
}
body.dark-mode .btn-green {
    color: var(--color-secondary) !important;  

}
body.dark-mode .btn-green:hover {
    background-color: var(--color-secondary); 
    color: #fff !important;
}

/* Breakpoints responsivos para bordas / #0032a7 */
@media (min-width: 576px) {
  .border-sm-start { border-left: 1px solid #283600 !important; }
  .border-sm-end   { border-right: 1px solid #283600 !important; }
  .border-sm-top   { border-top: 1px solid #283600 !important; }
  .border-sm-bottom{ border-bottom: 1px solid #283600 !important; }
}

@media (min-width: 768px) {
  .border-md-start { border-left: 1px solid #283600 !important; }
  .border-md-end   { border-right: 1px solid #283600 !important; }
  .border-md-top   { border-top: 1px solid #283600 !important; }
  .border-md-bottom{ border-bottom: 1px solid #283600 !important; }
}

@media (min-width: 992px) {
  .border-lg-start { border-left: 1px solid #283600 !important; }
  .border-lg-end   { border-right: 1px solid #283600 !important; }
  .border-lg-top   { border-top: 1px solid #283600 !important; }
  .border-lg-bottom{ border-bottom: 1px solid #283600 !important; }
}

@media (min-width: 1200px) {
  .border-xl-start { border-left: 1px solid #283600 !important; }
  .border-xl-end   { border-right: 1px solid #283600 !important; }
  .border-xl-top   { border-top: 1px solid #283600 !important; }
  .border-xl-bottom{ border-bottom: 1px solid #283600 !important; }
}

@media (min-width: 1400px) {
  .border-xxl-start { border-left: 1px solid #283600 !important; }
  .border-xxl-end   { border-right: 1px solid #283600 !important; }
  .border-xxl-top   { border-top: 1px solid #283600 !important; }
  .border-xxl-bottom{ border-bottom: 1px solid #283600 !important; }
}

/* Breakpoints responsivos para padding-start */
@media (min-width: 576px) {
  .ps-sm-4 { padding-left: 1.5rem !important; }
}
@media (min-width: 768px) {
  .ps-md-4 { padding-left: 1.5rem !important; }
}
@media (min-width: 992px) {
  .ps-lg-4 { padding-left: 1.5rem !important; }
}
@media (min-width: 1200px) {
  .ps-xl-4 { padding-left: 1.5rem !important; }
}
@media (min-width: 1400px) {
  .ps-xxl-4 { padding-left: 1.5rem !important; }
}


.carregando {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
body.dark-mode .carregando {
    background-color: rgba(0, 0, 0, 0.5);
}

input[type="radio"] {
    margin-left:6px;
    margin-right: 6px; /* espaço entre o radio e a label */
}
input[type="checkbox"] {
    margin-left:6px;
    margin-right: 6px; /* espaço entre o radio e a label */
}

.t-lower {
    text-transform: lowercase;
}
.t-upper {
    text-transform: uppercase;
}

.nav-header {
    font-size: 0.85rem;
    padding: 8px 16px;
    background: var(--color-darkblue);
    color: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
}
.nav-header a
, .nav-header a:active
, .nav-header a:hover {
    color: #fff !important;
}

input[type="checkbox"]{
    margin-right: 8px;
}

/* Borda no topo a partir de sm (≥576px) */
@media (min-width: 576px) {
  .border-atendimento {
    border-top: 1px solid #dee2e6; /* cor padrão do Bootstrap */
    border-left: none;
  }
}

/* Borda à esquerda a partir de md (≥768px) */
@media (min-width: 768px) {
  .border-atendimento {
      border-top: none;
      border-left: 1px solid #dee2e6;
  }
}

.bg-blue-1 {
    background: var(--color-blue-1);
}
.bg-blue-2 {
    background: var(--color-blue-2);
}
.bg-blue-3 {
    background: var(--color-blue-3);
}

.atend-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--color-blue-3);
    color: #fff;
    border-radius: 50%;
}

.icon {
    min-width: 40px;
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--color-blue-3);
    color: #fff;
    border-radius: 50%;
}
.icon-sm {
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    font-size: 1.2rem;
}
.icon-nofill {
    min-width: 40px;
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: 50%;
}

.atend-number {        
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-3);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.90rem;
    margin-right: 12px;
}

.pointer, .cursor-pointer {
    cursor: pointer;
}

.well {
    border: 1px solid #ddd;
    background-color: #eeefff;
    color: var(--color-primary);
    padding: 12px 8px;
    border-radius: 8px;
}
.dark-mode .well{
    border: 1px solid #333;
    background-color: #222222;
}

.pn-filto {
    border: 1px solid #ddd;
    padding: 12px 8px;
    border-radius: 8px;
    margin: 8px auto;
    font-size: 0.90rem;
}
.pn-filto .btn
, .pn-filto .form-control {
    font-size: 0.90rem;
}
.dark-mode .pn-filto {
    border: 1px solid #212121;
}

.pn-grid {
    min-height: 320px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.dark-mode .pn-grid {
    border-color: #333;
}

.table tr th
, .table tr td{
    color: var(--color-primary);
    vertical-align: middle;
}

.texto_semA {
    font-weight: 300;
}

.page_nav {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction:row;
    margin: auto;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0 0;
}
.page_nav .navbutton {
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 2px;
}
.page_nav .navbutton.active
, .page_nav .navbutton.current
, .page_nav .navbutton:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.dark-mode .page_nav .navbutton {
    border-color: #666;
}
.dark-mode .page_nav .navbutton.active
, .dark-mode .page_nav .navbutton.current
, .dark-mode .page_nav .navbutton:hover {
    background-color: #666;
    color: #fff;
}

.border-btn
, .border-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 12px;
}
.border-btn:hover {
    background-color: #0e2471;
    color: #fff;
}
.dark-mode .border-item {
    border: 1px solid #444;
}
.t-orange .icon {
    background-color: #f6aa07;
    min-width: 50px;
    min-height: 50px;
}
.t-orange h5
, .t-orange .link {
    color: #f6aa07;
    border-color: #f6aa07;
}
.t-green .icon {
    background-color: #72B130;
    min-width: 50px;
    min-height: 50px;
}
.t-green h5
, .t-green .link {
    color: #72B130;
    border-color: #72B130;
}
.t-blue .icon {
    background-color: #1642DD;
    min-width: 50px;
    min-height: 50px;
}
.t-blue h5
, .t-blue .link {
    color: #1642DD;
    border-color: #1642DD;
}
.dark-mode .t-blue h5
, .dark-mode .t-blue .link {
    color: var(--color-light-text);
    border-color: var(--color-light-text);
}
.border-btn:hover p {
    color: #fff;
}
.border-btn:hover.t-orange h5
, .border-btn:hover.t-orange .link
, .border-btn:hover.t-green h5
, .border-btn:hover.t-green .link
, .border-btn:hover.t-blue h5
, .border-btn:hover.t-blue .link {
    color: #fff;
}

.input-group .form-control {
    border-right: none;
}
.input-group .btn-border {
    border: 1px solid #ddd;
    border-left: none;
}

select.form-control {
  appearance: none;          /* remove seta padrão */
  -webkit-appearance: none;  /* Safari/Chrome */
  -moz-appearance: none;     /* Firefox */  
  background: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
              no-repeat right 0.75rem center/1rem auto;   
  padding-right: 2rem;       /* espaço para a seta */
}
.dark-mode .form-control {
    background-color: transparent;
}
.dark-mode select option {
  background-color: #222222; /* fundo das opções */
  color: #f0f0f0;           /* cor do texto das opções */
}

.border-item .icon-big {
    font-size: 2.5rem;
}

.border-item.t-orange .icon-big {
    color: #f6aa07;
}
.border-item.t-green .icon-big {
    color: #72B130;
}
.border-item.t-blue .icon-big {
    color: #1642DD;
}

.flex-1 {
    flex: 1;
}

.tabs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding: 0px 12px 0 12px;
    margin-bottom: 4px;
    position: relative;
}
.tabs .item {
    padding: 10px 12px;
    border: 1px solid #ddd;
    position: relative;
    bottom: -1px;
    border-bottom: none;
}
.tabs .item:hover {
    background-color: var(--color-blue-3);
    color: #fff;
}
.tabs .item.active {
    background-color: var(--color-blue-1);
    color: #fff;
}
.tabs .item.active:hover {
    background-color: var(--color-blue-3);
}
.dark-mode .tabs {
    border-bottom: 1px solid #666;
}
.dark-mode .tabs .item {
    border-color: #666;
}

/************************ CALENDAR ***********************************/

/* The main calendar widget.  DIV containing a table. */

div.calendar { position: absolute; z-index: 30000; width: 220px; }

.calendar, .calendar table {
      z-index: 30001;
      border: 1px solid #999999;
      font-size: 14px;
      color: #000;
      cursor: default;
      background: white;
      font-family: Calibri, "Abel", "Asap", Verdana, Arial, Helvetica, Sans-serif;
      width: auto;
}

.calendar button, .calendar .button
{    
    color: #fff;
}
.calendar button div, .calendar .button div {
    margin: auto;
    text-align: center;
}

.calendar .buttoncalendar { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 4px;          /* Make the buttons seem like they're pressing */
  color: White;
}

.calendar .nav {
    display: table-cell;
    text-align: center;
    background: #2D4970;
    margin: auto;
}

.calendar thead .title, .closebutton { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: #2D4970;
  color: #FFFFFF;
  padding: 4px;
}

.closebutton 
{
	font-weight:bolder;
	color:white;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #2D4970;
  color: #000;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #CCCCCC;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #556;
  padding: 2px;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #97A7C1;
  color: #000000;
  /*border: 1px solid #284274;*/
  /*padding: 1px;*/
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #97A7C1;
  color: #000000;
  /*padding: 2px 0px 0px 2px;*/
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #456;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #000;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #bdf;
}

.calendar tbody .rowhilite td {
  background: #def;
}

.calendar tbody .rowhilite td.wn {
  background: #eef;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #def;
  padding: 1px 3px 1px 1px;
  border: 1px solid #bbb;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #cde;
  /*padding: 2px 2px 0px 2px;*/
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  /*border: 1px solid #000;
  padding: 1px 3px 1px 1px;*/
  background: #fff;
  color: red;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #000;
  background-color:#FFFFCC;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #00f;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #556;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
  border-top: 1px solid #556;
  padding: 1px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #aaf;
  border: 1px solid #04f;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
  /*padding: 2px 0px 0px 2px;*/
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #284274;
  background: #def;
  color: #000;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #acf;
}

.calendar .combo .active {
  border-top: 1px solid #284274;
  border-bottom: 1px solid #284274;
  background: #eef;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

/****************************/

.preload {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    z-index: 100;
    font-size: 14px;
    color: #000;
}

.d-none {
    display: none;
}
    
.treeview td a {
    margin-right: 8px;
}

.certidoes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.certidoes > div {
    flex-basis: 32%;
}
.certidoes h6 {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .certidoes > div {
        flex-basis: 100%;
    }
}

hr {
    display: block;
    width: 100%;
}

.dark-mode .table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(0, 0, 0, 0.2);
}

.bg-alternated {
    background-color: rgba(255, 255, 255, 0.3);
}

.list-items a:nth-child(odd) {
  background-color: #efefef; /* cor para ímpares */
}

.list-items a:nth-child(even) {
  background-color: #fff; /* cor para pares */
}

.dark-mode .list-items a:nth-child(odd) {
  background-color: #000; /* cor para ímpares */
}

.dark-mode .list-items a:nth-child(even) {
  background-color: #202020; /* cor para pares */
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
