| Contracts Receivable and Retainage - Additional Information (Detail) (USD $) | 3 Months Ended | |
|---|---|---|
| Mar. 31, 2015 | Dec. 31, 2014 | |
| Long-term Contracts or Programs Disclosure [Line Items] | ||
| Contract receivable | $ 50,312,000us-gaap_ContractReceivableDueOneYearOrLess | $ 80,448,000us-gaap_ContractReceivableDueOneYearOrLess | 
| Allowance for bad debt | 0us-gaap_AllowanceForDoubtfulAccountsReceivable | |
| Bad debt expense | 400,000gifi_BadDebtExpenseRecovery | |
| Large Deepwater Customer [Member] | ||
| Long-term Contracts or Programs Disclosure [Line Items] | ||
| Receivables, long-term contracts or programs | 10,000,000us-gaap_ReceivablesLongTermContractsOrPrograms / us-gaap_MajorCustomersAxis = gifi_LargeDeepwaterCustomerMember | |
| Cash settlement with customer | 8,400,000gifi_CashSettlementCustomerContractDispute / us-gaap_MajorCustomersAxis = gifi_LargeDeepwaterCustomerMember | |
| Contract equipment transferred to property plant and equipment | 1,200,000us-gaap_PropertyPlantAndEquipmentGross / us-gaap_MajorCustomersAxis = gifi_LargeDeepwaterCustomerMember | |
| Contract equipment, useful life | 15 years | |
| Bad debt expense | 400,000gifi_BadDebtExpenseRecovery / us-gaap_MajorCustomersAxis = gifi_LargeDeepwaterCustomerMember | |
| Top 4 Customer [Member] | ||
| Long-term Contracts or Programs Disclosure [Line Items] | ||
| Contract receivable | $ 32,800,000us-gaap_ContractReceivableDueOneYearOrLess / us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis = gifi_TopFourCustomerMember | |
| Number of major customers account for 65.3% of contract receivable | 4gifi_NumberOfMajorCustomerRevenue / us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis = gifi_TopFourCustomerMember | |
| Percentage of contract receivable | 65.30%gifi_PercentageOfRevenueFromMajorCustomer / us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis = gifi_TopFourCustomerMember | 
| X | ||||||||||
| 
- Definition Bad debt expense (recovery). No definition available. 
 | 
| X | ||||||||||
| 
- Definition Cash settlement customer contract dispute. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Definition Number Of Major Customer Revenue No definition available. 
 | 
| X | ||||||||||
| 
- Definition Percentage Of Revenue From Major Customer No definition available. 
 | 
| X | ||||||||||
| 
- Definition For an unclassified balance sheet, a valuation allowance for receivables due a company that are expected to be uncollectible. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount billed to customers under long-term contracts or programs to be collected in the next fiscal year following the latest fiscal year. Excludes amounts due that have been withheld because of retainage provisions in a contract. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before accumulated depreciation, depletion and amortization of 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, and furniture and fixtures. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount to be collected within one year of the balance sheet date (or one operating cycle, if longer) from customers in accordance with the contractual provisions of long-term contracts or programs including amounts billed and unbilled as of the balance sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |