@charset "UTF-8";

:root {
  --bni-red: #cf2030;
  --bni-red-dark: #a81826;
  --bni-granite: #64666a;
  --bni-sterling: #c8c8c8;
  --surface: #ececee;
  --surface-strong: #ffffff;
  --ink: #333333;
  --container: min(1030px, calc(100% - 1rem));
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  padding: 0.8rem 0 1.25rem;
}

a {
  color: var(--bni-red);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--bni-red-dark);
  text-decoration: underline;
}

#skiplinks {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

#skiplinks a:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 0.5rem 0.75rem;
}

#content {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow-x: hidden;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1 a {
  color: inherit;
}

#toptext {
  order: 1;
  min-width: 0;
  display: block;
  height: 113px;
  background: #ececee url("resources/admin-hd-new.png") no-repeat center top;
  background-size: 100% 100%;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

#toptext .admin-brand-title {
  margin: 0;
  padding: 40px 195px 0 390px;
  font-family: Arial, Verdana, sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#toptext h2 {
  margin: 0;
  font: italic 700 12px Arial, Helvetica, sans-serif;
  color: #cf2030;
  padding: 8px 0 0 390px;
}

#navigation {
  order: 2;
  min-width: 0;
  margin-top: 0;
  width: 100%;
  background: #6a666a;
  border: 1px solid #5d5a5d;
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

#navigation ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: visible;
}

#navigation ul li {
  display: flex;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

#navigation ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  border-radius: 0;
  padding: 0.52rem 0.95rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.1;
  border: 0;
  transition: 0.2s ease;
  text-transform: none;
  white-space: nowrap;
}

#navigation ul li a:hover,
#navigation ul li a:focus-visible {
  border-color: transparent;
  background: #282f3d;
  color: #fff;
  text-decoration: none;
}

#navigation ul li.active a,
#navigation ul li .active,
#navigation ul li .lastactive {
  color: #fff;
  background: var(--bni-red);
  border-color: transparent;
}

#main {
  order: 3;
  min-width: 0;
  width: 100%;
  margin-top: 0;
  color: #2e3135;
}

#main .wrapper {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 0;
  background: var(--surface-strong);
  border: 1px solid #d1d1d1;
  box-shadow: var(--shadow);
}

#main h2 {
  margin: 0 0 0.7rem;
  color: var(--bni-red);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.2;
  font-weight: 700;
}

#main p {
  margin: 0 0 0.9rem;
  font-size: 0.97rem;
  color: #333;
}

#main p:last-child {
  margin-bottom: 0;
}

#main p .headingwhite {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

#main p .redtxt {
  color: var(--bni-red);
  font-size: 1.15rem;
  font-weight: 700;
}

#main p .floatleft {
  float: left;
  clear: left;
  margin: 0.3rem 1rem 0.4rem 0;
}

#largeimage {
  order: 4;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #b6b6b6;
  box-shadow: var(--shadow);
  background: #d1d1d1;
}

#largeimage > img {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#largeimage > img:first-child {
  display: block;
}

#imagestrip {
  order: 5;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
}

#imagestrip > a {
  display: block;
  width: min(760px, 100%);
  max-width: 100%;
}

#imagestrip .login-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 84px;
  padding: 0.7rem 0.9rem;
  border-radius: 0;
  border: 1px solid #b7b7b7;
  background: #f1f1f1;
  box-shadow: none;
  color: #333;
  text-decoration: none;
}

#imagestrip .login-cta:hover,
#imagestrip .login-cta:focus-visible {
  border-color: #8a8a8a;
  box-shadow: none;
  text-decoration: none;
}

#imagestrip .login-cta-logo {
  display: block;
  width: clamp(130px, 18vw, 210px);
  height: auto;
  flex: 0 0 auto;
}

#imagestrip .login-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

#imagestrip .login-cta-copy strong {
  color: #2f2f2f;
  font-size: 0.95rem;
  line-height: 1.25;
}

#imagestrip .login-cta-copy span {
  color: #666;
  font-size: 0.84rem;
  line-height: 1.35;
}

#imagestrip .login-cta-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0;
  background: #cf2030;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid #a81826;
}

