Cardinal Ratzinger (now the Pope) wrote in his letter to Cardinal McCarrick back in 2004:
A Catholic would be guilty of formal cooperation in evil, and so unworthy to present himself for Holy Communion, if he were to deliberately vote for a candidate precisely because of the candidates permissive stand on abortion and/or euthanasia. When a Catholic does not share a candidates stand in favor of abortion and/or euthanasia, but votes for that candidate for other reasons, it is considered remote material cooperation, which can be permitted in the presence of proportionate reasons.
Of course, what is essential is a correct understanding of the just autonomy of the secular order, an autonomy which cannot be divorced from God the Creator and his saving plan (cf. Gaudium et Spes, 36). Perhaps Americas brand of secularism poses a particular problem: it allows for professing belief in God, and respects the public role of religion and the Churches, but at the same time it can subtly reduce religious belief to a lowest common denominator. Faith becomes a passive acceptance that certain things out there are true, but without practical relevance for everyday life. The result is a growing separation of faith from life: living as if God did not exist. This is aggravated by an individualistic and eclectic approach to faith and religion: far from a Catholic approach to thinking with the Church, each person believes he or she has a right to pick and choose, maintaining external social bonds but without an integral, interior conversion to the law of Christ. Consequently, rather than being transformed and renewed in mind, Christians are easily tempted to conform themselves to the spirit of this age (cf. Rom 12:3). We have seen this emerge in an acute way in the scandal given by Catholics who promote an alleged right to abortion.
MEETING WITH THE BISHOPS OF THE UNITED STATES OF AMERICA