#map { height: 500px; width: 100% }

html, body { margin : 0; padding : 0 }

body {
font-family : open sans, sans-serif;
font-size : 14px;
line-height : 1.428571429;
color : #000;
background-color : #fff;
}

.info { padding: 6px 8px; font: 14px/16px Arial, Helvetica, sans-serif; background: white; background: rgba(255,255,255,0.8); box-shadow: 0 0 15px rgba(0,0,0,0.2); border-radius: 5px; } 
.info h4 { margin: 0 0 5px; color: #777; }
.legend { text-align: left; line-height: 18px; color: #555; } 
.legend i { width: 18px; height: 18px; float: left; margin-right: 8px; opacity: 0.7; }

/* Texto do lado do globo */
h2, .h2 {
font-size : 30px;
color : #770000;
}

/* enquadramento do mapa na página */
.container {
margin-right : auto;
margin-left : auto;
padding-left : 15px;
padding-right : 15px;
}

/* posição das colunas */
.col-md-2 {
position : relative;
min-height : 1px;
padding-left : 15px;
padding-right : 15px;
}

@media (min-width:999px) {
.container {
max-width : 1170px;
}
.col-md-2 {
float : left;
}
.col-md-2 {
width : 16.66666666666666%;
}
}

.controls {
        margin-top: 10px;
        border: 1px solid transparent;
        border-radius: 2px 0 0 2px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        height: 32px;
        outline: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
      }

      #pac-input {
        background-color: #fff;
        font-family: Roboto;
        font-size: 15px;
        font-weight: 300;
        margin-left: 12px;
        padding: 0 11px 0 13px;
        text-overflow: ellipsis;
        width: 300px;
      }

      #pac-input:focus {
        border-color: #4d90fe;
      }

      .pac-container {
        font-family: Roboto;
      }

      #type-selector {
        color: #fff;
        background-color: #4d90fe;
        padding: 5px 11px 0px 11px;
      }

      #type-selector label {
        font-family: Roboto;
        font-size: 13px;
        font-weight: 300;
      }
      #target {
        width: 345px;
}		
		
/* trecho adicional */

/* Caixa de informações atualizado em 06/05/2025 */
.infoBox {
    position: absolute;
    top: 50%; /* Centralizar verticalmente */
    left: 50%; /* Centralizar horizontalmente */
    transform: translate(-50%, -50%);
    width: 80%; /* Ajuste dinâmico */
    max-width: 500px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Efeito suave */
	max-height: 90vh;
	overflow-y: auto;

}

.infoBox.show {
    opacity: 1;
    visibility: visible;
}

/* Estilo do botão para exibir as notas */
.info-button {
    display: block;
    margin: 20px auto;
    background-color: #770000;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    border: 2px solid #770000;
    padding: 8px 16px;
    cursor: pointer;
}

.info-button:hover {
    background-color: #DCDCDC;
    border: 2px solid #DCDCDC;
}

/* Estilo para o botão de fechar */
.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #770000;
    cursor: pointer;
    background: transparent;
    border: none;
}

.closeBtn:hover {
    color: #DCDCDC;
}

/* Listagem dentro da infoBox */
ul {
    list-style: none;
    padding-left: 20px;
}

ul li {
    text-align: justify;
    margin-bottom: 10px;
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
    .infoBox {
        width: 95%; /* Ajusta o tamanho para dispositivos móveis */
        padding: 15px;
    }

    .info-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}




/* Estilo para bullets no rodapé */
.bullets-footer {
  display: block;
  max-width: 685px;
  margin: 10px auto 20px;
  line-height: 140%;
  text-align: left;
}

.saiba-mais-link {
    display: block;
    text-align: center;
}
    
.pgImg { 
    text-align: center; 
    height: 100px; 
    width: 88px;
    margin-top: 10px; 
    margin-bottom: 10px; 
    display: block; 
    margin-left: auto; 
    margin-right: auto
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#loadingMessage {
    text-align: center;
    font-size: 18px;
    padding: 20px;
    animation: blink 2s infinite;
}

.filter-box {
    background-color: #f9f9f9; /* Cor de fundo */
    padding: 10px; /* Espaçamento interno */
    border-radius: 5px; /* Borda arredondada */
    margin-bottom: 20px; /* Espaçamento inferior */
}


/* Estilo para o conteúdo do pop-up BR-Estados */
        .popup-title {
            font-size: 18px;
            font-weight: bold;
            text-align: center; /* Centraliza o nome do estado */
            margin-bottom: 10px;
        }
        .popup-content {
            font-size: 14px;
        }
        .popup-content strong {
            font-weight: bold;
        }
        .popup-content {
            margin-top: 5px;
        }
		
/* Customização do select mapa BR-Estados*/
		.layer-section {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.layer-section h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

#layer-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.layer-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #007BFF;
  border-radius: 6px;
  background-color: #fff;
  color: #007BFF;
  cursor: pointer;
  transition: all 0.3s;
}

.layer-btn:hover {
  background-color: #e6f0ff;
}

.layer-btn.active {
  background-color: #007BFF;
  color: #fff;
}



/* Customização da caixa de busca Mapa TI*/
	
		#search-container {
            position: relative;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
        }
        #search-container label {
            margin-right: 10px;
        }
        #search-container input[type="text"] {
            width: calc(100% - 150px);
            padding: 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 3px;
            margin-right: 10px;
            box-sizing: border-box;
        }
        #search-container button {
            padding: 8px 16px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
        #search-container button:hover {
            background-color: #45a049;
        }
        #search-container button.clear-button {
            margin-left: 10px;
            background-color: #f44336;
        }
        #search-container button.clear-button:hover {
            background-color: #e53935;
        }
        .autocomplete-items {
            position: absolute;
            background-color: #f1f1f1;
            border: 1px solid #d4d4d4;
            border-top: none;
            z-index: 1001; /* Coloquei um z-index maior do que o dos controles do mapa */
            max-height: 150px;
            overflow-y: auto;
            width: calc(100% - 22px);
            left: 0;
            top: 42px;
        }
        .autocomplete-item {
            padding: 10px;
            cursor: pointer;
        }
        .autocomplete-item:hover {
            background-color: #e9e9e9;
        }