XML 114 R99.htm IDEA: XBRL DOCUMENT
v3.21.1

Selected Statements of Income Data (Details) - Schedule of financial income (expenses), net - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Schedule of financial income (expenses), net [Abstract] |  |  |
Bank charges and interest from loans offset by interest from short term deposits | $ (614) | $ (374) | $ (986)
Interest income from marketable securities, net of amortization of premium on marketable securities | 100 | 212 | 284
Gain (loss) arising from foreign currency translation and other | (403) | (1,007) | 855
Financial income (expenses), net | $ (917) | $ (1,169) | $ 153

X
- Definition The amount of financial income (expense), net. + References No definition available. + Details
Name: | mgic_FinancialExpenseIncomeNet
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Interest income from marketable securities net of amortization of premium. + References No definition available. + Details
Name: | mgic_InterestIncomeFromMarketableSecuritiesNetOfAmortizationOfPremiumOnMarketableSecurities
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition The net amount of operating interest income (expense). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.10) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_InterestIncomeExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount before tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=120253306&loc=d3e28129-110885 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32022-110900 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 35 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=121605123&loc=d3e30304-110892 + Details
Name: | us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration