  /*
  * Adelaide AU University: WorkRamp theme
  * Captured 2026-11-20 from the WorkRamp (Learn:Up) Theme Editor.
  * Academy ID: 91f4eeb0-eb59-11ed-a8e5-06cf503dca07
  *
  * Section 1 is the Theme Editor settings expressed as CSS custom properties.
  * WorkRamp does not read these variables; they are a reference copy.
  * Section 2 is the academy's Custom CSS Rules, tidied. It behaves the same
  * as the rules saved in WorkRamp and can be pasted back into Custom Code.
  *
  * Image assets (filenames only, set in the Theme Editor):
  *   Header logo:                   au-university_abbdfd.png
  *   Favicon:                       512_5897de.png
  *   Header background:             au-header_df953b.png (not darkened)
  *   Registration logo:             au-university-purple-sm_b19974.png
  *   Registration background:       au-header_df953b_e640d0.png
  */

  /* 1. Theme Editor settings */

  

  :root {
    /* Palette */
    
    
    
    
    
    
    

    /* Body */
     /* Google Web Font */

    /* Banner (currently disabled) */
    
    

    /* Header */
    
    
    
    
    
    
    
    

    /* Footer */
    
    

    /* Registration and login pages */
    
    

    /* Content overview pages */
    
    
  }

  /* 2. Custom CSS Rules (Theming > Theme Editor > Custom Code) */

  html {
    font-size: 16px;
    font-weight: 300 !important;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
  }

  /* Hide the Trainings (all trainings) tab and the Forgot password link */
  li > a.AL_Custom_TabBarTab[href="/trainings"],
  a.link-blue-new[href="/forgot_password"] {
    display: none;
  }

  /*
  * 3. Certificate (drafted 2026-11-24)
  *
  * Paste after the rules above in Custom CSS Rules. These rules are not
  * scoped: they apply to every certificate in the academy, whatever its
  * background image. Every certification, and the academy default in
  * Settings > Certifications, should use the new background (au-cert-v2.png),
  * or its certificate gets this layout over the wrong image.
  *
  * Selectors use the certificate classes WorkRamp documents at
  * https://help.workramp.com/en/articles/6645543-adding-css-javascript-to-your-academy
  * The exceptions are .Label inside .CertEarnedOn, .ContentType inside
  * .CertHasCompletedText and the background <img>, which have no documented
  * class, and .CertBlurb, which the certificate script creates.
  *
  * Assumes the background image is cert-mock.png exported at 1800 x 1248
  * with the learner name, the ribbon, the description and the date value
  * turned off. The description and the date format come from the certificate
  * script in workramp-theme-settings.md. Positions are px on the 900 x 624 certificate.
  */

  /* Hide the stock elements the new layout does not use */
  .CertBodyWrapper .TopBlueBar,
  .CertBodyWrapper .CertCertifiedText,
  .CertBodyWrapper .CertAwardedByName,
  .CertBodyWrapper .CertAwardedByTitle,
  .CertBodyWrapper .CertEarnedOn .Label,
  .CertBodyWrapper .CertHasCompletedText .ContentType,
  .CertBodyWrapper .CertLogo {
    display: none;
  }

  /* Background fills the whole sheet instead of sitting under the 24px bar */
  .CertBodyWrapper {
    height: 624px;
    background: none;
  }

  .CertBodyWrapper > img:not(.CertLogo) {
    top: 0;
    height: 100%;
  }

  .CertBodyWrapper .CertContentWrapper {
    /* WorkRamp strips `inset` on save, so the box is set with top/left/width/height */
    position: absolute;
    top: 0;
    left: 0;
    width: 900px;
    height: 624px;
    margin: 0;
    padding: 0;
  }

  .CertBodyWrapper .CertLearnerName,
  .CertBodyWrapper .CertHasCompletedText,
  .CertBodyWrapper .CertEarnedOn {
    position: absolute;
    margin: 0;
    white-space: nowrap;
  }

  .CertBodyWrapper .CertLearnerName {
    top: 249px;
    left: 0;
    right: 0;
    font-size: 60px;
    line-height: 1;
  }

  /*
  * Ribbon: the certification title, drawn in CSS so it grows with the title.
  * font-size 0 hides "Passed the requirements for the"; the title <span>
  * restores its own size. The diamonds are the ::before and ::after.
  */
  .CertBodyWrapper .CertHasCompletedText {
    top: 338px;
    left: 0;
    width: 900px;
    font-size: 0;
    line-height: 0;
    text-align: center;
  }

  .CertBodyWrapper .CertHasCompletedText > span {
    display: inline-block;
    vertical-align: middle;
    padding: 1px 26px 0 28px;
    background: #4c123e;
    color: #fff;
    font-size: 10px;
    line-height: 0px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  }

  .CertBodyWrapper .CertHasCompletedText::before,
  .CertBodyWrapper .CertHasCompletedText::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: #4c123e;
    transform: rotate(45deg);
  }

  /* Description under the ribbon. The element is added by the certificate script. */
  .CertBodyWrapper .CertBlurb {
    position: absolute;
    top: 380px;
    left: 180px;
    width: 540px;
    text-align: center;
    font-size: 10.5px;
    line-height: 16.5px;
  }

  /* Date value, centered over the baked-in rule and DATE label */
  .CertBodyWrapper .CertEarnedOn {
    top: 518px;
    left: 194px;
    width: 120px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
  }
