/* cmsms stylesheet: Print modified: 05/21/26 16:10:38 */
/*
Clean, corrected print stylesheet
Only the content prints, layout stays intact, no right-edge clipping
*/

/* Basic print formatting */
body {
  color: #000 !important;
  background-color: #fff !important;
  font-family: arial;
  border: 0 !important;
}

/* Remove borders on all elements */
* {
  border: 0 !important;
}

/* Hide accessibility helpers and any .noprint elements */
.accessibility,
.noprint {
  display: none !important;
}

/* Main content area */
div#content,
div#main {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  padding: 1em !important;
}

/* Hide non-content layout elements */
div#header,
div#header h1 a,
div.breadcrumbs,
div#search,
div#footer,
div#menu_vert,
div#news,
div.noprint,
div.right49,
div.left49,
div#sidebar {
  display: none !important;
}

/* Images should not float in print */
img {
  float: none;
}

/* --- FIX RIGHT-SIDE TRUNCATION --- */

/* Ensure printable margins */
@page {
  margin: 0.5in;
}

/* Remove the forced minimum width that causes clipping */
#pagewrapper {
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
}

/* Ensure main content fits inside printable width */
#content,
#main {
  width: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Global safety net: prevent any element from clipping text */
body * {
  overflow: visible !important;
}

.back1 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* LAST-RESORT: force everything to fit by scaling down slightly */

html, body {
  width: 100% !important;
  max-width: 100% !important;
}

/* Scale the whole page down a bit in print */
body {
  -webkit-transform: scale(0.95);
  -webkit-transform-origin: top left;
  transform: scale(0.95);
  transform-origin: top left;
}
