XML 64 R54.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Debt Obligations - Credit Facility Terms under the Amended and Restated Credit Agreement (Detail) - Current Credit Agreement | 6 Months Ended
--- | ---
Jun. 30, 2017 USD ($)
Line of Credit Facility [Line Items] |
Reduction in Quanta's funded indebtedness reduced by cash and cash equivalents in excess of this amount | $ 25,000,000.0
Percentage of capital stock of direct foreign subsidiaries of wholly owned U.S. subsidiaries to secure credit agreement | 65.00%
Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases | $ 100,000,000
Cross default provisions with debt instruments exceeding this amount | $ 100,000,000
Minimum |
Line of Credit Facility [Line Items] |
Commitment fee | 0.20%
Minimum | Standby Letters of Credit |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.125%
Minimum | Performance Letters of Credit |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 0.675%
Maximum |
Line of Credit Facility [Line Items] |
Commitment fee | 0.40%
Maximum | Standby Letters of Credit |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 2.125%
Maximum | Performance Letters of Credit |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.275%
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only | Minimum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.125%
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only | Maximum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 2.125%
Excess of Base Rate Domestic Borrowings Only | Minimum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 0.125%
Excess of Base Rate Domestic Borrowings Only | Maximum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.125%
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings | Minimum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.125%
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings | Maximum |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 2.125%
Excess of Federal Funds Rate |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 0.50%
Excess of Euro Currency Rate |
Line of Credit Facility [Line Items] |
Debt instrument basis spread on variable rate | 1.00%

X
- Definition Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases. + References No definition available. + Details
Name: | pwr_AvailabilityAmountToAllowDividendsAndStockRepurchases
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cross-default provisions. + References No definition available. + Details
Name: | pwr_CrossDefaultProvisions
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of capital stock of direct foreign subsidiaries required to secure credit agreement. + References No definition available. + Details
Name: | pwr_PercentageOfCapitalStockOfDirectForeignSubsidiariesRequiredToSecureCreditAgreement
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reduction in Quanta's maximum funded debt and maximum senior debt by all cash and cash equivalents in excess of amount. + References No definition available. + Details
Name: | pwr_ReductionInCompanyMaximumFundedDebtAndMaximumSeniorDebtByAllCashAndCashEquivalentsInExcessOfAmount
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
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
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_FourthAmendedAndRestatedMember
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_CreditFacilityAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_PerformanceLettersOfCreditMember
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: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfFederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEuroCurrencyRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |