
/* v1.8.9 Theme-side community isolation.
   Only active on forced community body classes. */

body.ncr-community-forced-body main#primary,
body.ncr-community-app-body main#primary {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ncr-community-forced-body .ncr-community-template-isolated,
body.ncr-community-app-body .ncr-community-template-isolated {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* If a cached or alternate page template still outputs old hero/card, remove it on community requests only. */
body.ncr-community-forced-body .ncr-shell-hero,
body.ncr-community-forced-body .ncr-content-card,
body.ncr-community-forced-body .ncr-tool-card,
body.ncr-community-app-body .ncr-shell-hero,
body.ncr-community-app-body .ncr-content-card,
body.ncr-community-app-body .ncr-tool-card {
  display: none !important;
}

/* Do not allow community app to overlap footer/header. */
body.ncr-community-forced-body .ncr-community-isolation-shell,
body.ncr-community-app-body .ncr-community-isolation-shell {
  clear: both !important;
}
