@import url(https://fonts.googleapis.com/css2?family=Kanit:wght@300&display=swap);

  :root{
    --bs-primary:#1a1a1a;
    --bs-secondary:#fff;
    --bs-success:#4bbf73;
    --bs-info:#1f9bcf;
    --bs-warning:#f0ad4e;
    --bs-danger:#d9534f;
    --bs-light:#fff;
    --bs-dark:#343a40;
    --bs-primary-rgb:26,26,26;
    --bs-secondary-rgb:255,255,255;
    --bs-success-rgb:75,191,115;
    --bs-info-rgb:31,155,207;
    --bs-warning-rgb:240,173,78;
    --bs-danger-rgb:217,83,79;
    --bs-light-rgb:255,255,255;
    --bs-dark-rgb:52,58,64;
    --bs-white-rgb:255,255,255;
    --bs-black-rgb:0,0,0;
    --bs-body-rgb:85,89,92;
    --bs-font-sans-serif:"Kanit";
    --bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family:var(--bs-font-sans-serif);
    --bs-body-font-size:1rem;
    --bs-body-font-weight:400;
    --bs-body-line-height:1.5;
    --bs-body-color:#55595c;
    --bs-body-bg:#fff
}

body{
    margin:0;
    font-family:var(--bs-body-font-family);
    font-size:var(--bs-body-font-size);
    font-weight:var(--bs-body-font-weight);
    line-height:var(--bs-body-line-height);
    color:var(--bs-body-color);
    text-align:var(--bs-body-text-align);
    background-color:var(--bs-body-bg);
    -webkit-text-size-adjust:100%;
    -webkit-tap-highlight-color:transparent}

hr{
    margin:1rem 0;
    color:inherit;
    background-color:currentColor;
    border:0;opacity:.25
}
hr:not([size]){height:1px}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{
    margin-top:0;
    margin-bottom:0.5rem;
    font-weight:600;
    line-height:1.2;
    color:#1a1a1a}

.h1,h1{
    /* font-size:calc(1.325rem + .9vw); */
    font-size:2rem;
}

.h2,h2{
    font-size:calc(1.3rem + .6vw)
}

[class*="primary"], input[type='radio'] {
    color: #fff;
    accent-color:#e07822;
    margin: 0.4rem;
}

.modal-header {
    background-color: #14bb5f;
    padding:16px 16px;
    color:#FFF;
    border-bottom:4px dashed #050505;
  }

.header-funceme {
    position: relative;
    background: linear-gradient(to right, #26A737, #2DB39E 90%);
    display: flex;
    flex-wrap: nowrap;
    height: 6.4rem;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}


.dash-title {
    justify-content: center;
  }

.alert-page-final{
  position: fixed;
  z-index: 1000;
  bottom: 5%;
  padding-right: 5%;
  color: #050505;
  border-color: #00853B;
  font-weight: bold;
}

.Button0 {
  border: 2px solid rgb(194, 193, 193);
  color: black;
  background-color: whitesmoke;
  border-color: #00853B;
  position:relative;
  left: 0%;
  font-size: 16px;
}

.Button1 {
  background: 100%;
  border: 1px solid rgb(194, 193, 193);
  color: black;
  background-color: white;
  position: relative;
  display:inline-block;
  margin-top: -5%;
  left: 0%;
  padding: 10px;
  z-index: 400;
  border-radius: 4px;
  text-transform: capitalize;
}

.Button1:hover{
  color: white;
  background-color:green;
  opacity: 0.6;
}

.Button3 {
  background: #00853B;
  position: relative;
  border: 2px solid green;
  color: white;
  padding: 10px;
  font-size: medium;
}

.logomark{
  position: relative;
  display:-ms-flexbox;
  display:inline-flex;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  padding-left: 1%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: -1%;
  width: 35%;
}

.logomark_ibama{
  position: relative;
  display:-ms-flexbox;
  display:inline-flex;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  padding-left: 1%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: -1%;
  width: 9%;
}

.logomark_bombeiros{
  position: relative;
  display:-ms-flexbox;
  display:inline-flex;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  padding-left: 1%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: -1%;
  width: 8.5%;
}

.logomark_defesa{
  position: relative;
  display:-ms-flexbox;
  display:inline-flex;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  padding-left: 1%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: -1%;
  width: 8.5%;
}

.logomark_previna{
  position: relative;
  display:-ms-flexbox;
  display:inline-flex;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  padding-left: 1%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: -1.2%;
  width: 8.2%;
}

/* Media query para telas de largura inferior a 600px */
@media only screen and (max-width: 1300px) {
  .logomark {
    width: 1200px; /* Tamanho para telas de largura inferior a 600px */
  }
}

.warning-modal {
  color: red;
}

#y-variable-selector .Select.dcc_control {
  max-height: 70px;
  overflow-y:auto;
}

.button-wrapper {
  position: absolute;
  bottom: 100px;
  height: 100px;
  width: 100%;
  border: 1px solid red;
}

.icon-style{
  text-align: center;
}

.map {
  position: relative;
  width: 100%;
  height: 100%;
  bottom: 0%;
}

.map-wrapper {
  height: 77vh;
  margin-top: -1%;
  margin-left: -1%;
  width: 102%;
  position: relative;
}

.refreshButton {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  z-index: 400;
}

.modal{position:fixed;
       top:3%;
       left:0;
       z-index:1055;
       display:block;
       width:100%;
       height:100%;
       overflow-x:hidden;
       overflow-y:auto;
       outline:0}

.md1{
  margin:0;
  font-size: 1rem;
  font-family: var(--bs-body-font-family);
  font-weight:var(--bs-body-font-weight);
  text-align:var(--bs-body-text-align);
  color:var(--bs-body-color);
  text-transform:none;
  letter-spacing:normal;
  color:#55595c;
}

.DateInput_input, .DateInput_input_1 {
  color: inherit !important;
  text-align: center;
  font-size: inherit ! important;
  Width: 100% !important;
  padding-left: 3px !important;
  padding-right: 3px !important;
  }

.card-header {
  text-align: center;
  background-color: #26A737;
  color: white;
}

.text-style{
  color: #00853B;
  font-weight: lighter;
  top: 21%;
  position: absolute;
  /* font-size:x-large; */
}

.sidebar-funceme {
  float: left;
  width:240px;
  margin-top: -2%;
  padding-left: 20px;
  background-color: #f4f4f4;
  height: 90vh; /* Adjust as needed */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.body-page-funceme {
  position: 'relative';
  margin-left: 0%;
  padding: 20px;
  margin-top: 2%;
}

.hr_new5 {
  position: relative;
  margin-top: -0.4%;
  left: -1%;
  background: linear-gradient(to right, #f1491d, #fccc16 90%);
  padding: 0.1%;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  border-radius: 30px;
  opacity: 0.8;
  width: 102%;
  z-index: 500;
}

.dropdown1 {
  position: relative;
  padding-top: 0%;
  padding-bottom: 0%;
  padding-left: 0%;
  padding-right: 0%;
  letter-spacing: .15em;
  border-radius: 0px;
  border-bottom: 2px solid currentcolor;
  outline: 0;
  border-bottom-color: orangered;
  margin-top: -0.6%;
  background: transparent;
  margin-left: 81%;
  width: 13%;
  z-index: 600;
}

/* INÍCIO: Personalização do dropdown Menu com as cores da FUNCEME */
/* menu dropdown */
.Select-menu-outer {
  background-color: white;
  color: #00853B;
  border-color: orangered;
  border-top: 2px solid orangered;
  transition: color 0.3s; /* Add a smooth transition effect */
}

/* border on focus - default is blue
 * shadow box around input box.  default is blue
 */
 .is-focused:not(.is-open) > .Select-control {
  border-color: var(--primary);
  box-shadow: none;
}

/* dropdown menu color item effect */
.VirtualizedSelectSelectedOption {
  font-weight: bold;
  color: orange;
}

/* dropdown menu options hover */
.VirtualizedSelectOption:hover {
  color:orange;
  background-color: white;
}
/*FIM: Personalização do dropdown com as cores da FUNCEME */

._dash-loading-callback {
  position: fixed;
  z-index: 3000;
}

._dash-loading-callback::after {
  content: '';
  font-family: sans-serif;
  padding-top: 50px;
  color: #000;

  -webkit-animation: fadein 0.5s ease-in 1s forwards; /* Safari, Chrome and Opera > 12.1 */
     -moz-animation: fadein 0.5s ease-in 1s forwards; /* Firefox < 16 */
      -ms-animation: fadein 0.5s ease-in 1s forwards; /* Internet Explorer */
       -o-animation: fadein 0.5s ease-in 1s forwards; /* Opera < 12.1 */
          animation: fadein 0.5s ease-in 1s forwards;
  /* prevent flickering on every callback */
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;

  /* The banner */
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  cursor: progress;
  z-index: 100000;

  background-image: url('loading.gif');
  background-position: center center;
  background-repeat: no-repeat;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#sidebar {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f8f9fa;
}

#sidebar h2 {
  text-align: left;
}

/* Hide the blurb on a small screen */
#blurb {
  display: none;
}

#collapse {
  margin-top: 1rem;
}

@media (min-width: 48em) {
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    text-align: left;
  }

  /* reveal the blurb on a large screen */
  #blurb {
    display: block;
  }

  /* Hide the toggle on a large screen */
  #toggle {
    display: none;
  }

  #collapse {
    display: block;
    margin-top: 0;
  }
}

/* add the three horizontal bars icon for the toggle */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#page-content {
  padding: 2rem 1rem;
}

@media (min-width: 48em) {
  /* set margins of the main content so that it doesn't overlap the sidebar */
  #page-content {
    margin-left: 18rem;
    margin-right: 2rem;
  }
}

/* Apply different styles for screens smaller than 600px */
@media only screen and (max-width: 1700px) {
  #funceme {
    position: relative;
    display: inline-block;
    max-width: 300px; /* Set a maximum width to avoid stretching the image */
  }

  #governo {
    position: relative;
    display: inline-block;
    width: 160%; /* Adjust the width as needed for responsiveness */
    max-width: 220px; /* Set a maximum width to avoid stretching the image */
    left: 30%;
  }

}

/* Apply different styles for screens smaller than 600px */
@media only screen and (max-width: 600px) {
  .Button1 {
    position: relative;
    width: 100%;
    display: inline-block;
    margin-top: 0.4%;
  }

  .dropdown1 {
    position: relative;
    display: inline-flex;
    width: 55%;
    left: -40%;
  }

  #period_title {
    position: relative;
    display: inline-flex;
    left: -70%;
    margin-bottom: -9%;
    text-align: center;
  }

}



#sidebar {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f8f9fa;
}

#sidebar h2 {
  text-align: left;
}

/* Hide the blurb on a small screen */
#blurb {
  display: none;
}

#collapse {
  margin-top: 1rem;
}

@media (min-width: 48em) {
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    text-align: left;
  }

  /* reveal the blurb on a large screen */
  #blurb {
    display: block;
  }

  /* Hide the toggle on a large screen */
  #toggle {
    display: none;
  }

  #collapse {
    display: block;
    margin-top: 0;
  }
}

/* add the three horizontal bars icon for the toggle */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#page-content {
  padding: 2rem 1rem;
}

@media (min-width: 48em) {
  /* set margins of the main content so that it doesn't overlap the sidebar */
  #page-content {
    margin-left: 18rem;
    margin-right: 2rem;
  }
}

/* ==========================================================
   AJUSTE DOS NOMES DOS MUNICÍPIOS NOS GRÁFICOS - TELAS MENORES
   ========================================================== */

   @media only screen and (max-width: 1366px) {

    .js-plotly-plot .xtick text {
        font-size: 7px !important;
    }

}

/* Ajuste do texto "Total de Focos Registrados" em telas menores */
@media only screen and (max-width: 1366px) {

  .js-plotly-plot .annotation-text {
      font-size: 8px !important;
  }

}

@media only screen and (max-width: 1366px) {

  .mapas-filtros {
      max-width: 160px !important;
      font-size: 12px !important;
      padding-left: 8px !important;
      padding-right: 8px !important;
  }

  .mapas-filtros h4 {
      font-size: 14px !important;
      margin-bottom: 5px !important;
  }

  .mapas-filtros .Select-control,
  .mapas-filtros .Select-placeholder,
  .mapas-filtros .Select-value-label {
      font-size: 11px !important;
  }

  .mapas-coluna-imagem {
      height: calc(100vh - 180px) !important;
      overflow: hidden !important;
  }

  .mapas-imagem-wrapper {
      width: 100% !important;
      height: 100% !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;

      overflow: hidden !important;
  }

  .mapas-imagem {
      width: auto !important;
      height: 100% !important;

      max-width: none !important;
      max-height: 100% !important;

      object-fit: contain !important;
  }
}

@media only screen and (max-width: 1366px) {

  /* ================================
     RISCO DE FOGO E METEOROLOGIA
     ================================ */

  .risco-filtros {
      max-width: 190px !important;
      font-size: 11px !important;
      padding-left: 8px !important;
      padding-right: 6px !important;
  }

  .risco-filtros h4 {
      font-size: 14px !important;
      margin-bottom: 8px !important;
  }

  .risco-filtros .form-check {
      margin-bottom: 3px !important;
  }

  .risco-coluna-imagem {
      height: calc(100vh - 180px) !important;
      overflow: hidden !important;
  }

  .risco-imagem-wrapper {
      width: 100% !important;
      height: 100% !important;

      padding: 4px !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;

      overflow: hidden !important;
  }

  .risco-imagem {
      width: 100% !important;
      height: auto !important;

      max-width: 100% !important;
      max-height: calc(100vh - 190px) !important;

      object-fit: contain !important;
  }

  .risco-coluna-texto {
      height: calc(100vh - 180px) !important;
      overflow-y: auto !important;
  }

  #texto-risco-meteorologia {
      margin-top: 4px !important;
      padding: 10px !important;
      min-height: 0 !important;

      font-size: 12px !important;
      line-height: 1.45 !important;
  }
}

@media only screen and (max-width: 1366px) {

  /* ============================
     ABA RELATÓRIOS
     ============================ */

  .relatorio-filtro {
      margin-left: 15px !important;
      padding-left: 4px !important;
      padding-right: 4px !important;
  }

  .relatorio-filtro-tipo {
      margin-left: 60px !important;
  }

  .relatorio-filtro h4 {
      font-size: 14px !important;
      margin-top: 10px !important;
      margin-bottom: 4px !important;
  }

  .relatorio-filtro .Select-control,
  .relatorio-filtro .Select-placeholder,
  .relatorio-filtro .Select-value-label {
      font-size: 11px !important;
  }

  .relatorio-pdf {
      height: calc(100vh - 260px) !important;
  }
}

@media only screen and (max-width: 1366px) {

  /* ============================
     GALERIA DE MÍDIA
     ============================ */

  .galeria-container {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      padding-left: 35px !important;
      padding-right: 35px !important;
      box-sizing: border-box !important;
  }

  #btn-prev {
      left: 4px !important;
      width: 36px !important;
      height: 36px !important;
      font-size: 17px !important;
  }

  #btn-next {
      right: 4px !important;
      width: 36px !important;
      height: 36px !important;
      font-size: 17px !important;
  }

  #galeria-carousel {
      width: 100% !important;
      max-width: 100% !important;
      gap: 10px !important;
  }
}