2.4.0.8108 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWStruefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE11748---1310-Q0008_STD_181_20130630_0http://www.sec.gov/CIK0001050446duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE11748---1310-Q0008_STD_182_20120630_0http://www.sec.gov/CIK0001050446duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true4us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse5003800050038USD$falsetruefalse2truefalsefalse75430007543USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false23false5us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntityus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-56782000-56782falsefalsefalse2truefalsefalse14460001446falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of income (loss) from a disposal group, net of income tax, reported as a separate component of income before extraordinary items after deduction or consideration of the amount allocable to noncontrolling interests. Includes, net of tax, income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 19
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569616-111683
false24false5us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterestus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-6744000-6744falsefalsefalse2truefalsefalse89890008989falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the income or loss from continuing operations attributable to the economic entity which may also be defined as revenue less expenses and taxes from ongoing operations before extraordinary items, and noncontrolling interest.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 19
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569616-111683
false25true5us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false6us-gaap_DepreciationAmortizationAndAccretionNetus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1311100013111falsefalsefalse2truefalsefalse1080900010809falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false27false6us-gaap_ProvisionForDoubtfulAccountsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse34090003409falsefalsefalse2truefalsefalse30400003040falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of expense related to write-down of receivables to the amount expected to be collected. Includes, but is not limited to, accounts receivable and notes receivable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.5)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 5
-Article 5
false28false6mstr_DeferredTaxesCashFlowAdjustmentmstr_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-6141000-6141falsefalsefalse2truefalsefalse63560006356falsefalsefalsexbrli:monetaryItemTypemonetaryDeferred Taxes Cash Flow AdjustmentNo definition available.false29false6us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivitiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-23580000-23580falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash outflow for realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907
false210false6us-gaap_OtherNoncashIncomeExpenseus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-9000-9falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryOther income (expense) included in net income that results in no cash inflows or outflows in the period. Includes noncash adjustments to reconcile net income (loss) to cash provided by (used in) operating activities that are not separately disclosed.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false211true6us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false7us-gaap_IncreaseDecreaseInAccountsReceivableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse1069200010692falsefalsefalse2truefalsefalse1213100012131falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false213false7us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse17140001714falsefalsefalse2truefalsefalse-4043000-4043falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the value of prepaid expenses and other assets not separately disclosed in the statement of cash flows, for example, deferred expenses, intangible assets, or income taxes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false214false7us-gaap_IncreaseDecreaseInDepositOtherAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse134000134falsefalsefalse2truefalsefalse214000214falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in moneys or securities given as security including, but not limited to, contract, escrow, or earnest money deposits, retainage (if applicable), deposits with clearing organizations and others, collateral, or margin deposits.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false215false7us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-2122000-2122falsefalsefalse2truefalsefalse-5701000-5701falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false216false7us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-12515000-12515falsefalsefalse2truefalsefalse-11721000-11721falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate amount of obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false217false7us-gaap_IncreaseDecreaseInDeferredRevenueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse97010009701falsefalsefalse2truefalsefalse31720003172falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period, excluding the portion taken into income, in the liability reflecting revenue yet to be earned for which cash or other forms of consideration was received or recorded as a receivable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false218false7us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-3600000-3600falsefalsefalse2truefalsefalse-811000-811falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other noncurrent operating liabilities not separately disclosed in the statement of cash flows.No definition available.false219false5us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-15950000-15950falsefalsefalse2truefalsefalse2243500022435falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
true220false5us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-664000-664falsefalsefalse2truefalsefalse-2586000-2586falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) of operating activities of discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
false221false5us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-16614000-16614falsefalsefalse2truefalsefalse1984900019849falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
true222true4us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false5us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-8921000-8921falsefalsefalse2truefalsefalse-23266000-23266falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false224false5us-gaap_PaymentsToAcquireShortTermInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-129043000-129043falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false225false5mstr_PaymentsForCapitalizedSoftwareDevelopmentCostsmstr_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1736000-1736falsefalsefalse2truefalsefalse-5050000-5050falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the development or modification of software programs or applications for internal or external use.No definition available.false226false5us-gaap_ProceedsFromInsuranceSettlementInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2truefalsefalse32060003206falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the amounts received by the insured under the terms of an insurance contract settlement. This element pertains only to insurance proceeds related to investments, for example fixed assets. It excludes insurance settlements classified as operating cash flows.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
false227false5us-gaap_IncreaseDecreaseInRestrictedCashAndInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-84000-84falsefalsefalse2truefalsefalse4200042falsefalsefalsexbrli:monetaryItemTypemonetaryThe net cash inflow or outflow during the period for the aggregate increase (decrease) associated with funds and investments that are not available for withdrawal or use (such as assets held in escrow or contractually limited as to use or disposition) and are associated with underlying transactions that are classified as investing activities.No definition available.false228false5us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-139784000-139784falsefalsefalse2truefalsefalse-25068000-25068falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) of investing activities, excluding discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true229false5us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9913600099136falsefalsefalse2truefalsefalse-676000-676falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) of investing activities of discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
false230false5us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-40648000-40648falsefalsefalse2truefalsefalse-25744000-25744falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true231true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse032false5us-gaap_ProceedsFromStockOptionsExercisedus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse341000341falsefalsefalse2truefalsefalse29470002947falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with the amount received from holders exercising their stock options. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (j)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false233false5us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2358000023580falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907
false234false5us-gaap_RepaymentsOfLongTermCapitalLeaseObligationsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-324000-324falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for the obligation for a lease meeting the criteria for capitalization (with maturities exceeding one year or beyond the operating cycle of the entity, if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
false235false5us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2359700023597falsefalsefalse2truefalsefalse29470002947falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true236false5us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) of financing activities of discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
false237false5us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2359700023597falsefalsefalse2truefalsefalse29470002947falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true238false4us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-2040000-2040falsefalsefalse2truefalsefalse-1146000-1146falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) from the effect of exchange rate changes on cash and cash equivalent balances held in foreign currencies.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
false239false4us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-35705000-35705falsefalsefalse2truefalsefalse-4094000-4094falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
true240false4us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperationsus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse224393000224393falsefalsefalse2truefalsefalse199634000199634falsefalsefalsexbrli:monetaryItemTypemonetaryFor the entity and the disposal group, cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits are not generally reported as cash and cash equivalents.No definition available.false241false4us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperationsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse188688000188688falsefalsefalse2truefalsefalse195540000195540falsefalsefalsexbrli:monetaryItemTypemonetaryFor the entity and the disposal group, cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits are not generally reported as cash and cash equivalents.No definition available.false242true4us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse043false5mstr_AssetsAcquiredUnderCapitalLeaseAndOtherFinancingmstr_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse37930003793USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryAssets acquired under capital lease and other financing arrangements.No definition available.false2falseCONSOLIDATED STATEMENTS OF CASH FLOWS (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microstrategy.com/taxonomy/role/StatementOfCashFlowsIndirect243