XML 36 R25.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Revenue Recognition - Narrative (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2018 | Dec. 31, 2017
Long-term Contracts or Programs Disclosure [Line Items] |  |
Contracts in progress | $ 37,509,000 | $ 28,373,000
Advance billings on contracts | 4,301,000 | 5,136,000
Accrued contract losses | 6,320,000 | 7,618,000
Costs in Excess of Billings | Customer Concentration Risk | Two Major Customers |  |
Long-term Contracts or Programs Disclosure [Line Items] |  |
Contracts in progress | 27,000,000 |
Billings in Excess of Costs | Customer Concentration Risk | Two Major Customers |  |
Long-term Contracts or Programs Disclosure [Line Items] |  |
Customer advances | 2,800,000 |
Shipyard Division |  |
Long-term Contracts or Programs Disclosure [Line Items] |  |
Reduction to estimated contract price |  | $ (11,700,000)
Project, Approved Scope, Unapproved Price |  |
Long-term Contracts or Programs Disclosure [Line Items] |  |
Revenue | $ 0 |

X
- Definition Long-term Contracts or Programs Disclosure [Line Items] + References No definition available. + Details
Name: | gifi_LongtermContractsOrProgramsDisclosureLineItems
Namespace Prefix: | gifi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Liability attributable to (i) billings in excess of costs under the percentage of completion contract accounting method representing the difference between contractually invoiced amounts (billings) and revenue recognized based, for example, on costs incurred to estimated total costs at period end or (ii) contractually invoiced amounts (billings) in excess of costs incurred and accumulated under the completed contract accounting method that are expected to be realized within one year or one operating cycle, whichever is longer, from the reporting date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57788-111642 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57807-111642 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57795-111642 + Details
Name: | us-gaap_BillingsInExcessOfCostCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in revenue recognized for cumulative catch-up adjustment from change in estimate of transaction price which increases (decreases) right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. Includes, but is not limited to, change in assessment of whether estimate of variable consideration is constrained. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82913847&loc=SL49130551-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetCumulativeCatchUpAdjustmentToRevenueChangeInEstimateOfTransactionPrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue earned from products sold or services provided under the terms of a contract, including, but not limited to, government contracts and construction contracts, classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_ContractsRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of receivable reflecting the cost incurred on uncompleted contracts in excess of related billings which is expected to be collected within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57795-111642 Reference 2: 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.3(c)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57807-111642 + Details
Name: | us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Refundable consideration, usually cash, held by the entity pending satisfactory completion of the entity's obligations or pending the closing of a contract. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15a) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_CustomerAdvancesAndDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cumulative provision for contract losses not offset against related costs accumulated on the balance sheet. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 35 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=68068069&loc=d3e57777-111642 + Details
Name: | us-gaap_ProvisionForLossOnContracts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=gifi_CostsinExcessofBillingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=gifi_TwoMajorCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=gifi_BillingsinExcessofCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis=gifi_ProjectApprovedScopeUnapprovedPriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |