| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.20.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 3 </ContextCount> |
| <ElementCount> 95 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 0 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 2 </UnitCount> |
| <MyReports> |
| | <Report instance="core-20191231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0001001 - Document - Cover </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.coremark.com/role/Cover </Role> |
| | | <ShortName> Cover </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-K/A" original="core-20191231.htm"> core-20191231.htm </File> |
| | <File> a201910-kaxexhibit311.htm </File> |
| | <File> a201910-kaxexhibit312.htm </File> |
| | <File> core-20191231.xsd </File> |
| | <File> core-20191231_cal.xml </File> |
| | <File> core-20191231_def.xml </File> |
| | <File> core-20191231_lab.xml </File> |
| | <File> core-20191231_pre.xml </File> |
| | <File> exhibit41-descriptiono.htm </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> core-20191231_g1.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2019-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |