/* ==========================================================================
   BadiuNet — Theme/Base — Site shell
   --------------------------------------------------------------------------
   Design tokens + shell (header, sidebar, content, forms, buttons, footer).
   The report/filter/table/dashboard layer lives in badiu-report.css and
   consumes the same tokens.

   Contrast-accessibility (body.contraste) rules at the bottom of this file
   are untouched and still win via !important.
   ========================================================================== */

:root {
  /* A2i surfaces */
  --bd-surface: #ffffff;
  --bd-surface-alt: #f8fafb;
  --bd-surface-2: #f8fafb;
  --bd-surface-3: #fbfcfc;
  --bd-canvas: #f4f7f8;

  /* A2i borders */
  --bd-border: #dfe7e9;
  --bd-border-soft: #edf2f3;
  --bd-border-strong: #cbd7d9;

  /* A2i text */
  --bd-text: #102a35;
  --bd-text-soft: #38515a;
  --bd-text-muted: #657980;

  /* A2i brand */
  --bd-primary: #087f78;
  --bd-primary-rgb: 8, 127, 120;
  --bd-primary-ink: #075f5b;
  --bd-primary-hover: #066a65;
  --bd-secondary: #123a5a;
  --bd-cyan: #17a6a0;
  --bd-cyan-rgb: 23, 166, 160;
  --bd-highlight: #e7a52c;

  /* Interactive accent */
  --bd-accent: #087f78;
  --bd-accent-ink: #075f5b;
  --bd-accent-bg: #e8f6f4;
  --bd-accent-border: #b9dfdc;

  /* Semantic */
  --bd-info: #2467c9;
  --bd-info-bg: #e8f6f4;
  --bd-info-ink: #075f5b;
  --bd-info-border: #b9dfdc;

  --bd-success: #16875d;
  --bd-success-rgb: 22, 135, 93;
  --bd-success-ink: #126b4b;
  --bd-success-bg: #e9f7f1;
  --bd-success-border: #b9e1d1;

  --bd-danger: #c43d4b;
  --bd-danger-rgb: 196, 61, 75;
  --bd-danger-ink: #a93440;
  --bd-danger-bg: #fcecef;
  --bd-danger-border: #efc0c6;

  --bd-warning: #b66a00;
  --bd-warning-ink: #8a5100;
  --bd-warning-bg: #fff5e5;
  --bd-warning-border: #efd29f;

  /* Geometry */
  --bd-radius-sm: .65rem;
  --bd-radius: .72rem;
  --bd-radius-md: .9rem;
  --bd-radius-lg: 1.25rem;
  --bd-header-height: 72px;
  --bd-sidebar-width: 272px;

  /* Elevation */
  --bd-shadow-sm: 0 1px 2px rgba(16, 42, 53, .05), 0 10px 28px rgba(16, 42, 53, .06);
  --bd-shadow-md: 0 18px 60px rgba(16, 42, 53, .16);

  /* Bootstrap aliases used by the existing generated markup. */
  --bs-primary: var(--bd-primary);
  --bs-primary-rgb: var(--bd-primary-rgb);
  --bs-link-color: var(--bd-primary-ink);
  --bs-link-hover-color: var(--bd-primary);
  --bs-body-color: var(--bd-text);
  --bs-body-bg: var(--bd-canvas);
  --bs-border-color: var(--bd-border);
  --bs-font-sans-serif: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
}

[data-bs-theme="dark"] {
  --bd-canvas: #0c171c;
  --bd-surface: #122127;
  --bd-surface-alt: #17282e;
  --bd-surface-2: #17282e;
  --bd-surface-3: #15252b;
  --bd-border: #2a3b41;
  --bd-border-soft: #22343a;
  --bd-border-strong: #3a4d54;
  --bd-text: #eef8f7;
  --bd-text-soft: #cbd9dc;
  --bd-text-muted: #a5b6ba;
  --bd-accent-bg: rgba(23, 166, 160, .13);
  --bd-info-bg: rgba(23, 166, 160, .13);
  --bd-info-border: rgba(23, 166, 160, .3);
  --bd-shadow-sm: 0 1px 2px rgba(0, 0, 0, .22), 0 12px 30px rgba(0, 0, 0, .14);
  --bd-shadow-md: 0 18px 60px rgba(0, 0, 0, .38);
  --bs-body-color: var(--bd-text);
  --bs-body-bg: var(--bd-canvas);
  --bs-secondary-color: var(--bd-text-muted);
  --bs-tertiary-bg: var(--bd-surface-2);
  --bs-border-color: var(--bd-border);
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--bd-canvas);
  color: var(--bd-text);
  font-family: var(--bs-font-sans-serif);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus visibility — accessibility baseline across the whole site. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--bd-primary);
  outline-offset: 2px;
  border-radius: var(--bd-radius-sm);
}

@media (min-width: 1920px) {
  #wrapper,
  #header .barra-principal,
  #header .barra-pesquisa,
  #footer .course-footer,
  #footer .row-fluid {
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
  }

  #wrapper {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  }
}

.packagefilecontent:parent:parent #wrapper {
  border: 2px solid black;
}

/*
 Pra dispositivos que tem uma largura mínima de 768 pixels. Tablets, por exemplo.
*/
@media (max-width: 960px) {
  .user-menu {
    width: 176px;
  }
}

/*
@media screen and (min-width: 0px)  and (max-width: 800px) {
   #formlogin {
	   padding-left: 0px; 
	   padding-right: 0px; 
   }
}
@media screen and (min-width: 801px)  and (max-width: 1600px) {
   #formlogin {
	   padding-left: 200px; 
	   padding-right: 20px;  
   }
}
@media screen and  (max-width: 1601px) {
   #formlogin {
	   padding-left: 300px; 
	   padding-right: 300px; 
   }
}
 
*/
pre {
            height: 100%;
            max-height: 300px;
        }
#formlogin {
  max-width: 100%;
  max-width: 600px;
  margin: 0px auto;
}

#wrapper {
  display: flex;
  padding-left: 0;
  transition: all 0.4s ease 0s;
  min-height: 90vh;
}
#wrapper-login {
  padding-left: 0px;
  transition: all 0.4s ease 0s;
}
#sidebar-wrapper {
  /* border-radius: 5px; */
  /* top: 98px; */
  /* left: 250px; */
  /* background: #007bff; */
  /* position: fixed; */
  /* overflow-y: auto; */
  /* z-index: 1000; */
  /*border: 1px solid #eee;*/

  margin-top: 10px;
  margin-left: 0;
  width: 256px;
  height: 100%;
  transition: all 0.4s ease 0s;
  display: none;
}

#wrapper.active #sidebar-wrapper {
  left: 0;
  margin-left: 0;
  width: 256px;
  display: block;
}

#wrapper .navbar-nav .nav-link {
  /* padding-right: 20px;*/
  padding-left: 20px;
}

#wrapper .enuitem {
  display: block;
}
#wrapper .submenuoptions {
  width: 229px;
  word-break: normal;
}

#wrapper .dropdown-item {
  white-space: normal;
}

#wrapper .list-group {
  position: relative;
}
#wrapper .navbar-nav {
  border: 1px solid #eee;
}
#wrapper .dropdown-item {
  border: 1px solid #eee;
}

.section-wrapper {
  flex: 1;
  width: 100%;
}

#page-content-wrapper {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 100px;
  transition: all 0.4s ease 0s;
}

.menu-current-panel .list-group-item {
  background-color: #ffef0745;
}
.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  color: #999999;
  display: block;
  text-decoration: none;
  padding-left: 60px;
}

.sidebar-nav li a span:before {
  position: absolute;
  left: 0;
  color: #41484c;
  text-align: center;
  width: 20px;
  line-height: 18px;
}

.sidebar-nav li a:hover,
.sidebar-nav li.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  height: 65px;
  line-height: 60px;
  font-size: 18px;
}

.sidebar-nav > .sidebar-brand a {
  color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#menu-toggle {
  text-decoration: none;
  float: left;
  color: #000;
  padding-right: 15px;
}

@media (max-width: 767px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.active #sidebar-wrapper {
    left: 250px;
    padding-left: -250px;
    transition: all 0.4s ease 0s;
  }
  #menu-toggle {
    display: inline-block;
  }
}

#header {
  border-top: 1px solid rgba(19, 92, 174, 0.5);
  border-bottom: 1px solid rgba(19, 92, 174, 0.5);
  box-shadow: 0px 2px 6px -2px rgb(112 112 115 / 50%);
  z-index: 999;
  background-color: white;
}

@media only screen and (max-width: 576px) {
  #header .header-wrapper {
      flex: none !important;
  }
}
@media only screen and (min-width: 768px) {
  #header .main .header-wrapper {
      padding-bottom: 16px;
  }
}

.logo {
  float: left;
  display: inline-block;
}

.logo {
  float: left;
  display: inline-block;
}

.sitename {
  display: inline-block;
  padding-left: 5px;
  margin-top: 12px;
}
.logo-image {
  height: 50px;
  width: 130px;
}

@media screen and (min-width: 0px) and (max-width: 820px) {
  .logo {
    display: none;
  }
}

@media screen and (min-width: 821px) {
  .logo {
    display: block;
  }
}
.logo-bar {
  padding-right: 10px;
  border-right: solid 1px #bbb;
}

.usernavegation .navbar-nav {
  background-color: #d1ecf1;
  border-radius: 16px;
  padding: 0 8px;
}
.usernavegation .navbar-nav li {
  width: 160px;
}


.loginlink {
  color: #343a40;
}

.boxloginlink{
	background: #f8f8f8;
    border-radius: 40px;
    color: #007bff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    padding: 0 12px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.boxloginlink a{ 
  color: #007bff;
  text-decoration: none;
}
.glyphicon {
  top: 7px;
}

.user-menu {
  text-align: right;
  position: relative;
  top: 12px;
}

#spy {
  width: 237px;
  top: 14px;
  position: relative;
  padding-left: 5px;
  padding-bottom: 60px;
}

#footer {
  background-color: #071d41;
  border: none;
  box-shadow: none;
  max-height: 100%;
  bottom: 0;
  position: relative;
  width: 100%;
  z-index: 10;
  font-family: rawline, helvetica, arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  vertical-align: baseline;

  
  /*
  background: #fff none repeat scroll 0 0;
  border-bottom: 1px solid rgba(19, 92, 174, 0.5);
  border-top: 1px solid rgba(19, 92, 174, 0.5);
  box-shadow: -2px -2px 6px 0 rgba(112, 112, 115, 0.5);
  max-height: 43px;
  bottom: 0;
  width: 100%;
  margin-top: 10px;
  z-index: 10;
  */
}

#footer #copyright p {
  color: #878787;
  font-size: 8pt;
  margin-top: 10px;
  text-align: center;
}

.scheduletitle {
  font-size: 16px;
}
/* admin atttendance status*/
.attendance-status-undefined {
  color: #dee2e6;
}
.attendance-status-present {
  color: #16af39eb;
}
.attendance-status-absent {
  color: #dc3545;
}
.attendance-status-late {
  color: #ffc107ed;
}
.attendance-status-justified {
  color: #0776ffeb;
}
.btn-primary {
  color: white !important;
}
/* Split-button dropdown toggle (`.btn.btn-primary.dropdown-toggle`).
   Fixes a long-standing dead rule that read `primary.dropdown-toggle` — a type
   selector for a nonexistent <primary> element — and whose first declaration
   was missing its semicolon, so `border-color` was swallowed too.
   The neutral #f1f1f1 background is kept as originally intended, but the text
   colour must be restated: `.btn-primary` above forces `color: white`, and
   white on #f1f1f1 is a 1.13:1 contrast ratio (invisible). Uses the dark ink
   token instead — 13.66:1, comfortably past WCAG AA. */
.btn-primary.dropdown-toggle {
    background-color: #f1f1f1;
    border-color: #d0d7de;
    color: var(--bd-text) !important;
}

.btn-primary.dropdown-toggle:hover,
.btn-primary.dropdown-toggle:focus {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: var(--bd-text) !important;
}
/* INICIO MENU LATERAL */
/* INICIO MENU LATERAL */
.nav-side-menu {
  overflow: auto;
  font-size: 1rem;
  font-weight: 400;
  background-color: #f8f8f8;
  /*position: fixed;*/
  width: 246px;
  height: 100%;
  color: #777;
}
.nav-side-menu .toggle-btn {
  display: none;
}
.nav-side-menu ul,
.nav-side-menu li {
  list-style: none;
  padding: 0px;
  margin: 0px;
  line-height: 35px;
  cursor: pointer;
}
.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
  content: "\f0d8";
  color: #4a5568;
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;

  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
  float: right;
}
.nav-side-menu ul.collapsed .arrow:before,
.nav-side-menu li.collapsed .arrow:before {
  content: "\f0d7";
  color: #4a5568;
}
.nav-side-menu ul .active,
.nav-side-menu li .active {
  border-left: 3px solid #007bff;
  background-color: #e9ecef;
}
.nav-side-menu .sub-menu li,
.nav-side-menu .sub-menu li {
  background-color: #f3f3f3;
  border: none;
  line-height: 28px;
  border-bottom: 1px solid #e7e7e7;
  margin-left: 0px;
  display: flex;
  flex-direction: row;
}
.nav-side-menu .sub-menu .active,
.nav-side-menu .sub-menu .active {
  background-color: #e2e8f0;
  color: #007bff !important;
}
.nav-side-menu ul.sub-menu .active a,
.nav-side-menu li.sub-menu .active a {
  color: #007bff !important;
}
.nav-side-menu .sub-menu li:hover,
.nav-side-menu .sub-menu li:hover {
  background-color: #e2e8f0;
}
.nav-side-menu .sub-menu li:before,
.nav-side-menu .sub-menu li:before {
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  content: "\f105";
  /*display: inline-block;*/
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}
.nav-side-menu li {
  display: flex;
  padding-left: 16px;
  border-left: 3px solid #f8f8f8;
  border-bottom: 1px solid #e7e7e7;
}
.nav-side-menu li a {
  width: 100%;
  text-decoration: none;
  color: #212529;
}
.nav-side-menu li a i {
  padding-left: 10px;
  width: 20px;
  padding-right: 20px;
}
.nav-side-menu li:hover {
  border-left: 3px solid #007bff;
  background-color: #cbd5e0;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

@media (max-width: 767px) {
  .nav-side-menu {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
  }
  .nav-side-menu .toggle-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 76px;
    z-index: 10 !important;
    padding: 3px;
    background-color: #ffffff;
    color: #000;
    width: 40px;
    text-align: center;
  }
  .brand {
    text-align: left !important;
    font-size: 22px;
    padding-left: 20px;
    line-height: 50px !important;
  }
  #page-content-wrapper .page-content .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
}

/* FIM MENU LATERAL */


.report .row {
	row-gap: 1em;
}














/* HEADER - SITE-HEADER-LINKS */
.site-header-links {
  align-items: center;
  display: flex;
}
.site-header-links a {
  text-decoration: none;
}
.site-header-links a:focus {
  outline-color: #c2850c;
  outline-style: dashed;
  outline-offset: 4px;
  outline-width: 2px;
}
.site-header-links a:focus:not(.focus-visible) {
  outline: none;
}
@media only screen and (min-width: 576px) {
  .site-header-links .head-menu-links {
      position: relative;
  }
}
.site-header-links .head-menu-links .toggle-head-menu-links {
  align-items: center;
  border-radius: 16px;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.site-header-links .head-menu-links .toggle-head-menu-links span {
  width: auto;
}
.site-header-links .head-menu-links .toggle-head-menu-links:focus {
  outline-color: #c2850c;
  outline-style: dashed;
  outline-offset: 4px;
  outline-width: 2px;
}
.site-header-links .head-menu-links .toggle-head-menu-links:focus:not(.focus-visible) {
  outline: none;
}
@media only screen and (min-width: 1024px) {
  .site-header-links .head-menu-links .toggle-head-menu-links {
      display: none;
  }
}
.site-header-links .head-menu-links ul {
  display: block;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
@media only screen and (min-width: 1024px) {
  .site-header-links .head-menu-links ul {
      display: block !important;
  }
}
@media only screen and (max-width: 1023px) {
  .site-header-links .head-menu-links ul {
      background-color: #fff;
      box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
      display: none;
      font-size: 12px;
      left: 50%;
      margin-left: -130px;
      padding: 0;
      position: absolute;
      text-align: left;
      width: 260px;
      z-index: 160;
  }
}
@media only screen and (max-width: 575px) {
  .site-header-links .head-menu-links ul {
      left: 0;
      margin: 0;
      right: 0;
      width: auto;
  }
}
.site-header-links .head-menu-links ul li {
  display: inline-block;
  margin: 0 4px;
}
@media only screen and (max-width: 1023px) {
  .site-header-links .head-menu-links ul li {
      display: block;
      margin: 0;
      text-transform: none;
      white-space: nowrap;
  }
}
.site-header-links .head-menu-links ul li.titulo {
  color: #333;
  display: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 16px;
  text-transform: uppercase;
}
@media only screen and (max-width: 1023px) {
  .site-header-links .head-menu-links ul li.titulo {
      display: block;
  }
}
.site-header-links .head-menu-links ul li a {
  font-size: 14px;
}
@media only screen and (max-width: 1023px) {
  .site-header-links .head-menu-links ul li a {
      display: block;
      font-size: 12px;
      padding: 8px 16px;
  }
}
.site-header-links .head-menu-links ul li a:hover {
  color: #0c326f;
}
.site-header-links .head-menu-links.open .toggle-head-menu-links {
  color: #071d41;
}
.site-header-links .header-icons {
  padding: 0;
  white-space: nowrap;
  margin-left: 8px;
  margin-right: 15px;
  margin-bottom: 0;
}
@media only screen and (max-width: 575px) {
  .site-header-links .header-icons {
      margin: 0 5px;
  }
}
.site-header-links .header-icons li {
  display: inline-block;
  margin: 0;
}
.site-header-links .header-icons li a {
  align-items: center;
  border-radius: 16px;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
  font-size: 14px;
  height: auto;
  width: auto;
}
.site-header-links .header-icons li a span {
  width: auto;
}
.site-header-links .header-icons li a:focus {
  outline-color: #c2850c;
  outline-style: dashed;
  outline-offset: 4px;
  outline-width: 2px;
}
.site-header-links .header-icons li a:focus:not(.focus-visible) {
  outline: none;
}
.site-header-links .header-icons li a:hover {
  background-color: #dbe8fb;
}
.site-header-links .link-acesso {
  background: #f8f8f8;
  border-radius: 40px;
  color: #0c326f;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
  padding: 0 12px;
  white-space: nowrap;

  display: flex;
  align-items: center;
}
.site-header-links .link-acesso span {
  color: #1351b4;
  padding-right: 8px;
}
.site-header-links .link-acesso:hover {
  background-color: #dbe8fb;
}
.site-header-links .link-acesso:focus {
  outline-color: #c2850c;
  outline-style: dashed;
  outline-offset: 4px;
  outline-width: 2px;
}
.site-header-links .link-acesso:focus:not(.focus-visible) {
  outline: none;
}



/* ==========================================================================
   SHELL REFINEMENTS — Theme/Base
   Layered after the legacy rules above so it refines them without removing
   the structure they define. Everything below stays overridable by the
   contrast-accessibility block that follows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Content surface
   -------------------------------------------------------------------------- */

#page-content-wrapper .page-content {
  padding-top: .25rem;
}

#badiunet-system-core-output {
  padding-bottom: 1.5rem;
}

/* Breadcrumb — quiet, no heavy grey slab. */
#badiunet-system-core-output .breadcrumb,
.breadcrumb {
  background: transparent;
  padding: .25rem 0 .5rem;
  margin-bottom: .5rem;
  font-size: .82rem;
}

.breadcrumb .breadcrumb-item a {
  color: var(--bd-text-muted);
  text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
  color: var(--bd-primary);
  text-decoration: underline;
}

.breadcrumb .breadcrumb-item.active {
  color: var(--bd-text-soft);
  font-weight: 600;
}

/* Generic cards outside the report area. */
#badiunet-system-core-output > .card,
.page-content > .card {
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  background: var(--bd-surface);
  box-shadow: var(--bd-shadow-sm);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

#header {
  border-top: 0;
  border-bottom: 1px solid var(--bd-border);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
  background-color: var(--bd-surface);
}

.sitename {
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--bd-text);
}

/* User navigation pill in the header. */
.usernavegation .navbar-nav {
  background-color: var(--bd-info-bg);
  border: 1px solid var(--bd-info-border);
  border-radius: 999px;
  padding: 0 .35rem;
}

.usernavegation .navbar-nav .nav-link {
  color: var(--bd-primary-ink);
  font-weight: 600;
  font-size: .875rem;
}

.boxloginlink {
  background: var(--bd-info-bg);
  border: 1px solid var(--bd-info-border);
  color: var(--bd-primary);
  transition: background .15s ease, border-color .15s ease;
}

.boxloginlink:hover {
  background: #dbe8fb;
  border-color: #74c0fc;
}

.site-header-links .header-icons li a {
  border-radius: 999px;
  color: var(--bd-text-soft);
  transition: background .15s ease, color .15s ease;
}

.site-header-links .header-icons li a:hover {
  background-color: var(--bd-info-bg);
  color: var(--bd-primary);
}

/* Dropdown menus. */
.dropdown-menu {
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-md);
  box-shadow: var(--bd-shadow-md);
  padding: .35rem;
}

#wrapper .dropdown-item,
.dropdown-item {
  border: 0;
  border-radius: var(--bd-radius-sm);
  padding: .5rem .7rem;
  font-size: .875rem;
  color: var(--bd-text-soft);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--bd-info-bg);
  color: var(--bd-primary-ink);
}

/* --------------------------------------------------------------------------
   Left menu
   -------------------------------------------------------------------------- */

#sidebar-wrapper {
  margin-top: 0;
}

.nav-side-menu {
  background-color: var(--bd-surface);
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  overflow: hidden auto;
  font-size: .875rem;
  color: var(--bd-text-soft);
}

#wrapper .navbar-nav {
  border: 0;
}

.nav-side-menu li {
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--bd-border-soft);
  padding-left: .9rem;
  line-height: 2.1;
  transition: background .15s ease, border-color .15s ease;
}

.nav-side-menu li a {
  color: var(--bd-text-soft);
  font-weight: 500;
}

.nav-side-menu li a i {
  color: var(--bd-text-muted);
}

.nav-side-menu li:hover {
  border-left: 3px solid var(--bd-primary);
  background-color: var(--bd-info-bg);
  /* The legacy 1s transition felt sluggish on a menu. */
  -webkit-transition: all .15s ease;
  -moz-transition: all .15s ease;
  -o-transition: all .15s ease;
  -ms-transition: all .15s ease;
  transition: all .15s ease;
}

.nav-side-menu li:hover a,
.nav-side-menu li:hover a i {
  color: var(--bd-primary-ink);
}

.nav-side-menu ul .active,
.nav-side-menu li .active {
  border-left: 3px solid var(--bd-primary);
  background-color: var(--bd-info-bg);
}

.nav-side-menu .sub-menu li {
  background-color: var(--bd-surface-2);
  border-bottom: 1px solid var(--bd-border-soft);
  line-height: 1.9;
}

.nav-side-menu .sub-menu li:hover {
  background-color: var(--bd-info-bg);
}

.nav-side-menu .sub-menu li:before {
  color: var(--bd-text-muted);
}

.nav-side-menu .sub-menu .active {
  background-color: var(--bd-info-bg);
  color: var(--bd-primary) !important;
}

/* Semantic hooks emitted by the Base vlmenu partial. The legacy selectors
   above still carry the layout; these only refine the A2i reading rhythm. */
.badiu-app-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.badiu-nav-subitem > a {
  display: block;
  padding-left: .35rem;
  font-size: .84rem;
}

.badiu-nav-subitem.active > a {
  color: var(--bd-primary-ink);
  font-weight: 650;
}

/* Current-panel highlight — replaces the harsh yellow wash. */
.menu-current-panel .list-group-item {
  background-color: var(--bd-info-bg);
  border-left: 3px solid var(--bd-primary);
}

/* --------------------------------------------------------------------------
   Forms (add / edit / filter)
   -------------------------------------------------------------------------- */

#_badiu_theme_base_form_vuejs .card,
#badiunet-system-core-output form .card {
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  background: var(--bd-surface);
  box-shadow: var(--bd-shadow-sm);
}

#_badiu_theme_base_form_vuejs .card > .card-header,
#badiunet-system-core-output form .card > .card-header {
  background: var(--bd-surface-2);
  border-bottom: 1px solid var(--bd-border);
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--bd-primary-ink);
}

#_badiu_theme_base_form_vuejs .card > .card-body,
#badiunet-system-core-output form .card > .card-body {
  padding: 1.15rem;
}

/* Field rhythm. */
#badiunet-system-core-output .form-group {
  margin-bottom: 1rem;
}

#badiunet-system-core-output label,
#_badiu_theme_base_form_vuejs label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--bd-text-soft);
  margin-bottom: .35rem;
}

/* Inputs. */
#badiunet-system-core-output .form-control,
#badiunet-system-core-output .form-select,
#_badiu_theme_base_form_vuejs .form-control,
#_badiu_theme_base_form_vuejs .form-select {
  border: 1px solid var(--bd-border-strong);
  border-radius: var(--bd-radius);
  padding: .5rem .75rem;
  font-size: .9rem;
  color: var(--bd-text);
  background-color: var(--bd-surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}

#badiunet-system-core-output .form-control:hover,
#_badiu_theme_base_form_vuejs .form-control:hover {
  border-color: #adb5bd;
}

#badiunet-system-core-output .form-control:focus,
#badiunet-system-core-output .form-select:focus,
#_badiu_theme_base_form_vuejs .form-control:focus,
#_badiu_theme_base_form_vuejs .form-select:focus {
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 3px rgba(25, 113, 194, .15);
  outline: none;
}

#badiunet-system-core-output .form-control::placeholder {
  color: var(--bd-text-muted);
}

#badiunet-system-core-output textarea.form-control {
  min-height: 90px;
  line-height: 1.55;
}

/* Fieldsets used to group form sections. */
#badiunet-system-core-output form fieldset.form-group {
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-md);
  background: var(--bd-surface-3);
  padding: 1rem;
  margin-bottom: 1rem;
}

#badiunet-system-core-output form fieldset.form-group > legend {
  float: none;
  width: auto;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bd-primary-ink);
  padding: 0;
  margin-bottom: .65rem;
  border: 0;
}

/* Alerts. */
#badiunet-system-core-output .alert {
  border-radius: var(--bd-radius-md);
  border-width: 1px;
  padding: .8rem 1rem;
  font-size: .875rem;
}

#badiunet-system-core-output .alert-info {
  background: var(--bd-info-bg);
  border-color: var(--bd-info-border);
  color: var(--bd-info-ink);
}

#badiunet-system-core-output .alert-success {
  background: var(--bd-success-bg);
  border-color: var(--bd-success-border);
  color: var(--bd-success-ink);
}

#badiunet-system-core-output .alert-danger {
  background: var(--bd-danger-bg);
  border-color: var(--bd-danger-border);
  color: var(--bd-danger-ink);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

#badiunet-system-core-output .btn,
#_badiu_theme_base_form_vuejs .btn {
  border-radius: var(--bd-radius);
  padding: .5rem 1.05rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background .15s ease, border-color .15s ease, color .15s ease,
              box-shadow .15s ease, transform .05s ease;
}

#badiunet-system-core-output .btn:active,
#_badiu_theme_base_form_vuejs .btn:active {
  transform: translateY(1px);
}

#badiunet-system-core-output .btn-primary,
#_badiu_theme_base_form_vuejs .btn-primary {
  background-color: var(--bd-primary);
  border-color: var(--bd-primary);
}

#badiunet-system-core-output .btn-primary:hover,
#badiunet-system-core-output .btn-primary:focus,
#_badiu_theme_base_form_vuejs .btn-primary:hover {
  background-color: var(--bd-primary-hover);
  border-color: var(--bd-primary-hover);
  box-shadow: 0 .125rem .35rem rgba(25, 113, 194, .25);
}

#badiunet-system-core-output .btn-secondary,
#_badiu_theme_base_form_vuejs .btn-secondary {
  background-color: var(--bd-surface);
  border-color: var(--bd-border-strong);
  color: var(--bd-text-soft) !important;
}

#badiunet-system-core-output .btn-secondary:hover,
#_badiu_theme_base_form_vuejs .btn-secondary:hover {
  background-color: var(--bd-surface-2);
  border-color: #adb5bd;
  color: var(--bd-text) !important;
}

#badiunet-system-core-output .btn-outline-primary {
  color: var(--bd-primary);
  border-color: var(--bd-info-border);
  background: var(--bd-surface);
}

#badiunet-system-core-output .btn-outline-primary:hover,
#badiunet-system-core-output .btn-outline-primary:focus {
  background: var(--bd-info-bg);
  border-color: #74c0fc;
  color: var(--bd-info-ink);
}

#badiunet-system-core-output .btn-danger {
  background-color: var(--bd-danger);
  border-color: var(--bd-danger);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

#footer {
  background-color: #071d41;
  color: #c9d3e3;
  margin-top: 2rem;
}

#footer a {
  color: #dbe8fb;
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
  text-decoration: underline;
}

#footer #copyright p {
  color: #8fa2bf;
  font-size: .75rem;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* CONTRASTE ACESSABILIDADE*/

/* ==========================================================================
   A2i application shell
   --------------------------------------------------------------------------
   This final layer owns Theme/Base only. It intentionally keeps the legacy
   ids used by platform JavaScript while applying the prototype's fixed
   header/sidebar, surface rhythm and responsive behavior.
   ========================================================================== */

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
}

button,
input,
select,
textarea {
  letter-spacing: inherit;
}

#badiu-page-loader {
  background: var(--bd-canvas);
}

#badiu-page-loader .badiu-page-loader-spinner {
  border-color: var(--bd-border);
  border-top-color: var(--bd-primary);
}

#badiu-page-loader .badiu-page-loader-text {
  color: var(--bd-text-muted);
  font-family: var(--bs-font-sans-serif);
}

.badiu-skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  padding: .65rem 1rem;
  border-radius: var(--bd-radius-sm);
  background: var(--bd-text);
  color: var(--bd-surface);
  font-weight: 700;
  text-decoration: none;
}

.badiu-skip-link:focus {
  top: 1rem;
  color: var(--bd-surface);
}

/* Header */
.badiu-app-header#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1040;
  min-height: var(--bd-header-height);
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--bd-border);
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

[data-bs-theme="dark"] .badiu-app-header#header {
  background: rgba(18, 33, 39, .94);
}

.badiu-header-notice {
  padding: .4rem clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--bd-border);
  background: var(--bd-surface-2);
  color: var(--bd-text-soft);
  font-size: .78rem;
}

.badiu-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--bd-header-height);
  padding: 0 clamp(.75rem, 2vw, 1.5rem);
  gap: 1rem;
}

.badiu-header-brand-area,
.badiu-header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.badiu-header-brand-area {
  gap: .55rem;
}

.badiu-header-actions {
  justify-content: flex-end;
  gap: .25rem;
}

.badiu-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  color: var(--bd-text-muted);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}

.badiu-icon-button:hover,
.badiu-icon-button:focus-visible,
.badiu-icon-button[aria-pressed="true"] {
  background: var(--bd-surface-2);
  color: var(--bd-text);
}

.badiu-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: .6rem;
  color: var(--bd-text);
  text-decoration: none;
  white-space: nowrap;
}

.badiu-brand:hover {
  color: var(--bd-text);
}

.badiu-brand-mark {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  gap: 3px;
  padding: 7px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--bd-primary), var(--bd-cyan));
  box-shadow: 0 8px 20px rgba(var(--bd-primary-rgb), .22);
}

.badiu-brand-mark > span {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: #fff;
  transform-origin: bottom;
}

.badiu-brand-mark > span:nth-child(1) {
  height: 9px;
  opacity: .82;
  transform: rotate(-8deg);
}

.badiu-brand-mark > span:nth-child(2) {
  height: 18px;
}

.badiu-brand-mark > span:nth-child(3) {
  height: 13px;
  opacity: .9;
  transform: rotate(8deg);
}

.badiu-brand-mark-sm {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 9px;
}

.badiu-brand-mark-sm > span:nth-child(1) { height: 7px; }
.badiu-brand-mark-sm > span:nth-child(2) { height: 14px; }
.badiu-brand-mark-sm > span:nth-child(3) { height: 10px; }

.badiu-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--bd-border);
  border-radius: .75rem;
  background: var(--bd-surface);
}

.badiu-brand-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.badiu-brand-wordmark {
  overflow: hidden;
  color: var(--bd-text);
  font-size: 1.07rem;
  font-weight: 760;
  letter-spacing: -.04em;
  text-overflow: ellipsis;
}

.badiu-access-by {
  max-width: 230px;
  overflow: hidden;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: var(--bd-warning-bg);
  color: var(--bd-warning-ink);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badiu-login-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: .45rem .8rem;
  border: 1px solid var(--bd-border);
  border-radius: .72rem;
  background: var(--bd-surface);
  color: var(--bd-primary-ink);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.badiu-login-link:hover {
  border-color: var(--bd-accent-border);
  background: var(--bd-accent-bg);
  color: var(--bd-primary-ink);
}

.badiu-user-menu-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 280px;
  min-height: 44px;
  padding: .25rem .45rem;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  color: var(--bd-text);
}

.badiu-user-menu-button:hover,
.badiu-user-menu-button[aria-expanded="true"] {
  background: var(--bd-surface-2);
}

.badiu-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--bd-secondary), #217684);
  color: #fff;
  font-size: .78rem;
}

.badiu-user-name {
  overflow: hidden;
  font-size: .84rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badiu-user-menu .dropdown-item,
.badiu-header-shortcuts .dropdown-item {
  display: flex;
  align-items: center;
  gap: .65rem;
}

/* --------------------------------------------------------------------------
   Header shortcuts — inline bar with overflow
   The bar shows as many links as fit; badiu-theme.js moves the remainder into
   the "..." dropdown and only then reveals the toggle.
   -------------------------------------------------------------------------- */
.badiu-header-links {
  display: flex;
  /* Same reason as the list: the JS controller owns the width, not flex. */
  flex: 0 0 auto;
  align-items: center;
  margin-right: .35rem;
}

.badiu-header-links-list {
  display: flex;
  /* Never shrink: the controller decides how many items are shown, so the list
     must report its natural width. Letting flex squeeze it would clip a label
     mid-word instead of moving that item into the "..." dropdown. */
  flex: 0 0 auto;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.badiu-header-link-item {
  flex: 0 0 auto;
}

.badiu-header-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 .7rem;
  border-radius: .7rem;
  color: var(--bd-text-soft);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}

.badiu-header-link:hover,
.badiu-header-link:focus-visible {
  background: var(--bd-surface-2);
  color: var(--bd-primary-ink);
}

.badiu-header-links-dropdown {
  flex: 0 0 auto;
}

/* Hidden items must not keep occupying space while being measured. */
.badiu-header-link-item[hidden],
.badiu-header-links-list[hidden],
.badiu-header-links-dropdown[hidden] {
  display: none;
}

/* No-JavaScript fallback: the controller never runs, so nothing is moved to the
   dropdown. Allow the bar to shrink and scroll here — without JS a scrollable
   bar is better than one that pushes the user menu off the header. */
html:not(.badiu-theme-base) .badiu-header-links,
html:not(.badiu-theme-base) .badiu-header-links-list {
  flex: 0 1 auto;
  min-width: 0;
}

html:not(.badiu-theme-base) .badiu-header-links-list {
  overflow-x: auto;
  scrollbar-width: none;
}

html:not(.badiu-theme-base) .badiu-header-links-list::-webkit-scrollbar {
  display: none;
}

.badiu-language-choice {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 .15rem;
}

.badiu-language-choice > .fas {
  position: absolute;
  left: .65rem;
  z-index: 2;
  color: var(--bd-text-muted);
  pointer-events: none;
}

.badiu-language-choice .form-select {
  width: auto;
  max-width: 150px;
  min-height: 38px;
  padding-left: 2rem;
  border-color: transparent;
  background-color: transparent;
  color: var(--bd-text-soft);
  font-size: .78rem;
  font-weight: 650;
}

.badiu-language-choice .form-select:hover,
.badiu-language-choice .form-select:focus {
  border-color: var(--bd-border);
  background-color: var(--bd-surface-2);
}

/* Fixed sidebar and content rail */
#wrapper.badiu-base-shell {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  background: var(--bd-canvas);
}

#wrapper.badiu-base-shell #sidebar-wrapper {
  position: fixed;
  inset: var(--bd-header-height) auto 0 0;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  width: var(--bd-sidebar-width);
  height: auto;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
  border: 0;
  border-right: 1px solid var(--bd-border);
  border-radius: 0;
  background: var(--bd-surface);
  transform: translateX(-100%);
  transition: transform .22s ease, visibility .22s ease;
}

#wrapper.badiu-base-shell.active #sidebar-wrapper {
  left: 0;
  display: flex;
  width: var(--bd-sidebar-width);
  visibility: visible;
  transform: translateX(0);
}

.badiu-sidebar-scroll {
  flex: 1;
  padding: 1rem .85rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

#wrapper.badiu-base-shell .section-wrapper {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  min-height: 100vh;
  margin-left: 0;
  padding-top: var(--bd-header-height);
  transition: margin-left .22s ease;
}

#wrapper.badiu-base-shell.active .section-wrapper {
  margin-left: var(--bd-sidebar-width);
}

#wrapper.badiu-base-shell.badiu-shell-no-sidebar .section-wrapper,
#wrapper.badiu-base-shell.badiu-shell-no-sidebar.active .section-wrapper {
  margin-left: 0;
}

#wrapper.badiu-base-shell.badiu-shell-no-sidebar #sidebar-wrapper {
  display: none;
}

/* Authentication shells drop the app chrome so the panel owns the viewport. */
#wrapper.badiu-base-shell.badiu-shell-auth .section-wrapper {
  padding-top: 0;
}

#wrapper.badiu-base-shell.badiu-shell-auth .badiu-app-header#header {
  position: static;
}

#badiu-main-content {
  flex: 1 0 auto;
  min-width: 0;
  outline: 0;
}

#page-content-wrapper {
  width: 100%;
  padding: 0;
}

#page-content-wrapper .page-content {
  padding: 0;
}

.badiu-page-container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 2.2vw, 2.4rem) 3rem;
}

/* Sidebar navigation */
#wrapper .nav-side-menu {
  width: 100%;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bd-text-muted);
  font-size: .91rem;
}

#wrapper .nav-side-menu ul,
#wrapper .nav-side-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: normal;
}

#wrapper .nav-side-menu li {
  display: block;
  border: 0;
  background: transparent;
}

#wrapper .nav-side-menu li > a {
  display: flex;
  align-items: center;
  gap: .72rem;
  width: 100%;
  min-height: 42px;
  margin: 0 0 .18rem;
  padding: .62rem .75rem;
  border: 0;
  border-radius: .72rem;
  color: var(--bd-text-muted);
  font-size: .91rem;
  font-weight: 590;
  line-height: 1.3;
  text-decoration: none;
  text-indent: 0;
  transition: color .15s ease, background-color .15s ease;
}

#wrapper .nav-side-menu li > a:hover,
#wrapper .nav-side-menu li > a:focus-visible {
  background: var(--bd-surface-2);
  color: var(--bd-text);
}

#wrapper .nav-side-menu li.active > a {
  background: var(--bd-accent-bg);
  color: var(--bd-primary-ink);
  font-weight: 720;
}

.badiu-nav-item-indicator {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 2px solid var(--bd-border-strong);
  border-radius: 50%;
  background: transparent;
}

.badiu-nav-item.active .badiu-nav-item-indicator {
  border-color: var(--bd-primary);
  background: var(--bd-primary);
  box-shadow: 0 0 0 4px rgba(var(--bd-primary-rgb), .1);
}

#wrapper .nav-side-menu .badiu-nav-category {
  margin-top: .65rem;
}

#wrapper .nav-side-menu .badiu-nav-category > a {
  min-height: 36px;
  margin-bottom: .1rem;
  padding: .5rem .75rem;
  color: var(--bd-text-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#wrapper .nav-side-menu .badiu-nav-category.active > a {
  background: transparent;
  color: var(--bd-primary-ink);
}

.badiu-nav-category-icon {
  width: 18px;
  text-align: center;
}

#wrapper .nav-side-menu .arrow {
  margin-left: auto;
}

#wrapper .nav-side-menu .arrow::before {
  display: inline-block;
  padding: 0;
  color: currentColor;
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-size: .65rem;
  font-weight: 900;
  transition: transform .2s ease;
}

#wrapper .nav-side-menu a[aria-expanded="true"] .arrow::before {
  transform: rotate(-180deg);
}

#wrapper .nav-side-menu .sub-menu {
  margin: .1rem 0 .45rem;
  padding-left: 1.45rem;
}

#wrapper .nav-side-menu .sub-menu li::before {
  display: none;
}

#wrapper .nav-side-menu .sub-menu li > a {
  min-height: 38px;
  padding: .52rem .75rem;
  font-size: .84rem;
}

/* Breadcrumb and page headings */
.badiu-breadcrumb-bar {
  min-height: 24px;
  margin-bottom: .6rem;
}

.badiu-breadcrumb-bar .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--bd-text-muted);
  font-size: .74rem;
}

.badiu-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bd-border-strong);
}

.badiu-breadcrumb-bar .breadcrumb-item a {
  color: var(--bd-text-muted);
  text-decoration: none;
}

.badiu-breadcrumb-bar .breadcrumb-item a:hover {
  color: var(--bd-primary);
}

.badiu-breadcrumb-bar .breadcrumb-item.active {
  color: var(--bd-text-soft);
  font-weight: 650;
}

.badiu-page-view {
  min-width: 0;
}

.badiu-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.badiu-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .42rem;
  color: var(--bd-primary-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.badiu-page-heading h1,
#badiunet-system-core-output .page-header,
#badiunet-system-core-output .form-header,
#_badiu_theme_base_form_vuejs .form-header {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  color: var(--bd-text);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.badiu-page-heading h1 {
  margin-bottom: 0;
}

#badiunet-system-core-output {
  padding: 0 0 1.5rem;
}

#badiunet-system-core-output > .row:first-child {
  align-items: flex-start;
  margin-bottom: 1rem;
}

#badiunet-system-core-output > .row:first-child .page-header {
  margin-bottom: 0;
}

/* Prototype-compatible Bootstrap components */
.card,
#badiunet-system-core-output .card {
  --bs-card-bg: var(--bd-surface);
  --bs-card-border-color: var(--bd-border);
  border-color: var(--bd-border);
  border-radius: var(--bd-radius-md);
  background: var(--bd-surface);
  color: var(--bd-text);
  box-shadow: var(--bd-shadow-sm);
}

.card-header,
#badiunet-system-core-output .card-header {
  border-color: var(--bd-border);
  background: var(--bd-surface-2);
  color: var(--bd-text);
}

.btn {
  --bs-btn-border-radius: .72rem;
  --bs-btn-font-weight: 650;
}

.btn-primary,
#badiunet-system-core-output .btn-primary,
#_badiu_theme_base_form_vuejs .btn-primary {
  --bs-btn-bg: var(--bd-primary);
  --bs-btn-border-color: var(--bd-primary);
  --bs-btn-hover-bg: var(--bd-primary-hover);
  --bs-btn-hover-border-color: var(--bd-primary-hover);
  --bs-btn-active-bg: var(--bd-primary-hover);
  --bs-btn-active-border-color: var(--bd-primary-hover);
  background-color: var(--bd-primary);
  border-color: var(--bd-primary);
}

.btn-primary:hover,
.btn-primary:focus,
#badiunet-system-core-output .btn-primary:hover,
#badiunet-system-core-output .btn-primary:focus {
  background-color: var(--bd-primary-hover);
  border-color: var(--bd-primary-hover);
  box-shadow: 0 0 0 .2rem rgba(var(--bd-primary-rgb), .14);
}

.btn-outline-primary {
  --bs-btn-color: var(--bd-primary-ink);
  --bs-btn-border-color: var(--bd-accent-border);
  --bs-btn-hover-bg: var(--bd-accent-bg);
  --bs-btn-hover-border-color: var(--bd-primary);
  --bs-btn-hover-color: var(--bd-primary-ink);
}

.form-control,
.form-select,
#badiunet-system-core-output .form-control,
#badiunet-system-core-output .form-select {
  border-color: var(--bd-border);
  border-radius: .68rem;
  background-color: var(--bd-surface);
  color: var(--bd-text);
}

.form-control:focus,
.form-select:focus,
#badiunet-system-core-output .form-control:focus,
#badiunet-system-core-output .form-select:focus {
  border-color: rgba(var(--bd-primary-rgb), .55);
  background-color: var(--bd-surface);
  color: var(--bd-text);
  box-shadow: 0 0 0 .2rem rgba(var(--bd-primary-rgb), .12);
}

.form-control::placeholder {
  color: var(--bd-text-muted);
  opacity: .72;
}

.dropdown-menu {
  --bs-dropdown-bg: var(--bd-surface);
  --bs-dropdown-border-color: var(--bd-border);
  --bs-dropdown-link-color: var(--bd-text);
  --bs-dropdown-link-hover-bg: var(--bd-surface-2);
  --bs-dropdown-link-active-bg: var(--bd-accent-bg);
  --bs-dropdown-link-active-color: var(--bd-primary-ink);
  border-radius: .8rem;
  box-shadow: var(--bd-shadow-sm);
}

.modal-content,
.offcanvas {
  border-color: var(--bd-border);
  border-radius: var(--bd-radius-md);
  background: var(--bd-surface);
  color: var(--bd-text);
}

.progress {
  --bs-progress-bg: rgba(var(--bd-primary-rgb), .1);
  height: 6px;
  border-radius: 999px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--bd-primary), var(--bd-cyan));
}

/* Footer */
.badiu-app-footer#footer {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--bd-border);
  background: var(--bd-surface);
  color: var(--bd-text-muted);
  font-family: var(--bs-font-sans-serif);
}

.badiu-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1640px;
  min-height: 76px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 2.2vw, 2.4rem);
  gap: 1rem;
}

.badiu-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--bd-text);
  font-size: .85rem;
  font-weight: 760;
}

.badiu-footer-navigation {
  flex: 1;
}

.badiu-footer-navigation ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badiu-app-footer a {
  color: var(--bd-text-muted);
  text-decoration: none;
}

.badiu-app-footer a:hover {
  color: var(--bd-primary);
}

.badiu-app-footer #copyright p {
  margin: 0;
  color: var(--bd-text-muted);
  font-size: .72rem;
  text-align: right;
}

/* Authentication and empty states */
.badiu-auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--bd-header-height));
  padding: clamp(1.25rem, 5vw, 4rem) 1rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(var(--bd-primary-rgb), .12), transparent 30%),
    radial-gradient(circle at 85% 85%, rgba(23, 166, 160, .1), transparent 30%),
    var(--bd-canvas);
}

.badiu-auth-shell-general {
  min-height: 100vh;
}

.badiu-auth-panel {
  width: min(100%, 620px);
}

.badiu-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.badiu-auth-panel #formlogin,
.badiu-auth-panel form > .card,
.badiu-auth-panel > .card {
  overflow: hidden;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  background: var(--bd-surface);
  box-shadow: var(--bd-shadow-md);
}

.badiu-empty-state {
  max-width: 680px;
  margin: 2rem auto;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  background: var(--bd-surface);
  box-shadow: var(--bd-shadow-sm);
  text-align: center;
}

.badiu-empty-state-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--bd-accent-bg);
  color: var(--bd-primary-ink);
  font-size: 1.6rem;
}

.badiu-empty-state h1 {
  margin: 0 0 .55rem;
  color: var(--bd-text);
  font-size: 1.5rem;
  font-weight: 760;
  letter-spacing: -.035em;
}

.badiu-empty-state p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--bd-text-muted);
}

.systemkeyinfo {
  margin-top: 1rem;
  color: var(--bd-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .68rem;
  text-align: center;
}

.badiu-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1015;
  display: none;
  padding: 0;
  border: 0;
  background: rgba(12, 23, 28, .48);
}

body.badiu-menu-locked {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  :root {
    --bd-header-height: 64px;
  }

  #wrapper.badiu-base-shell.active #sidebar-wrapper {
    visibility: hidden;
    transform: translateX(-100%);
  }

  #wrapper.badiu-base-shell.badiu-mobile-menu-open #sidebar-wrapper {
    visibility: visible;
    box-shadow: var(--bd-shadow-md);
    transform: translateX(0);
  }

  #wrapper.badiu-base-shell.active .section-wrapper {
    margin-left: 0;
  }

  #wrapper.badiu-base-shell.badiu-mobile-menu-open + .badiu-menu-backdrop {
    display: block;
  }

  .badiu-header-nav {
    min-height: var(--bd-header-height);
    padding-inline: .75rem;
  }

  .badiu-brand-wordmark {
    max-width: 210px;
  }

  .badiu-access-by,
  .badiu-language-choice {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .badiu-page-container {
    padding-top: 1rem;
  }

  .badiu-page-heading {
    flex-direction: column;
    gap: .85rem;
  }

  .badiu-page-heading h1,
  #badiunet-system-core-output .page-header,
  #badiunet-system-core-output .form-header,
  #_badiu_theme_base_form_vuejs .form-header {
    font-size: 1.55rem;
  }

  .badiu-user-name,
  .badiu-user-menu-button > .fa-chevron-down {
    display: none;
  }

  .badiu-user-menu-button {
    padding: .2rem;
  }

  .badiu-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .badiu-footer-navigation ul {
    justify-content: flex-start;
  }

  .badiu-app-footer #copyright p {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .badiu-brand-wordmark {
    max-width: 126px;
  }

  .badiu-header-actions {
    gap: 0;
  }

  /* The shortcuts stay reachable on phones: the inline bar collapses into the
     "..." dropdown (handled by badiu-theme.js) instead of being dropped. */
  .badiu-header-actions > .link-contraste {
    display: none;
  }

  .badiu-header-links {
    margin-right: 0;
  }

  .badiu-page-container {
    padding-inline: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* The prototype's light high-contrast mode wins over the retained legacy
   contrast rules above while keeping the historical `body.contraste` hook. */
html body.contraste {
  --bd-primary: #006b66;
  --bd-primary-rgb: 0, 107, 102;
  --bd-primary-ink: #004d49;
  --bd-primary-hover: #004d49;
  --bd-canvas: #fff;
  --bd-surface: #fff;
  --bd-surface-alt: #fff;
  --bd-surface-2: #fff;
  --bd-surface-3: #fff;
  --bd-border: #111;
  --bd-border-soft: #111;
  --bd-border-strong: #000;
  --bd-text: #000;
  --bd-text-soft: #111;
  --bd-text-muted: #222;
}

html body.contraste,
html body.contraste #wrapper.badiu-base-shell,
html body.contraste #badiu-main-content {
  background: #fff !important;
  color: #000 !important;
}

html body.contraste .badiu-app-header#header,
html body.contraste #wrapper.badiu-base-shell #sidebar-wrapper,
html body.contraste .badiu-app-footer#footer,
html body.contraste .card,
html body.contraste .badiu-empty-state,
html body.contraste .dropdown-menu,
html body.contraste .modal-content {
  border-color: #000 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

html body.contraste .badiu-app-header#header,
html body.contraste #wrapper.badiu-base-shell #sidebar-wrapper,
html body.contraste .card,
html body.contraste .badiu-empty-state {
  border-width: 2px !important;
}

html body.contraste .badiu-brand,
html body.contraste .badiu-brand-wordmark,
html body.contraste .badiu-user-menu-button,
html body.contraste .badiu-app-footer,
html body.contraste .badiu-app-footer a,
html body.contraste #wrapper .nav-side-menu li > a,
html body.contraste .breadcrumb,
html body.contraste .breadcrumb a,
html body.contraste .dropdown-item {
  color: #000 !important;
}

html body.contraste #wrapper .nav-side-menu li.active > a,
html body.contraste #wrapper .nav-side-menu li > a:hover,
html body.contraste .dropdown-item:hover {
  outline: 2px solid #000;
  background: #fff !important;
  color: #000 !important;
}
body.contraste {
  color: #fff;
  background-color: #000 !important;
}

body.contraste .navbar-toggler {
  background-color: #fff;
  border: 1px solid #fff;
}
body.contraste .logo-image {
  filter: invert(1);
}

body.contraste .usernavegation .navbar-nav {
  background-color: #000;
  border: 1px solid #FFF;
}

body.contraste #category,
body.contraste #category-vcge,
body.contraste #content #description,
body.contraste #content #tile_banner_rotativo .credito,
body.contraste #content #tile_banner_rotativo .descr,
body.contraste #content #tile_banner_rotativo .title,
body.contraste #content .documentByLine .summary-view-icon,
body.contraste #content .documentDescription,
body.contraste #content .gallery-element-metadata .title,
body.contraste #content .poll-tile .poll-tile-header > .header,
body.contraste #content .poll-tile .tile-content-wrapper > form > input[type="radio"] + span,
body.contraste #content .pullquote,
body.contraste #content .subtitle,
body.contraste #content .tile-em-alta .tile-header h2,
body.contraste #content article #viewlet-below-content-title .documentModified,
body.contraste #content article #viewlet-below-content-title .documentPublished,
body.contraste #content article div[property*="articleBody"] p,
body.contraste #content div.newsImageContainer p.discreet,
body.contraste #doormat-container dt,
body.contraste #error-reporting .formControls input,
body.contraste #galeria_de_fotos,
body.contraste #logo #portal-logo,
body.contraste #logo #portal-title,
body.contraste #parent-fieldname-text:first-letter,
body.contraste #plone-document-byline,
body.contraste #portal-breadcrumbs > span > span.breadcrumbSeparator,
body.contraste #portal-breadcrumbs span,
body.contraste .cover-collection-tile .tile-header span,
body.contraste .cover-collection-tile p,
body.contraste .cycle-player .cycle-overlay,
body.contraste .galeria_container,
body.contraste .galleria-info-description,
body.contraste .galleria-info-text .rights,
body.contraste .item-central .link-central,
body.contraste .lista-vertical .tile-header h3,
body.contraste .lista-vertical .tile-header span,
body.contraste .nitfByline,
body.contraste.portaltype-collective-cover-content div.row.linha-destacada,
body.contraste.portaltype-collective-cover-content div.row.linha-discreta,
body.contraste.template-facetednavigation_view #content .tileItem .keywords,
body.contraste.template-folder_summary_view #content .tileItem .keywords,
body.contraste.template-summary_view #content .tileItem .description,
body.contraste.template-summary_view #content .tileItem .documentByLine,
body.contraste.template-summary_view #content .tileItem .keywords,
body.contraste.template-summary_view #content .tileItem .subtitle,
body.contraste .tile-content p,
body.contraste .tile-subtitle,
body.contraste .tile p,
body.contraste .videogallery-tile .description,
body.contraste .videogallery-tile .subtitle,
body.contraste div[property="rnews:articleBody"]:first-letter,
body.contraste footer,
body.contraste h1,
body.contraste h2,
body.contraste h3,
body.contraste h4,
body.contraste h5,
body.contraste h6,
body.contraste header,
body.contraste header#header .header-wrapper,
body.contraste header#header .navigation-wrapper,
body.contraste p.nitfSubtitle,
body.contraste p.section {
  color: #fff !important;
  background-color: #000 !important;
  border-color: #fff !important;
}
body.contraste .site-header-links .header-icons li a {
  text-decoration: none!important;
}
body.contraste .header-accessibility li a.link-acesso i,
body.contraste .header-accessibility li a.link-contraste i {
  padding: 8px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  border: 1px solid #fff;
}
body.contraste .portaltype-collective-cover-content #content .busca-destaque-home .assuntos-em-alta {
  background-color: #000 !important;
}
body.contraste .header-accessibility li a.link-contraste i {
  color: #000 !important;
}
body.contraste #portal-logo,
body.contraste #portal-title-1,
body.contraste .ico-navegacao .fa-bars:before {
  color: #fff !important;
}
body.contraste .cards li {
  background-color: #000 !important;
  border: 1px solid #fff;
}
body.contraste .cards li a {
  color: #fff !important;
}
body.contraste #main-navigation li,
body.contraste #main-navigation ul {
  background-color: #000 !important;
}
body.contraste #main-navigation a,
body.contraste
  header#header
  .navigation-wrapper
  .navigation-content
  #main-navigation
  .list-navigation
  li
  ul.submenu
  li
  a.state-published {
  color: #fff !important;
}
body.contraste .busca-destaque-home .assuntos-em-alta {
  background-color: #000 !important;
}
body.contraste .busca-destaque-home .input-wrapper:after {
  color: #fff !important;
}
body.contraste #content .gallery-footer a,
body.contraste #content .gallery-footer a:hover,
body.contraste #content .outstanding-header .outstanding-link:hover,
body.contraste #content a:hover,
body.contraste #content article #viewlet-below-content-title .contentHistory a,
body.contraste #main-navigation a:hover,
body.contraste #main-navigation a:link,
body.contraste #main-navigation a:visited,
body.contraste #portal-breadcrumbs a,
body.contraste #portal-column-one > .nav-menu-de-relevancia .first-item-nav a,
body.contraste #portal-column-one > .nav-menu-de-relevancia .first-item-nav a span,
body.contraste #portal-footer a,
body.contraste #portal-footer a:hover,
body.contraste #portal-siteactions a,
body.contraste #portal-siteactions a:hover,
body.contraste .galleria-info-title a,
body.contraste .galleria-info-title a:hover,
body.contraste .outstanding-header .outstanding-link,
body.contraste.portaltype-collection .keywords a,
body.contraste.portaltype-collection h2.tileHeadline a,
body.contraste.portaltype-collective-cover-content #content div.row.linha-destacada .box-branco .tile a:hover,
body.contraste.portaltype-collective-cover-content #content div.row.linha-destacada .box-branco .tile a:link,
body.contraste.portaltype-collective-cover-content #content div.row.linha-destacada .box-branco .tile a:visited,
body.contraste .portletNavigationTree > .portletItem a span,
body.contraste .template-filtro-de-resultados .keywords a,
body.contraste.template-filtro-de-resultados h2.tileHeadline a,
body.contraste.template-summary_view #content .tileItem .tileHeadline a,
body.contraste.template-view #content .tile-em-alta a,
body.contraste .tile a,
body.contraste a,
body.contraste dl.portlet a:hover,
body.contraste ul.paginacao li a {
  color: #fff !important;
  text-decoration: underline !important;
  border-color: #fff !important;
}
body.contraste #error-reporting,
body.contraste .column.colunas-destacadas,
body.contraste .column.colunas-discretas,
body.contraste .colunas-destacadas .column,
body.contraste .colunas-discretas .column,
body.contraste.portaltype-collective-cover-content #content div.row.linha-destacada .box-branco .tile {
  background-color: transparent !important;
  outline: none !important;
}
body.contraste header#header .navigation-content:before {
  display: none;
}
body.contraste #portal-breadcrumbs #breadcrumbs-home a:before {
  background-image: url(img/sprite.png);
  background-position: -269px -117px;
  width: 17px;
  height: 12px;
}
body.contraste #portal-breadcrumbs .breadcrumbSeparator {
  background-image: url(img/sprite.png);
  background-position: -129px -223px;
  width: 26px;
  height: 21px;
}
body.contraste #portal-breadcrumbs > span > span.breadcrumbSeparator,
body.contraste #portal-breadcrumbs span {
  background-color: transparent !important;
}
body.contraste #viewlet-social-like > div {
  background: transparent;
}
body.contraste #viewlet-social-like > div:before {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}
body.contraste .header-accessibility .link-contraste:before,
body.contraste .header-accessibility .link-vlibras:before,
body.contraste .header-icons .ico-busca,
body.contraste .header-icons .ico-navegacao {
  -webkit-filter: none;
  filter: none;
}
body.contraste #portalredes-twitter {
  background-image: url(img/sprite.png);
  background-position: -99px -159px;
  width: 27px;
  height: 28px;
}
body.contraste #portalredes-youtube {
  background-image: url(img/sprite.png);
  background-position: -35px -159px;
  width: 32px;
  height: 28px;
}
body.contraste #portalredes-flickr {
  background-image: url(img/sprite.png);
  background-position: -210px -98px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-facebook {
  background-image: url(img/sprite.png);
  background-position: -27px -223px;
  width: 25px;
  height: 28px;
}
body.contraste #portalredes-googleplus {
  background-image: url(img/sprite.png);
  background-position: -210px -156px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-slideshare {
  background-image: url(img/sprite.png);
  background-position: -203px -194px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-soundcloud {
  background-image: url(img/sprite.png);
  background-position: -240px -58px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-rss {
  background-image: url(img/sprite.png);
  background-position: -116px -194px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-instagram {
  background-image: url(img/sprite.png);
  background-position: -29px -194px;
  width: 29px;
  height: 29px;
}
body.contraste #portalredes-tumblr {
  background-image: url(img/sprite.png);
  background-position: -240px -116px;
  width: 29px;
  height: 29px;
}
html body.contraste #portal-footer .coluna-menu .rodape-navigation li.plain.dropdown-submenu:after,
html body.contraste #wrapper #main #main-content #content *,
html body.contraste .nitf-basic-tile .share .share-more:before {
  color: #fff !important;
  border-color: #fff !important;
}
html body.contraste #content #content-core .visao-servico .anchors,
html body.contraste #content #content-core .visao-servico .canais-atendimento .cards li,
html body.contraste #content #content-core .visao-servico .informacao-foi-util,
html body.contraste .nitf-basic-tile .share .share-more:after,
html body.contraste.portaltype-collective-cover-content #content .numeros-governo,
html body.contraste.portaltype-collective-cover-content #content .servicos-em-destaque,
html body.contraste.portaltype-collective-cover-content #main #main-content #content .linha-destacada.fundo-azul,
html
  body.contraste.portaltype-collective-cover-content
  #main-content
  #content
  .busca-destaque-home
  .input-wrapper
  input,
html body.contraste.portaltype-collective-cover-content .lista-servicos .itens .list-item,
html body.contraste.section-pagina-inicial #content .numeros-governo,
html body.contraste.section-pagina-inicial #content .servicos-em-destaque,
html body.contraste .section-pagina-inicial #main #main-content #content .linha-destacada.fundo-azul,
html body.contraste .section-pagina-inicial #main-content #content .busca-destaque-home .input-wrapper input,
html body.contraste.section-pagina-inicial .lista-servicos .itens .list-item,
html body.contraste .servicos-em-destaque .itens .list-item,
html body.contraste header#header {
  background: #000 !important;
}
html body.contraste .lista-servicos.responsive .sliderControlBar .sliderControlBarTotal .sliderControlBarDial {
  background: #fff !important;
}
html body.contraste .fa-assistive-listening-systems:before,
html body.contraste .header-accessibility li a.link-contraste i.fas:before,
html body.contraste .language-selection > a.currentLanguage:after {
  -webkit-filter: invert(1);
  filter: invert(1);
}
html body.contraste .language-selection {
  background: inherit !important;
}
html body.contraste .site-header-links .link-acesso,
html body.contraste .site-header-links .link-acesso span {
  color: #fff !important;
  background: #000;
}
html body.contraste.template-listar_categorias #wrapper #content #content-core .menu-servicos .tabela-servicos {
  background: #222 !important;
}
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-1.open
  li.active
  a,
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-1.open
  li.active
  a
  .icon,
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-1.open
  li
  a
  .icon,
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-2 {
  background: #444 !important;
}
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-3
  li
  a:hover {
  color: #000 !important;
}
html
  body.contraste.template-listar_categorias
  #wrapper
  #content
  #content-core
  .menu-servicos
  .tabela-servicos
  .level-3 {
  background: #666 !important;
}
html body.contraste #main-navigation .submenu {
  background: #222;
}
html body.contraste #main-navigation .submenu .submenu {
  background: #393939;
}
html body.contraste .main {
  background: transparent !important;
}
html body.contraste .cover-list-tile.servicos-em-destaque-govbr .itens,
html body.contraste .cover-list-tile.servicos-mais-acessados .itens,
html body.contraste .govbr-history-render,
html body.contraste .recom-list,
html body.contraste .viewlet-institucionais-servicos-govbr {
  background-color: #000 !important;
}
html body.contraste .categoria-container .categoria,
html body.contraste .govbr-history-render .history-list ul li .month,
html body.contraste .govbr-history-render .history-list ul li .month:before,
html body.contraste .govbr-recom-render h2:before,
html body.contraste .tile-header h3:before,
html body.contraste .viewlet-institucionais-servicos-govbr a:before {
  color: #fff !important;
}

html body.contraste .breadcrumb {
  background-color: #000;
}
html body.contraste .card {
  background-color: #000;
  border: 1px solid #fff;
}
html body.contraste .btn-link {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
html body.contraste .site-header-links .head-menu-links ul {
  background-color: #000;
}
html body.contraste #sidebar-wrapper {
  border: 1px solid #fff;
  background: #000;
}
html body.contraste .nav-side-menu {
  background-color: #000;
  color: #fff;
}
html body.contraste .nav-side-menu .sub-menu li,
html body.contraste .nav-side-menu .sub-menu li {
  background-color: #000;
  border-bottom: 1px solid #fff;
}
html body.contraste .nav-side-menu ul .active,
html body.contraste .nav-side-menu li .active {
  border-left: 3px solid #fff;
  background-color: #000;
}
html body.contraste .dropdown-menu {
  background-color: #000;
}

html body.contraste #cursos-tabs .nav-tabs .nav-item.show .nav-link, 
html body.contraste #cursos-tabs .nav-tabs .nav-link.active {
  color: #FFFFFF !important;
  background-color: #000 !important;
  border-bottom: 2px solid #FFF !important;
}

html body.contraste .badiu-grid-cards .card-content {
  background-color: #000;
}

/* CONTRASTE ACESSABILIDADE*/

/* A2i high-contrast bridge. These declarations intentionally follow the
   retained legacy block so the Base shell uses the prototype's light mode. */
html body.contraste {
  --bd-primary: #006b66;
  --bd-primary-rgb: 0, 107, 102;
  --bd-primary-ink: #004d49;
  --bd-primary-hover: #004d49;
  --bd-canvas: #fff;
  --bd-surface: #fff;
  --bd-surface-alt: #fff;
  --bd-surface-2: #fff;
  --bd-surface-3: #fff;
  --bd-border: #111;
  --bd-border-soft: #111;
  --bd-border-strong: #000;
  --bd-text: #000;
  --bd-text-soft: #111;
  --bd-text-muted: #222;
}

html body.contraste,
html body.contraste #wrapper.badiu-base-shell,
html body.contraste #badiu-main-content {
  background: #fff !important;
  color: #000 !important;
}

html body.contraste .badiu-app-header#header,
html body.contraste #wrapper.badiu-base-shell #sidebar-wrapper,
html body.contraste .badiu-app-footer#footer,
html body.contraste .card,
html body.contraste .badiu-empty-state,
html body.contraste .dropdown-menu,
html body.contraste .modal-content {
  border-color: #000 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

html body.contraste .badiu-app-header#header,
html body.contraste #wrapper.badiu-base-shell #sidebar-wrapper,
html body.contraste .card,
html body.contraste .badiu-empty-state {
  border-width: 2px !important;
}

html body.contraste .badiu-brand,
html body.contraste .badiu-brand-wordmark,
html body.contraste .badiu-user-menu-button,
html body.contraste .badiu-app-footer,
html body.contraste .badiu-app-footer a,
html body.contraste #wrapper .nav-side-menu li > a,
html body.contraste .breadcrumb,
html body.contraste .breadcrumb a,
html body.contraste .dropdown-item {
  color: #000 !important;
}

html body.contraste #wrapper .nav-side-menu li.active > a,
html body.contraste #wrapper .nav-side-menu li > a:hover,
html body.contraste .dropdown-item:hover {
  outline: 2px solid #000;
  background: #fff !important;
  color: #000 !important;
}

