@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:.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;
}

[class*="primary"], input[type='checkbox'] {
  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:-ms-flexbox;
    display:flex;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    height: 6rem;
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.2);
  }

.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: 10%;
  padding-top: 0%;
  padding-bottom: 0%;
  margin-top: 1%
}

.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;
    width: 100%; /* Adjust the width as needed for responsiveness */
    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;
  }
}


.sidebar-expand {
  position: relative;
  float: left;
  width: 16rem;
  background-color: #f4f4f4;
  height: 90vh; /* Adjust as needed */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  margin-top: 5%;
  left: 0%;
  transition: width 0.1s ease-in-out;
}


.sidebar:hover {
  width: 16rem;
}

.sidebar span {
  visibility: hidden;
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}


/* when the sidebar is hovered, reveal the labels */
.sidebar:hover span {
  visibility: visible;
  opacity: 1;
  color: black;
}

/* container for the sidebar header. make sure the contents don't wrap when
 * the sidebar is collapsed.
 */
.sidebar-header {
  display: flex;
  justify-content: left;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

/* position the header relative to the logo and hide by default */
.sidebar-header h2 {
  opacity: 0;
  margin-left: 1rem;
  margin-bottom: 0;
  transition: opacity 0.1s ease-in-out;
}

/* reveal the header when the sidebar is toggled */
.sidebar:hover .sidebar-header h2 {
  opacity: 1;
}

.sidebar-funceme-item {
  position: relative;
  color: hsl(128, 63%, 40%);
  transition: all 0.3s ease;
  z-index: 1000;
}

.sidebar-funceme-item:hover{
  color: orange;
}

.sidebar-funceme-item:active{
  color: orange;
}

.sidebar-funceme-item-close {
  color: hsl(128, 63%, 40%);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-left: 600%;
  margin-top: 60%;
}

.sidebar-funceme-item-close:hover{
  color: orange;
}



/* Apply different styles for screens smaller than 600px */
@media only screen and (max-width: 600px) {

  .sidebar{
    position: relative;
    width: 8%;
  }

}

.custom-button {
    background-color: #ffffff; /* Cor de fundo */
    color: orange; /* Cor do texto */
    padding: 10px 20px; /* Espaçamento interno (topo/baixo, esquerda/direita) */
    border: none;
    border-radius: 5px; /* Borda arredondada */
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

