Annual report pursuant to Section 13 and 15(d)

Quarterly Information (unaudited) (Details)

v3.6.0.2
Quarterly Information (unaudited) (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Quarterly Financial Information Disclosure [Abstract]                      
Net sales $ 1,011,326 $ 1,043,717 $ 1,008,388 $ 849,973 $ 782,367 $ 1,151,204 $ 1,301,341 $ 1,103,240 $ 3,913,404 [1] $ 4,338,152 [1] $ 6,779,456 [1]
Operating income (loss) (9,746) (3,414) (14,811) (39,439) (39,100) [2] 86,854 88,094 67,561 (67,410) 203,409 201,572
Net income (loss) (15,805) (7,338) (20,630) (36,060) (51,906) [2] 52,376 47,862 34,055 (79,833) 82,387 69,868
Net income (loss) available to stockholders $ (18,098) $ (8,800) $ (20,370) $ (35,537) $ (52,534) [2] $ 41,936 $ 36,410 $ 26,939 $ (82,805) $ 52,751 $ 38,457
Earnings (loss) per share:                      
Basic $ (0.25) $ (0.12) $ (0.29) $ (0.51) $ (0.75) [2] $ 0.60 $ 0.52 $ 0.39 $ (1.17) $ 0.76 $ 0.56
Diluted $ (0.25) $ (0.12) $ (0.29) $ (0.51) $ (0.75) [2] $ 0.58 $ 0.50 $ 0.38 $ (1.17) $ 0.75 $ 0.55
Loss on impairment of goodwill                 $ 0 $ 39,028 $ 0
[1] Includes excise taxes on sales by the retail segment of $81,602, $77,860 and $75,409 for the years ended December 31, 2016, 2015 and 2014, respectively.
[2] During the three months ended December 31, 2015, we recognized a goodwill impairment loss of $39,028 related to our California refining reporting unit (Note 12).