#logoContainer {
  background-color: #4f3674;
}


#logoContainer img {
  width: 200px;
}

#field_0 > button {
  display: none;
}

input[type="radio"] {
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
}

input[type="checkbox"] {
  width: 24px;
  height: 24px;
}

.d-contents { display: contents; }
.form-group { margin-bottom: 1rem; }

/* Monitoring Hub colors; preserve the original IRB header and carousel layout. */
#logoContainer {
  margin-left: 0;
  margin-right: 0;
}

#logoContainer {
  background-color: #fff;
}

#logoContainer img { filter: none; }

#logoContainer .h3 {
  color: #563d82 !important;
}

body > footer.bg-dark {
  margin: 0;
  padding: 1.5rem 0 0 !important;
  border-top: 6px solid #ffc107;
  background-color: #563d82 !important;
  color: #fff;
}

body > footer > .container {
  width: 100%;
  max-width: 1512px;
  padding: 0 1.5rem;
  text-align: left !important;
}

body > footer h5,
body > footer .h4 {
  color: #fff !important;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body > footer a,
body > footer .text-muted,
body > footer .text-info {
  color: #fff !important;
}

body > footer a {
  text-decoration: none;
  text-underline-offset: 0.2em;
}

body > footer a:hover,
body > footer a:focus-visible {
  color: #fff !important;
  text-decoration: underline;
}

body > footer a:focus-visible {
  outline: 2px solid #ffc107;
  outline-offset: 3px;
}

body > footer li {
  margin-bottom: 0.65rem;
}

body > footer #recentPostsDiv .list-group-item {
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
  background-color: rgba(255, 255, 255, 0.10) !important;
  transition: background-color 150ms ease;
  color: #fff;
}

body > footer #recentPostsDiv h5 {
  font-size: 1rem;
  line-height: 1.5;
}

body > footer .footer-copyright {
  max-width: 1464px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem !important;
  border-top: 0;
  font-size: 0.875rem;
}

@media (max-width: 575.98px) {
body > footer > .container {
    padding: 0 1rem;
  }
}
/* Shared Bellevue purple banner, copied into this application's assets. */
.irb-brand-banner {
  height: 100px;
  background: #563d82 url('../images/2024-zoom-bkgs.png') center / 100% 100% no-repeat;
}

/* Use the hub's centered 1512px page and original full-color branding. */
html { background-color: #fff; }

body.bg-white {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  background-color: #fff !important;
  box-shadow: 10px 20px 25px #80808078;
}

#logoContainer {
  min-height: 100px;
  padding: 24px 12px !important;
  align-items: center;
}

#logoContainer > .col:first-child {
  padding: 0;
  text-align: left;
}

#logoContainer img {
  width: 279px;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
  filter: none;
}

#logoContainer > .col:last-child {
  margin-top: 0 !important;
  padding-right: 12px !important;
}

#logoContainer .h3 { margin-bottom: 0; }
@media (max-width: 991.98px) {
  #mainNav {
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }

  #mainNav .navbar-brand {
    margin-left: 1rem;
  }
}
@media (max-width: 575.98px) {
  #mainNav .navbar-brand {
    max-width: calc(100% - 80px);
    margin-right: 0;
    white-space: normal;
    font-size: 1rem;
  }
}
/* Keep the login controls within the same white surface as the masthead. */
body > footer #recentPostsDiv .list-group-item:hover,
body > footer #recentPostsDiv .list-group-item:focus-visible {
  background-color: rgba(255, 255, 255, 0.20) !important;
  text-decoration: none;
}

body > footer hr {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body > footer #recentPostsDiv .list-group-item {
    transition: none;
  }
}
body > footer .footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left !important;
}

.staff-access-form { margin: 0; }

body > footer .staff-access {
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: #eee8f5;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

body > footer .staff-access:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body > footer .staff-access:focus-visible {
  outline: 2px solid #ffc107;
  outline-offset: 4px;
}

#staffLoginTitle { color: #563d82; }

#staffLoginModal .staff-login-submit {
  background-color: #563d82;
  border-color: #563d82;
  color: #fff;
}

#staffLoginModal .staff-login-submit:hover {
  background-color: #432c67;
  border-color: #432c67;
}

#staffLoginModal .form-control:focus,
#staffLoginModal .staff-login-submit:focus-visible {
  border-color: #563d82;
  box-shadow: 0 0 0 0.2rem rgba(86, 61, 130, 0.2);
}
.irb-required-label::after {
  content: " *";
  color: #ab162b;
  font-weight: 700;
}
.irb-quiz-result {
  max-height: 50vh;
  overflow-y: auto;
}
/* Keep the homepage player prominent and responsive at its native 16:9 ratio. */
#tab1 .irb-home-video {
  overflow: hidden;
  border-radius: 0.5rem;
  background: #000;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

#kaltura_irb_home { border: 0; }
