XML 106 R89.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Equity (Exchangeable Shares and Series F and Series G Preferred Stock) - Additional Information (Detail) - shares | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Class of Stock [Line Items] |  |  |
Minimum number of shares that can be exchanged by exchangeable shareholders unless the number of remaining exchangeable shares registered in the name of the holder is less | 50,000 |  |
Number of shares of Common stock received for each exchangeable share | 1 |  |
Common stock, shares outstanding | 144,710,773 | 152,907,166 |
Common Stock [Member] |  |  |
Class of Stock [Line Items] |  |  |
Exchangeable shares exchanged for common stock | 360,589 | 449,929 | 0
Series F Preferred Stock [Member] |  |  |
Class of Stock [Line Items] |  |  |
Number of preferred Stock issued to voting trust | 1 | 1 |
Series G Preferred Stock [Member] |  |  |
Class of Stock [Line Items] |  |  |
Number of preferred Stock issued to voting trust | 1 | 1 |
Exchangeable Shares [Member] |  |  |
Class of Stock [Line Items] |  |  |
Exchangeable shares exchanged for common stock | (360,589) | (449,929) |
Common stock, shares outstanding | 6,515,453 | 6,876,042 |
Series F- and Series G- Preferred Stock [Member] |  |  |
Class of Stock [Line Items] |  |  |
Exchangeable stock shares outstanding | 3,900,000 |  |

X
- Definition Exchangeable shares exchanged for common stock. + References No definition available. + Details
Name: | pwr_ExchangeableSharesExchangedForCommonStock
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exchangeable Stock Shares Outstanding + References No definition available. + Details
Name: | pwr_ExchangeableStockSharesOutstanding
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum number of shares that can be exchanged by exchangeable shareholders unless number of remaining exchangeable shares registered in name of holder is less. + References No definition available. + Details
Name: | pwr_MinimumNumberOfSharesThatCanBeExchangedByExchangeableShareholdersUnlessNumberOfRemainingExchangeableSharesRegisteredInNameOfHolderIsLess
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of common stock received for each exchangeable share. + References No definition available. + Details
Name: | pwr_NumberOfSharesOfCommonStockReceivedForEachExchangeableShare
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesFPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesGPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=pwr_ExchangeableSharesForCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=pwr_SeriesFAndSeriesGPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |