html,
body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    padding-bottom: 100px;
}

img {
    max-width: 100%;
}

.main-navbar {
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 3px 16px -5px rgba(0, 0, 0, 0.75);
}

.main-navbar .navbar-brand {
    width: 140px;
}

.main-navbar .nav-link {
    text-transform: uppercase;
    font-weight: bold;
    color: #eee;
    font-size: 14px;
}

.page-header {
    padding: 50px 20px;
    background: #ebebeb;
    margin-bottom: 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 27px;
    margin: 0;
    color: #1e1e1e;
    font-weight: 300;
}

.imovel-listagem {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    height: 600px;
    background: #ebebeb;
    border-radius: 20px;
}

.imovel-listagem .coluna {
    width: 50%;
    height: 100%;
    position: relative;
}

.imovel-listagem .coluna .imovel-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.imovel-listagem .coluna.order-2 img {
    border-radius: 0 20px 20px 0;
}

.imovel-listagem .dados-imovel {
    padding: 0 20px;
}

.imovel-listagem .dados-imovel h2 {
    font-weight: bold;
    margin-top: 15px;
    font-size: 21px;
}

.imovel-listagem .dados-imovel .referencia {
    font-size: 14px;
    font-weight: bold;
}

.imovel-listagem .dados-imovel .cidade {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
}

.imovel-listagem .dados-imovel .descricao {
    font-size: 14px;
}

.imovel-listagem .dados-imovel .btn {
    position: absolute;
    bottom: 170px;
    background: #c4ae3e;
    color: #fff;
    font-weight: bold;
    left: 20px;
    right: 20px;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 30px;
}

.imovel-listagem .dados-corretor {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(189, 189, 189, 1);
    border-radius: 10px;
    display: flex;
}

.imovel-listagem .dados-corretor div img {
    margin: 8px 20px 8px auto;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.imovel-listagem .dados-corretor .fale-comigo {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 14px;
}

.imovel-listagem .dados-corretor .fale-comigo span {
    font-size: 17px;
    display: block;
    font-weight: bold;
}

.imovel-listagem .dados-corretor .whatsapp {
    line-height: 20px;
    margin: 0;
}

.imovel-listagem .dados-corretor .whatsapp a {
    font-weight: bold;
    font-size: 21px;
    display: block;
    color: #57c864;
    text-decoration: none;
}

.imovel-listagem .forma-financiamento {
    background-color: #e4e4e4;
    border-radius: 5px;
    margin: 0 15px 20px 15px;
    -webkit-box-shadow: 0 2px 10px 0 rgba(189, 189, 189, 1);
    -moz-box-shadow: 0 2px 10px 0 rgba(189, 189, 189, 1);
    box-shadow: 0 2px 10px 0 rgba(189, 189, 189, 1);
    border: 1px solid #ccc;
    padding: 10px 20px;
}

.imovel-listagem .forma-financiamento p {
    text-transform: uppercase;
    font-weight: bold;
}

.imovel-listagem .forma-financiamento span {
    display: block;
}

.imovel-listagem .dados-imovel .especificacoes {
    width: 100%;
    margin-bottom: 15px;
    background: #ccc;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 1px 2px #ccc;
}

.imovel-listagem .dados-imovel .especificacoes p {
    font-size: 15px;
    margin-bottom: 4px;
}

.modal-whatsapp .modal-dialog {
    width: 370px;
}

.modal-whatsapp .modal-header {
    background: #009688;
    color: #fff;
}

.modal-whatsapp .modal-content {
    background-image: url('../img/background-modal-whatsapp.jpg');
}

.modal-whatsapp .modal-content .form-control {
    font-size: 14px;
}

.modal-whatsapp .modal-content .btn {
    background: #009688;
    color: #fff;
    border-radius: 25px;
    display: block;
    width: 100%;
}

/*   Barra de conta fixa em baixo   */

.barra-contatos {
    width: 100%;
    left: 0;
    right: 0;
    height: 84px;
    position: fixed;
    bottom: 0;
    z-index: 99;
    background: #16284f;
}

.barra-contatos ul {
    padding: 0;
    display: flex;
}

.barra-contatos ul li {
    width: 33%;
    display: inline-block;
    padding: 20px 15px;
    font-size: 17px;
}

.barra-contatos ul li a {
    display: flex;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    line-height: 20px;
}

.barra-contatos ul li svg {
    width: 40px;
    fill: #8eaebf;
    margin-right: 20px;
}

.barra-contatos ul li .texto-contato span {
    display: block;
    color: #8eaebf;
}

/*   PAGINA IMOVEL   */

.pagina-imovel {
    width: 100%;
    height: 100%;
}

.pagina-imovel .imagem-destaque {
    width: 100%;
    height: 556px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.pagina-imovel .imagem-destaque .sombra {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.31);
}

.pagina-imovel .slider-banner {
    background-color: #e4e4e4;
    color: #353535;
    padding: 24px 0;
}

.pagina-imovel .slider-banner .title h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 25px;
}

.pagina-imovel .slider-banner .form-slider-wrapper {
    background-color: #353535;
    color: #fff;
    top: 270px;
    display: table;
    height: auto;
    padding: 30px 30px 15px 30px;
    position: absolute;
    width: 360px;
    z-index: 10;
    border-radius: 15px;
}

.pagina-imovel .form-slider-wrapper h3 {
    text-transform: uppercase;
    font-size: 17px;
}

.pagina-imovel .dados-corretor-imovel .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: -80px auto 10px auto;
    object-fit: cover;
}

.pagina-imovel .dados-corretor-imovel .fale-comigo {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 0;
}

.pagina-imovel .dados-corretor-imovel .nome {
    font-size: 21px;
    margin-bottom: 0;
}

.pagina-imovel .dados-corretor-imovel .profissao {
    font-size: 15px;
    font-weight: 500;
}

.pagina-imovel .dados-corretor-imovel .telefone {
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #25d366;
}

.pagina-imovel .galeria-imagens {
    width: 100%;
    padding: 0;
    margin: 70px 0 0 0;
}

.pagina-imovel .galeria-imagens:after {
    display: block;
    content: '';
    clear: both;
}

.pagina-imovel .galeria-imagens li {
    width: 20%;
    height: 280px;
    float: left;
    list-style: none;
}

.pagina-imovel .galeria-imagens li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagina-imovel .detalhes {
    padding-top: 50px;
    padding-bottom: 50px;
}

.pagina-imovel .detalhes h3 {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 50px;
}

.pagina-imovel .detalhes .btn {
    background: #28a745;
    color: #fff;
    text-transform: uppercase;
    margin-top: 20px;
}

.pagina-imovel .detalhes .btn:hover {
    background: #198754;
    transition: .6s;
}

.pagina-imovel .pagamento {
    background: #ebebeb;
    margin-top: 30px;
}

.pagina-imovel .pagamento .conteudo {
    padding-top: 60px;
}

.pagina-imovel .pagamento .conteudo h3 {
    text-transform: uppercase;
    font-size: 21px;
    margin-bottom: 10px;
    font-weight: 300;
}

.pagina-imovel .pagamento .conteudo h4 {
    font-size: 35px;
}

.pagina-imovel .pagamento .conteudo p {
    margin-bottom: 2px;
    font-size: 21px;
}

@media screen and (max-width: 768px) {

    .main-navbar .navbar-brand {
        width: 100px;
    }

    .pagina-imovel .slider-banner .form-slider-wrapper {
        position: relative;
        top: 100px;
        width: 100%;
    }

    .pagina-imovel .galeria-imagens {
        margin-top: 100px;
    }

    .pagina-imovel .galeria-imagens li {
        width: 50%;
        height: 220px;
    }

    .barra-contatos ul li {
        padding: 14px 0;
    }

    .barra-contatos ul li svg {
        width: 20px;
        display: block;
        margin: 0 auto;
    }

    .barra-contatos ul li a {
        text-align: center;
        display: block;
    }

    .barra-contatos ul li .texto-contato {
        font-size: 12px;
        line-height: 14px;
    }

    .barra-contatos ul li .texto-contato span {
        font-size: 8px;
    }

    .imovel-listagem {
        display: block;
        height: auto;
    }

    .pagina-imovel .imagem-destaque {
        object-fit: inherit;
        background-attachment: inherit;
    }

    .imovel-listagem .dados-imovel {
        padding: 20px;
    }

    .imovel-listagem .coluna {
        width: 100%;
    }

    .imovel-listagem .dados-imovel .btn,
    .imovel-listagem .dados-corretor {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .imovel-listagem .dados-corretor {
        margin: 20px 0;
    }

    .imovel-listagem .coluna .imovel-imagem {
        height: 300px;
        border-radius: 0;
    }

    .modal-whatsapp .modal-dialog {
        width: 90%;
    }

    .imovel-listagem .dados-corretor div img {
        margin: 14px 10px 14px 0;
        width: 60px;
        height: 60px;
    }
}