/* Keep the training centre at a normal root size.
   styles.css scales the whole document for the corporate pages. */
html {
    font-size: 16px;
}

body.training-site {
    --preview-offset: 0px;
    margin: 0;
    padding-top: 0;
    font-family: "29lt-bukra-regular", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background: #fff;
    overflow-x: visible;
}

/* Do not set height here. The training stylesheet sizes the menu logo,
   banner logos, and hero image; a blanket height: auto was stretching them. */
body.training-site .header_mobile img,
body.training-site .offcanvas img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}

/* Match the corporate header and footer, which are authored against the scaled root.
   site.css loads later and restyles .footer, so these rules stay more specific. */
body.training-site .training-v4-chrome {
    font-family: "29ltbukra", ui-sans-serif, system-ui, sans-serif;
}

body.training-site .training-v4-chrome a {
    text-decoration: none;
}

body.training-site .drawer__link {
    color: #fff;
}

body.training-site .drawer__link:hover,
body.training-site .drawer__sublink:hover {
    color: #fab416;
}
body.training-site .drawer__sublink {
    color: #fff;
}

body.training-site .training-v4-chrome footer.footer {
    height: auto;
    margin-top: 96px;
    background: #0b3d2e;
    color: #fff;
    border-top: 0;
    padding: 64px 0 34px;
}

body.training-site .training-v4-chrome .pill-header.is-stuck {
    top: 0;
}

body.training-site .v4-help {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px 0 16px;
    border-radius: 999px;
    background: #0b3d2e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 36px rgb(2 60 64 / 0.32);
}

body.training-site .v4-help svg {
    color: #fab416;
}

html[dir="rtl"] body.training-site .v4-help {
    right: auto;
    left: 18px;
}

/* styles.css clears every button and forces every image onto its own line.
   Those resets stay on the corporate header and footer. Training content
   keeps a normal button and the images the training stylesheet already sizes.
   :where() stays weaker than Bootstrap and the training classes. */
:where(body.training-site) button {
    border: revert;
    background: revert;
    color: revert;
}

body.training-site .training-v4-chrome button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

:where(body.training-site) img {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

body.training-site .training-v4-chrome img {
    display: block;
    max-width: 100%;
}
