/* @import 'card-imovel.css'; */

/* MOBILE/XL+ */

.twitter-typeahead {
    margin-bottom: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 120px;
    background-color: #f9f9f9;
    z-index: 1;
}

.menu-filtros {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60px;
    padding-bottom: 60px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-filtros .filtro-localizacao {
    display: flex;
    padding: 12px 0;
}

.menu-filtros .filtro-localizacao .input-group {
    width: 100%;
}

.menu-filtros .mais-filtros {
    display: none;
}

.menu-filtros.active {
    height: calc(100vh - 60px);
}

.menu-filtros.active .mais-filtros {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: auto;
    overflow: auto;
}

.btn-mostrar-resultados-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 15px;
    background-color: #f9f9f9;
}

main {
    margin-top: 120px;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.colunas {
    width: 200%;
    height: 100%;
    transform: translateX(0%);
    transition: transform .2s ease-out;
    overflow: hidden;
}

.colunas .coluna-conteudo,
.colunas .coluna-mapa {
    float: left;
    height: 100%;
    width: 50%;
}

.colunas .coluna-conteudo {
    overflow: auto;
}
.colunas .coluna-conteudo .scroll-conteudo {
    width: 100%;
}

.colunas.mostrar-mapa {
    transform: translateX(-50%);
}

.container {
    max-width: 100%;
}

.mapa-loading-overlay {
    width: 100%;
    position: absolute;
    top: 40%;
    left: 0;
    text-align: center;
    display: none;
}

.mapa-loading-overlay .box-mensagem {
    width: 50%;
    padding: 8px 12px;
    border-radius: 2px;
    background-color: white;
    position: relative;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.resultados .status-busca {
    font-size: 18px;
    font-weight: 600;
    color: #ed7203;
}

.resultados .imoveis {
    display: flex;
    flex-flow: row wrap;
    margin-right: -8px;
}

.resultados .imoveis .card-imovel-wrapper {
    width: 100%;
    padding-right: 8px;
    position: relative;
}

.resultados .erro-wrapper {
    color: gray;
    display: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
    font-size: 16px;
}

.card-imovel {
    margin-bottom: 8px;
}

.card-imovel .carousel-card-imovel .carousel-inner,
.card-imovel .carousel-card-imovel .carousel-inner .carousel-item {
    height: 200px;
  }
  .card-imovel .carousel-card-imovel .carousel-inner .carousel-item img {
    object-fit: cover;
  }

.card-imovel.card-mapa {
    width: 200px;
    height: 300px;
    background-color: white;
}

.card-imovel.card-mapa .carousel-card-imovel .carousel-inner,
.card-imovel.card-mapa .carousel-card-imovel .carousel-inner .carousel-item {
    height: 130px;
}

  .card-imovel.card-mapa .carousel-card-imovel img {
    height: 120px
}
.card-imovel .carousel-control-next,
.card-imovel .carousel-control-prev {
    display: none;
}

.card-imovel:hover .carousel-control-next,
.card-imovel:hover .carousel-control-prev {
    display: flex;
}

.card-imovel .imovel-info {
    padding: 9px;
}

.card-imovel .imovel-title {
    overflow: hidden;
}
.card-imovel .imovel-valor .valor {
    font-size: 20px;
    font-weight: 600;
    color: #ed7203; }
  .card-imovel .imovel-valor .valor .venda,
  .card-imovel .imovel-valor .valor .locacao {
    font-size: 14px;
    font-weight: 600;
    color: #ed7203; }
.card-imovel .imovel-title .tipo {
    font-size: 14px;
    height: 18px;
}
.card-imovel .imovel-title .endereco,
.card-imovel .imovel-title .tipo-imovel2 {
    font-size: 12px;
    height: 16px;
}
.card-imovel .imovel-title .tipo,
.card-imovel .imovel-title .endereco {
    white-space: nowrap;
    text-overflow: clip;
}

.resultados .imoveis .card-imovel-wrapper {
    width: 100%;
}

.pagination li:not(.clprev):not(.clnext):not(.active) {
    display: none;
}

.select-view {
    display: flex;
    flex: 1;
    justify-content: center;
    position: fixed;
    bottom: 5%;
    left: 0;
    right: 50%;
    transform: translateX(50%);
}

.select-view .select-view-item {
    background-color: white;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    padding: 12px 18px;
}

.select-view .select-view-item.active {
    background-color: #efefef;
}

.select-view .view-resultado {
    border-radius: 16px 0 0 16px;
}

.select-view .view-filtros {
    display: none;
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
}

.select-view .view-mapa {
    border-radius: 0 16px 16px 0;
}

/* MD+ */
@media (min-width: 768px) {
    .menu-filtros {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-bottom: 0;
    }

    .menu-filtros .filtro-localizacao {
        padding: 0;
    }

    .menu-filtros .mais-filtros,
    .menu-filtros.active .mais-filtros {
        display: flex;
        flex-direction: row;
    }

    .menu-filtros.active {
        height: 60px;
    }

    .btn-mostrar-resultados-container {
        display: none;
    }

    .colunas {
        width: 100%;
        display: flex;
        flex: 1;
    }

    .colunas .coluna-conteudo,
    .colunas .coluna-mapa {
        display: flex;
        flex: 1;
    }

    .colunas.mostrar-mapa {
        transform: translateX(0%);
    }

    .pagination li:not(.clprev):not(.clnext):not(.active) {
        display: block;
    }

    .select-view {
        display: none;
    }
}

/* LG+ */
@media (min-width: 992px) {
    .menu-filtros .filtro-localizacao {
        min-width: 265px;
    }

    .resultados .imoveis .card-imovel-wrapper {
        width: 50%;
    }
}

/******
GOOGLE MAPS POPUP
*******/
/* The location pointed to by the popup tip. */
.popup-tip-anchor {
    position: absolute;
}

/* The popup bubble itself. */
.popup-bubble-anchor {
    display: block;
    height: 0px;
    position: absolute;
    top: -9px;
    left: -4px;
}