<?php if(($menu_home??true)){ ?><!--header false homepage-->
<header class="nav-theme bg-theme divTransition sticky-top">
    <?php if($menu_cad_imovel??true){ ?>
        <?php if(!($logado)){ ?><!--deslogado-->
        <div class="d-none-991 h-75">
            <nav class="navbar navbar-expand-lg navbar-light ui-front">
                <div class="row w-100">
                    <div class="col-lg-2 container-logo">
                        <a href="<?php e(base_url());?>">
                            <img src="<?php e(base_url('assets/img/comdono/logo-menu.png'))?>" class="img-fluid" alt="Avalie, Anuncie, Compre ou Financie">
                        </a>
                    </div>
                    <div class="col-lg-4">
                        <div class="container-form-topo">
                            <form id="formPesquisa" action="<?php e(base_url('busca')); ?>" method="post" class="needs-validation formPesquisa" novalidate="">
                                <div class="icon-input">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                    </svg>
                                </div>
                                <div class="box-input">
                                    <input type="text" class="form-control act-busca inputPesquisa" name="pesquisa" placeholder="<?php e(($menu_landingpage??false) ? "": "Buscar imóvel"); ?>" />
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="col-lg-6 pr-0">
                        <ul class="navbar-nav f-right">
                            <li class="nav-item">
                                <a class="nav-link" href="<?php e(base_url()); ?>">Home</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link <?php e($active == "ofertas" ? "active" : ""); ?>" href="<?php e(base_url("busca"));?>">Imóveis</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php e(!$logado ? base_url("cadastro/imovel/anuncieseuimovel") : base_url("cadastro/imovel")); ?>">Anunciar seu imóvel</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php e(base_url('login'));?>">Entrar</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
        </div>
        <div class="d-block-991 h-75">
            <nav class="navbar navbar-expand-lg navbar-light">
                <div class="row m-0 w-100">
                    <div class="col container-logo box-container-logo pl-30">
                        <a href="<?php e(base_url());?>">
                            <img src="<?php e(base_url('assets/img/comdono/logo-menu.png'))?>" class="img-fluid" alt="Avalie, Anuncie, Compre ou Financie">
                        </a>
                    </div>
                    <div class="col text-right box-icons-actions pr-30">
                        <div class="row m-0">
                            <div class="col p-0">
                                <div class="box-ico-pesquisa">
                                    <div class="ico ico-pesquisa actIcoPesquisa">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                        </svg>
                                    </div>
                                </div>
                            </div>
                            <div class="col-2 p-0">
                                <button class="navbar-toggler ml-auto box-navbar" type="button" data-toggle="collapse" data-target="#navbar-theme" aria-controls="navbar-theme">
                                    <div class="ico ico-menu">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
                                        </svg>
                                    </div>
                                    <div class="ico ico-clear d-none">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/>
                                        </svg>
                                    </div>
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="col box-pesquisa ui-front h-75 pl-30 pr-30 d-none">
                        <div class="row m-0">
                            <div class="box-ico-pesquisa">
                                <div class="ico ico-voltar">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
                                    </svg>
                                </div>
                            </div>
                            <div class="col">
                                <div class="container-input-pesquisa">
                                    <form id="formPesquisa2" action="<?php e(base_url('busca')); ?>" method="post" class="needs-validation formPesquisa" novalidate="">
                                        <input type="text" class="form-control act-busca inputPesquisa inputPesquisaMobile" name="pesquisa" placeholder="<?php e(($menu_landingpage??false) ? "Buscar imóvel": "Buscar imóvel"); ?>" />
                                    </form>
                                </div>
                            </div>
                            <div class="box-ico-pesquisa text-right">
                                <div class="ico ico-pesquisa">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                    </svg>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </nav>
        </div>
        <div class="row m-0">
            <div class="col p-0">
                <div class="collapse-nav collapse navbar-collapse <?php e(($menu_landingpage??false) ? "collapse-nav-landing": ""); ?>" id="navbar-theme">
                    <ul class="navbar-nav">
                        <div class="box-caret box-navbar-nav"><i class="fa fa-caret-up"></i></div>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(base_url()); ?>">Home</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(base_url("busca"));?>">Imóveis</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(!$logado ? base_url("cadastro/imovel/anuncieseuimovel") : base_url("cadastro/imovel")); ?>">Anunciar seu imóvel</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(base_url('login'));?>">Entrar</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <?php }else{ ?><!--logado-->
        <div class="d-none-991 h-75">
            <nav class="navbar navbar-expand-lg navbar-light ui-front">
                <div class="row w-100">
                    <div class="col-lg-2 container-logo">
                        <a href="<?php e(base_url());?>">
                            <img src="<?php e(base_url('assets/img/comdono/logo-menu.png'))?>" class="img-fluid" alt="Avalie, Anuncie, Compre ou Financie">
                        </a>
                    </div>
                    <div class="col-lg-4">
                        <div class="container-form-topo">
                            <form id="formPesquisa" action="<?php e(base_url('busca')); ?>" method="post" class="needs-validation formPesquisa" novalidate="">
                                <div class="icon-input">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                    </svg>
                                </div>
                                <div class="box-input">
                                    <input type="text" class="form-control act-busca inputPesquisa" name="pesquisa" placeholder="<?php e(($menu_landingpage??false) ? "": "Buscar imóvel"); ?>" />
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="col-lg-6 pr-0">
                        <ul class="navbar-nav f-right">
                            <li class="nav-item">
                                <a class="nav-link" href="<?php e(base_url()); ?>">Home</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link <?php e($active == "ofertas" ? "active" : ""); ?>" href="<?php e(base_url("busca"));?>">Imóveis</a>
                            </li>
                            
                            <?php if ($cadastro_user->incorporadora == 0){ ?>
                            <li class="nav-item d-none-991">
                                <a href="<?php e($linkMenuChat); ?>" class="nav-link" title="Negocições no chat">
                                    <div class="alert-header">
                                        <i class="material-icons">
                                            <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 4h16v12H5.17L4 17.17V4m0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z"/></svg>
                                        </i>
                                    </div>
                                </a>
                            </li>
                            
                            <li class="nav-item dropdown d-none-991">
                                <a href="javascript:;" class="nav-link notifications" id="notifications" data-toggle="dropdown" title="Notificações">
                                    <div class="divSemNotificacao <?php e(empty($notficacoes) ?'':'d-none')?>">
                                        <div class="alert-header">
                                            <i class="material-icons">
                                               <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path xmlns="http://www.w3.org/2000/svg" d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"/>
                                               </svg>
                                            </i>
                                        </div>
                                    </div>
                                    <div class="divComNotificacao <?php e(empty($notficacoes) ?'d-none':'')?>  ">
                                        <div class="alert-header active">
                                            <i class="material-icons">
                                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6zM7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42z"/>
                                                </svg>
                                            </i>
                                        </div>
                                        <div class="box contNotificatacao"><?php e(count($notficacoes))?></div>
                                    </div>
                                </a>
                                <div class="dropdown-menu dropdown-menu-right dropdown-menu-lg divNotifications" aria-labelledby="notifications">
                                    <?php foreach ($notficacoes as $not){ ?>
                                    
                                        <a class="dropdown-item" href="<?php e(base_url($not->href)); ?>">
                                            <div class="text f-left mr-5"><?php e($not->text); ?></div>
                                            <div class="box f-left">
                                                <span class="<?php e($not->class_spam_cont); ?>"><?php e($not->cont); ?></span>
                                            </div>
                                        </a>
                                    <?php } ?>
                                </div>
                            </li>
                            <?php } ?>
                            <li class="nav-item dropdown d-none-991">
                                <a class="nav-link <?php e($active == "minha_conta" ? "active" : ""); ?> dropdown-toggle" href="javascript:;" id="user-actions" data-toggle="dropdown">
                                    <div class="box-img-perfil f-left" style="background-image: url('<?php e($urlImgPerfil); ?>');"></div>
                                    <div class="box-name f-left">
                                        <?php e($first_name); ?>
                                        <div class="effect-favoritos"><i class="fa fa-heart" aria-hidden="true"></i></div>
                                    </div>
                                </a>
                                <div class="dropdown-menu dropdown-menu-right dropdown-menu-lg" aria-labelledby="user-actions">
                                    <?php if ($cadastro_user->incorporadora == 0){ ?>
                                    <a class="dropdown-item dropdown-item-favoritos" href="<?php e(base_url("minha-conta/favoritos")); ?>">
                                        <div class="text f-left mr-5">Favoritos</div>
                                        <?php if(1==0){?>
                                        <div class="box f-left">1</div>
                                        <?php } ?>
                                    </a>
                                    <a class="dropdown-item" href="<?php e(base_url("cadastro/imovel")); ?>">
                                        <div class="text f-left"><?php e(empty($imovel_incompleto) ? "Anunciar imóvel" : "Concluir anúncio")?></div>
                                    </a>
                                    <?php } ?>
                                    <a class="dropdown-item" href="<?php e(base_url("minha-conta")); ?>">
                                        <div class="text f-left mr-5">Minha conta</div>
                                        <?php if(1==0){?>
                                        <div class="box f-left">99999</div>
                                        <?php } ?>
                                    </a>
                                    <a class="dropdown-item bg-blue" href="<?php e(base_url('logout'));?>">Sair</a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
        </div>
        <div class="d-block-991 h-75">
            <nav class="navbar navbar-expand-lg navbar-light">
                <div class="row m-0 w-100">
                    <div class="col container-logo box-container-logo pl-30">
                        <a href="<?php e(base_url());?>">
                            <img src="<?php e(base_url('assets/img/comdono/logo-menu.png'))?>" class="img-fluid" alt="Avalie, Anuncie, Compre ou Financie">
                        </a>
                    </div>
                    <div class="col text-right box-icons-actions pr-30">
                        <div class="row m-0">
                            <div class="col p-0">
                                <div class="box-ico-pesquisa">
                                    <div class="ico ico-pesquisa actIcoPesquisa">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                        </svg>
                                    </div>
                                </div>
                            </div>
                            <div class="col-2 p-0">
                                <button class="navbar-toggler ml-auto box-navbar" type="button" data-toggle="collapse" data-target="#navbar-theme" aria-controls="navbar-theme">
                                    <div class="ico ico-menu">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
                                        </svg>
                                    </div>
                                    <div class="ico ico-clear d-none">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                            <path fill="none" d="M0 0h24v24H0V0z"/>
                                            <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/>
                                        </svg>
                                    </div>
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="col box-pesquisa ui-front h-75 pl-30 pr-30 d-none">
                        <div class="row m-0">
                            <div class="box-ico-pesquisa">
                                <div class="ico ico-voltar">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
                                    </svg>
                                </div>
                            </div>
                            <div class="col">
                                <div class="container-input-pesquisa">
                                    <form id="formPesquisa2" action="<?php e(base_url('busca')); ?>" method="post" class="needs-validation formPesquisa" novalidate="">
                                        <input type="text" class="form-control act-busca inputPesquisa inputPesquisaMobile" name="pesquisa" placeholder="<?php e(($menu_landingpage??false) ? "Buscar imóvel": "Buscar imóvel"); ?>" />
                                    </form>
                                </div>
                            </div>
                            <div class="box-ico-pesquisa text-right">
                                <div class="ico ico-pesquisa">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"/>
                                        <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                                    </svg>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </nav>
        </div>
        <div class="row container-mobile m-0">
            <div class="col p-0">
                <div class="collapse-nav collapse navbar-collapse <?php e(($menu_landingpage??false) ? "collapse-nav-landing": ""); ?>" id="navbar-theme">
                    <ul class="navbar-nav pb-0">
                        <div class="box-caret box-navbar-nav"><i class="fa fa-caret-up"></i></div>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(base_url()); ?>">Home</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php e(base_url("busca"));?>">Imóveis</a>
                        </li>
                        <?php if ($cadastro_user->incorporadora == 0){ ?>
                        <li class="nav-item">
                            <a href="<?php e($linkMenuChat); ?>" class="nav-link" title="Negocições no chat">
                                <i class="material-icons">
                                    <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
                                        <path d="M0 0h24v24H0V0z" fill="none"/>
                                        <path d="M4 4h16v12H5.17L4 17.17V4m0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z"/>
                                    </svg>
                                </i> 
                                <span>Chat</span> 
                            </a>
                        </li>
                        <?php } ?>
                        <li class="nav-item box-perfil">
                            <a class="nav-link" href="<?php e(base_url("minha-conta")); ?>">
                                <div class="box-img-perfil f-left" style="background-image: url('<?php e($urlImgPerfil); ?>');"></div>
                                <div class="box-name f-left">
                                    Olá, <?php e($first_name); ?>!
                                </div>
                            </a>
                        </li>
                        <?php if ($cadastro_user->incorporadora == 0){ ?>
                        <li class="nav-item">
                            <a href="<?php e(base_url("cadastro/imovel")); ?>" class="btn btn-success">
                                <?php e(empty($imovel_incompleto) ? "Anunciar imóvel" : "Concluir anúncio"); ?>
                            </a>
                        </li>
                        <?php } ?>
                        <li class="nav-item">
                            <a href="<?php e(base_url("minha-conta")); ?>" class="nav-link">
                                <i class="material-icons">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path>
                                        <path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"></path>
                                    </svg>
                                </i> 
                                <span>Resumo</span> 
                            </a>
                        </li>
                        <?php if ($cadastro_user->incorporadora == 0){ ?>
                        <li class="nav-item">
                            <a href="#" class="nav-link">
                                <i class="material-icons">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path>
                                        <path d="M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V6h16v12z"></path>
                                    </svg>
                                </i>
                                <span>Minhas vendas</span> 
                            </a>
                        </li>
                        <li class="nav-item sub-item"><a href="<?php e(base_url("minha-conta/minhas-vendas/anuncios")); ?>" class="nav-link">Anúncios</a></li>
                        <li class="nav-item sub-item"><a href="<?php e(base_url("minha-conta/minhas-vendas/negociacoes")); ?>" class="nav-link">Negociações</a></li>
                        <li class="nav-item">
                            <a href="#" class="nav-link">
                                <i class="material-icons svg-compras">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path><path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z"></path>
                                    </svg>
                                </i>
                                <span>Minhas compras</span> 
                            </a>
                        </li>
                        <li class="nav-item sub-item"><a href="<?php e(base_url("minha-conta/minhas-compras/negociacoes")); ?>" class="nav-link">Negociações</a></li>
                        <li class="nav-item sub-item"><a href="<?php e(base_url("minha-conta/minhas-compras/financiamento")); ?>" class="nav-link">Financiamento</a></li>
                        <li class="nav-item">
                            <a href="<?php e(base_url("minha-conta/favoritos")); ?>" class="nav-link">
                                <i class="material-icons">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path>
                                        <path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"></path>
                                    </svg>
                                </i>
                                <span>Favoritos</span> 
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="<?php e(base_url("minha-conta/meus-dados")); ?>" class="nav-link">
                                <i class="material-icons">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path>
                                        <path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path>
                                    </svg>
                                </i>
                                <span>Meus dados</span>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="<?php e(base_url("minha-conta/dinheiro-na-mao")); ?>" class="nav-link">
                                <i class="material-icons svg-hipoteca">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                        <path fill="none" d="M0 0h24v24H0V0z"></path>
                                        <path d="M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V6h16v12z"></path>
                                    </svg>
                                </i>
                                <span>Dinheiro na mão</span> 
                            </a>
                        </li>
                        <?php } ?>
                        <li class="nav-item box-danger"><a href="<?php e(base_url('logout'));?>" class="nav-link">Sair</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <?php }?>
        
    <?php }else{ ?><!--menu cad imovel-->
    
    <div class="row m-0">
         <div class="container-logo col-3 col-md-3 col-lg-3">
            <a href="<?php e(base_url());?>">
                <img src="<?php e(base_url('assets/img/comdono/logo-menu.png'))?>" class="img-fluid" alt="Avalie, Anuncie, Compre ou Financie">
            </a>
        </div>
        <div class="col col-md-7 col-lg-7 p-0">
            <div id="select-etapa" class="form-group content-select-header">
                <!-- select sendo gerado no cadastro_imovel.js -->
            </div>
        </div>
        <div class="col-3 col-md-2 col-lg-2 pl-0 content-btn-header text-right">
            <button class="link-danger btn_salvar">Salvar e sair</button>
        </div>
    </div>
   
    <?php } ?>
    
</header>
<?php } ?>
<main role="main" class="container-fluid">
<input id="selectBusca" type="hidden" data-selectBusca='<?php e($select_busca??'[]'); ?>' name="selectBusca"/>
<div class="notifyAct"></div>