Partially fueled by the election of President Barack Obama and the statewide controversy over gay marriage, hate crimes based on sexual orientation shot up 21 percent in Los Angeles County last year, while religious crimes increased 14 percent, according to a county report released Thursday.