/* Supermicro NZ classic look – after the old Joomla "snz_design" template (731px page, Verdana 11px,
   navy-edged menu bar, blue box headers). Loaded after base.css instead of SiteKit's pro.css. */
:root { --navy: #336699; --sky: #3C8EDF; --edge: #00339a; --line: #cccccc; --tint: #F2F6FF; --red: #990000; --w: 731px; }
html { background: #fff; color-scheme: light; }
body.classic { background: #fff; color: #000; font: 11px/1.5 Verdana, Arial, sans-serif; margin: 0; }
body.classic a, body.classic a:visited { color: #336699; }
body.classic a:hover { color: #FF0000; }
.page { max-width: var(--w); margin: 0 auto; padding: 0; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 4px 8px; z-index: 9; }

/* ---------- header: two logos, small grey links ---------- */
.hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; min-height: 45px; }
.hd__logos { display: flex; align-items: center; } .hd__logos a { display: block; } .hd__logos img { display: block; height: 45px; width: auto; }
.hd__aux { display: flex; align-items: center; font-size: 10px; color: #666; white-space: nowrap; }
.hd__aux a, .hd__aux a:visited, .hd__user { color: #666 !important; text-decoration: none; }
.hd__aux a:hover { text-decoration: underline; color: #FF0000 !important; }
.hd__aux img { display: block; margin: 0 2px; }
.hd__aux img:last-child { display: none; }

/* ---------- menu bar (old sub_space.gif: navy edges, pale blue fade), exactly 25px like the old site ---------- */
.bar { margin-top: 24px; height: 25px; display: flex; align-items: stretch; background: #fff url(../images/classic/sub_space.gif) repeat-x 0 0; background-size: auto 25px;
  border-left: 1px solid var(--edge); border-right: 1px solid var(--edge); box-sizing: border-box; }
.bar__menu { display: flex; align-items: stretch; min-width: 0; }
.barlist { list-style: none; margin: 0; padding: 0 0 0 4px; display: flex; align-items: stretch; }
.barlist li { margin: 0; display: flex; align-items: stretch; }
.barlist li + li::before { content: ""; width: 1px; margin: 6px 0; background: #a3b4d8; }
.barlist a, .barlist a:visited { display: flex; align-items: center; padding: 1px 12px 0; font: bold 11px/1 Arial, Verdana, sans-serif; color: #00339a !important; text-decoration: none; }
.barlist a:hover, .barlist .is-active > a { color: #FF0000 !important; }
.barlist .submenu, .barlist .subtoggle, .barlist .menu-group { display: none; }
.bar__search { margin: 0 0 0 auto; padding: 0 6px; display: flex; align-items: center; }
body.classic .bar__search input { box-sizing: border-box; font: 10px/1 Verdana, Arial, sans-serif; width: 140px; height: 17px; margin: 0; padding: 1px 5px;
  border: 1px solid #7f9db9; border-radius: 0; background: #fff; color: #000; box-shadow: none; }
body.classic .bar__search input:focus { outline: 1px solid #3C8EDF; outline-offset: 0; }
.navtoggle { display: none; }

.banner img { display: block; width: 100%; height: auto; }
.strip { height: 13px; background: #EEEEEE; }

/* ---------- page body ---------- */
.body { padding: 12px 0 0; min-height: 300px; }
.toolsbar { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-size: 10px; margin: 0 0 6px; }
.toolsbar:empty, .toolsbar:not(:has(a)) { display: none; }
body.classic .crumbs { font-size: 10px; margin: 0; color: #999; }
body.classic .crumbs a { text-decoration: none; } body.classic .crumbs a:hover { text-decoration: underline; }
body.classic .crumbs span { margin: 0 5px; color: #999; }
.toolsbar__links { display: flex; flex-wrap: wrap; gap: 0 12px; }
.access-note { display: flex; align-items: center; gap: 8px; background: var(--tint); border: 1px solid var(--line); padding: 4px 8px; font-size: 10px; margin: 0 0 10px; }
body.classic .lock { font: bold 9px/1 Arial, sans-serif; padding: 2px 5px; border-radius: 0; background: #fff3d6; color: #8a5a00; border: 1px solid #e5b33c; vertical-align: 1px; }
body.classic .lock svg { width: 8px; height: 8px; margin-right: 3px; vertical-align: -1px; }

body.classic h1 { font: bold 14px/1.3 Arial, Verdana, sans-serif; color: #336699; margin: 0 0 10px; padding: 0 0 4px; border-bottom: 1px solid #ccc; letter-spacing: 0; }
body.classic h2 { font: bold 12px/1.35 Arial, Verdana, sans-serif; color: #336699; margin: 1.2em 0 .5em; letter-spacing: 0; }
body.classic h3, body.classic h4 { font: bold 11px/1.4 Arial, Verdana, sans-serif; color: #336699; margin: 1.1em 0 .4em; }
body.classic h1 + .meta { margin-top: -6px; }
body.classic .meta { font-size: 10px; color: #777; margin: 0 0 10px; }

/* old Joomla article bodies: use the full page width, keep their own table layouts */
body.classic .prose, body.classic .prose p, body.classic .prose li { max-width: none; }
body.classic .prose { font-size: 11px; line-height: 1.5; overflow-wrap: break-word; }
body.classic .prose p { margin: 0 0 .9em; }
body.classic .prose ul, body.classic .prose ol { padding-left: 1.8em; margin: 0 0 .9em; }
body.classic .prose li { margin: 0 0 .2em; }
body.classic .prose img { max-width: 100%; height: auto; }
body.classic .prose img[style*="float: left"], body.classic .prose img[style*="float:left"], body.classic .prose img[align="left"] { margin: 0 12px 8px 0; }
body.classic .prose img[style*="float: right"], body.classic .prose img[style*="float:right"], body.classic .prose img[align="right"] { margin: 0 0 8px 12px; }
body.classic .prose table { display: table; max-width: 100%; border-collapse: collapse; margin: 0; }
body.classic .prose table td, body.classic .prose table th { font-size: inherit; padding: 2px 4px; vertical-align: top; border: 0; }
body.classic .prose table[border="1"] td, body.classic .prose table[border="1"] th { border: 1px solid #ccc; }
body.classic .prose table[cellpadding="0"] td { padding: 0; }
body.classic .prose iframe, body.classic .prose video, body.classic .prose embed, body.classic .prose object { max-width: 100%; }
body.classic .prose font[size="1"] { font-size: 10px; } body.classic .prose font[size="2"] { font-size: 11px; } body.classic .prose font[size="3"] { font-size: 12px; }
body.classic .prose center, body.classic .prose [align="center"] { text-align: center; }
body.classic .prose .table-wrap { overflow-x: auto; margin: 0; }
body.classic .prose::after { content: ""; display: block; clear: both; }
.article { padding-bottom: 6px; }

/* lists of articles (old Joomla category tables) */
body.classic .listing { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid #ccc; }
body.classic .listing__item { display: flex; align-items: baseline; gap: 10px; padding: 4px 6px; border-bottom: 1px dotted #ccc; font-size: 11px; }
body.classic .listing__item:nth-child(even) { background: var(--tint); }
body.classic .listing__item > a { flex: 1 1 auto; font-weight: bold; text-decoration: none; }
body.classic .listing__item > a:hover { text-decoration: underline; }
body.classic .listing__item time { margin-left: auto; color: #888; font-size: 10px; white-space: nowrap; }
body.classic .teaser { border-bottom: 1px dotted #ccc; padding: 8px 0 10px; margin: 0; }
body.classic .teaser h2 { margin: 0 0 2px; font-size: 12px; } body.classic .teaser h2 a { text-decoration: none; } body.classic .teaser h2 a:hover { text-decoration: underline; }
body.classic .teaser .meta { margin: 0 0 4px; }
body.classic .teaser__body { color: #444; margin: 0 0 3px; } body.classic .teaser__body p { margin: 0 0 4px; }
body.classic .teaser img { display: none; }
body.classic .more { font-size: 10px; font-weight: bold; }
body.classic .intro { margin: 0 0 12px; }
body.classic .empty { color: #777; }
body.classic .pager { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 6px 0 0; border-top: 1px solid #ccc; font-size: 10px; }
body.classic .pager a { text-decoration: none; max-width: 48%; } body.classic .pager span { display: block; color: #888; font-weight: bold; }
body.classic .pager__next { text-align: right; margin-left: auto; }
body.classic .pagination { display: flex; gap: 4px; list-style: none; padding: 0; margin: 12px 0; font-size: 10px; }
body.classic .pagination li a, body.classic .pagination li span { display: block; padding: 2px 7px; border: 1px solid #ccc; text-decoration: none; }
body.classic .pagination li.active span, body.classic .pagination li.active a { background: #336699; color: #fff !important; border-color: #336699; }

/* section pages (Products, Newsroom): one blue-headed box per category */
body.classic .cats { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 21px; }
body.classic .cats__item { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 0 12px 10px; margin: 0; border: 1px solid #ccc; background: #fff url(../images/classic/hm_bkg_square.jpg) no-repeat right top; }
body.classic .cats__item::before { content: ""; flex: 0 0 calc(100% + 24px); margin: 0 -12px 6px; height: 4px; background: var(--sky); }
body.classic .cats__item > a { flex: 1 1 100%; font: bold 12px/1.4 Arial, Verdana, sans-serif; text-decoration: none; }
body.classic .cats__item > a:hover { text-decoration: underline; }
body.classic .cats__count { color: #777; font-size: 10px; }

/* buttons and forms: the old two-column form table */
body.classic .btn, body.classic button[type="submit"], body.classic input[type="submit"], body.classic .button { display: inline-block; background: var(--sky); color: #fff !important; border: 1px solid #2b6fb3; border-radius: 0;
  font: bold 11px/1 Arial, sans-serif; padding: 5px 14px; cursor: pointer; text-decoration: none; box-shadow: none; }
body.classic .btn:hover, body.classic button[type="submit"]:hover, body.classic .button:hover { background: #336699; }
body.classic form .form-field { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 12px; align-items: start; max-width: 600px; margin: 0 0 8px; }
body.classic form .form-label { text-align: right; padding-top: 4px; }
body.classic form .form-label label, body.classic form label { font-weight: normal; display: inline; margin: 0; }
body.classic form .form-field:not(:has(.form-label)) .form-data, body.classic form .form-field > .form-data:only-child { grid-column: 1 / -1; padding: 4px 0; }
body.classic form .form-data .radio, body.classic form .form-data .checkboxes { display: flex; flex-wrap: wrap; gap: 2px 14px; padding-top: 3px; }
body.classic form .form-data .radio label, body.classic form .form-data .checkboxes label { font-weight: normal; }
body.classic form input[type="text"], body.classic form input[type="email"], body.classic form input[type="tel"], body.classic form input[type="password"], body.classic form input[type="url"],
body.classic form input[type="number"], body.classic form select, body.classic form textarea { box-sizing: border-box; width: 100%; max-width: 360px; font: 11px/1.3 Verdana, Arial, sans-serif; padding: 3px 5px;
  border: 1px solid #7f9db9; border-radius: 0; background: #fff; color: #000; box-shadow: none; }
body.classic form textarea { min-height: 70px; resize: vertical; }
body.classic form input:focus, body.classic form textarea:focus, body.classic form select:focus { outline: 1px solid #3C8EDF; outline-offset: 0; }
body.classic form .required, body.classic form .required-field { color: #cc0000; }
body.classic form .buttons, body.classic form .form-actions { margin: 10px 0 0 212px; }
body.classic .form-page > .prose, body.classic .tpl-form .prose { margin: 0 0 12px; }
body.classic #grav-login, body.classic .login-form { max-width: 360px; margin: 10px auto 20px; padding: 0; border: 1px solid #ccc; background: var(--tint); }
body.classic #grav-login h4, body.classic #grav-login .login-title { margin: 0 0 8px; padding: 3px 8px; background: var(--sky); color: #fff; font: bold 11px Arial, sans-serif; }
body.classic #grav-login form { padding: 0 12px 12px; }
body.classic #grav-login .form-field { display: block; max-width: none; }
body.classic #grav-login .form-label { text-align: left; padding: 0 0 2px; }
body.classic #grav-login input { max-width: none; }
body.classic #grav-login .buttons, body.classic #grav-login .form-actions { margin: 10px 0 0; }

/* ---------- home ---------- */
.rotator { position: relative; width: 549px; max-width: 100%; margin: 4px auto 14px; aspect-ratio: 549 / 250; overflow: hidden; border-radius: 0; background: #fff; box-shadow: none; }
.rotator .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.rotator .slide.is-current { opacity: 1; z-index: 1; }
.rotator .slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rotator .slides__dots { position: absolute; z-index: 2; bottom: 5px; left: 0; right: 0; justify-content: center; display: flex; gap: 5px; }
.rotator .slides__dots button { width: 8px; height: 8px; padding: 0; border: 1px solid #336699; background: #fff; border-radius: 50%; cursor: pointer; }
.rotator .slides__dots button[aria-selected="true"] { background: #336699; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; align-items: start; }
.box { border: 1px solid var(--line); background: #fff url(../images/classic/hm_bkg_square.jpg) no-repeat right 18px; }
body.classic .box__head { margin: 0; background: var(--sky); color: #fff !important; font: bold 11px/1.4 Arial, sans-serif; padding: 2px 6px; border: 0; }
.box__body { padding: 12px 15px 4px; color: #444; font: 11px/1.5 Arial, Verdana, sans-serif; }
body.classic .box__body p { margin: 0 0 10px; }
.box__body .adv { color: var(--red); }
body.classic .toc { list-style: none; margin: 0; padding: 12px 15px 6px 22px; }
body.classic .toc li { margin: 0 0 11px; padding-left: 12px; position: relative; }
body.classic .toc li::before { content: ""; position: absolute; left: 0; top: 5px; border: 4px solid transparent; border-left: 5px solid #990000; }
body.classic .toc a { font: bold 12px Arial, Verdana, sans-serif; }

/* ---------- footer ---------- */
.ft { margin-top: 30px; }
.ft__box { border: 1px solid var(--line); background: var(--tint); padding: 5px 15px; color: #336699; }
body.classic .ft__box p { margin: 2px 0; font-size: 9px; line-height: 1.5; color: #336699; }
.ft__bar { background: #336699; color: #fff; font-size: 10px; padding: 4px 15px; margin: 6px 0 20px; }
.ft__bar a, .ft__bar a:visited { color: #fff !important; text-decoration: none; } .ft__bar a:hover { text-decoration: underline; }

/* ---------- tablets and phones ---------- */
@media (max-width: 760px) {
  .page { padding: 0 10px; }
  .hd { padding: 6px 0 0; }
  .hd__logos img { height: 34px; }
  .bar { margin-top: 10px; height: auto; min-height: 25px; flex-wrap: wrap; background-size: auto 25px; }
  .navtoggle { display: flex; align-items: center; height: 25px; margin: 0 0 0 6px; padding: 0 6px; font: bold 11px Arial, sans-serif; background: none; border: 0; color: #00339a; cursor: pointer; }
  .navtoggle::before { content: "\2630"; margin-right: 6px; font-size: 13px; }
  .navtoggle { order: 0; margin-right: auto; }
  .bar__search { order: 1; margin-left: auto; }
  body.classic .bar__search input { width: 130px; height: 19px; font-size: 12px; max-width: none; }
  .bar__menu { display: none; width: 100%; order: 3; background: #fff; border-top: 1px solid #a3b4d8; }
  .bar__menu.is-open { display: block; }
  .barlist { flex-direction: column; padding: 0; }
  .barlist li + li::before { display: none; }
  .barlist li { border-bottom: 1px solid #e4e9f3; }
  .barlist a, .barlist a:visited { padding: 9px 12px; font-size: 12px; }
  .boxes, body.classic .cats { grid-template-columns: 1fr; }
  body.classic form .form-field { grid-template-columns: 1fr; }
  body.classic form .form-label { text-align: left; padding: 0 0 2px; }
  body.classic form .buttons, body.classic form .form-actions { margin-left: 0; }
  body.classic form:not(.bar__search) input[type], body.classic form textarea, body.classic form select { max-width: none; font-size: 16px; }
  body.classic .prose img[style*="float"], body.classic .prose img[align] { float: none !important; display: block; margin: 0 auto 10px !important; }
  body.classic .prose { font-size: 12px; }
  body.classic .listing__item { flex-wrap: wrap; }
}
@media print { .bar, .hd__aux, .toolsbar__links, .rotator, .ft__bar { display: none; } }
body.classic .prose table[style*="margin-left"] { margin-left: 0 !important; }
