XML 70 R54.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Long-Term Debt (Detail Textuals 2) $ in Millions | Dec. 31, 2018 USD ($)
--- | ---
Line of Credit Facility [Line Items] |
Letter of credit outstanding amount | $ 105.5
Uncommitted letter of credit facility |
Line of Credit Facility [Line Items] |
Letter of credit outstanding amount | $ 19.5

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_CreditFacilityAxis=res_UncommittedLetterOfCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |