XML 63 R48.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Debt - Schedule of Applicable Rates and Commitment Fees (Detail) - Third Amended Credit Agreement [Member] | 12 Months Ended
--- | ---
Dec. 31, 2015
Pricing Tier One [Member] |
Line of Credit Facility [Line Items] |
Commitment Fee | 0.30%
Pricing Tier One [Member] | Eurodollar Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 1.90%
Pricing Tier One [Member] | Base Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 0.90%
Pricing Tier Two [Member] |
Line of Credit Facility [Line Items] |
Commitment Fee | 0.25%
Pricing Tier Two [Member] | Eurodollar Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 1.65%
Pricing Tier Two [Member] | Base Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 0.65%
Pricing Tier Three [Member] |
Line of Credit Facility [Line Items] |
Commitment Fee | 0.20%
Pricing Tier Three [Member] | Eurodollar Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 1.40%
Pricing Tier Three [Member] | Base Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 0.40%
Pricing Tier Four [Member] |
Line of Credit Facility [Line Items] |
Commitment Fee | 0.15%
Pricing Tier Four [Member] | Eurodollar Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 1.15%
Pricing Tier Four [Member] | Base Rate Loans [Member] |
Line of Credit Facility [Line Items] |
Loans, Interest Rate | 0.15%
Minimum [Member] | Pricing Tier One [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 2.5
Minimum [Member] | Pricing Tier Two [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 2.0
Minimum [Member] | Pricing Tier Three [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 1.5
Maximum [Member] | Pricing Tier Two [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 2.5
Maximum [Member] | Pricing Tier Three [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 2.0
Maximum [Member] | Pricing Tier Four [Member] |
Line of Credit Facility [Line Items] |
Consolidated Debt to Consolidated EBITDA Ratio | 1.5

X
- Definition Leverage Ratio + References No definition available. + Details
Name: | trex_LeverageRatio
Namespace Prefix: | trex_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Facility Commitment Fee Percent + References No definition available. + Details
Name: | trex_LineOfCreditFacilityCommitmentFeePercent
Namespace Prefix: | trex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=trex_PricingTierOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=trex_ThirdAmendedCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_EurodollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=trex_PricingTierTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=trex_PricingTierThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=trex_PricingTierFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |