.button-filtro-map-container {
    display: flex;
    width: 100px;
}

.button-filtro-map-container button {
    display: block; /* Corrigido para que os botões apareçam */
    width: 50px; 
    padding: 0;
    border: 1px solid #808080;
    cursor: pointer;
    color: #808080;
    outline: none;
    position: relative; /* Adiciona posição relativa para o pseudo-elemento */
    margin-right: -10px;
}

.button-filtro-map-container button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit; /* Faz a borda do pseudo-elemento seguir a forma do botão */
    background-color: transparent; /* Inicialmente transparente */
    z-index: 0; /* Fica atrás do conteúdo do botão */
}

.button-filtro-map-container button:first-child {
    border-radius: 15px 0 0 15px;
}

.button-filtro-map-container button:last-child {
    border-radius: 0 15px 15px 0;
    border-left: none;
}

.button-filtro-map-container button:hover {
    border: 1px solid #0056b3;
}

.button-filtro-map-container button.selected {
    border: 2px solid #000;
}

.button-filtro-map-container button img {
    width: 18px;
    height: auto;
    position: relative; /* Para estar acima do pseudo-elemento */
    z-index: 1; /* Garante que a imagem esteja acima */
}

#estadoimovel {
	max-width: 150px;
}
#tipo {	
	max-width: 200px;
}

.rangeControl {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 5px;
	margin-left: 10px;
	font-size: 12px;
	color: #808080;
}

.sliderRange {
	-webkit-appearance: none;
	appearance: none;
	height: 2px;
	background-color: #C6C6C6;
	pointer-events: none;
	margin-top: 8px;
}

.sliderRange::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 10px;
	height: 10px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #C6C6C6;
	cursor: pointer;
}

.sliderRange::-moz-range-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 10px;
	height: 10x;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #C6C6C6;
	cursor: pointer;
}

.sliderRange::-webkit-slider-thumb:active {
	box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
	-webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

.container-radiusValue {
	padding: 2px;
}

.container-emailcompartilhar {
	display: flex;
	flex-wrap: wrap;
	margin-right: 10px;
}

.emailcompartilhar-input {
	display: none;
	width: 300px;
	padding: 10px;
	border: 1px solid #808080;
}

.container-imovel-list {
	flex-wrap: wrap;
	display: none;
}

.container-header {
	align-items: flex-start;
	margin-top: 70px;
	display: none; /* Inicia oculto */
	z-index: 0;
	padding: 10px;
	border-bottom: 1px solid #e1e1e1;
}

.imovel-list-container {
	float: left;
	flex: 1;
	width: 100%;
	height: 100vh;
	overflow-y: auto;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

.imovel-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	padding: 0;
	margin: 0 -10px;
	margin-bottom: 35px;
}

.imovel-box {
	flex: 0 0 calc(20% - 20px);
	margin: 0 10px 20px;
	border: 1px solid #ccc;
	border-radius: 15px;
	overflow: hidden;
	transition: transform 0.3s ease;
	position: relative;
	min-width: 235px;
}

.imovel-box-h {
	cursor: pointer;
}
.imovel-box-h:hover {
	transform: translateY(-5px);
}

.imovel-box-container, .imovel-details-images{
	position: relative;
	transition: transform 0.5s ease;
	display: flex;
}

.imovel-img {
	margin-bottom: 10px;
	height: 20vh; 
	min-width: 100%; /* Permitir que a largura seja ajustada automaticamente */
	object-fit: cover;
	/* Isso faz com que a imagem preencha o contêiner mantendo sua proporção e cortando o excesso */
}


.image-container {
	margin-top: 10px;
	/* Adiciona um espaçamento superior entre as imagens */
}

.imovel-box.active .imovel-details {
	display: block;
	opacity: 1;
}

.imovel-title {
	padding: 5px;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 20px;
	margin-top: 5px;
}

.imovel-description {
	margin-top: 3px;
	padding: 5px;
	font-size: 15px;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 40px;
	text-align: left;
}

.imovel-price {
	padding: 5px;
	font-size: 16px;
	font-weight: bold;
	color: #007bff;
}

.image-nav {
	position: absolute;
	top: 30%;
	left: 0;
	right: 0;
	text-align: center;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.imovel-box:hover { 
	.image-nav { 
		opacity:1;
	
	}
}

.nav-button {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 10px;
	border: none;
	color: #333;
	font-size: 20px;
	padding: 5px 10px;
	cursor: pointer;
}

.nav-button:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

.prev-button {
	position: absolute;
	left: 10px;
}

.next-button {
	position: absolute;
	right: 10px;
}

.close-button {
	background-color: transparent;
	position: fixed;
	top: 10px;
	right: 10px;
	color: #333;
	cursor: pointer;
	border: none;
	z-index: 12;
	font-size: 20px;
}

.close-button:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

/* Estilos para os botões de favoritar e compartilhar */
.imovel-buttons {
	position: absolute;
	bottom: -5px; /* Posição a ser ajustada conforme necessário */
	right: 5px; /* Posição a ser ajustada conforme necessário */
	z-index: 1; /* Para garantir que os botões fiquem na frente do preço */
}

.imovel-buttons .fav-button, .imovel-buttons .share-button, .fav-details-button, .share-details-button {
	border-radius: 10px;
	width: 30px; /* Largura da imagem do botão */
	height: 30px; /* Altura da imagem do botão */
	cursor: pointer;
	margin-right: 0px; /* Espaçamento entre os botões */
	padding: 5px;
}
.select-button {
	cursor: pointer;
	display: none;
	width: 35px; /* Largura da imagem do botão */
	height: 35px; /* Altura da imagem do botão */
	margin-bottom: 10px;
	border-radius: 15px;
}

.fav-button:hover, .share-button:hover {
	background-color: rgb(173, 173, 173);
}

/* Estilos para o modal de compartilhamento */
.modal-compartilhamento {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	z-index: 1010;
	display: none; /* Escondido por padrão */
}

#modalCompartilhamento {
	position: fixed;
	top: 50%; /* Centraliza verticalmente */
	left: 50%; /* Centraliza horizontalmente */
	transform: translate(-50%, -50%);
	z-index: 1025;
	display: none; /* Esconda por padrão */
	padding: 20px; /* Espaçamento interno */
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#modalContato {
	position: fixed;
	/* Posição fixa para garantir que o modal sempre esteja visível */
	top: 50%; /* Centraliza verticalmente */
	left: 50%; /* Centraliza horizontalmente */
	transform: translate(-50%, -50%);
	/* Ajuste para centralizar perfeitamente */
	z-index: 1025;
	display: none; /* Esconda por padrão */
	padding: 20px; /* Espaçamento interno */
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#modalAgendamento {
	position: fixed;
	top: 50%; /* Centraliza verticalmente */
	left: 50%; /* Centraliza horizontalmente */
	transform: translate(-50%, -50%);
	z-index: 1025;
	display: none; /* Esconda por padrão */
	padding: 20px; /* Espaçamento interno */
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#detalhesImovel {
	position: relative;
	z-index: 10; /* Defina um z-index menor para a janela de detalhes */
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	/* Cor preta com 50% de opacidade */
	z-index: 1000;
	/* Certifique-se de que esteja acima do conteúdo normal */
	display: none; /* Escondido por padrão */
}

/* Estilo para o fundo do modal*/
.modal-content, .modal-content-contato, .modal-content-agendamento {
	max-width: 400px;
	background-color: #fefefe;
	margin: 5% auto;
	padding: 20px;
	border: 1px solid #888;
	border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0
		rgba(0, 0, 0, 0.19);
}

.modal-content-contato, .modal-content-agendamento {
	max-width: 550px;
	padding-left: 40px;
}

.modal-content-contato textarea {
	border: 1px solid #808080;
	padding: 10px;
	border-radius: 15px;
	margin-right: 10px;
	font-size: 16px;
	width: 95%;
	transition: border-color 0.3s ease;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover, .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.topo-listagem {
	display: flex;
	width: 100%;
	justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
}

.total-registros {
	margin-bottom: 5px;
	font-size: 12px;
	color: #a1a1a1;
	align-content: center;
}

.ordenacao {
	justify-content: flex-end;
	box-shadow: 0 0 0 0;
    border: 0 none;
    outline: 0;
    font-size: 12px;
    padding: 0;
    margin-top: -5px;
    background-color: #fff;
    border-style: none;
    color: #a1a1a1;
}

.imovel-details-title {
	margin-top: 0;
	padding-top: 15px;
	font-size: 20px;
	font-weight: bold;
	display: flex;
	justify-content: center;
	border-top: 1px solid #ccc;
}

.creci-details {
	margin-top: 0;
	padding-top: 5px;
	display: flex;
	justify-content: center;
	border-top: 1px solid #ccc;
}

.imovel-details {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #ccc;
	overflow: auto;
	width: 100%;
	height: 100%;
	border-radius: 15px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.imovel-details-content, .imovel-details-video {
	border-radius: 25px; /* Cantos arredondados */
	border: 1px solid #ccc; /* Borda */
	background-color: #f9f9f9; /* Cor de fundo */
	height: 100%;
	width: calc(62% - 15px);
	position: relative;
	overflow: hidden;
	max-height: 100%;
}

.imovel-details-video {
	position: absolute;
	top: 10px;
}

.imovel-details-video {
	display: none;
}

.imovel-details-info {
	width: calc(38% - 15px);
	padding: 10px;
	position: relative;
	height: 100vh;
	overflow-y: auto;
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 1;
}

.imovel-details img {
	max-width: calc(100vh + 150px); /* Remove a largura máxima */
	max-height: none; /* Remove a altura máxima */
	height: calc(100vh - 20px);
	width: auto;
	margin: 0 auto;
}

.imovel-details-info p {
	margin-bottom: 5px;
}

.imovel-details-buttons {
	padding-top: 5px;
	padding-bottom: 5px;
	z-index: 40;
	display: flex;
	justify-content: center;
	width: 38%;
	position: fixed; 
	bottom: 0px;
	right: 0px;
	background-color: #fff;
}

#logoDetail{
	width: auto;
	height: 40px;
}


.imovel-buttons-details-fav-share {
	z-index: 2; /* Para garantir que os botões fiquem na frente do preço */
}

.imovel-buttons-details-fav-share .fav-details-button,
	.imovel-buttons-details-fav-share .share-details-button, 
	.imovel-buttons-details-fav-share .select-details-button {
	border-radius: 10px;
	width: 35px; /* Largura da imagem do botão */
	height: 35px; /* Altura da imagem do botão */
	cursor: pointer;
	margin-right: 0px; /* Espaçamento entre os botões */
	padding: 5px;
}

.imovel-buttons-details-fav-share .select-details-button {
	display: none;
	width: 45px; /* Largura da imagem do botão */
	height: 45px; /* Altura da imagem do botão */
}

.fav-details-button:hover, .share-details-button:hover {
	background-color: rgb(173, 173, 173);
}

.details-nav-button {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 15px;
	border: none;
	color: #333;
	font-size: 20px;
	padding: 10px 15px;
	position: absolute; /* Posicionamento absoluto */
	align-items: center; /* Alinha os itens verticalmente */
	top: 13vh;
	border: 1px solid #ccc; /* Borda */
}

.details-nav-button:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

.details-prev-button {
	left: 4px;
}

.details-next-button {
	right: 5px;
}

.contact-button, .visit-button {
	margin-right: 10px;
	min-width: 120px;
	padding: 10px 5px;
	border-radius: 15px;
	border: 1px solid #808080;
	color: #808080;
	cursor: pointer;
	font-weight: bold;
}

.video-button {
	border: none;
	padding: 5px 0;
	text-decoration: none;
	position: absolute;
	top: 15px;
	left: calc(31% - 80px);
	width: 150px;
	z-index: 15;
	border-radius: 15px;
	color: #424242;
	font-weight: 1200;
	background-color: rgba(255, 255, 255, 0.3);
}

.contact-button:hover, .visit-button:hover, .video-button:hover {
	border: 1px solid #0056b3;
}

.titulo-modal {
	font-size: 18px;
	color: #007bff;
	text-transform: uppercase;
}

.h3.titulo_ficha {
	width: 80%;
	padding-bottom: 0;
	float: left;
	margin: 3px 0 0 0;
	font-size: 16px;
	color: #333;
	font-family: 'Roboto', sans-serif !important;
	font-weight: 500 !important
}

.mais_detalhes {
	width: 100%;
	float: left;
	font-size: 14px;
	margin-top: 20px;
	background-color: #FFF;
}

.placesResults {
	margin-bottom: 50px;
}

.tabsplaces {
	display: flex;
	cursor: pointer;
	background-color: #f1f1f1;
}

.tabsplaces button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
}

.tabsplaces button:last-child {
	border-radius: 0 5px 5px 0;
}

.tabsplaces button:hover {
	background-color: #ddd;
}

.tabsplaces button.active {
	background-color: #ccc;
}

.tabsplaces-content {
	display: none;
}

.tabsplaces-content.active {
	display: block;
}

.place-info {
	border: 1px solid #ccc;
	padding-left: 5px;
	margin-bottom: -1px;
}

.detail-info {
	margin-bottom: 10px;
	padding-top: 10px;
	display: flex;
	/* Magic starts here, turning your container into a flex container */
	justify-content: center; /* This centers the child horizontally */
	flex-wrap: wrap;
	border-top: 1px solid #ccc;
}

.detail-info-item {
	margin-left: 10px;
	border-radius: 15px;
	padding: 10px 15px;
	font-size: 14px;
	margin-top: 10px;
	width: 200px;
	border: 1px solid #2980b9;
}

.detail-features {
	margin-top: 10px;
	padding-bottom: 20px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	width: 100%;
}

.detail-features h3 {
	color: #2980b9;
	FONT-SIZE: 14px;
}

.places-title {
	color: #2980b9;
	FONT-SIZE: 14px;
	padding-top: 15px;
	padding-bottom: 5px;
	margin-top: -3px;
}

.detail-feature-category {
	display: flex;
	flex-wrap: wrap;
}

.detail-feature-item {
	font-size: 14px;
	margin-left: 20px;
	font-size: 1em;
	color: #555;
	list-style: none;
}

.detail-feature-item:before {
	content: "\2713"; /* Check mark */
	color: #27ae60; /* Green color */
	margin-right: 5px;
}

.detail-description {
	overflow: hidden;
	max-height: 150px;
	padding-top: 15px;
	padding-bottom: 15px;
	transition: max-height 0.5s ease;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 1) 100%);
	border-radius: 5px;
	border-top: 1px solid #ccc;
}

.detail-expand {
	FONT-FAMILY: arial, verdana, courier;
	COLOR: #2980b9;
	FONT-SIZE: 14px;
	TEXT-DECORATION: none;
	z-index: 12;
}

.detail-vermenos {
	display: none;
}