#footer {
  order: 6;
  min-width: 0;
  margin-top: 0;
  font-size: 0.9rem;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0;
  background: #464959;
  border: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
}

#footer .copyright {
  margin: 0;
}

#footer .white {
  color: #fff;
  font-weight: 700;
}

#footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

#footer ul li a {
  color: #fff;
  overflow-wrap: anywhere;
}

#footer ul li a:hover,
#footer ul li a:focus-visible {
  color: var(--bni-red);
}

#footer .copyright a {
  color: #fff;
}

#download {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  padding: 1.2rem;
}

#download h2 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

#download h2 span,
#download .photolink a,
#download div.filebox .filedate strong {
  color: var(--bni-red);
}

#download div.filebox {
  margin-bottom: 0.8rem;
  min-height: 88px;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  background: #f6f6f6;
  padding: 0.5rem 0.7rem;
  position: relative;
}

#download div.filebox h2 {
  font-size: 1.02rem;
  position: absolute;
  left: 120px;
  top: 14px;
}

#download div.filebox .filedate {
  display: block;
  position: absolute;
  left: 120px;
  top: 38px;
  font-size: 0.82rem;
}

#download div.filebox .filesize {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 0.8rem;
}

#download div.filebox .preview {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 96px;
  height: 66px;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid #ddd;
}

#download div.filebox .preview img {
  display: block;
  width: 100%;
  height: auto;
}

#download div.filebox .zipfile a,
#download div.filebox .pdffile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  color: #1c1f23;
  line-height: 1;
  min-height: 2rem;
  padding: 0.45rem 0.85rem;
  position: absolute;
  bottom: 10px;
  right: 10px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
}

#download div.filebox .pdffile a {
  right: 160px;
}

#download div.filebox .zipfile a:hover,
#download div.filebox .pdffile a:hover {
  color: var(--bni-red);
  border-color: var(--bni-red);
  text-decoration: none;
}

#download form.searchform {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.9rem;
}

#searchResults {
  padding-top: 0.8rem;
}

#WebLoginLayer0 td {
  padding: 5px;
}

#WebLoginLayer0 a {
  color: #fff;
}

#download .managecontainer form,
#download .thumbscontainer {
  position: relative;
}

#download .photolink {
  position: absolute;
  top: 3.3em;
  left: 300px;
  font-weight: 700;
}

#translate {
  position: absolute;
  right: 10px;
  top: -100px;
}

@media (max-width: 980px) {
  body {
    padding-top: 0.8rem;
  }

  #toptext {
    height: auto;
    background-image: none;
    padding: 0.75rem 0.9rem;
  }

  #toptext .admin-brand-title {
    padding: 0;
    font-size: 1.15rem;
    line-height: 1.2;
    white-space: normal;
  }

  #toptext h2 {
    padding: 0.25rem 0 0;
  }

  #navigation ul li a {
    font-size: 0.82rem;
  }

  #navigation ul {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #imagestrip {
    justify-content: center;
  }

  #footer {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  #navigation {
    padding: 0;
  }

  #navigation ul {
    gap: 0;
  }

  #navigation ul li {
    flex: 1 1 50%;
  }

  #navigation ul li a {
    width: 100%;
    padding: 0.52rem 0.5rem;
    min-height: 2.2rem;
  }

  #imagestrip .login-cta {
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.75rem 0.8rem;
  }

  #imagestrip .login-cta-logo {
    width: 160px;
  }

  #imagestrip .login-cta-action {
    margin-left: auto;
  }

  #main .wrapper {
    padding: 1rem;
  }

  #main p {
    font-size: 0.96rem;
  }

  #download div.filebox {
    min-height: 132px;
    padding: 0.5rem;
  }

  #download div.filebox h2,
  #download div.filebox .filedate {
    left: 10px;
  }

  #download div.filebox h2 {
    top: 76px;
  }

  #download div.filebox .filedate {
    top: 97px;
  }

  #download div.filebox .preview {
    left: 10px;
    top: 8px;
  }

  #download div.filebox .pdffile a {
    right: 112px;
  }
}
