XML 73 R59.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Business Combinations - 2017 Acquisitions (Details) - USD ($) $ in Thousands |  |  |  |  | 3 Months Ended | 7 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 16, 2017 | May 30, 2017 | May 26, 2017 | Jun. 24, 2016 | Dec. 31, 2018 | Sep. 30, 2018 | Jun. 30, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2017 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016 | May 31, 2017
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | $ 206,159 |  |  |  | $ 153,374 |  |  |  | $ 206,159 | $ 153,374 | $ 153,374 | $ 206,159 | $ 153,374 | $ 127,226 |
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 |
Purchase price allocation adjustments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 121 |  |
Increase in goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 121 |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 206,159 |  |  |  | 153,374 |  |  |  | 206,159 | 153,374 | 153,374 | 206,159 | 153,374 | 127,226 |
2017 Acquisitions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed assets |  |  |  |  |  |  |  |  | 12,402 |  |  |  |  | 12,402 | 12,402 |  | 12,402 |  |
Intangibles assets |  |  |  |  |  |  |  |  | 21,125 |  |  |  |  | 21,125 | 21,125 |  | 21,125 |  |
Goodwill |  |  |  |  |  |  |  |  | 26,269 |  |  |  |  | 26,269 | 26,269 |  | 26,269 |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Accounts receivable |  |  |  |  |  |  |  |  | 10,721 |  |  |  |  | 10,721 | 10,721 |  | 10,721 |  |
Contract assets |  |  |  |  |  |  |  |  | 580 |  |  |  |  | 580 | 580 |  | 580 |  |
Other current assets |  |  |  |  |  |  |  |  | 2,352 |  |  |  |  | 2,352 | 2,352 |  | 2,352 |  |
Property, plant and equipment |  |  |  |  |  |  |  |  | 12,402 |  |  |  |  | 12,402 | 12,402 |  | 12,402 |  |
Intangibles assets |  |  |  |  |  |  |  |  | 21,125 |  |  |  |  | 21,125 | 21,125 |  | 21,125 |  |
Goodwill |  |  |  |  |  |  |  |  | 26,269 |  |  |  |  | 26,269 | 26,269 |  | 26,269 |  |
Accounts payable and accrued liabilities |  |  |  |  |  |  |  |  | (5,476) |  |  |  |  | (5,476) | (5,476) |  | (5,476) |  |
Contract liabilities |  |  |  |  |  |  |  |  | (447) |  |  |  |  | (447) | (447) |  | (447) |  |
Total |  |  |  |  |  |  |  |  | 67,526 |  |  |  |  | 67,526 | 67,526 |  | 67,526 |  |
FGC |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash payment made |  |  | $ 33,000 |  |  | $ 1,500 |  |  |  |  |  |  |  |  |  |  |  |  |
Potential contingent consideration |  |  | $ 1,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,500
Contingent earnout period (in years) |  |  | 1 year |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of the contingent consideration |  |  | $ 1,200 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,200
Fixed assets |  |  |  |  |  |  |  |  | 4,800 |  |  |  |  | 4,800 | 4,800 |  | 4,800 |  |
Working capital |  |  |  |  |  |  |  |  | 3,300 |  |  |  |  | 3,300 | 3,300 |  | 3,300 |  |
Intangibles assets |  |  |  |  |  |  |  |  | 9,100 |  |  |  |  | 9,100 | 9,100 |  | 9,100 |  |
Goodwill |  |  |  |  |  |  |  |  | 17,000 |  |  |  |  | 17,000 | 17,000 |  | 17,000 |  |
Land and buildings |  |  | $ 3,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
The period of time goodwill is deductible for income tax purposes |  |  | 15 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revenue |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 31,300 |  |  |
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,600 |  |  |
Revenue since acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  | 15,500 |  |  |  |  |
Gross profit since acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,800 |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment |  |  |  |  |  |  |  |  | 4,800 |  |  |  |  | 4,800 | 4,800 |  | 4,800 |  |
Intangibles assets |  |  |  |  |  |  |  |  | 9,100 |  |  |  |  | 9,100 | 9,100 |  | 9,100 |  |
Goodwill |  |  |  |  |  |  |  |  | 17,000 |  |  |  |  | 17,000 | 17,000 |  | 17,000 |  |
Engineering Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed assets |  | $ 200 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment |  | 200 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Engineering Assets | Customer relationships |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  | 2,100 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  | 2,100 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Coastal |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed assets |  |  |  |  |  |  | 4,000 |  |  |  |  |  |  |  |  |  |  |  |
Working capital |  |  |  |  |  |  | 4,600 |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  | 9,300 |  |  |  |  |  |  |  |  |  |  |  |
Long-term capital leases |  |  |  |  |  |  | 300 |  |  |  |  |  |  |  |  |  |  |  |
The period of time goodwill is deductible for income tax purposes | 15 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revenue |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 14,100 |  |  |
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,400 |  |  |
Revenue since acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 17,900 |  |  |  |
Gross profit since acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,200 |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment |  |  |  |  |  |  | 4,000 |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  | 9,300 |  |  |  |  |  |  |  |  |  |  |  |
Coastal | Customer relationships and tradename |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  |  |  |  |  |  | 9,900 |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangibles assets |  |  |  |  |  |  | $ 9,900 |  |  |  |  |  |  |  |  |  |  |  |
Pipe Jacking |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of properties |  |  |  | $ 13,400 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Power |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 25,933 |  |  |  | 24,391 |  |  |  | 25,933 | 24,391 | 24,391 | 25,933 | 24,391 | 24,512 |
Revenue |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 694,048 | 606,125 | 478,653 |
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 109,789 | 65,675 | 49,807 |
Purchase price allocation adjustments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 121 |  |
Increase in goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 121 |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 25,933 |  |  |  | 24,391 |  |  |  | 25,933 | 24,391 | 24,391 | 25,933 | 24,391 | 24,512 |
Power | Engineering Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash payment made |  | 2,300 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total purchase consideration |  | $ 2,300 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Pipeline |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 52,285 |  |  |  | 51,521 |  |  |  | 52,285 | 51,521 | 51,521 | 52,285 | 51,521 | 42,252 |
Revenue |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 590,937 | 465,570 | 401,931 |
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 66,602 | 92,087 | 68,100 |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 52,285 |  |  |  | $ 51,521 |  |  |  | 52,285 | $ 51,521 | $ 51,521 | 52,285 | $ 51,521 | $ 42,252 |
Pipeline | Coastal |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash payment made | $ 27,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total purchase consideration | $ 27,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Pipeline | Pipe Jacking |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of properties |  |  |  | $ 13,400 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transmission |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | 50,479 |  |  |  |  |  |  |  | 50,479 |  |  | 50,479 |  |  |
Revenue |  |  |  |  |  |  |  |  |  |  |  |  | 286,749 |  |  | 286,749 |  |  |
Gross profit |  |  |  |  |  |  |  |  |  |  |  |  | 31,904 |  |  |  |  |  |
Fair value of net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  | $ 50,479 |  |  |  |  |  |  |  | $ 50,479 |  |  | $ 50,479 |  |  |

X
- Definition The period of goodwill and/or other intangible assets arising from a business combination that is expected to be deductible for tax purposes. + References No definition available. + Details
Name: | prim_BusinessAcquisitionGoodwillAndOtherIntangibleAssetsExpectedTaxDeductiblePeriod
Namespace Prefix: | prim_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the period of meeting certain operating targets over which the contingent earnout is based, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Includes, but not limited to, weeks in a year or quarter. + References No definition available. + Details
Name: | prim_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesPeriod
Namespace Prefix: | prim_
Data Type: | xbrli:durationItemType
Balance Type: | na
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 land and buildings acquired, at the acquisition date. + References No definition available. + Details
Name: | prim_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLandAndBuildings
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized as of the acquisition date for net working capital. + References No definition available. + Details
Name: | prim_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital
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 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 For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 capital lease obligation, 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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation
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 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 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
- 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 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 Amount recognized for assets, including goodwill, 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 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 2: 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_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_BusinessAcquisitionAxis=prim_AcquisitionsIn2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=prim_EngineeringAssetsMember
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_BusinessAcquisitionAxis=prim_CoastalFieldServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_CounterpartyNameAxis=prim_PipeJackingUnlimitedIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |