XML 83 R66.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Employee Benefit Plans (Detail Textuals 2) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Employee Benefit Plans |  |  |
Minimum percentage of annual contribution per employee | 1.00% |  |
Maximum percentage of annual contribution per employee | 25.00% |  |
Percentage of employer matching contribution | 50.00% |  |
Threshold limit percentage of employee compensation | 6.00% |  |
Minimum number of service period for employees to be fully vested | 3 years |  |
Employer contribution | $ 3,250,000 | $ 4,796,000 | $ 6,970,000

X
- Definition Minimum percentage of employee gross pay, by the terms of the plan, that the employer may contribute to a defined contribution plan. + References No definition available. + Details
Name: | res_DefinedContributionPlanMinimumAnnualContributionPerEmployeePercent
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the threshold limit in percentage of employees' compensation. + References No definition available. + Details
Name: | res_DefinedContributionPlanThresholdLimitPercentageOfEmployeeCompensation
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CompensationAndRetirementDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration