Quarterly report pursuant to Section 13 or 15(d)

STOCK-BASED COMPENSATION (Details)

v2.4.1.9
STOCK-BASED COMPENSATION (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Weighted Average Remaining Contractual Life [Abstract]    
Compensation expense $ 701us-gaap_ShareBasedCompensation $ 425us-gaap_ShareBasedCompensation
Warrents issued (in shares) 100,000us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights  
Investor relations expense 0trec_InvestorRelationsExpense 33trec_InvestorRelationsExpense
Stock Options [Member]    
Stock Options and Warrants [Roll Forward]    
Outstanding at beginning of period (in shares) 1,598,191us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Granted (in shares) 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Exercised (in shares) (71,100)us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Expired (in shares) 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Cancelled (in shares) 0trec_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCancelledInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Forfeited (in shares) 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Outstanding at end of period (in shares) 1,527,091us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Exercisable, end of period (in shares) 744,591us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Weighted Average Exercise Price Per Share [Roll Forward]    
Outstanding at beginning of period (in dollars per share) $ 7.16us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Granted (in dollars per share) $ 0us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Exercised (in dollars per share) $ 4.06us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Expired (in dollars per share) $ 0us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Cancelled (in dollars per share) $ 0trec_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsCancelledInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Forfeited (in dollars per share) $ 0us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Outstanding at end of period (in dollars per share) $ 7.30us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Exercisable, end of period (in dollars per share) $ 6.21us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
 
Weighted Average Remaining Contractual Life [Abstract]    
Outstanding, weighted average remaining contractual life 6 years 8 months 12 days  
Exercisable, weighted average remaining contractual life 6 years  
Restricted Stock Awards [Member]    
Shares of Restricted Stock [Roll Forward]    
Outstanding at beginning of period (in shares) 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Granted (in shares) 136,040us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Vested (in shares) (18,000)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Outstanding at beginning of period (in shares) 118,040us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Weighted Average Grant Date Price per Share [Abstract]    
Outstanding at beginning of period (in dollars per share) $ 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Granted (in dollars per share) $ 14.56us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Vested (in dollars per share) $ 14.34us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Outstanding at beginning of period (in dollars per share) $ 14.59us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
 
Director [Member] | Stock Options [Member]    
Weighted Average Remaining Contractual Life [Abstract]    
Directors fees and expenses related to options to purchase shares 76us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_DirectorMember
94us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_DirectorMember
Mr. Hatem El Khalidi [Member] | Stock Options [Member]    
Weighted Average Remaining Contractual Life [Abstract]    
Compensation expense 24us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= trec_MrHatemElKhalidiMember
24us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= trec_MrHatemElKhalidiMember
Officer and Key Employees [Member] | Stock Options [Member]    
Weighted Average Remaining Contractual Life [Abstract]    
Vesting period 4 years  
Compensation expense 348us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= trec_OfficerAndKeyEmployeesMember
274us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= trec_OfficerAndKeyEmployeesMember
Officer and Key Employees [Member] | Restricted Stock Awards [Member]    
Weighted Average Remaining Contractual Life [Abstract]    
Vesting percentage (in hundredths) 25.00%us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= trec_OfficerAndKeyEmployeesMember
 
Vesting period 4 years  
Compensation expense 72us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= trec_OfficerAndKeyEmployeesMember
 
Employee [Member] | Restricted Stock Awards [Member]    
Weighted Average Remaining Contractual Life [Abstract]    
Compensation expense $ 181us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= trec_EmployeeMember