Gambling losses (referred to as wagering losses) are deductible only to the extent of gambling winnings. However, the deduction for these losses is not one of the enumerated deductions that can be claimed directly from gross income; they can only be deducted from adjusted gross income, meaning you must itemize to deduct them.
Net income after claiming all deductions from gross income and adjusted gross income, such as IRA deductions, itemized deductions, or the standard deduction, and personal exemptions.