/* Text uses rem so it follows the browser font size.
   A box uses a percentage so it shrinks with its parent.
   A full-width band uses the page width. 100vw counts the scrollbar and pushes the page sideways.
   Borders stay in px. */

html {
  font-size: 100%;
}

@media (max-width: 1199.98px) {
  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .page-body,
  .adminuiux-content,
  .main-wrapper,
  .container,
  .container-fluid,
  .card,
  .modal-content,
  .dn-portal-hero,
  .dn-chart-card,
  .dn-attention,
  .dn-money-row,
  .dn-activity,
  .dn-doc-profile,
  .dn-weekbars,
  .dn-visit-timer,
  .dn-checkin,
  .dn-notes {
    width: 100%;
    max-width: 100%;
  }

  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .dn-hero,
  .header.header-one,
  .adminuiux-content,
  .page-body,
  .main-wrapper {
    width: 100%;
    max-width: 100vw;
  }

  .container,
  .container-fluid,
  .card,
  .dn-portal,
  .dn-chart-card,
  .dn-attention {
    min-width: 0;
  }
}
