XML 64 R49.htm IDEA: XBRL DOCUMENT
v3.21.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Leases (Tables) [Line Items] |
Schedule of weighted average remaining lease terms and discount rates |
|  | December 31, |
|  | 2020 |
Weighted average remaining lease term (years) |  |  | 5.06 |
Weighted average discount rate |  |  | 2.45 | %
Schedule of maturities of lease liabilities |
2021 |  | $ | 4,642 |
2022 |  |  | 3,449 |
2023 |  |  | 2,520 |
2024 |  |  | 2,076 |
2025 |  |  | 1,744 |
2026 and thereafter |  |  | 13,764 |
Total undiscounted cash flows |  | $ | 28,195 |
Less imputed interest |  |  | (3,686 | )
Present value of lease liabilities |  | $ | 24,509 |

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

X
- References No definition available. + Details
Name: | mgic_ScheduleOrDescriptionOfWeightedAverageDiscountRatesTableTextBlock
Namespace Prefix: | mgic_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121573735&loc=d3e41502-112717 + Details
Name: | us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration