/* The original STL mark uses league blue, charcoal and a silver keyline. */
:root {
  --stl-blue: #0d82b5;
  --stl-action: #086693;
  --stl-deep: #063d60;
  --stl-navy: #08283e;
  --stl-ice: #86d5f7;
  --stl-line: #c8dde8;
}

.stl-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  background: transparent;
  line-height: 0;
  text-decoration: none;
  box-sizing: border-box;
  flex: none;
}
img.stl-emblem {
  display: block;
  width: 78px;
  height: auto;
  border: 0;
}
.stl-brand-link:focus-visible { outline: 3px solid var(--stl-ice); outline-offset: 3px; }

/* Shared by the original Web Forms page masters. */
#header .stl-legacy-mast {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  padding: 0 32px;
  background: linear-gradient(90deg, #05283fee, #07314e88 45%, transparent),
              #08283e url(/app/assets/stl/battlecruiser.jpg) center 42% / cover no-repeat;
  border-bottom: 3px solid var(--stl-blue);
}
.stl-legacy-mast .stl-emblem { width: 98px; }
.stl-legacy-label { color: white; font: 700 19px/1.4 "Microsoft YaHei", sans-serif; }
#HeadLogo .stl-brand-link { margin: 1px 0 0 8px; }
#HeadLogo .stl-emblem { width: 70px; }
.admin_menu .stl-admin-brand { display: flex; margin: 2px 5px 8px; }
.admin_menu .stl-emblem { width: 66px; }
#Page_Div #nav_div, .admin_menu .AdminNav { background: var(--stl-deep); }
#nav_div .nav li a { background: var(--stl-deep); color: white; }
#nav_div .nav li a:hover, .admin_menu .AdminNav a:hover { background: var(--stl-action); }
.admin_menu li a:hover { background: #e4f3fa; border-color: var(--stl-blue); }

@media (max-width: 800px) {
  .portal-header .stl-emblem, .signature .stl-emblem { width: 63px; }
}

