The Catholic church is not defined by the Bible. It has Canon Law, papal writs, teachings, traditions, etc, that have just as much weight as scripture, and it is mostly these that forbid women priests, abortion, birth control, etc. And they can be challenged and changed.