XML 52 R35.htm IDEA: XBRL DOCUMENT v3.6.0.2
Summary of Significant Accounting Policies - Additional Information (Detail)
12 Months Ended
Dec. 31, 2016
USD ($)
ft²
Customer
Institution
Supplier
Dec. 31, 2015
USD ($)
Customer
Dec. 31, 2014
USD ($)
Customer
Dec. 31, 2010
USD ($)
Schedule Of Significant Accounting Policies [Line Items]        
Charge to earning to fully reserve the equity investment and note       $ 2,400,000
Maximum term of original maturities to classify as cash equivalent 3 months      
Number of financial institutions where deposits are maintained | Institution 1      
Valuation allowance $ 0 $ 0    
Number of customers that accounted for 10% or more of net sales | Customer 2 1 1  
Number of customer accounted for 10% or more account receivable | Customer 4      
Number of largest raw material suppliers | Supplier 4      
Excess of the replacement cost of inventory over the LIFO value of inventory $ 21,371,000 $ 23,241,000    
Annual impairment test of goodwill 0 0 $ 0  
Goodwill 10,500,000      
Valuation allowance 4,061,000 4,582,000    
Research and Development costs 3,700,000 1,500,000 2,300,000  
Prepaid expenses for production costs of advertising 2,400,000 800,000    
Branding Expenses 24,800,000 23,400,000 20,800,000  
Income tax expense (benefit) 34,983,000 $ 28,689,000 $ 25,427,000  
Accounting Standards Update 2016-09 [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Income tax expense (benefit) $ (1,700,000)      
Contract Termination [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Lease square feet | ft² 55,047      
Contract Termination [Member] | Dulles, Virginia [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Expiration date of reconsidered corporate headquarters lease Jun. 30, 2019      
Lease square feet | ft² 55,047      
Residential Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 25 years      
Commercial Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 10 years      
Trex Signature Railing [Member] | Residential Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 25 years      
Trex Signature Railing [Member] | Commercial Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 25 years      
Transcend, Enhance, Select and Universal Fascia Product [Member] | Residential Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 25 years      
Transcend, Enhance, Select and Universal Fascia Product [Member] | Commercial Use [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Warranty period 10 years      
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Minimum [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 10.00% 10.00% 10.00%  
Sales Revenue, Net [Member] | Customer Concentration Risk [Member] | Customer One [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 39.00% 27.00% 24.00%  
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer One [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 30.00%      
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer Two [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 16.00%      
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer Three [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 14.00%      
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Customer Four [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 13.00%      
Raw Materials [Member] | Supplier Concentration Risk [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Concentration risk as percentage of total 33.00% 35.00% 38.00%  
Denplax [Member]        
Schedule Of Significant Accounting Policies [Line Items]        
Holding company's interest in Denplax 35.00%