XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.22.2

Shipyard Transaction and Discontinued Operations - Summary of Operating Results From Discontinued Operations (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2021 | Jun. 30, 2021
Discontinued Operations And Disposal Groups [Abstract] |  |
Revenue | $ 6,471 | $ 41,637
Cost of revenue | 6,406 | 33,912
Gross profit | 65 | 7,725
General and administrative expense | 73 | 413
Impairments and (gain) loss on assets held for sale, net | 1,903 | 25,331
Other (income) expense, net | (660) | (647)
Operating loss | (1,251) | (17,372)
Loss from discontinued operations, net of taxes | $ (1,251) | $ (17,372)

X
- Definition Disposal group including discontinued operation impairments and gain loss on assets held for sale. + References No definition available. + Details
Name: | gifi_DisposalGroupIncludingDiscontinuedOperationImpairmentsAndGainLossOnAssetsHeldForSale
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disposal group including discontinued operation other income (expense). + References No definition available. + Details
Name: | gifi_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of general and administrative expense attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(12)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=109222160&loc=SL51721525-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109222160&loc=d3e957-107759 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=109222160&loc=SL51721523-107759 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=109222160&loc=d3e1012-107759 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 270 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109227538&loc=d3e44648-109337 + Details
Name: | us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration