﻿.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.thumbnail a > img,
.thumbnail > img {
    max-width: none;
}

/****************************************/
/**               INDEX               **/
/**************************************/

a:hover {
    cursor: pointer;
}

#index {
    width: 100%;
}

    #index.Fixo {
    }

    #index.Fluido {
        margin: 0;
    }

/*****************************************/
/**               BANNER               **/
/***************************************/
#banner_id {
    position: relative;
    margin: 0 auto;
    left: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: inline-block;
    transform-style: preserve-3d;
    margin-top: 80px;
}

#banner {
    width: 100%;
    margin-bottom: 15px;
    background-color: #000000;
    overflow: hidden;
}

    #banner > div {
        position: relative;
        width: 100%;
        height: 100%;
    }

    #banner > a > img {
        width: 100%;
        /*height: 100%;*/
        display: block;
        overflow: hidden;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -25%);
    }

#banner_id > #banner > div > a > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#banner_id > #banner > div > a > #imgBannerImovel {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item {
    width: 100%;
    height: 400px;
}

/*Fixo*/
#banner.Fixo {
    height: 100%;
}

/*Fluido*/
#banner.Fluido {
    min-height: 60px;
}

/*#banner.Fluido > a > img {
            max-width: 100%;
        }*/

/*#banner_id > #banner > div > a > .bannerNormal {
        top: 0%; 
        left: 0%;
        transform: translate(0%, 0%); 
    }*/

#infoImovelBanner {
    width: 200px;
}

.divImovelBanner {
    position: absolute;
    top: 200px;
    left: 200px;
    background: rgba(255, 255, 255, 0.77);
    padding: 10px;
}

.infoValor {
    float: left;
    font-weight: 600;
    font-size: 20px;
}

.infoTipo {
    float: left;
    margin-left: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 2px;
    border-radius: 3px;
}

.saibaBtn {
    margin-left: 0%;
}

.divEndIfo {
    margin-top: 10px;
    margin-bottom: 10px;
}

.textInfo {
    color: black;
}



/***********************************************/
/**               PESQUISA BOX               **/
/*********************************************/

#caixaPesquisa {
    margin: 0;
    background-color: white;
    margin-bottom: 50px;
    margin-top: -35px;
}

/************************************************/
/**               PESQUISA FORM               **/
/**********************************************/
#pesquisaBox {
    padding: 10px;
}

/*Fixo*/
#caixaPesquisa.Fixo {
    border: solid 1px #bbb;
    border-radius: 2px;
    margin-bottom: 10px;
    position: relative;
}

.tiraPadding {
    padding-right: 0px;
    padding-left: 0px;
}

/*fluido*/
#caixaPesquisa.Fluido {
    width: 100%;
}

    #caixaPesquisa.Fluido > div {
        width: 100%;
        border: solid 2px #bbb;
    }

/*Botão Pesquisa no Mapa*/
/*#btnMapa {
    color: #e65834;
    background-color: #fff;
    border: 1px solid #bbb;
}
#btnMapa:hover {
    color: #fff;
    background-color: #e65834;
}*/

#corpo {
    padding-top: 0px;
}

#cabecalho {
    margin-bottom: 0px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 0;
    margin: auto;
    border: 1px solid #888;
    width: auto;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    color: white;
}

.modal-body {
    padding: 2px 5px;
}


@media all and (min-width: 768px) {
    #pagina {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
}

#areaApresentacao {
    padding: 0;
}

#areaTitle .titleDestaque {
    text-align: center;
}

    #areaTitle .titleDestaque h2 {
        margin: 0 0 5px 0;
        color: #454545 !important;
    }

    #areaTitle .titleDestaque span {
        font-weight: 600;
        color: #454545 !important;
    }

#areaDestaque {
    padding-inline-start: initial;
}

    #areaDestaque, #areaDestaque ul {
        list-style: none;
        margin-top: 35px;
    }

        #areaDestaque .itemImovel {
            height: auto;
            margin-bottom: 30px;
        }

            #areaDestaque .itemImovel > div {
                box-shadow: 0 0 5px 0px rgba(0,0,0,.4);
            }

            #areaDestaque .itemImovel a {
                text-decoration: none;
            }

        #areaDestaque .blocoApresentacao {
            position: relative;
            width: 100%;
            height: 250px;
            z-index: 1;
        }

        #areaDestaque .blocoCaracteristicas {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            padding-inline-start: initial;
            padding: 5px;
            margin: 0;
            background: rgba(0,0,0,.8);
        }

            #areaDestaque .blocoCaracteristicas > li {
                height: 100%;
                color: #FFF;
                font-size: 13px;
                padding: 12px 5px;
                text-align: center;
            }

            #areaDestaque .blocoCaracteristicas li i {
                margin-right: 8px;
            }

            #areaDestaque .blocoCaracteristicas li ul {
                margin: 0;
                padding-inline-start: initial;
            }

        #areaDestaque .blocoApresentacao p {
            padding: 8px;
            position: absolute;
            top: 15px;
            right: 15px;
            color: #FFF;
            text-transform: uppercase;
            z-index: 3;
            text-shadow: none;
            box-shadow: 0px 2px 2px 0px rgba(45,45,45,.4);
            font-size: 12px;
        }

        #areaDestaque .blocoApresentacao .imovelVenda {
            background: #125B56;
        }

        #areaDestaque .blocoApresentacao .imovelAluguel {
            background: #A73800;
        }

        #areaDestaque .blocoImg {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
        }

            #areaDestaque .blocoImg img {
                min-height: 100%;
                min-width: 100%;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%,-50%);
            }

            #areaDestaque .blocoImg div {
                width: 100%;
                height: calc(100% - 50px);
                position: absolute;
                text-align: center;
                display: none;
                z-index: 2;
            }

                #areaDestaque .blocoImg div span {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    color: #FFF;
                    text-transform: uppercase;
                    padding: 5px;
                    border: 1.4px solid;
                    font-size: 10px;
                    z-index: 2;
                }

        #areaDestaque .itemImovel:hover .blocoImg div {
            display: block;
        }

        #areaDestaque .blocoInfos {
            position: relative;
            width: 100%;
            height: auto;
            padding: 15px 10px;
        }

            #areaDestaque .blocoInfos h4 {
                margin: 0;
            }

            #areaDestaque .blocoInfos .infoTitle {
                width: 60%;
                height: auto;
                float: left;
                margin-bottom: 10px;
            }

                #areaDestaque .blocoInfos .infoTitle h4 {
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    opacity: .8;
                    transition: ease-in-out .1s;
                }

            #areaDestaque .blocoInfos .infoValorImovel {
                width: 40%;
                height: auto;
                float: left;
                text-align: right;
            }

            #areaDestaque .blocoInfos .infoEndereco {
                width: 100%;
                height: auto;
                float: left;
                padding-left: 20px;
                position: relative;
            }

                #areaDestaque .blocoInfos .infoEndereco p {
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    margin: 0;
                    font-size: 12px;
                    text-shadow: none;
                    font-weight: 400;
                    opacity: .8;
                    transition: ease-in-out .1s;
                }

                #areaDestaque .blocoInfos .infoEndereco i {
                    position: absolute;
                    left: 2px;
                    top: 50%;
                    transform: translateY(-50%);
                }

        #areaDestaque .itemImovel:hover .blocoInfos .infoTitle h4, #areaDestaque .itemImovel:hover .blocoInfos .infoEndereco p {
            opacity: 1;
        }

@media (max-width:550px) {
    .col-xs-12 {
        width: 100%;
    }

    form[name=pesquisa] > #filtroAvancado {
        margin-top: 0px;
    }

    #banner_id > #banner > div > a > .bannerNormal {
        /*top: 50%;
        left: 50%;*/
        transform: translate(-50%, -25%);
        height: 350px;
        width: inherit;
        top: 0px;
    }

    #maisFiltros {
        display: none;
    }

    #banner_id {
        height: 250px;
        margin-top: 80px;
        margin-left: 0px;
        margin-bottom: -45px;
    }

    .container {
        padding-right: 0px;
        padding-left: 0px;
    }

    /*#banner_id > #banner > div > a > img {
        margin-top: 0px;
        min-height: 250px;
    }*/

    .divImovelBanner {
        position: absolute;
        top: 150px;
        left: 40px;
        background: rgba(255, 255, 255, 0.77);
        padding: 5px;
    }

    .saibaBtn {
        display: none;
    }

    .infoValor {
        float: left;
        font-weight: 500;
        font-size: 16px;
    }

    .infoTipo {
        float: left;
        margin-left: 10px;
        color: white;
        font-weight: 500;
        font-size: 12px;
        padding: 2px;
        border-radius: 3px;
    }

    .divEndIfo {
        margin-top: 5px;
        margin-bottom: 5px;
        max-width: 240px;
    }

    .textInfo {
        font-size: 13px;
        color: black;
    }

    #caixaPesquisa > #pesquisaBox {
        margin-top: 0px;
    }

    #caixaPesquisa > #pesquisaBox {
        border-left: initial;
        border-bottom: initial;
        border-right: initial;
    }

    #caixaPesquisa.Fluido > div {
        border: initial;
    }
}

@media (max-width: 767.98px) {
    .item {
        width: 100%;
        height: 250px;
    }

    #caixaPesquisa {
        margin-top: 10px;
    }

    form[name=pesquisa] > div > input, form[name=pesquisa] > div > select {
        width: 99%;
    }

    #banner.Fluido{
        height:100%;
    }
}

.AjusteVideoMobile {
    display: none;
    width: 100%;
    height: 100%;
}

    .AjusteVideoMobile img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        position: absolute;
        height: 100%;
        left: 50%;
        transform: translate(-50%);
    }

.video-background, .video-background .video-foreground {
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    position: relative;
}

    .video-background .video-foreground iframe {
        min-width: 100%;
        min-height: 145%;
        overflow: hidden;
        pointer-events: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%)
    }

@media screen and (max-width: 950px) {
    .AjusteVideoMobile {
        display: block;
    }

    .video-background {
        display: none;
    }
}
