XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Business Combinations - 2018 Acquisitions (Details) $ in Thousands |  |  | 3 Months Ended | 7 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Jul. 01, 2018 USD ($) | Jun. 01, 2018 USD ($) segment | Dec. 31, 2018 USD ($) | Sep. 30, 2018 USD ($) | Jun. 30, 2018 USD ($) | Mar. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) | Sep. 30, 2017 USD ($) | Jun. 30, 2017 USD ($) | Mar. 31, 2017 USD ($) | Dec. 31, 2018 USD ($) | Dec. 31, 2018 USD ($) segment | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($)
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |
Increase in goodwill |  |  |  |  |  |  |  |  |  |  |  |  | $ 121 |
Net cash paid |  |  |  |  |  |  |  |  |  |  |  | $ 110,620 | 66,205 | $ 10,997
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  | $ 206,159 |  |  |  | $ 153,374 |  |  |  | $ 206,159 | $ 206,159 | 153,374 | 127,226
Number of reportable segments | segment |  |  |  |  |  |  |  |  |  |  |  | 5 |  |
Revenue |  |  | 877,670 | $ 908,902 | $ 648,787 | $ 504,119 | 579,017 | $ 608,311 | $ 631,165 | $ 561,502 |  | $ 2,939,478 | 2,379,995 | 1,996,948
Gross profit |  |  | 103,253 | $ 106,505 | $ 71,419 | $ 44,560 | 68,477 | $ 70,421 | $ 84,483 | $ 55,053 |  | 325,737 | 278,434 | 201,307
Merger and related costs |  |  |  |  |  |  |  |  |  |  |  | 13,260 | 1,774 | 815
Power |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |
Increase in goodwill |  |  |  |  |  |  |  |  |  |  |  |  | 121 |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  | 25,933 |  |  |  | 24,391 |  |  |  | 25,933 | 25,933 | 24,391 | 24,512
Revenue |  |  |  |  |  |  |  |  |  |  |  | 694,048 | 606,125 | 478,653
Gross profit |  |  |  |  |  |  |  |  |  |  |  | 109,789 | 65,675 | 49,807
Pipeline |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  | 52,285 |  |  |  | $ 51,521 |  |  |  | 52,285 | 52,285 | 51,521 | 42,252
Revenue |  |  |  |  |  |  |  |  |  |  |  | 590,937 | 465,570 | 401,931
Gross profit |  |  |  |  |  |  |  |  |  |  |  | 66,602 | $ 92,087 | $ 68,100
Transmission |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  | $ 50,479 |  |  |  |  |  |  |  | 50,479 | 50,479 |  |
Revenue |  |  |  |  |  |  |  |  |  |  | 286,749 | 286,749 |  |
Gross profit |  |  |  |  |  |  |  |  |  |  | 31,904 |  |  |
Willbros Group, Inc |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |
Increase in contract liabilities |  |  |  |  |  |  |  |  |  |  |  | 19,600 |  |
Decrease in insurance liabilities |  |  |  |  |  |  |  |  |  |  |  | (9,300) |  |
Decrease in lease obligations |  |  |  |  |  |  |  |  |  |  |  | (8,000) |  |
Increase in goodwill |  |  |  |  |  |  |  |  |  |  |  | 9,100 |  |
Total purchase consideration |  | $ 164,758 |  |  |  |  |  |  |  |  |  |  |  |
Less cash and restricted cash acquired |  | (54,138) |  |  |  |  |  |  |  |  |  |  |  |
Net cash paid | $ 110,600 | 110,620 |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and restricted cash |  | 54,138 |  |  |  |  |  |  |  |  |  |  |  |
Accounts receivable |  | 102,719 |  |  |  |  |  |  |  |  |  |  |  |
Contract assets |  | 30,762 |  |  |  |  |  |  |  |  |  |  |  |
Other current assets |  | 18,712 |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment |  | 30,522 |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  | 24,017 |  |  |  |  |  |  |  |  |  |  |  |
Other non-current assets |  | 2,261 |  |  |  |  |  |  |  |  |  |  |  |
Accounts payable and accrued liabilities |  | (114,088) |  |  |  |  |  |  |  |  |  |  |  |
Contract liabilities |  | (63,902) |  |  |  |  |  |  |  |  |  |  |  |
Other non-current liabilities |  | (20,868) |  |  |  |  |  |  |  |  |  |  |  |
Total identifiable net assets |  | 111,973 |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  | $ 52,785 |  |  |  |  |  |  |  |  |  |  |  |
Number of reportable segments | segment |  | 2 |  |  |  |  |  |  |  |  |  |  |  |
Restricted cash |  | $ 40,200 |  |  |  |  |  |  |  |  |  |  |  |
Revenue since acquisition |  |  |  |  |  |  |  |  |  |  | 400,800 |  |  |
Gross profit since acquisition |  |  |  |  |  |  |  |  |  |  | $ 39,500 |  |  |
Merger and related costs |  |  |  |  |  |  |  |  |  |  |  | $ 13,200 |  |
Willbros Group, Inc | Power |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  | 1,500 |  |  |  |  |  |  |  |  |  |  |  |
Willbros Group, Inc | Pipeline |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  | 800 |  |  |  |  |  |  |  |  |  |  |  |
Willbros Group, Inc | Transmission |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net cash paid |  | 110,600 |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  | 50,500 |  |  |  |  |  |  |  |  |  |  |  |
Willbros Group, Inc | Customer relationships |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  | 47,500 |  |  |  |  |  |  |  |  |  |  |  |
Willbros Group, Inc | Tradename |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  | $ 200 |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to contract liabilities assumed in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | prim_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContractLiabilities
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to insurance liabilities assumed in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | prim_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentInsuranceLiabilities
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to lease obligation liabilities assumed in connection with a business combination for which the initial accounting was incomplete. + References No definition available. + Details
Name: | prim_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentLeaseObligations
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of contract assets expected to be realized before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References No definition available. + Details
Name: | prim_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsContractAssets
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of contract liabilities due within one year or the normal operating cycle, if longer, assumed at the acquisition date. + References No definition available. + Details
Name: | prim_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesContractLiabilities
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of restricted currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | prim_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCashAndEquivalents
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -URI http://asc.fasb.org/extlink&oid=84229725&loc=d3e1043-128460 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=109124213&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109124213&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax asset attributable to deductible temporary differences and carryforwards acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e31917-109318 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of intangible assets, excluding goodwill, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=108330185&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=108330185&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3179-108585 + Details
Name: | us-gaap_CashAcquiredFromAcquisition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=84229725&loc=d3e961-128460 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130543-203045 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130539-203045 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130545-203045 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=prim_PIAndESegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=prim_PAndUSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=prim_UtilityTransmissionAndDistributionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=prim_WillbrosGroupIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |