Media playback is unsupported on your device Media caption US vice-presidential debate: Two styles of attack

Donald Trump was likened to a "fool or maniac" while Hillary Clinton was dismissed as "weak and feckless" in a punchy vice-presidential debate.

Democratic Virginia Senator Tim Kaine and Republican Indiana Governor Mike Pence clashed on a series of topics ranging from abortion to Russia.

Even as they lobbed insults, the two running mates argued over which campaign was the most "insult-driven".

The forum in Farmville, Virginia, came 34 days before the US general election.

It set the stage for a second presidential debate this Sunday in St Louis, Missouri, where Mr Trump needs to rebound from a wobbly performance in the first match.

In Tuesday's 90-minute duel, the usually low-key Mr Kaine went on the attack from the beginning.

Media playback is unsupported on your device Media caption Vice-presidential candidates clash over Donald Trump's tax history

But while the two frequently talked across each other, Mr Pence, a model of Midwestern civility, maintained calm.

Mr Kaine invoked Republican President Ronald Reagan when talking about the dangers of nuclear weapons under a Trump presidency.

He said Mr Reagan had once warned that nuclear proliferation could lead to "some fool or maniac" triggering a "catastrophic event".

Mr Kaine said the Republican commander-in-chief had been referring to someone like Mr Trump.

The 58-year-old senator also criticised Mr Trump's temperament, saying he "can't start a Twitter war with Miss Universe without shooting himself in the foot".

Your US election daily dig

As it happened: VP debate

'Too early guys' - Republicans tweet victory before debate started

Pence attacked over #ThatMexicanThing

Media playback is unsupported on your device Media caption Pence and Kaine clash over Russia and Putin

In one of the more heated moments, Mr Kaine sharply criticised Mr Trump's complimentary remarks about Russian President Vladimir Putin.

Mr Trump praised dictators, said Mr Kaine, and had a "personal Mount Rushmore" made up of Mr Putin, Kim Jong-un, Saddam Hussein and Muammar Gaddafi.

"If you don't know the difference between dictatorship and leadership, then you've got to go back to a fifth-grade civics class," Mr Kaine said.

Who is Indiana Governor Mike Pence?

Tim Kaine: Spanish-speaking, anti-abortion Democrat

How did VP debate moderator do?

All you need to know about the US election

But 57-year-old Mr Pence contended Mr Putin would respect Mr Trump because of his strength, "plain and simple".

He added that "the small and bullying leader of Russia has been stronger on the world stage than this administration - that's stating painful facts".

That's not an endorsement of Mr Putin, he said. "That's an indictment of the weak and feckless leadership of Hillary Clinton and Barack Obama."

Initial media reports said the television audience may have been as high as 50m, though that is some way off the 70m who watched VP candidates Joe Biden and Sarah Palin in 2008.

Pence did what was needed - Anthony Zurcher, BBC News, Farmville

It was a scattershot debate, and at times the subjects changed so jarringly it felt like the speed round of a game show. In the end, however, Mike Pence did what he had to do.

The Republican vice-presidential nominee's goal was to reassure Republicans panicked by Donald Trump's debate performance last week and his bungling in the days that followed that cooler heads will prevail. He did that.

His calm, steady style - honed over years as a talk show host - stood in marked contrast to Democrat Tim Kaine's over-caffeinated demeanour and rapid-fire attacks.

At times, of course, it seemed like Mr Pence was talking about a Donald Trump who doesn't exist - one who doesn't have a year-long history of inflammatory statements and controversial stands. And Mr Kaine was quick to call him on it.

Mr Pence's accomplishment, however, was to defend his traditional conservatism and make the case to wandering Republicans - particularly educated suburban voters - that they still have a home in the party. On Tuesday night, Mr Pence stopped the bleeding.

At best, however, he has turned the page on a disastrous week and given Mr Trump an opportunity to get back in the race. It is up to him to make the most of it.

Read Anthony's full verdict

Image copyright Getty Images Image caption Elaine Quijano became the first Asian American to moderate a national debate

The two candidates also clashed on Mr Trump's tax arrangements, which have come under scrutiny in recent days.

The property tycoon has refused to release his tax returns, but the New York Times reported he may have avoided paying taxes for the last 18 years.

Mr Pence said his running mate had "used the tax code just the way it's supposed to be used, and he did it brilliantly".

Mr Kaine shot back: "I guess all of us who do [pay taxes] are stupid?"

In other debate highlights:

Mr Pence said Mrs Clinton should "stop seizing on these moments of tragedy" over police shootings, but Mr Kaine replied: "I can't believe you are defending the position that there's no (police) bias"

Mr Kaine said the Trump campaign was "insult-driven", but Mr Pence hit back that it was "small potatoes" compared with what Mrs Clinton has said about the Republican nominee's supporters

Mr Pence said the US should use military force to target Syrian government targets if Russia continues to support its "barbaric attack" on Aleppo

The two pro-life candidates also clashed over Mr Trump suggesting women should be punished for having abortions. Mr Pence chalked it up to Mr Trump's inexperience: "Look, he's not a polished politician like you and Hillary Clinton"

The debate was hosted by CBS News' Elaine Quijano and followed last week's presidential debate, which drew a record 84 million viewers, according to Nielsen.