@charset "UTF-8";
/* ==========================================================================
   Chemical Safety Training (CST) - portal theme (layout B / Bootstrap 5)
   chemicalsafetytraining.com returns an error page (Oct 2026); colors and logo
   carried over from the legacy theme (red #e33827, black italic CST mark).
   Upload: /css_themes/CSS_cst.css   (images in /css_themes/cst/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
  --portal-primary: #e33827;
  --portal-primary-hover: #c22a1b;
  --portal-primary-soft: #fdeceb;
  --portal-text: #111;
  --portal-text-2: #4a4a4a;
  --portal-font: "Roboto", Arial, sans-serif;
  --portal-radius: 4px;
  --portal-radius-sm: 3px;
}

h1, h2, h3, h4 { color: #111; font-weight: 900; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary {
  --bs-btn-bg: #e33827; --bs-btn-border-color: #e33827; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #111; --bs-btn-hover-border-color: #111; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; --bs-btn-active-color: #fff;
}
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #111; --bs-btn-border-color: #111;
  --bs-btn-hover-bg: #111; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #111;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #000;
}

/* ---------- Logo (white-background artwork) ---------- */
.site-brand {
  width: 112px; height: 52px;
  background: url(/css_themes/cst/cst-logo.jpg) left center / contain no-repeat;
}
.site-brand img { display: none; }
.site-brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575.98px) { .site-brand { width: 95px; height: 44px; } }

/* ---------- Header ---------- */
.site-header { background: #fff; border-top: 5px solid #e33827; border-bottom: 1px solid #e6e6e6; }
.site-nav .nav-link { color: #111; font-weight: 700; }
.site-nav .nav-link:hover { color: #e33827; background: transparent; }
.site-nav .nav-link.active,
.site-nav .nav-item.active > .nav-link { color: #fff; background: #e33827; border-radius: 0; }

/* ---------- Hero: black with red rule ---------- */
.hero-b,
.page-hero { background: #141414; border-bottom: 4px solid #e33827; }
.hero-title, .page-hero h1 { color: #fff; font-weight: 900; }
.hero-eyebrow { color: #fff; background: #e33827; border-color: #e33827; }

/* ---------- Footer ---------- */
.site-footer { background: #141414; border-top: 0; color: rgba(255, 255, 255, .7); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ff6b5c; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy { color: rgba(255, 255, 255, .55); border-top-color: rgba(255, 255, 255, .12); }
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
