/* =========================================================
   ACESSIBILIDADE - MAPA BAHIA
   ========================================================= */

/* ---------------------------------------------------------
   BARRA DE ACESSIBILIDADE
   --------------------------------------------------------- */

.mb-acessibilidade {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;

  width: 100%;
  box-sizing: border-box;

  font-family: inherit;
}

/* Título */

.mb-acessibilidade__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* Grupo de controles */

.mb-acessibilidade__controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */

.mb-acessibilidade__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;
  margin: 0;

  border: 1px solid #f8ebf3;
  border-radius: 5px;

  background: transparent;
  color: inherit;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  color: #f8ebf3;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

/* Hover */

.mb-acessibilidade__button:hover {
  background: #8654a0;
  color: #ffffff;
}

/* Clique */

.mb-acessibilidade__button:active {
  transform: scale(0.94);
}

/* Foco por teclado */

.mb-acessibilidade__button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   BOTÃO DE CONTRASTE
   --------------------------------------------------------- */

.mb-acessibilidade__contrast {
  font-size: 16px;
}

/* ---------------------------------------------------------
   MODO ESCURO / ALTO CONTRASTE
   --------------------------------------------------------- */

html.mb-dark-mode {
  background: #16181b;
  color: #fff;
}

/*
 * Fundo geral
 */

html.mb-dark-mode body {
  background: #16181b;
  color: #fff;
}

html.mb-dark-mode [class*="row-inner"] {
  background-color: #040204 !important;
}

html.mb-dark-mode .widget_block {
  color: #fff;
}

html.mb-dark-mode .header-main {
  --bgcolor: #000000;
  --color: #ffffff;
  --rowbcolor: #333333;
}

html.mb-dark-mode .site-logo img {
  filter: brightness(0) invert(1);
}

html.mb-dark-mode .acesso-restrito {
  background: #040204;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-16f68620
  > .e-con-inner
  > .elementor-shape-bottom
  .elementor-shape-fill {
  fill: #240030;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-6cbba6ea:not(
    .elementor-motion-effects-element-type-background
  ),
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-6cbba6ea
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-image: linear-gradient(180deg, #250033 0%, #1e011e 100%);
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-b67fa3f:not(
    .elementor-motion-effects-element-type-background
  ),
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-b67fa3f
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-image: linear-gradient(180deg, #250033 0%, #1e011e 100%);
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-d93e6c4:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #1f0120;
}

html.mb-dark-mode .mb-boas-pratica-card {
  background: #0f0e0e;
}

html.mb-dark-mode .mb-boas-pratica-titulo a,
html.mb-dark-mode .mb-boas-pratica-texto a,
html.mb-dark-mode .mb-boas-pratica-abrangencia {
  color: #fff;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-76aa347:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #1f0120;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-2c8eb7e1:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-418e1ddf:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-49e863d:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-2df26026:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-78a548f0:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}
html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-7dc61a69:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000;
}

html.mb-dark-mode
  .elementor-148
  .elementor-element.elementor-element-7f621ee:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-color: #000 !important;
}

/*
 * Textos
 */

html.mb-dark-mode p,
html.mb-dark-mode h1,
html.mb-dark-mode h2,
html.mb-dark-mode h3,
html.mb-dark-mode h4,
html.mb-dark-mode h5,
html.mb-dark-mode h6,
html.mb-dark-mode li,
html.mb-dark-mode label,
html.mb-dark-mode .elementor-counter-number,
html.mb-dark-mode .elementor-counter-number-wrapper,
html.mb-dark-mode .elementor-counter-number-suffix,
html.mb-dark-mode .elementor-counter-number-prefix html.mb-dark-mode,
html.mb-dark-mode .elementor-heading-title {
  color: #f3f4f6 !important;
}

html.mb-dark-mode .mb-boas-praticas-filtros,
html.mb-dark-mode .mb-dashboard-painel {
  background: #100109;
}

html.mb-dark-mode .mb-dashboard .mb-card,
html.mb-dark-mode .mb-dashboard-lista,
html.mb-dark-mode .mb-dashboard-mapa,
html.mb-dark-mode .mb-dashboard-lista-header {
  background: #000;
}

html.mb-dark-mode .mb-dashboard-btn {
  background: #23011b;
}

/*muncipio pagina*/

html.mb-dark-mode .mb-municipio-hero {
  background: linear-gradient(180deg, rgb(48 46 49) 0%, rgb(12 9 6) 95%);
}

html.mb-dark-mode .mb-municipio-unidades-section {
  background: #000;
}

html.mb-dark-mode .mb-municipio-dados-section {
  background: #0f0e0e;
}

html.mb-dark-mode .mb-municipio-informativo-section {
  background: linear-gradient(180deg, rgb(48 46 49) 0%, rgb(12 9 6) 95%);
}

html.mb-dark-mode .mb-municipio-territorio-section {
  background: #000;
}

html.mb-dark-mode .mb-hero-territorio span,
html.mb-dark-mode .mb-territorio-total strong {
  color: #ffffff;
}

html.mb-dark-mode .mb-chip {
  background: #1f1e1e;
}

/*
 * Links
 */

html.mb-dark-mode a {
  color: #93c5fd !important;
}

/*
 * Campos de formulário
 */

html.mb-dark-mode input,
html.mb-dark-mode textarea,
html.mb-dark-mode select {
  background-color: #1f2937;
  color: #f3f4f6;
  border-color: #4b5563;
}

/*
 * Botões
 */

html.mb-dark-mode button {
  color: #f3f4f6;
}

html.mb-dark-mode .elementor-button {
  background-color: #141213 !important;
}
html.mb-dark-mode .elementor-148 .elementor-element.elementor-element-438d6e6a,
html.mb-dark-mode .elementor-148 .elementor-element.elementor-element-44a74a4 {
  background-color: #141213 !important;
}

/*
 * Cartões e áreas claras
 */

html.mb-dark-mode .elementor-widget-container,
html.mb-dark-mode .mb-card,
html.mb-dark-mode .mb-boas-pratica-card {
  border-color: #374151;
}

/*forum */
html.mb-dark-mode .comments-area .nv-comment-article,
html.mb-dark-mode .comments-area .nv-is-boxed.comment-respond {
  background: #0a0a0a;
}

html.mb-dark-mode .mb-forum-filtros {
  background: #100109;
}
html.mb-dark-mode .mb-forum-card {
  background: #0f0e0e;
}
html.mb-dark-mode .mb-forum-resumo {
  color: #ffffff;
}

/*cursos */
html.mb-dark-mode .mb-cursos-filtros {
  background: #100109;
}

html.mb-dark-mode .mb-curso-card {
  background: #0f0e0e;
}

html.mb-dark-mode .mb-curso-resumo {
  color: #ffffff;
}

/* ---------------------------------------------------------
   RESPONSIVIDADE
   --------------------------------------------------------- */

@media (max-width: 767px) {
  .mb-acessibilidade {
    justify-content: flex-start;
    gap: 8px;
  }

  .mb-acessibilidade__title {
    font-size: 13px;
  }

  .mb-acessibilidade__controls {
    gap: 4px;
  }

  .mb-acessibilidade__button {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .mb-acessibilidade__contrast {
    font-size: 15px;
  }
}
