Consolidated Statements of Equity (USD $)
|
Total
|
Common stock
|
Retained earnings
|
Noncontrolling interest
|
Equity, balance at Dec. 31, 2011 |
$ 82,835,269us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest |
$ 70,272,155us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
$ 12,656,662us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
$ (93,548)us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Equity, common shares outstanding at Dec. 31, 2011 |
|
20,020,535us-gaap_CommonStockSharesOutstanding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Increase (Decrease) in Shareholders' Equity [Roll Forward] |
|
|
|
|
Net income (loss) attributable to common shareholders |
5,842,492us-gaap_NetIncomeLoss |
|
5,842,492us-gaap_NetIncomeLoss / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
|
Net loss at subsidiary attributable to noncontrolling interests |
(36,286)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest |
|
|
(36,286)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Net income (loss) |
5,806,206us-gaap_ProfitLoss |
|
|
|
Share-based compensation, shares |
|
20,199us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Share-based compensation, amount |
632,818us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation |
632,818us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Exercise of options and related tax benefit, shares |
|
165,182cpix_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodNetOfSharesForTaxWithholding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Exercise of options and related tax benefit |
4,378,788us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised |
4,378,788us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Repurchase of common shares, shares |
|
(1,268,809)us-gaap_StockRepurchasedDuringPeriodShares / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Repurchase of common shares |
(8,086,594)us-gaap_StockRepurchasedDuringPeriodValue |
(8,086,594)us-gaap_StockRepurchasedDuringPeriodValue / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Equity, balance at Dec. 31, 2012 |
85,566,487us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest |
67,197,167us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
18,499,154us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
(129,834)us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Equity, common shares outstanding at Dec. 31, 2012 |
|
18,937,107us-gaap_CommonStockSharesOutstanding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Increase (Decrease) in Shareholders' Equity [Roll Forward] |
|
|
|
|
Net income (loss) attributable to common shareholders |
(2,104,614)us-gaap_NetIncomeLoss |
|
(2,104,614)us-gaap_NetIncomeLoss / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
|
Net loss at subsidiary attributable to noncontrolling interests |
(46,804)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest |
|
|
(46,804)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Net income (loss) |
(2,151,418)us-gaap_ProfitLoss |
|
|
|
Share-based compensation, shares |
|
19,743us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Share-based compensation, amount |
670,934us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation |
670,934us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Exercise of options and related tax benefit, shares |
|
36,758cpix_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodNetOfSharesForTaxWithholding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Exercise of options and related tax benefit |
6,748us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised |
6,748us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Repurchase of common shares, shares |
|
(1,008,105)us-gaap_StockRepurchasedDuringPeriodShares / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Repurchase of common shares |
(4,800,908)us-gaap_StockRepurchasedDuringPeriodValue |
(4,800,908)us-gaap_StockRepurchasedDuringPeriodValue / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Equity, balance at Dec. 31, 2013 |
79,291,843us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest |
63,073,941us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
16,394,540us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
(176,638)us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Equity, common shares outstanding at Dec. 31, 2013 |
17,985,503us-gaap_CommonStockSharesOutstanding |
17,985,503us-gaap_CommonStockSharesOutstanding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Increase (Decrease) in Shareholders' Equity [Roll Forward] |
|
|
|
|
Net income (loss) attributable to common shareholders |
2,423,723us-gaap_NetIncomeLoss |
|
|
|
Net loss at subsidiary attributable to noncontrolling interests |
(61,258)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest |
|
|
(61,258)us-gaap_NetIncomeLossAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Net income (loss) |
2,362,465us-gaap_ProfitLoss |
|
|
|
Share-based compensation, shares |
|
15,300us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Share-based compensation, amount |
760,894us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation |
760,894us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Exercise of options and related tax benefit |
1,653,028us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised |
1,653,028us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Sale of subsidiary shares to noncontrolling interest |
1,000,005us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest |
769,991us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
230,014us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Repurchase of common shares, shares |
|
(881,810)us-gaap_StockRepurchasedDuringPeriodShares / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Repurchase of common shares |
(4,315,444)us-gaap_StockRepurchasedDuringPeriodValue |
(4,315,444)us-gaap_StockRepurchasedDuringPeriodValue / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|
Equity, balance at Dec. 31, 2014 |
$ 80,752,791us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest |
$ 61,942,410us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
$ 18,818,263us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_RetainedEarningsMember |
$ (7,882)us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest / us-gaap_StatementEquityComponentsAxis = us-gaap_NoncontrollingInterestMember |
Equity, common shares outstanding at Dec. 31, 2014 |
17,118,993us-gaap_CommonStockSharesOutstanding |
17,118,993us-gaap_CommonStockSharesOutstanding / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember |
|
|