XML 64 R47.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Long-Term Debt (Detail Textuals 1) - Revolving credit facility - Option 2 - Eurodollar Borrowings | 12 Months Ended
--- | ---
Dec. 31, 2016
Line of Credit Facility [Line Items] |
Description of reference rate basis | London Interbank Offering Rate ("LIBOR")
Minimum |
Line of Credit Facility [Line Items] |
Range of margin based on quarterly debt covenant calculation | 1.125%
Maximum |
Line of Credit Facility [Line Items] |
Range of margin based on quarterly debt covenant calculation | 2.125%

X
- Definition Represents as percentage range of line of credit facility minimum based on quarterly debt covenant calculation. + References No definition available. + Details
Name: | res_LineOfCreditFacilityMarginPercentage
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | res_OptionAxis=res_OptionTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=res_EurodollarBorrowingsMember
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: |