@charset "UTF-8";
/* ==========================================================================
   Safety Solution of Tidewater - portal theme (layout B / Bootstrap 5)
   Modeled on safetysts.com
   Upload: /css_themes/CSS_safetysts.css   (images in /css_themes/safetysts/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&family=Old+Standard+TT:wght@400;700&display=swap');

/* Palette (site): near-black #1b1b1b, mauve links #827182, photo hero */
:root {
  --portal-primary: #6f5f6f;
  --portal-primary-hover: #4b454b;
  --portal-primary-soft: #f3f0f3;
  --portal-font: "Old Standard TT", Georgia, serif;
  --portal-heading-font: "Karla", sans-serif;
  --portal-text: #1b1b1b;
  --portal-radius-sm: 48px;
}

body { font-size: 1.0625rem; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .06em; color: #1b1b1b; }
.btn { font-family: var(--portal-heading-font); font-weight: 700; border-width: 2px; transition: all .3s ease-in-out; }
.btn-primary {
  --bs-btn-bg: #1b1b1b; --bs-btn-color: #fff; --bs-btn-border-color: #000;
  --bs-btn-hover-bg: transparent; --bs-btn-hover-color: #1b1b1b; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: transparent; --bs-btn-active-color: #1b1b1b; --bs-btn-active-border-color: #000; box-shadow: none;
}
.course-cta .btn-ghost {
  --bs-btn-bg: transparent; --bs-btn-color: #1b1b1b; --bs-btn-border-color: #1b1b1b;
  --bs-btn-hover-bg: #1b1b1b; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #1b1b1b;
  --bs-btn-active-bg: #1b1b1b; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #1b1b1b;
}

/* ---------- Brand: portal name set in the site's display font (no logo file) ---------- */
.site-brand-text { font-family: "Karla", sans-serif; color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; }
/* long names: keep the menu button on the same line (truncate with an ellipsis) */
.site-brand { min-width: 0; max-width: calc(100% - 4rem); margin-right: 1rem; }
.site-brand-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) { .site-brand-text { font-size: 1.05rem; } }

/* ---------- Header: dark bar ---------- */
.site-header { background: #1b1b1b; border-top: 0; border-bottom: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.site-menu-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.site-menu-btn:hover { background: rgba(255, 255, 255, .12); }
.site-header .site-brand-text { color: #fff; }
@media (min-width: 992px) {   /* phones: menu opens in the white slide-out panel */
  .site-nav .nav-link { color: rgba(255, 255, 255, .85); }
  .site-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
  .site-nav .nav-link.active, .site-nav .nav-item.active > .nav-link { color: #fff; background: rgba(255, 255, 255, .18); }
  .site-actions .btn-ghost {
    --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .6);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .12); --bs-btn-active-border-color: #fff;
  }
}
@media (min-width: 992px) { .site-actions .btn-primary { --bs-btn-bg: #fff; --bs-btn-color: #1b1b1b; --bs-btn-border-color: #fff; --bs-btn-hover-bg: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; } }

/* ---------- Hero bands (catalog + content pages) ---------- */
.hero-b, .page-hero { background: linear-gradient(rgba(22, 22, 22, .6), rgba(22, 22, 22, .6)), #161616 url(/css_themes/safetysts/background.jpg) center / cover no-repeat; }
.hero-title, .page-hero h1 { letter-spacing: .06em; }

/* ---------- Footer: dark ---------- */
.site-footer { background: #1b1b1b; border-top: 0; color: rgba(255, 255, 255, .72); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy { color: rgba(255, 255, 255, .72); border-top-color: rgba(255, 255, 255, .15); }
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
