A seemingly divided Supreme Court on Tuesday heard highly anticipated cases on whether federal civil rights law should apply to LGBTQ people, with Chief Justice John Roberts questioning how doing so would affect employers. In the first of two cases, the justices heard arguments on whether a federal law banning job discrimination on the basis of sex should also protect sexual orientation.

Lower courts have split on the issue. A related case on transgender employees was also being heard Tuesday.

Roberts, a possible swing vote in the cases, wondered about the implications of what he described as an expansion of the job-discrimination law. "If we're going to be expanding the definition of what 'sex' covers, what do we do about that issue?" Roberts asked.

Justice Neil Gorsuch said the case seems close. He wondered whether the justices should consider "the massive social upheaval" that might follow a ruling in favor of LGBTQ employees.

Justice Samuel Alito, a conservative, suggested that the high court would be usurping the role of Congress by reading protection for sexual orientation into the 1964 Civil Rights Act, when lawmakers at the time likely envisioned they were doing no such thing. "You're trying to change the meaning of 'sex,'" he said.

Justice Elena Kagan, a liberal, suggested sexual orientation is a clear subset of sex discrimination, saying that a man who loves other men cannot be treated differently by an employer than a woman who loves men. 

The cases Tuesday are the court's first on LGBTQ rights since Justice Anthony Kennedy's retirement and replacement by Justice Brett Kavanaugh. Kennedy upheld gay rights as the author of the landmark ruling in 2015 that made same-sex marriage legal throughout the United States. Kavanaugh generally is regarded as more conservative.

Front row from left to right, U.S. Supreme Court Associate Justice Stephen Breyer, Associate Justice Clarence Thomas, Chief Justice John Roberts, Associate Justice Ruth Bader Ginsburg, Associate Justice Samuel Alito Jr. Back row from left to right, Associ
Members of the U.S. Supreme Court. Front row, left to right: Stephen Breyer, Clarence Thomas, Chief Justice John Roberts, Ruth Bader Ginsburg and Samuel Alito Jr.  Back row, left to right: Neil Gorsuch, Sonia Sotomayor, Elena Kagan and Brett Kavanaugh.CHIP SOMODEVILLA/GETTY IMAGES

A decision is expected by early summer 2020, amid the presidential election campaign. A ruling for employees who were fired because of their sexual orientation or gender identity would have a big impact for the estimated 8.1 million LGBTQ workers across the country because most states don't protect them from workplace discrimination.

An estimated 11.3 million U.S. adults identify as LGBTQ, according to the Williams Institute at the UCLA law school. The Trump administration has changed course from the Obama administration and now supports employers in arguing that the civil rights law's Title 7 does not prohibit discrimination because of sexual orientation or transgender status.

People waited in line outside the court since the weekend to try to snag the few seats the court makes available to the public for arguments. 

The justices were first hearing appeals in lawsuits filed by Gerald Lynn Bostock, who claims he lost his job working for Clayton County, Georgia, after he began playing in a gay recreational softball league. He lost his case in federal district court and at the 11th U.S. Circuit Court of Appeals in Atlanta. 

Skydiving instructor Donald Zarda was fired shortly after telling a woman he was preparing to take on a dive that he was gay. Zarda, who worked for Altitude Express on New York's Long Island, said he would sometimes reveal his sexual orientation to allay concerns women might have about being strapped together during a dive. Zarda initially lost his lawsuit, but the 2nd U.S. Circuit Court of Appeals ruled for him.

Zarda died in a wingsuit accident in Switzerland in 2014. His husband Bill Moore told CBS News chief legal correspondent Jan Crawford that Zarda suffered from depression after he was fired and started doing jumps with greater risks.

"I don't think that Don would have died had he not lost his job," Moore said. "I think that he would have continued working summers and skydiving and doing tandems and would not have been taking this crazy trip to Europe in the middle of the summer, so I think that him being fired is eventually what took his life."

The other case involves fired transgender funeral home director Aimee Stephens. She lost her job when she told Thomas Rost, owner of the Detroit-area R.G. and G.R. Harris Funeral Homes, that she had struggled with gender identity issues almost her whole life.

Stephens was planning to exchange the dark suit and tie she had worn to work for nearly six years as an embalmer and funeral director for a conservative dress or skirt that was required for women who worked for Rost. Rost told Stephens her plan wouldn't work and let her go.

The federal Equal Employment Opportunity Commission sued on her behalf and, after losing in a district court, won a ruling in the 6th U.S. Circuit Court of Appeals in Cincinnati. During the Obama years, the commission had changed its longstanding interpretation of civil rights law to include discrimination against LGBTQ people.