html, body {
  height: 100%;
  margin: 0; /* Remover margens padrão */
  background-color: #efefef;
  font-size: 16px;
  font-family: 'raleway';
}

a{
  text-decoration: none;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'raleway';
}

main {
  flex: 1;  
  text-align: justify;  
}

.search-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* escurece */
  z-index: 1040; /* um pouco abaixo da barra de busca (1050) */
}

.header-icon{
  color: #015b28;
}

.header-icon:hover{
  color:  #377946 ;
}

.search-overlay.d-none {
  display: none !important;  /* some de verdade, não só esconde */
}

.search-overlay {
  position: absolute;  
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;       /* largura máxima no desktop */
  max-width: 90%;     /* não estourar em telas menores */
  background: #fff; 
  padding: 10px;
  z-index: 1050;
  border-bottom: 1px solid #ccc;
  border-radius: 8px; /* deixa mais agradável */
}



.form-label{
  padding-left: .1rem;
}
.dropdown-menu li {
position: relative;
}

.dropdown-menu .dropdown-submenu {
display: none;
position: absolute;
left: 100%;
top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}  

.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
}

.navbar{
    background-color: #fff !important;
    border-bottom: 1px solid rgba(141,141,141,.16);
}

footer{
          
  color: white;
  background-color: #015b28;
        
  width: 100%;       
  padding: 1rem;  
  margin-top: 3rem;
  font-size: 16px;  
}

.footer-title{
  font-size: 18px;
  font-weight: bold;
}

.nav-link{
  font-size: 17px !important;
}

.tooltip-inner {
  background-color: #015b28 !important;    
  color: #fff;
}
  
.tooltip.bottom .tooltip-arrow {
border-top-color: #015b28 !important;
border-bottom-color: #015b28 !important;
}
    
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #015b28 !important;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #015b28 !important;
}
.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: #015b28 !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: #015b28 !important;
} 

/* Adicionando suporte para a direção padrão das setas */
.tooltip .tooltip-arrow::before {
  border-bottom-color: #015b28 !important; /* Para tooltips direcionados para baixo */  
}

.active{    
  background-color: #015b28 !important;
}

.hiden{
  display: none;
}

.open_preferences_center {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
}

.carousel-image {
  width: 100%;
  height: 100%; /* Altura desejada */
  background-size: cover;
  background-position: center;
}
.carousel-caption h2,
.carousel-caption a.btn {
  color: white;
}

.link-btn-carousel{
  border-radius: 30px !important;
  font-size: 1.5rem;
  font-family: "Raleway";
  font-weight: 900;
  letter-spacing: 0px;
  white-space: nowrap;
}

.carousel-caption {
  position: relative;
  top: 0;
  left:0;  
  width: 100%;
  text-align: center;
}

.btn-dark{
  background-color: black;
  
}

.nav-link{
  font-size: .9rem;
  font-weight: 700;
}

.btn-search{
  font-size: .9rem;
}

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

footer a:hover{    
  text-decoration: underline;
}

.header-campaign-logo{
  height: 20.8px;
  width: 18px;
}
.page-title{
  font-size: 26px;
  font-weight: 700;
}

.page-title-h2{
  font-size: 18px;
  font-weight: 700;
  color: black;
}

.page-title-h3{
  font-size: 1.15rem;
  font-weight: 700;
}

.form-check-input{
  margin-left: -.6rem !important;
}
.dropdown-item{
  font-size: 1.1rem;
}

.socio-name-link{
text-decoration: none;
color: black;
}

.socio-name-link:hover{
  text-decoration: underline;  
  }

.stat-number{
  font-size: 2.5rem;
  font-weight: normal;
}

.carousel-title{
  font-size: 3rem;
  font-weight: 700;
}
.nostyled-ul{
  list-style-type: none;
}

.circle-blue { 
  width: 50px;
  height: 50px;
  background: #47C9E5; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}
.circle-green { 
  width: 50px;
  height: 50px;
  background: #377946; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}
.circle-yellow { 
  width: 50px;
  height: 50px;
  background: #DAA520; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}
.circle-pink { 
  width: 50px;
  height: 50px;
  background: #C5E0B3; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}
.circle-grey { 
  width: 50px;
  height: 50px;
  background: #8D8D8D; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}

.circle-green-intermediary { 
  width: 50px;
  height: 50px;
  background:   #377946 ; 
  -moz-border-radius: 70px; 
  -webkit-border-radius: 70px; 
  border-radius: 70px;
}


.logo-row{
  flex-wrap: wrap;
}

/* Estilos Cookie Consent */
#cc-main{
  font-family: 'raleway';
  font-size: .9rem;
}
.pm__section-desc{
  text-align: justify !important;
}

.rounded-img{
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.flex-wrap{
  flex-wrap: wrap;
}

.footer-row{
width: .7rem;
}

.img-social{
  width: 1.15rem;
  height: 1.15rem;
}

.footer-blog-img{
  width: 3.5rem;
  height: 1.8rem;
}

.header-logo{  
  height: 3.5rem;
}

.posts-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Alinha à esquerda por padrão */
  gap: 60px;
  
}

.clients-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Alinha à esquerda por padrão */
  gap: 60px;
  align-items: center;
}


.carousel-caption-custom {
  max-width: 80%;
  margin: 0 auto;
  padding: 1rem 1.5rem;  
  color: white;
  border-radius: 8px;
}

.carrousel-container{
  min-height: 300px;
}

.year-representation{
  min-width: 142.517px;
  
}
/* Estilos para responsividade em telas menores */
@media (max-width: 768px) {
  .navbar-collapse{
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  .navbar-brand{
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  .company-values-container{
    padding-left: .8rem !important;
  }
  .posts-container{
    justify-content: center;
}

#btn-open-search {
    display: none !important; /* esconde a lupa */
  }

  #btn-close-search {
    display: none !important; /* esconde o botão de fechar */
  }

  #search-bar {
    display: block !important; /* mostra sempre */
    position: absolute;        /* deixa dentro do fluxo normal */
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid #ccc;
    margin: .5rem 0;
  }

  .header-icon-user{
    display: block;
  }
}