* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #7c7c7c;
  color: #111111;
  font-family: "Times New Roman", Times, serif;
}

a {
  color: #000080;
}

a:hover {
  color: #800080;
}

a:active {
  color: #ff0000;
}

button,
a,
.toolbar-button,
.window-control,
.go-button,
.links-button,
.quick-search-form button,
.home-actions a,
.admin-button,
.profile-form button,
.admin-card button,
.search-panel button {
  transition:
    background-color 80ms ease,
    border-color 80ms ease,
    box-shadow 80ms ease,
    color 80ms ease,
    filter 80ms ease,
    transform 55ms ease;
}

/* =========================================================
   Browser Window
========================================================= */

.browser-window {
  width: 100vw;
  height: 100vh;
  min-width: 1180px;
  display: grid;
  grid-template-rows: 31px 32px 58px 31px 1fr 28px;
  overflow: hidden;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #777777;
}

.browser-window-maximized {
  width: 100vw;
  height: 100vh;
}

/* =========================================================
   Title Bar
========================================================= */

.browser-titlebar {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 0 7px;
  background: linear-gradient(to right, #00006d, #001099);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: bold;
  user-select: none;
}

.browser-title-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ie-mini {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  background-image: url("/img/address-bar-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

/* =========================================================
   Window Controls - Windows 95/98 Style
   Uses /img/window-controls.png
   Sprite layout: 13px per icon
   0 = minimize, 1 = maximize, 2 = restore, 3 = close
========================================================= */

.window-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.window-control {
  position: relative;
  width: 18px;
  height: 16px;
  min-width: 18px;
  min-height: 16px;
  padding: 0;
  margin: 0;

  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;

  background: #d4d0c8;

  box-shadow:
    inset 1px 1px 0 #dfdfdf,
    inset -1px -1px 0 #808080;

  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;

  cursor: pointer;
}

.window-control::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 13px;
  height: 10px;

  background-image: url("/img/window-controls.png");
  background-repeat: no-repeat;
  background-position: var(--sprite-x) 0;
  background-size: auto 10px;

  transform: translate(-50%, -50%);
  image-rendering: pixelated;
}

.window-control.minimize::before {
  --sprite-x: calc(-0 * 13px - 1px);
}

.window-control.maximize::before {
  --sprite-x: calc(-1 * 13px - 1px);
}

.window-control.restore::before {
  --sprite-x: calc(-2 * 13px - 1px);
}

.window-control.close::before {
  --sprite-x: calc(-3 * 13px - 1px);
}

.window-control:hover {
  background: #e6e2dc;
}

.window-control:active {
  border-color: #404040 #ffffff #ffffff #404040;
  background: #c7c3bc;

  box-shadow:
    inset 1px 1px 0 #808080,
    inset -1px -1px 0 #ffffff;

  transform: translate(1px, 1px);
}

.window-control:active::before {
  transform: translate(calc(-50% + 1px), calc(-50% + 1px));
}

/* =========================================================
   Menu Bar
========================================================= */

.browser-menubar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 23px;
  background: #d4d0c8;
  border-top: 1px solid #f7f7f7;
  border-bottom: 1px solid #999999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  user-select: none;
}

.browser-menubar span {
  padding: 3px 5px;
  cursor: default;
}

.browser-menubar span::first-letter {
  text-decoration: underline;
}

.browser-menubar span:hover {
  background: #000080;
  color: #ffffff;
}

.browser-menubar span:active {
  background: #00005d;
  color: #ffffff;
  transform: translate(1px, 1px);
}

.windows-flag {
  margin-left: auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  transform: rotate(8deg);
}

/* =========================================================
   Toolbar
========================================================= */

.browser-toolbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 14px;
  background: #d4d0c8;
  border-top: 1px solid #f7f7f7;
  border-bottom: 2px groove #aaaaaa;
  font-family: Arial, Helvetica, sans-serif;
  user-select: none;
}

.toolbar-button {
  width: 58px;
  height: 52px;
  padding-top: 3px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  color: #000000;
  font-size: 12px;
}

.toolbar-button:hover {
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #ddd9d1;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #808080;
}

