/* Control panel branding, loaded by the Control Panel CSS plugin (config/cp-css.php). */

/* Sign in, reset password and set password screens */
body.login {
  background: #000054;
}
body.login main::before {
  content: "Learning Objects Repository";
  display: block;
  padding-top: 72px;
  margin-bottom: 24px;
  background: url(rmit-university-library-logo.png) top center / 240px auto no-repeat;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
/* The system name top left repeats the heading and is dark on the blue */
body.login > header {
  display: none;
}
body.login .login-passkey-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
body.login .login-passkey-btn:hover,
body.login .login-passkey-btn:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}
body.login #poweredby {
  display: none;
}

/* RMIT mark in place of Craft's default site icon */
#site-icon {
  background: url(rmit-mark.png) center / contain no-repeat;
}
#site-icon > * {
  visibility: hidden;
}

/* Keep the repository name compact in the native sidebar header. */
#global-sidebar {
  --header-height: 3.25rem;
}
#global-sidebar #system-info {
  padding-block: 0.375rem;
}
#global-sidebar #system-name .h2 {
  font-size: 0.875rem;
  line-height: 1.3;
}

/* Optional editor sections: presentation-only accordion headers. */
#content-container .lor-relationship-disclosure {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Craft applies important margins to every direct field-layout child. */
  margin-block: 0 8px !important;
  margin-inline: 24px !important;
  width: calc(100% - 48px);
  padding: 14px 12px;
  border: 0;
  border-bottom: 1px solid #d6dee7;
  border-radius: 0;
  background: transparent;
  color: #263746;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
#content-container .lor-relationship-disclosure::before {
  content: "";
  position: static;
  inset: auto;
  background: transparent;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
#content-container .lor-relationship-disclosure[aria-expanded="true"]::before {
  transform: rotate(45deg);
}
#content-container .lor-relationship-disclosure:hover {
  background: #f4f7fa;
  color: #000054;
}
#content-container .lor-relationship-disclosure:focus-visible {
  outline: 2px solid #000054;
  outline-offset: 3px;
}
