The Civil Rights act of 1964- outlawed much segregation agaisnt women and African Americans.
Employment Non-Discrimination Act- Ended discrimination in hiring and employment of people due to their sexuality.
Laws can make it illegal to end discrimination that effects work and civil rights, but that doesn't mean that the public ends discrimination, although it is a big step forward, The society itself needs to adapt to the new changes, and this takes time, and some people are not fond of change. Wheres people once saw it okay to discriminate against race, it is generally accept to be wrong today, and a more recent change of accepting Bisexuals/Homosexuals to our society, instead of shunning them. While society is changed by laws, Laws are often changed due to a natural change in the way we think, such as how many states are now allowing gay marriage, due to the fact that the general population accepts them, and the remaining people who oppose it, are shown to be bigots, and are the ones now who are frowned upon.
While the Laws help bring about a change, they don't eliminate it, That takes time, and a shift in culture and society.