/* Responsive safety net — loaded last on every page */
html, body { overflow-x: hidden; }
img, iframe, video { max-width: 100%; }
img { height: auto; }
.bradcam_area { background-size: cover; background-position: center; }

@media (max-width: 767px) {
  div.table-title,
  .table-fill,
  #pic { width: 100% !important; max-width: 100% !important; }

  /* wide tables scroll horizontally instead of breaking the page */
  .table-fill,
  table[style*="width:100%"] { display: block; height: auto !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  th, td { font-size: 13px; padding: 6px 4px; word-break: break-word; }
  td[width] { width: auto !important; }
  .table-title h3 { font-size: 17px; }

  /* hole thumbnails wrap into a grid */
  a > img { display: inline-block; }
  .single-gallery-image { background-size: cover; }
  div[style*="width:80%"] { width: 100% !important; margin: 10px 0 !important; }
}