.toolbar-button:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c7c3bc;
  box-shadow:
    inset 1px 1px 0 #808080,
    inset -1px -1px 0 #ffffff;
  transform: translate(1px, 1px);
}

.toolbar-button.disabled {
  color: #888888;
  opacity: .65;
  cursor: default;
}

.toolbar-button.disabled:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.toolbar-button.disabled:active {
  transform: none;
}

.toolbar-button strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: normal;
}

.toolbar-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url("/img/browse-ui-icons.png");
  background-repeat: no-repeat;
  background-size: auto 20px;
  image-rendering: pixelated;
}

.toolbar-button.disabled .toolbar-icon {
  background-image: url("/img/browse-ui-icons-grayscale.png");
  opacity: .75;
}

.toolbar-button:hover .toolbar-icon {
  filter: brightness(1.08);
}

.toolbar-button:active .toolbar-icon {
  transform: translate(1px, 1px);
  filter: brightness(.92);
}

.toolbar-button.disabled:active .toolbar-icon {
  transform: none;
  filter: none;
}

.back-icon {
  background-position: 0 0;
}

.forward-icon {
  background-position: -20px 0;
}

.stop-icon {
  background-position: -40px 0;
}

.refresh-icon {
  background-position: -60px 0;
}

.home-icon {
  background-position: -80px 0;
}

.search-icon {
  background-position: -100px 0;
}

.favorites-icon {
  background-position: -120px 0;
}

.history-icon {
  background-position: -280px 0;
}

.print-icon {
  background-position: -420px 0;
}

.mail-icon {
  background-position: -540px 0;
}

.toolbar-divider {
  width: 2px;
  height: 46px;
  border-left: 1px solid #888888;
  border-right: 1px solid #ffffff;
}

.large-ie-logo {
  margin-left: auto;
  width: 58px;
  height: 55px;
  display: grid;
  place-items: center;
  background-color: #c8c8c8;
  background-image: url("/img/internet-explorer-32x32.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  border-left: 2px groove #aaaaaa;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

/* =========================================================
   Address Bar
========================================================= */

.addressbar {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  background: #d4d0c8;
  border-bottom: 3px ridge #aaaaaa;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.addressbar>span {
  font-weight: bold;
}

.address-input {
  flex: 1;
  height: 25px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
}

.address-ie {
  width: 24px;
  height: 21px;
  flex: 0 0 24px;
  display: inline-block;
  background-color: #ffffff;
  background-image: url("/img/address-bar-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.address-input input {
  flex: 1;
  height: 21px;
  border: 0;
  outline: 0;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.address-input button,
.go-button,
.links-button {
  height: 25px;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.address-input button {
  height: 21px;
  min-width: 22px;
  padding: 0;
  line-height: 16px;
}

.address-input button:hover,
.go-button:hover,
.links-button:hover {
  background: #e2ded6;
}

.address-input button:active,
.go-button:active,
.links-button:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c5c1ba;
  transform: translate(1px, 1px);
}

/* =========================================================
   Main Layout
========================================================= */

.profiles-page {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 225px 1fr;
  overflow: hidden;
  background: #ffffff;
}

.profiles-sidebar,
.profiles-content {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.profiles-content {
  background:
    linear-gradient(to right, #ffffff 0%, #ffffff 45%, #f7f7f7 100%);
}

/* =========================================================
   Sidebar
========================================================= */

.profiles-sidebar {
  background:
    radial-gradient(#d5d5d5 1px, transparent 1px),
    linear-gradient(#f5f7f7, #e9eeee);
  background-size: 5px 5px, auto;
  border-right: 2px solid #24646b;
}

.core-network-mark {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  overflow: hidden;
  background:
    radial-gradient(#d5d5d5 1px, transparent 1px),
    linear-gradient(#f5f7f7, #e9eeee);
  background-size: 5px 5px, auto;
  border-bottom: 6px solid #00006d;
}

.core-network-logo-img {
  display: block;
  width: 100%;
  max-width: 205px;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  image-rendering: auto;
}

.core-lines,
.core-text,
.network-text,
.resources-text {
  display: none;
}

.retro-nav {
  display: grid;
  gap: 11px;
  padding: 18px 18px 0;
}

.retro-nav a {
  min-height: 38px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 4px 5px;
  border: 2px solid transparent;
  color: #000080;
  font-size: 17px;
  line-height: 1.05;
  text-decoration: underline;
  cursor: pointer;
}

.retro-nav a:hover {
  background: #dbe7ee;
  border-color: #ffffff #7b929a #7b929a #ffffff;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #aabdc3;
}

.retro-nav a:active {
  background: #c4d4dc;
  border-color: #7b929a #ffffff #ffffff #7b929a;
  box-shadow:
    inset 1px 1px 0 #7b929a,
    inset -1px -1px 0 #ffffff;
  transform: translate(1px, 1px);
}

.nav-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-image: url("/img/browse-ui-icons.png");
  background-repeat: no-repeat;
  background-size: auto 32px;
  image-rendering: pixelated;
}

.nav-home {
  background-position: -128px 0;
}

.nav-directory {
  background-position: -896px 0;
}

.nav-search {
  background-position: -160px 0;
}

.nav-clock {
  background-position: -1344px 0;
}

.nav-submit {
  background-position: -416px 0;
}

.retro-nav a:hover .nav-icon {
  filter: brightness(1.08);
}

.retro-nav a:active .nav-icon {
  transform: translate(1px, 1px);
  filter: brightness(.9);
}

/* =========================================================
   Quick Search
========================================================= */

.sidebar-rule {
  height: 2px;
  margin: 16px 18px 12px;
  background: #555555;
  border-bottom: 1px solid #ffffff;
}

.quick-search-box {
  width: calc(100% - 36px);
  margin: 0 18px;
  overflow: hidden;
  text-align: center;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #808080;
}

.quick-search-title {
  padding: 4px;
  background: linear-gradient(to bottom, #00877b, #005f57);
  border-bottom: 2px solid;
  border-color: #00b5a5 #003f3a #003f3a #00b5a5;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  line-height: 18px;
  text-shadow: 1px 1px 0 #003f3a;
}

.quick-search-form {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 5px;
  padding: 8px 7px 4px;
}

.quick-search-form input {
  width: 100%;
  min-width: 0;
  height: 22px;
  padding: 1px 3px;
  border: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.quick-search-form input:hover {
  background: #fffffb;
}

.quick-search-form input:focus {
  outline: 1px dotted #000000;
  outline-offset: -4px;
  background: #fffff4;
}

.quick-search-form button {
  width: 34px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.quick-search-form button:hover {
  background: #e2ded6;
}

.quick-search-form button:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c5c1ba;
  transform: translate(1px, 1px);
}

.quick-search-box a {
  display: inline-block;
  margin: 0 0 7px;
  color: #000080;
  font-size: 14px;
}

/* =========================================================
   Header Banner
========================================================= */

.profiles-banner {
  height: 93px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(to right, #ffffff 0%, #ffffff 47%, rgba(207, 220, 239, .70) 100%),
    repeating-linear-gradient(0deg,
      #fbfbfb 0,
      #fbfbfb 2px,
      #f0f0f0 2px,
      #f0f0f0 4px);
}

.banner-title-block {
  padding: 16px 0 0 28px;
}

.banner-title-block h1 {
  margin: 0;
  color: #00005d;
  font-size: 39px;
  font-weight: normal;
  letter-spacing: 7px;
  line-height: 43px;
}

.banner-title-block p {
  margin: 0 0 0 56px;
  color: #006d62;
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
}

.banner-globe {
  position: relative;
  width: 300px;
  height: 93px;
  opacity: .46;
  overflow: hidden;
}

.banner-globe::before {
  content: "";
  position: absolute;
  right: -65px;
  top: -38px;
  width: 285px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #789bc9;
  background:
    repeating-linear-gradient(to right,
      transparent 0,
      transparent 31px,
      #789bc9 33px,
      transparent 35px),
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 22px,
      #789bc9 24px,
      transparent 26px);
}

.banner-globe::after {
  content: "";
  position: absolute;
  right: 46px;
  top: 27px;
  width: 185px;
  height: 43px;
  background:
    radial-gradient(ellipse at 23% 44%, #315f9f 0 18%, transparent 19%),
    radial-gradient(ellipse at 51% 55%, #315f9f 0 25%, transparent 26%),
    radial-gradient(ellipse at 78% 45%, #315f9f 0 17%, transparent 18%);
  opacity: .48;
}

.banner-rule {
  height: 7px;
  background: #00006d;
  border-bottom: 2px solid #777777;
}

/* =========================================================
   Shared 3D Tables
========================================================= */

.record-info-table,
.info-table,
.directory-table,
.admin-table,
.home-info-table,
.home-directory-table {
  border-collapse: separate;
  border-spacing: 0;
  background: #ececec;
  border: 2px solid #3f3f3f;
  box-shadow:
    0 0 0 1px #ffffff,
    0 0 0 3px #8a8a8a,
    0 0 0 4px #2f2f2f,
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #7b7b7b;
}

.record-info-table th,
.info-table th,
.directory-table th,
.admin-table th,
.home-directory-table th {
  padding: 6px 10px;
  background: linear-gradient(to bottom, #00877b, #005f57);
  color: #ffffff;
  border-top: 1px solid #27c5bd;
  border-left: 1px solid #27c5bd;
  border-right: 1px solid #2b2b2b;
  border-bottom: 2px solid #2b2b2b;
  text-shadow: 1px 1px 0 #003f3a;
}

.record-info-table th,
.info-table th {
  text-align: center;
}

.record-info-table td,
.info-table td,
.directory-table td,
.admin-table td,
.home-info-table td,
.home-directory-table td {
  padding: 5px 10px;
  background: #f2f2f2;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #9a9a9a;
  border-bottom: 1px solid #9a9a9a;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .85),
    inset -1px -1px 0 rgba(0, 0, 0, .08);
}

.record-info-table tr td:first-child,
.info-table tr td:first-child,
.home-info-table tr td:first-child {
  color: #000080;
  font-weight: bold;
  background: #e6ebf4;
  border-right: 2px solid #8f8f8f;
}

.record-info-table tr:last-child td,
.info-table tr:last-child td,
.directory-table tr:last-child td,
.admin-table tr:last-child td,
.home-info-table tr:last-child td,
.home-directory-table tr:last-child td {
  border-bottom: none;
}

.record-info-table tr td:last-child,
.info-table tr td:last-child,
.directory-table tr td:last-child,
.admin-table tr td:last-child,
.home-info-table tr td:last-child,
.home-directory-table tr td:last-child {
  border-right: none;
}

.directory-table tbody tr:hover td,
.admin-table tbody tr:hover td,
.home-directory-table tbody tr:hover td {
  background: #e8f0ff;
}

/* =========================================================
   Home Page
========================================================= */

.home-page {
  height: calc(100% - 100px);
  max-width: 900px;
  padding: 12px 24px 0;
  overflow: hidden;
}

.home-welcome,
.home-panel {
  border: 3px solid #6f6f6f;
  background: #d4d0c8;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #8b8b8b,
    1px 1px 0 #ffffff,
    3px 3px 0 #6f6f6f;
}

.home-welcome {
  padding: 9px 12px;
  margin-bottom: 9px;
}

.home-welcome h2 {
  margin: 0 0 3px;
  color: #00005d;
  font-size: 24px;
  font-weight: normal;
}

.home-welcome p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.15;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 10px;
  margin-bottom: 9px;
}

.home-panel-title {
  padding: 5px 10px;
  background: linear-gradient(to bottom, #0000a0, #000078);
  color: #ffffff;
  border-top: 1px solid #3d3dff;
  border-left: 1px solid #3d3dff;
  border-right: 1px solid #2a2a2a;
  border-bottom: 2px solid #2a2a2a;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000044;
}

.home-info-table,
.home-directory-table {
  width: 100%;
  font-size: 13px;
}

.home-info-table td,
.home-directory-table td,
.home-directory-table th {
  padding: 3px 6px;
}

.home-info-table td:first-child {
  width: 150px;
}

.home-actions {
  display: grid;
  gap: 5px;
  padding: 8px;
  background: #ffffff;
}

.home-actions a {
  display: block;
  padding: 4px 6px;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
  color: #000080;
  font-size: 13px;
  text-decoration: underline;
}

.home-actions a:hover {
  background: #e2ded6;
  color: #800080;
}

.home-actions a:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c5c1ba;
  transform: translate(1px, 1px);
}

.recent-panel {
  margin-bottom: 9px;
}

.notice-panel p {
  margin: 0;
  padding: 8px 10px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.15;
}

/* =========================================================
   Profile Page
========================================================= */

.profile-record {
  max-width: 1260px;
  padding: 16px 28px 0;
  overflow: hidden;
}

.record-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.record-heading-row h2 {
  margin: 0 0 14px;
  color: #00008b;
  font-size: 46px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 4px;
}

.return-link {
  margin-top: 8px;
  color: #000080;
  font-size: 18px;
  text-decoration: underline;
}

.record-main-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
  width: 1200px;
}

.record-photo-column {
  text-align: center;
}

.record-photo-frame {
  width: 285px;
  height: 345px;
  padding: 8px;
  background: #d7d7d7;
  border: 2px solid #3f3f3f;
  box-shadow:
    0 0 0 1px #ffffff,
    0 0 0 3px #8a8a8a,
    0 0 0 4px #2f2f2f,
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #7b7b7b;
  cursor: default;
}

.record-photo-frame:hover,
.record-photo-frame:active {
  background: #d7d7d7;
  transform: none;
}

.profile-photo,
.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid #5d5d5d;
  background: #cfd5db;
  box-shadow:
    0 0 0 1px #cfcfcf,
    inset 1px 1px 0 rgba(255, 255, 255, .55);
}

.portrait-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#cfd5db, #aab3bd);
}

.portrait-placeholder .head {
  width: 92px;
  height: 102px;
  border-radius: 45%;
  background: #d4b18c;
  position: absolute;
  top: 34px;
  left: 86px;
}

.portrait-placeholder .head::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 5px;
  width: 82px;
  height: 30px;
  background: #2d241e;
  border-radius: 45% 45% 25% 25%;
}

.portrait-placeholder .body {
  position: absolute;
  bottom: -24px;
  left: 54px;
  width: 165px;
  height: 145px;
  background: #1d1d1d;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.portrait-placeholder .body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 62px;
  width: 40px;
  height: 98px;
  background: #eeeeee;
  clip-path: polygon(0 0, 100% 0, 69% 100%, 31% 100%);
}

.portrait-placeholder span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.larger-image-link {
  display: inline-block;
  margin-top: 10px;
  color: #0000aa;
  font-size: 17px;
  text-decoration: underline;
  cursor: pointer;
}

.record-details-column {
  padding-top: 8px;
}

.record-summary {
  width: 780px;
  margin: 0 0 16px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: .4px;
}

.record-info-table {
  width: 815px;
  font-size: 18px;
}

.record-info-table td:first-child {
  width: 245px;
}

.record-notes-box,
.notes-box {
  width: 1230px;
  margin: 22px 0 0;
  background: #d7d7d7;
  border: 2px solid #3f3f3f;
  box-shadow:
    0 0 0 1px #ffffff,
    0 0 0 3px #8a8a8a,
    0 0 0 4px #2f2f2f,
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #7b7b7b;
}

.record-notes-box h3,
.notes-box h3 {
  margin: 0;
  padding: 8px 18px;
  background: linear-gradient(to bottom, #0000a0, #000070);
  color: #ffffff;
  border-top: 1px solid #4c4cff;
  border-left: 1px solid #4c4cff;
  border-right: 1px solid #202020;
  border-bottom: 2px solid #202020;
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000040;
}

.record-notes-box ul,
.notes-box ul {
  margin: 0;
  padding: 15px 24px 15px 48px;
  background: #f8f8f8;
  border-top: 1px solid #ffffff;
  color: #111111;
  font-size: 18px;
  line-height: 1.3;
  list-style-type: square;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .85),
    inset -1px -1px 0 rgba(0, 0, 0, .08);
}

.record-notes-box li,
.notes-box li {
  margin-bottom: 4px;
}

.record-notes-box li::marker,
.notes-box li::marker {
  color: #00008b;
}

.empty-note {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
}

.memo-box {
  display: none;
}

/* =========================================================
   Directory / Search / Admin
========================================================= */

.directory-page,
.admin-page {
  height: 100%;
  padding: 18px 28px;
  overflow: auto;
}

.directory-table,
.admin-table {
  width: 100%;
  font-size: 14px;
}

.search-panel {
  display: flex;
  align-items: end;
  gap: 10px;
  width: 650px;
  margin: 10px 0 20px;
  padding: 12px;
  border: 3px solid #6f6f6f;
  background: #d4d0c8;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #8b8b8b,
    1px 1px 0 #ffffff,
    3px 3px 0 #6f6f6f;
  font-family: Arial, Helvetica, sans-serif;
}

.search-panel label {
  display: grid;
  gap: 4px;
  font-weight: bold;
}

.search-panel input {
  width: 400px;
  height: 26px;
  border: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
  background: #ffffff;
}

.search-panel input:hover {
  background: #fffffb;
}

.search-panel input:focus {
  outline: 1px dotted #000000;
  outline-offset: -4px;
  background: #fffff4;
}

.search-panel button {
  height: 26px;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
}

.search-panel button:hover {
  background: #e2ded6;
}

.search-panel button:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c5c1ba;
  transform: translate(1px, 1px);
}

.result-heading {
  color: #00005d;
  font-size: 22px;
}

/* =========================================================
   Footer / Status Bar
========================================================= */

.profile-footer {
  width: 930px;
  margin: 16px 0 0 280px;
  padding: 9px 0 8px;
  border-top: 1px solid #8e8e8e;
  text-align: center;
  font-size: 15px;
  color: #111111;
}

.profile-footer p {
  margin: 2px 0;
}

.browser-statusbar {
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3px;
  align-items: stretch;
  background: #d4d0c8;
  border-top: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
  padding: 2px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #000000;
  box-shadow:
    inset 1px 1px 0 #808080,
    inset -1px -1px 0 #ffffff;
}

.browser-statusbar>div {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
  box-shadow:
    inset 1px 1px 0 #9a9a9a,
    inset -1px -1px 0 #eeeeee;
  overflow: hidden;
  white-space: nowrap;
}

.browser-statusbar>div:last-child {
  position: relative;
}

.browser-statusbar>div:last-child::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  background:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 3px,
      #8a8a8a 3px,
      #8a8a8a 4px);
  opacity: .8;
}

.status-ie {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  display: inline-block;
  background-image: url("/img/address-bar-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.status-globe {
  width: 23px;
  height: 23px;
  margin-right: 10px;
  display: inline-block;
  background-image: url("/img/internet-status-bar.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

/* =========================================================
   Admin
========================================================= */

.admin-login {
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(#d7d7d7 1px, transparent 1px),
    #eef1f1;
  background-size: 5px 5px;
}

.admin-card {
  width: 430px;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #ffffff;
  border: 3px solid #6f6f6f;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #8b8b8b,
    1px 1px 0 #ffffff,
    3px 3px 0 #6f6f6f;
}

.admin-card h1 {
  margin: 0;
  color: #00005d;
}

.admin-card p {
  margin: 0 0 8px;
  color: #006d62;
  font-style: italic;
  font-weight: bold;
}

.admin-card label,
.profile-form label {
  display: grid;
  gap: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.admin-card input,
.profile-form input,
.profile-form textarea {
  border: 2px solid;
  border-color: #777777 #ffffff #ffffff #777777;
  padding: 6px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-card input:hover,
.profile-form input:hover,
.profile-form textarea:hover {
  background: #fffffb;
}

.admin-card input:focus,
.profile-form input:focus,
.profile-form textarea:focus {
  outline: 1px dotted #000000;
  outline-offset: -4px;
  background: #fffff4;
}

.admin-card button,
.profile-form button,
.admin-button {
  width: fit-content;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #777777 #777777 #ffffff;
  background: #d4d0c8;
  padding: 6px 12px;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.admin-card button:hover,
.profile-form button:hover,
.admin-button:hover {
  background: #e2ded6;
}

.admin-card button:active,
.profile-form button:active,
.admin-button:active {
  border-color: #777777 #ffffff #ffffff #777777;
  background: #c5c1ba;
  transform: translate(1px, 1px);
}

.admin-error {
  padding: 8px;
  background: #ffe2e2;
  border: 1px solid #8b0000;
  color: #8b0000;
  font-weight: bold;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 4px double #00005d;
}

.admin-header h1 {
  margin: 0;
  color: #00005d;
}

.inline-form {
  display: inline;
}

.inline-form button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000080;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}

.inline-form button:hover {
  color: #800080;
}

.profile-form {
  display: grid;
  gap: 16px;
  max-width: 1050px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.profile-form textarea {
  min-height: 110px;
}

/* =========================================================
   Height Safety
========================================================= */

@media (max-height: 780px) {
  .profile-record {
    padding-top: 10px;
  }

  .record-heading-row h2 {
    font-size: 38px;
    margin-bottom: 9px;
  }

  .record-photo-frame {
    width: 230px;
    height: 275px;
  }

  .record-main-grid {
    grid-template-columns: 250px 1fr;
  }

  .record-summary {
    width: 700px;
    font-size: 15px;
    line-height: 1.18;
    margin-bottom: 9px;
  }

  .record-info-table {
    width: 730px;
    font-size: 15px;
  }

  .record-info-table td {
    padding: 4px 8px;
  }

  .record-notes-box,
  .notes-box {
    width: 1050px;
    margin-top: 14px;
  }

  .record-notes-box h3,
  .notes-box h3 {
    padding: 5px 15px;
    font-size: 15px;
  }

  .record-notes-box ul,
  .notes-box ul {
    padding: 9px 20px 9px 40px;
    font-size: 14px;
    line-height: 1.18;
  }

  .profile-footer {
    margin-top: 10px;
    font-size: 12px;
  }
}

@media (max-height: 690px) {
  .browser-window {
    grid-template-rows: 28px 28px 50px 28px 1fr 24px;
  }

  .browser-titlebar {
    height: 28px;
    font-size: 15px;
  }

  .browser-menubar {
    height: 28px;
    font-size: 14px;
  }

  .browser-toolbar {
    height: 50px;
  }

  .toolbar-button {
    height: 45px;
  }

  .addressbar {
    height: 28px;
  }

  .browser-statusbar {
    height: 24px;
    font-size: 12px;
  }

  .profiles-banner {
    height: 78px;
  }

  .banner-title-block h1 {
    font-size: 32px;
    line-height: 35px;
  }

  .banner-title-block p {
    font-size: 13px;
  }

  .core-network-mark {
    height: 84px;
  }

  .retro-nav {
    gap: 8px;
    padding-top: 12px;
  }

  .quick-search-box a {
    display: none;
  }

  .profile-footer {
    display: none;
  }
}

/* =========================================================
   Scroll Fix
   Keeps fake browser fixed, lets website content scroll
========================================================= */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Keep IE chrome fixed */
.browser-window {
  height: 100vh;
  overflow: hidden;
}

/* Main app body stays inside browser */
.profiles-page {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar can scroll if needed */
.profiles-sidebar {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* This is the important one */
.profiles-content {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: auto;
  scrollbar-gutter: stable;
}

/* Stop content blocks clipping their own content */
.profile-record,
.home-page,
.directory-page,
.admin-page {
  height: auto;
  min-height: auto;
  max-height: none;
  overflow: visible;
  padding-bottom: 70px;
}

/* Admin/search/directory pages now scroll through .profiles-content */
.directory-page,
.admin-page {
  overflow: visible;
}

/* Home page should be allowed to grow */
.home-page {
  height: auto;
}

/* Give footer room at bottom */
.profile-footer {
  margin-bottom: 40px;
}

.directory-table {
  margin: 10px 0 20px;
}

.popup-title-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-right: 7px;
  display: inline-block;
  background-image: url("/img/address-bar-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}