@charset "UTF-8";
/* ==========================================================================
   eHAZWOPER - portal theme (layout B / Bootstrap 5)
   Modeled on ehazwoper.com (reviewed Oct 2026)
   Upload: /css_themes/CSS_ehazwoper.css   (images in /css_themes/ehazwoper/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Palette (site)
   green    #a0ce4d -> #8ab933   "SIGN UP" (uppercase Montserrat, 3px corners)
   dark     #222                  navbar, contact band
   grey     #f7f7f7               alternate sections, #333 text */
:root {
  --portal-primary: #6f9a22;
  --portal-primary-hover: #5c8119;
  --portal-primary-soft: #f1f8e6;
  --portal-soft-bg: #f7f7f7;
  --portal-text: #333;
  --portal-text-2: #666;
  --portal-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --portal-heading-font: "Montserrat", "Helvetica Neue", sans-serif;
  --portal-radius: 3px;
  --portal-radius-sm: 3px;
}

h1, h2, h3, h4 { color: #333; font-weight: 700; }
.cat-header h2 { text-transform: uppercase; }

/* ---------- Buttons: green, uppercase Montserrat ---------- */
.btn { font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; border-radius: 3px; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary {
  --bs-btn-bg: #a0ce4d; --bs-btn-border-color: #a0ce4d; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #8ab933; --bs-btn-hover-border-color: #8ab933; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #789f2b; --bs-btn-active-border-color: #789f2b; --bs-btn-active-color: #fff;
  box-shadow: none;
}
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #222; --bs-btn-border-color: #222;
  --bs-btn-hover-bg: #222; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #222;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #000;
  border-width: 2px;
}

/* ---------- Logo (white "e" + green HAZWOPER) ---------- */
.site-brand {
  width: 215px; height: 24px;
  background: url(/css_themes/ehazwoper/logo-800.png) 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: 170px; height: 19px; } }

/* ---------- Header: dark navbar, uppercase Montserrat links ---------- */
.site-header { background: #222; border-bottom: 3px solid #a0ce4d; }
.site-menu-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.site-menu-btn:hover { background: rgba(255, 255, 255, .12); }
@media (min-width: 992px) {
  .site-nav .nav-link { color: #fff; font-family: "Montserrat", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; }
  .site-nav .nav-link:hover { color: #a0ce4d; background: transparent; }
  .site-nav .nav-link.active,
  .site-nav .nav-item.active > .nav-link { color: #222; background: #a0ce4d; }
  .site-actions .btn-ghost {
    --bs-btn-color: #fff; --bs-btn-bg: rgba(0, 0, 0, .2); --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .2); --bs-btn-hover-border-color: #fff;
  }
}

/* ---------- Hero: the site's job-site photo under a dark veil ---------- */
.hero-b,
.page-hero { background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), #222 url(/css_themes/ehazwoper/hero.jpg) center / cover no-repeat; }
.hero-title, .page-hero h1 { color: #fff; font-family: "Montserrat", sans-serif; text-transform: uppercase; }
.hero-eyebrow { color: #222; background: #a0ce4d; border-color: #a0ce4d; }

/* ---------- Footer: dark band ---------- */
.site-footer { background: #222; border-top: 0; color: rgba(255, 255, 255, .7); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #a0ce4d; }
.site-footer-name, .site-footer-heading { color: #fff; font-family: "Montserrat", sans-serif; }
.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; }
