<div role="button" id="boton-cerrar" onclick="ocultarResultados()" class="fa fa-times-circle pull-right" style="color: white; margin-right: 10px;" ></div>
@if(!$results -> isEmpty())
<h4 style="color: white;">Resultados</h4>
<ul class="list-group">
    @foreach($results as $result)
        <li class="list-group-item">
            <a role="button" onclick="selectResult('{{$result -> POLIZA}}')" tabindex="0" name="{{$result -> POLIZA}}" class="media">
                <div class="media-body">
                    <span class="block">Poliza: {{ $result -> POLIZA  }}</span>
                    <small class="block">Nombre {{ $result -> NOMBRE }}</small>
                    <small >RFC: {{ $result -> RFC }}</small>
                </div>
            </a>
        </li>
    @endforeach
</ul>
@else
    <h4 style="color: white; text-align: center; margin-top: 3em;">Sin resultados</h4>
@endif