XML 48 R38.htm IDEA: XBRL DOCUMENT v3.21.2
Business Combinations and Dispositions - Pro Forma Operating Results (Detail) - BMC Stock Holdings, Inc. - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Business Acquisition [Line Items]        
Net sales $ 5,576,682 $ 2,925,539 $ 9,750,457 $ 5,633,439
Net income (loss) $ 526,169 $ 70,147 $ 761,608 $ (16,514)