/* Site shell. Archive articles supply their own legacy inline dimensions. */
.site-shell { min-height: 100vh; background: #496c81; }
.site-body { background: #fff url(images/tall_h.gif) repeat-x; }
.wrap, #content { width: 100%; max-width: 766px; height: auto; }
#content { display: block; }
.site-columns { display: grid; grid-template-columns: 258px minmax(0, 508px); min-height: 639px; }
.site-aside { min-width: 0; background: url(images/back1.gif) no-repeat; }
.site-main { min-width: 0; background: url(images/back3.gif) no-repeat right top; overflow-wrap: anywhere; }
.site-hero { display: grid; grid-template-columns: 282px minmax(0, 1fr); min-height: 206px; }
.site-photo img { display: block; width: 100%; height: auto; }
.site-main > div:not(.site-hero),
.site-main > div:not(.site-hero) > div { width: 100% !important; max-width: 501px; height: auto !important; float: none !important; display: flow-root; box-sizing: border-box; }
.site-main img { max-width: 100%; }
.site-main > div:not(.site-hero) img { height: auto; }
.site-main table { max-width: 100%; }
.site-footer { background: #496c81 url(images/tall_f.gif) repeat-x; }
#footer { max-width: 766px; width: 100%; }
.site-footer > noindex { display: block; max-width: 100%; }
@media (max-width: 765px) {
  .site-body { background: white; }
  .site-columns { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .site-aside { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; background: #063f66; }
  .site-aside > div { padding: 0 !important; }
  .site-aside > div:first-child, .site-aside > div:last-child { display: none; }
  .site-aside .site-brand img { display: block; width: 100%; height: auto; }
  .site-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .site-menu img, .site-menu br { display: none; }
  .site-menu .m { display: flex; align-items: center; min-height: 30px; color: #fff; font: bold 12px/1.3 Tahoma, sans-serif; }
  .site-main { background: white; }
  .site-main > a, .site-main > noindex { display: inline-block; padding: 8px 10px; background: #496c81; }
  .site-main > a img, .site-main > noindex img { margin: 0 !important; }
  .site-main > br { display: none; }
  .site-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 0; background: #06577a; }
  .site-photo img { height: 100%; object-fit: cover; }
  .site-products .m3 { padding: 12px !important; font: bold 14px/1.4 Tahoma, sans-serif; }
  .site-products .m3 br, .site-products .m3 img { display: none; }
  .site-products ul { margin: 5px 0; }
  .site-products li { padding: 0; background: none; font: normal 13px/1.45 Tahoma, sans-serif; }
  .site-products a { display: inline-block; padding: 2px 0; }
  .site-main > div:not(.site-hero), .site-main > div:not(.site-hero) > div { max-width: none; background-image: none !important; }
  .site-main > div:not(.site-hero) > div > div { padding: 18px 14px !important; }
  .site-main > div:not(.site-hero) :is(div, p, ul, li, td, h1) { font-size: 15px; line-height: 1.5; }
  .site-main p { text-align: left; }
  .site-main img[align] { max-width: 45%; margin: 4px 6px; }
  .site-main table { width: 100%; table-layout: fixed; border-spacing: 2px; }
  .site-main td { width: auto; overflow-wrap: anywhere; }
  #footer { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px; height: auto; box-sizing: border-box; background: none; }
  #footer > div { width: auto !important; height: auto !important; float: none !important; }
  #footer .m2 { padding: 0 !important; color: #fff; font: normal 13px/1.5 Tahoma, sans-serif; }
  #footer > div > br { display: none; }
}
@media (max-width: 479px) {
  .site-aside { grid-template-columns: 72px minmax(0, 1fr); }
  .site-hero { grid-template-columns: minmax(80px, 36%) minmax(0, 1fr); }
}
