<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version>2.4.0.8</Version>
  <ProcessingTime />
  <ReportFormat>HtmlAndXml</ReportFormat>
  <ContextCount>174</ContextCount>
  <ElementCount>288</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>80</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <XmlFileName>R1.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <XmlFileName>R2.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <XmlFileName>R3.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <XmlFileName>R4.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statement of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementOfStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statement of Stockholders' Equity</ShortName>
      <XmlFileName>R5.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <XmlFileName>R6.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004501 - Statement - Condensed Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <XmlFileName>R7.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <XmlFileName>R8.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - ACQUISITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Acquisitions</Role>
      <ShortName>ACQUISITIONS</ShortName>
      <XmlFileName>R9.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/FairValueMeasurements</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <XmlFileName>R10.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - ACCOUNTS RECEIVABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivable</Role>
      <ShortName>ACCOUNTS RECEIVABLE</ShortName>
      <XmlFileName>R11.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - INVENTORIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Inventories</Role>
      <ShortName>INVENTORIES</ShortName>
      <XmlFileName>R12.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - PREPAID EXPENSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PrepaidExpenses</Role>
      <ShortName>PREPAID EXPENSES</ShortName>
      <XmlFileName>R13.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipment</Role>
      <ShortName>PROPERTY AND EQUIPMENT</ShortName>
      <XmlFileName>R14.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssets</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS</ShortName>
      <XmlFileName>R15.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Debt</Role>
      <ShortName>DEBT</ShortName>
      <XmlFileName>R16.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensation</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <XmlFileName>R17.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - WARRANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Warrants</Role>
      <ShortName>WARRANTS</ShortName>
      <XmlFileName>R18.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - SEGMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Segments</Role>
      <ShortName>SEGMENTS</ShortName>
      <XmlFileName>R19.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2128100 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SubsequentEvents</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <XmlFileName>R20.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <XmlFileName>R21.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <XmlFileName>R22.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - ACQUISITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsTables</Role>
      <ShortName>ACQUISITIONS (Tables)</ShortName>
      <XmlFileName>R23.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - ACCOUNTS RECEIVABLE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivableTables</Role>
      <ShortName>ACCOUNTS RECEIVABLE (Tables)</ShortName>
      <XmlFileName>R24.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Tables)</ShortName>
      <XmlFileName>R25.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsTables</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS (Tables)</ShortName>
      <XmlFileName>R26.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - DEBT DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DebtDebtTables</Role>
      <ShortName>DEBT DEBT (Tables)</ShortName>
      <XmlFileName>R27.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <XmlFileName>R28.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - WARRANTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/WarrantsTables</Role>
      <ShortName>WARRANTS (Tables)</ShortName>
      <XmlFileName>R29.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - SEGMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SegmentsTables</Role>
      <ShortName>SEGMENTS (Tables)</ShortName>
      <XmlFileName>R30.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Detail)</ShortName>
      <XmlFileName>R31.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Calculation of Basic and Diluted Net Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesCalculationOfBasicAndDilutedNetIncomePerShareDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Calculation of Basic and Diluted Net Income Per Share (Detail)</ShortName>
      <XmlFileName>R32.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - ACQUISITIONS Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsNarrativeDetail</Role>
      <ShortName>ACQUISITIONS Narrative (Detail)</ShortName>
      <XmlFileName>R33.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - ACQUISITIONS Allocation of Total Purchase Price Paid for Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsAllocationOfTotalPurchasePricePaidForAcquisitionsDetail</Role>
      <ShortName>ACQUISITIONS Allocation of Total Purchase Price Paid for Acquisitions (Detail)</ShortName>
      <XmlFileName>R34.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - ACQUISITIONS Summary of Unaudited Pro Forma Income Statement (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsSummaryOfUnauditedProFormaIncomeStatementDetail</Role>
      <ShortName>ACQUISITIONS Summary of Unaudited Pro Forma Income Statement (Detail)</ShortName>
      <XmlFileName>R35.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - ACCOUNTS RECEIVABLE Components of Accounts Receivable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivableComponentsOfAccountsReceivableDetail</Role>
      <ShortName>ACCOUNTS RECEIVABLE Components of Accounts Receivable (Detail)</ShortName>
      <XmlFileName>R36.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2409401 - Disclosure - INVENTORIES (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/InventoriesDetail</Role>
      <ShortName>INVENTORIES (Detail)</ShortName>
      <XmlFileName>R37.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - PROPERTY AND EQUIPMENT Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentPropertyAndEquipmentDetail</Role>
      <ShortName>PROPERTY AND EQUIPMENT Property and Equipment (Detail)</ShortName>
      <XmlFileName>R38.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - PROPERTY AND EQUIPMENT Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentNarrativeDetail</Role>
      <ShortName>PROPERTY AND EQUIPMENT Narrative (Detail)</ShortName>
      <XmlFileName>R39.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Values Assigned to Intangible Assets (Other Than Goodwill) for Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsValuesAssignedToIntangibleAssetsOtherThanGoodwillForAcquisitionsDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Values Assigned to Intangible Assets (Other Than Goodwill) for Acquisitions (Detail)</ShortName>
      <XmlFileName>R40.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsNarrativeDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Narrative (Detail)</ShortName>
      <XmlFileName>R41.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Estimated Future Intangible Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsEstimatedFutureIntangibleAmortizationExpenseDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Estimated Future Intangible Amortization Expense (Detail)</ShortName>
      <XmlFileName>R42.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - DEBT Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DebtNarrativeDetail</Role>
      <ShortName>DEBT Narrative (Detail)</ShortName>
      <XmlFileName>R43.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - DEBT Future Loan Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DebtFutureLoanPaymentsDetails</Role>
      <ShortName>DEBT Future Loan Payments (Details)</ShortName>
      <XmlFileName>R44.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - STOCK-BASED COMPENSATION Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationNarrativeDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Narrative (Detail)</ShortName>
      <XmlFileName>R45.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - STOCK-BASED COMPENSATION Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationStockOptionActivityDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Stock Option Activity (Detail)</ShortName>
      <XmlFileName>R46.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - STOCK-BASED COMPENSATION Outstanding Stock Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationOutstandingStockOptionsDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Outstanding Stock Options (Detail)</ShortName>
      <XmlFileName>R47.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - STOCK-BASED COMPENSATION Stock Incentive Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationStockIncentivePlanDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Stock Incentive Plan (Detail)</ShortName>
      <XmlFileName>R48.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2416406 - Disclosure - STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationOutstandingUnvestedRestrictedStockAwardsDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Awards (Detail)</ShortName>
      <XmlFileName>R49.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - WARRANTS Outstanding Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/WarrantsOutstandingWarrantsDetail</Role>
      <ShortName>WARRANTS Outstanding Warrants (Detail)</ShortName>
      <XmlFileName>R50.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - SEGMENTS Fixed Assets Segregated by Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SegmentsFixedAssetsSegregatedBySegmentDetail</Role>
      <ShortName>SEGMENTS Fixed Assets Segregated by Segment (Detail)</ShortName>
      <XmlFileName>R51.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Element us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit had a mix of decimals attribute values: 0 2.</Log>
    <Log type="Info">'Monetary' elements on report '2401403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '2403402 - Disclosure - ACQUISITIONS Narrative (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '2415402 - Disclosure - DEBT Narrative (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 1001000 - Statement - Condensed Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jun. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2011'</Log>
    <Log type="Info">Process Flow-Through: 1001501 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 1002000 - Statement - Condensed Consolidated Statements of Operations</Log>
    <Log type="Info">Process Flow-Through: 1004000 - Statement - Condensed Consolidated Statements of Cash Flows</Log>
    <Log type="Info">Process Flow-Through: 1004501 - Statement - Condensed Consolidated Statements of Cash Flows (Parenthetical)</Log>
  </Logs>
  <InputFiles>
    <File>keyw-20130630.xml</File>
    <File>keyw-20130630.xsd</File>
    <File>keyw-20130630_cal.xml</File>
    <File>keyw-20130630_def.xml</File>
    <File>keyw-20130630_lab.xml</File>
    <File>keyw-20130630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
