XML 44 R40.htm IDEA: XBRL DOCUMENT v2.4.1.9
Debt - Additional Information (Detail) (USD $)
12 Months Ended 3 Months Ended
Dec. 31, 2014
Dec. 31, 2014
Nov. 20, 2014
Jan. 06, 2012
Line of Credit Facility [Line Items]        
Company indebtedness $ 0us-gaap_DebtInstrumentCarryingAmount 0us-gaap_DebtInstrumentCarryingAmount    
Credit facility covenant terms (a) Fixed Charge Coverage Ratio. The Fixed Charge Coverage Ratio is not permitted to be less than 1.5 to 1.0, measured as of the end of each Fiscal Quarter, commencing with the Fiscal Quarter ended September 30, 2014. (b) Consolidated Debt to Consolidated EBITDA Ratio. The Consolidated Debt to Consolidated EBITDA Ratio is not permitted to exceed 3.00 to 1.0 measured as of the end of each Fiscal Quarter (and in the case of Consolidated EBITDA, for the four-quarter period ending on such date).      
Second Amended Credit Agreement [Member]        
Line of Credit Facility [Line Items]        
Interest rate on the revolving credit facility 1.30%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
1.30%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Termination date of the Credit Agreement Nov. 20, 2019      
Additional available borrowing capacity 100,000,000us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
100,000,000us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Outstanding borrowings under the revolver loans 0us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
0us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Second Amended Credit Agreement [Member] | Revolver Loans Portion Effective January 1 through June 30 [Member]        
Line of Credit Facility [Line Items]        
Revolving loans in a collective maximum principal amount     150,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_DebtInstrumentAxis
= trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember
 
Second Amended Credit Agreement [Member] | Revolver Loans Portion Effective July 1 through December 31 [Member]        
Line of Credit Facility [Line Items]        
Revolving loans in a collective maximum principal amount     100,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_DebtInstrumentAxis
= trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember
 
Second Amended Credit Agreement [Member] | Letter of Credit Facility Sublimit [Member]        
Line of Credit Facility [Line Items]        
Revolving loans in a collective maximum principal amount     15,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_DebtInstrumentAxis
= trex_LetterOfCreditFacilitySublimitMember
 
Second Amended Credit Agreement [Member] | Swing Advance Loan Sublimit [Member]        
Line of Credit Facility [Line Items]        
Revolving loans in a collective maximum principal amount     5,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_DebtInstrumentAxis
= trex_SwingAdvanceLoanSublimitMember
 
Second Amended Credit Agreement [Member] | Minimum [Member]        
Line of Credit Facility [Line Items]        
Fixed charge coverage ratio as per credit agreement   1.5trex_FixedChargeCoverageRatioAsPerCreditAgreement
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
   
Second Amended Credit Agreement [Member] | Maximum [Member]        
Line of Credit Facility [Line Items]        
Consolidated debt to earnings before interest taxes depreciation amortization ratio as per the credit agreement   3.00trex_ConsolidatedDebtToEarningsBeforeInterestTaxesDepreciationAmortizationRatioAsPerCreditAgreement
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
   
Prior Credit Agreement [Member] | Revolver Loans [Member]        
Line of Credit Facility [Line Items]        
Revolving loans in a collective maximum principal amount       $ 100,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= trex_PriorCreditAgreementMember
/ us-gaap_DebtInstrumentAxis
= trex_RevolverLoansMember