/* navbar */

.navbar {
    background-color: #FFF;
    -webkit-transition: padding .3s;
    -moz-transition: padding .3s;
    transition: padding .3s;
    border: none;
}

.navbar .navbar-nav {
    float: right;
    padding-right: 60px;
    padding-top: 10px;
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }
  #nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 998;
    display: none;
  }
  body.nav-open #nav-overlay {
    display: block;
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 78%;
    max-width: 260px;
    background: #fff;
    padding: 12px 10px 20px 35px;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    z-index: 999;
  }
  .navbar-collapse.collapse {
    display: block;
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .navbar-collapse.collapse.in {
    transform: translateX(0);
  }
  .navbar-toggle {
    position: absolute;
    left: 8px;
    top: 10px;
  }
  .navbar .navbar-nav {
    float: none;
    padding-right: 0;
    padding-top: 0;
  }
  .navbar .navbar-nav > li {
    float: none;
  }
  .navbar .navbar-nav {
    float: none;
    padding-right: 0;
    padding-top: 0;
  }
  .navbar .navbar-nav > li {
    float: none;
  }
  .navbar .navbar-nav > li {
    border-bottom: 1px solid #f0f0f0;
  }
  .navbar .navbar-nav > li > a {
    padding: 12px 15px 12px 50px;
    font-size: 15px;
    font-weight: 600;
  }
}

.navbar-default .navbar-nav>li>a {
  	font-family: system-ui, -apple-system, sans-serif;
  	font-size: 13px;
    color: #000;
    text-transform: uppercase;
    background: #FFF;
    position: relative;
    display: block;
    padding: 6px 12px;
}

.navbar-default .navbar-brand {
    font-size: 50px;
    color: #7d7da9;
}

@media (max-width: 768px) {
  .navbar-default .navbar-brand {
    font-size: 30px;
    padding: 5px;
  }
  .navbar-brand img {
    max-height: 40px !important;
  }
}

.navbar-brand img {
  max-height: 55px !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #555;
    background-color: #FFF;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    background-color: rgb(222, 222, 222);
}

.nav-tabs {
    padding-top: 10px;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #ffffff;
    background-color: #737373;
}

/* body */

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 120px;
  font-size: 14px;
}

element.style {
    padding-top: 50px;
}

/* caixas */

a {
    color: #727272;
}

a:focus, a:hover {
    color: #727272;
    text-decoration: none;
}

.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid #ffffff;
    background-color: #a02021b5;
    color: white;
    border-radius: 4px 4px 0 0;
}

.nav-tabs>li>a:hover {
    border-color: #eee #eee #ddd;
    background: #a0202199;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #a02021;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    color: white;
    border-radius: 4px 4px 0 0;
}

.box_voronoys{
   height: 150px;
   display: table;
   border-radius: 10px;
   margin-bottom: 20px;
}

.box_voronoys>h3{
  color: white;
  margin: 35px 35px 35px 35px;
  text-align: center;
  vertical-align: middle;
  font-family: system-ui, -apple-system, sans-serif;
}

.voronoys-block {
    position: relative;
    display: table;
    width: 100%;
    max-width: 260px;
    height: 110px;
    margin: 0 auto 12px auto;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow .4s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.voronoys-block span.name {
    position: absolute;
    left: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3em;
    letter-spacing: 1px;
    padding-right: 10px;
    padding-top: 12px;
    padding-left: 12px;
    word-break: normal;
    color: #fff;
    transition: font-weight .4s;
}

.voronoys-block:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.img_block_conteiner{
   float: right;
}

.img_block_conteiner img {
   height: 20px;
   position: absolute;
   right: 10px;
   bottom: 10px;
   -webkit-filter: invert(100%);
}

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

.main-header .logo {
  height: 60px;
}

.tab-content {
  padding-top: 5px;
}

.tab-pane hr:first-child {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* sidebar */

.col-sm-2 {
    width: 16.66666667%;
    padding-top: 30px;
}

.well {
    background-color: #e8ebf5;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.selectize-input.full {
    background-color: #FFFFFF;
}

.pickerInput label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 3px;
}

.pickerInput .selectize-input {
  border-radius: 6px;
  border: 1px solid #ddd;
  min-height: 36px;
  font-size: 12px;
}

.pickerInput .selectize-input:hover {
  border-color: #098ebb;
}

.pickerInput .selectize-input.focus {
  border-color: #098ebb;
  box-shadow: 0 0 0 2px rgba(9, 142, 187, 0.15);
}

/* footer */

hr {
    border-top: 1px solid #D4D4D4;
}

.footer {
    position: fixed;
    height: 70px;
    background-color: red;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-bottom: 0px;
    background-color: #FFFFFF;
    text-align: center;
}

.footer img {
  height: 35px !important;
}

.img_footer{
    padding-top: 10px;
    padding-right: 100px;
    padding-left: 100px;
}

.imgContainerFooter{
    padding-top: 20px;
    float: right;
}

.imgContainerFooter img {
   height: 40px;
   padding: 5px 5px 5px 5px;
}

.logoContainerFooter{
   padding-top: 0px;
   float: left;
}

.logoContainerFooter img {
   height: 50px;
}

.h3, h3 {
    line-height: 0.9;
}

.h1, .h2, .h3, h1, h2 {
    line-height: 1.5;
}

.h4, h4 {
  line-height: 1.5;
  text-align: justify !important;
}

/* Chart cards */

.chart-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px;
  margin-bottom: 12px;
  transition: box-shadow .3s;
}

.chart-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: #333;
  font-size: 15px;
  margin: 5px 0 3px 0;
  padding-bottom: 5px;
  border-bottom: 3px solid #098ebb;
  display: inline-block;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #e8e8e8, #c0c0c0, #e8e8e8);
  margin: 10px 0;
}

.filter-bar {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px 15px 5px 15px;
  margin-bottom: 12px;
  border: 1px solid #e8e8e8;
}

.filter-bar .pickerInput {
  margin-bottom: 5px;
}

/* Sobre */

.col2 {
    columns: 2 350px;         
    -webkit-columns: 2 350px; 
    -moz-columns: 2 350px;
    text-align: center !important;
}

.descricao {
    text-align: justify !important;
} 

.foto {
  width: 300px;
  heigth: 250px;
  margin: auto !important;
}

table.dataTable thead th {
  background-color: #098ebb !important;
  color: #fff !important;
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 10px 8px !important;
  border-bottom: none !important;
}

table.dataTable tbody td {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  padding: 8px;
  vertical-align: middle;
}

table.dataTable tbody tr:hover {
  background-color: #f0f8ff !important;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.dataTables_wrapper .dt-buttons {
  margin-bottom: 10px;
}

.dataTables_wrapper .btn {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  padding: 4px 12px;
  margin-right: 4px;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
    position: sticky !important;
}

.msg-ai p { margin: 0 0 8px 0; }
.msg-ai ul, .msg-ai ol { margin: 4px 0; padding-left: 20px; }
.msg-ai li { margin: 2px 0; }
.msg-ai strong { font-weight: 700; }
.msg-ai code {
  background-color: #f0f0f0;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.9em;
}
.msg-ai pre {
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 8px 0;
}
.msg-ai pre code { background: none; padding: 0; }
.msg-ai h1, .msg-ai h2, .msg-ai h3, .msg-ai h4 {
  margin: 8px 0 4px 0;
  font-size: inherit;
  font-weight: 700;
}
.msg-ai table {
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 0.9em;
}
.msg-ai th, .msg-ai td {
  border: 1px solid #ddd;
  padding: 4px 8px;
  text-align: left;
}
.msg-ai th { background-color: #f0f0f0; }

.stat-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 15px 10px;
  text-align: center;
  transition: box-shadow .3s;
  min-height: 92px;
}
.stat-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #098ebb;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.2;
}
.stat-label {
  font-size: 11px;
  color: #888;
  font-family: system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.filter-sidebar {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #e8e8e8;
}
.filter-sidebar .pickerInput {
  margin-bottom: 8px;
}
.filter-sidebar .selectize-input {
  min-height: 42px;
  padding: 8px 10px;
}
.filter-sidebar .pretty {
  margin: 2px 0;
  font-size: 12px;
  line-height: 1.4;
}
.filter-sidebar .pretty .state label {
  padding-left: 0.5em;
  min-width: 0;
}
.filter-sidebar a {
  color: #098ebb;
}
.filter-sidebar a:hover {
  color: #066;
  text-decoration: underline;
}

@media (max-width: 768px) {
table.dataTable td span[data-tip] {
  cursor: help;
  border-bottom: 1px dotted #ccc;
}

.filter-sidebar {
    margin-bottom: 12px;
  }
  .filter-card > div:first-child {
    flex-wrap: wrap;
  }
  .filter-card .filter-search-input {
    flex: 1 1 100%;
    margin-top: 6px;
  }
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dt-buttons,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    text-align: left;
  }
  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .dataTables_wrapper .dt-buttons,
  .dataTables_wrapper .dataTables_length {
    margin-bottom: 6px;
  }
  .chart-card,
  .stat-card {
    margin-bottom: 10px;
  }
  .voronoys-block {
    max-width: 100%;
  }
  .voronoys-block span.name {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
}
.filter-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.filter-card:hover {
  border-color: #098ebb;
}
.filter-search-input {
  flex: 1;
  min-width: 0;
}
.filter-search-input .form-control {
  height: 22px;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
}

/* Factor detail page */

.factor-page {
  max-width: none;
  width: 100%;
  margin: 20px auto 30px auto;
  padding: 10px 10px 25px 10px;
}

.factor-header {
  border-bottom: 3px solid #098ebb;
  padding-bottom: 12px;
  margin-bottom: 5px;
  margin-top: 18px;
}

.factor-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.factor-stats {
  margin-bottom: 24px;
}

.factor-charts {
  margin-bottom: 24px;
}

.factor-chart-title {
  font-weight: 700;
  color: #333;
  margin: 0 0 6px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #098ebb;
}

.factor-section-title {
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #098ebb;
}

.factor-table {
  margin-top: 24px;
}

.factor-table-wrap {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.factor-extra {
  margin-top: 24px;
}

.factor-extra .chart-card {
  margin-bottom: 16px;
}

.factor-charts .chart-card,
.factor-extra .chart-card {
  min-height: 230px;
}
