XML 104 R89.htm IDEA: XBRL DOCUMENT
v3.21.1

Commitments and Contingencies (Details) ₪ in Thousands, $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2016 USD ($) | Sep. 30, 2016 ILS (₪) | Dec. 31, 2020 USD ($)
Commitments and Contingencies (Details) [Line Items] |  |  |
Damages plaintiffs amount | $ 2,400 |  |
NIS [Member] |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |
Sought damages in amount (in New Shekels) | ₪ |  | ₪ 34,106 |
Customer Contracts [Member] |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |
Bank guarantees amount |  |  | $ 1,650
Restricted bank deposits |  |  | $ 477

X
- Definition Bank guarantees amount. + References No definition available. + Details
Name: | mgic_BankGuaranteesAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Restricted bank deposits + References No definition available. + Details
Name: | mgic_RestrictedBankDeposits
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of damages paid to the plaintiff in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesPaidValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | mgic_TypeOfCurrencyAxis=mgic_NISMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |