Curious

Is there a specific name for a person that does not favour a certain gender and can love a person for who they are? Is it pansexual?