/* InternetSoft legacy page layout - desktop and mobile. Homepage chrome remains intact. */
html:has(body.is-modernized) { scroll-padding-top: 80px; }
body.is-modernized { margin:0!important; padding:0!important; min-width:0!important; width:100%; overflow-x:hidden; background:#f4f7fb!important; }
body.is-modernized > #allrecords { display:flex; flex-direction:column; min-height:100vh; width:100%; max-width:100%; }
body.is-modernized #t-header { position:relative; flex:0 0 auto; width:100%; min-height:60px; z-index:1000; }
/* The homepage nav uses t228__positionfixed; reserve its vertical height so content never starts beneath it. */
body.is-modernized .is-hero { width:100%; max-width:100%; margin:0; padding:96px max(24px,calc((100% - 1120px)/2)) 32px!important; box-sizing:border-box; position:relative; z-index:1; clear:both; }
body.is-modernized .is-hero h1 { margin:10px 0 0!important; overflow-wrap:break-word; }
body.is-modernized .is-crumb { max-width:1120px; overflow-wrap:anywhere; }
body.is-modernized main.is-container { display:block; position:relative; box-sizing:border-box; flex:1 0 auto; width:calc(100% - 48px)!important; max-width:1120px!important; min-width:0; margin:32px auto 64px!important; padding:0!important; float:none!important; clear:both; z-index:1; }
body.is-modernized main.is-container > article.is-content { display:block; width:100%!important; min-width:0; max-width:100%; margin:0!important; padding:clamp(22px,3.6vw,42px)!important; box-sizing:border-box; background:#fff; border:1px solid #dce6f0; border-radius:10px; color:#253649; font:16px/1.65 Arial,Helvetica,sans-serif; overflow-wrap:break-word; overflow-x:auto; }
body.is-modernized .is-content > :first-child { margin-top:0; }
body.is-modernized .is-content p,body.is-modernized .is-content li { max-width:100%; }
body.is-modernized .is-content img,body.is-modernized .is-content video,body.is-modernized .is-content iframe { max-width:100%!important; height:auto; }
body.is-modernized .is-content table { max-width:100%!important; width:100%!important; table-layout:auto; border-collapse:collapse; }
body.is-modernized .is-content td,body.is-modernized .is-content th { overflow-wrap:anywhere; word-break:normal; }
body.is-modernized .is-content pre,body.is-modernized .is-content code { white-space:pre-wrap; overflow-wrap:anywhere; }
body.is-modernized .is-content .maintext { float:none!important; width:auto!important; max-width:100%; padding:0!important; margin:0!important; }
body.is-modernized #t-footer { flex:0 0 auto; width:100%; max-width:100%; margin:0!important; position:relative; z-index:1; clear:both; }
@media (max-width:750px) {
  html:has(body.is-modernized) { scroll-padding-top:70px; }
  body.is-modernized .is-hero { padding:88px 18px 24px!important; }
  body.is-modernized main.is-container { width:calc(100% - 28px)!important; max-width:none!important; margin:18px auto 40px!important; }
  body.is-modernized main.is-container > article.is-content { padding:18px!important; font-size:15px; line-height:1.65; }
  body.is-modernized .is-content table { font-size:13px; }
  body.is-modernized .is-content td,body.is-modernized .is-content th { padding:7px!important; }
}
@media (max-width:400px) {
 body.is-modernized .is-hero { padding-left:14px!important; padding-right:14px!important; }
 body.is-modernized main.is-container { width:calc(100% - 20px)!important; }
 body.is-modernized main.is-container > article.is-content { padding:14px!important; }
}
