@charset "UTF-8";
/* ==========================================================================
   Granite Environmental, Inc. - portal theme (layout B / Bootstrap 5)
   Modeled on graniteenvironmentalinc.com (reviewed Oct 2026)
   Upload: /css_themes/CSS_graniteenvironmental.css   (images in /css_themes/graniteenvironmental/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Palette (site)
   lime     #8ac025   top bar (phone line), logo wordmark
   forest   #0f673b   menu underline, seal
   footer   #333 with #111 socket */
:root {
  --portal-primary: #0f673b;
  --portal-primary-hover: #0b4f2d;
  --portal-primary-soft: #eaf4e0;
  --portal-soft-bg: #f8f8f8;
  --portal-text: #333;
  --portal-text-2: #666;
  --portal-font: "Open Sans", Helvetica, Arial, sans-serif;
  --portal-radius: 3px;
  --portal-radius-sm: 3px;
}

h1, h2, h3, h4 { color: #0f673b; font-weight: 600; }

/* ---------- Buttons: 3px corners, uppercase bold, fade on hover (Enfold) ---------- */
.btn { font-weight: 700; text-transform: uppercase; font-size: .8125rem; letter-spacing: .03em; border-radius: 3px; transition: opacity .4s ease-in-out, background-color .4s, color .4s; }
.btn-sm { font-size: .75rem; }
.btn-primary {
  --bs-btn-bg: #0f673b; --bs-btn-border-color: #0f673b; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #0f673b; --bs-btn-hover-border-color: #0f673b; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #0b4f2d; --bs-btn-active-border-color: #0b4f2d; --bs-btn-active-color: #fff;
  box-shadow: none;
}
.btn-primary:hover, .btn-primary:focus-visible { opacity: .85; }
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #0f673b; --bs-btn-border-color: #8ac025;
  --bs-btn-hover-bg: #8ac025; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #8ac025;
  --bs-btn-active-bg: #77a71f; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #77a71f;
  border-width: 2px;
}

/* ---------- Logo ---------- */
.site-brand {
  width: 156px; height: 52px;
  background: url(/css_themes/graniteenvironmental/granite-logo.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: 129px; height: 43px; } }

/* ---------- Header: white under the lime bar; forest underline on the current item ---------- */
.site-header { background: #fff; border-top: 6px solid #8ac025; border-bottom: 1px solid #e1e1e1; }
.site-nav .nav-link { color: #808080; font-weight: 600; background: transparent; position: relative; transition: color .4s ease-in-out; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .15rem; height: 2px; background: #0f673b; opacity: 0; transition: opacity .4s; }
.site-nav .nav-link:hover { color: #333; background: transparent; }
.site-nav .nav-link:hover::after { opacity: .4; }
.site-nav .nav-link.active,
.site-nav .nav-item.active > .nav-link { color: #333; background: transparent; }
.site-nav .nav-link.active::after,
.site-nav .nav-item.active > .nav-link::after { opacity: 1; }

/* ---------- Hero: forest green ---------- */
.hero-b,
.page-hero { background: linear-gradient(135deg, #0b4f2d 0%, #0f673b 55%, #4f8f2c 100%); border-bottom: 4px solid #8ac025; }
.hero-title, .page-hero h1 { color: #fff; text-transform: uppercase; }
.hero-eyebrow { color: #fff; background: rgba(138, 192, 37, .3); border-color: #8ac025; }

/* ---------- Footer: charcoal with black socket ---------- */
.site-footer { background: #333; border-top: 0; color: #aaa; padding-bottom: 0; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #8ac025; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy {
  margin-top: 2rem; padding: 1rem 0; border-top: 0; color: #eee;
  background: #111; box-shadow: 0 0 0 100vmax #111; clip-path: inset(0 -100vmax);
}
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
