@charset "UTF-8";
/* ==========================================================================
   eCourses365 - portal theme (layout B / Bootstrap 5)
   Modeled on ecourses365.com (reviewed Oct 2026)
   Upload: /css_themes/CSS_ecourses365.css   (images in /css_themes/ecourses365/)
   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;800&family=Raleway:wght@700;800&display=swap');

/* Palette (site)
   cyan     #08b4da   "Sign Up!" button (square, 2px border), "365" in the logo
   black    rgba(0,0,0,.85) navbar over the photo hero
   footer   #2b2b2b / #242424 sub-footer
   grey     #7a7a7a body text, #fafafa alternate sections */
:root {
  --portal-primary: #0796b6;
  --portal-primary-hover: #067d98;
  --portal-primary-soft: #e3f6fa;
  --portal-soft-bg: #fafafa;
  --portal-text: #333;
  --portal-text-2: #7a7a7a;
  --portal-font: "Open Sans", Raleway, sans-serif;
  --portal-heading-font: "Raleway", sans-serif;
  --portal-radius: 0;
  --portal-radius-sm: 0;
}

h1, h2, h3, h4 { color: #333; font-weight: 700; }

/* ---------- Buttons: square cyan with 2px border; hover inverts to outline ---------- */
.btn { font-weight: 700; border-radius: 0; border-width: 2px; transition: all .3s ease-in-out; }
.btn-primary {
  --bs-btn-bg: #08b4da; --bs-btn-border-color: #08b4da; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #08b4da; --bs-btn-hover-color: #0796b6;
  --bs-btn-active-bg: #e3f6fa; --bs-btn-active-border-color: #08b4da; --bs-btn-active-color: #0796b6;
  box-shadow: none;
}
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #333; --bs-btn-border-color: #333;
  --bs-btn-hover-bg: #333; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #333;
  --bs-btn-active-bg: #1a1a1a; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #1a1a1a;
}

/* ---------- Logo (white "eCourses" + cyan "365", so the header is dark) ---------- */
.site-brand {
  width: 260px; height: 34px;
  background: url(/css_themes/ecourses365/eCourse365-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: 190px; height: 25px; } }

/* ---------- Header: the site's dark navbar ---------- */
.site-header { background: #1a1a1a; border-bottom: 3px solid #08b4da; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.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: rgba(255, 255, 255, .85); transition: color .1s ease-in-out, background-color .1s ease-in-out; }
  .site-nav .nav-link:hover { color: #fff; background: transparent; }
  .site-nav .nav-link.active,
  .site-nav .nav-item.active > .nav-link { color: #fff; background: #080808; }
  .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;
  }
}

/* ---------- Hero: dark photo-style band ---------- */
.hero-b,
.page-hero { background: linear-gradient(180deg, #262626 0%, #121212 100%); border-bottom: 3px solid #08b4da; }
.hero-title, .page-hero h1 { color: #fff; font-family: "Raleway", sans-serif; font-weight: 800; }
.hero-eyebrow { color: #fff; background: rgba(8, 180, 218, .25); border-color: #08b4da; }

/* ---------- Footer: two-tone charcoal ---------- */
.site-footer { background: #2b2b2b; border-top: 0; color: #9a9a9a; padding-bottom: 0; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #08b4da; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy {
  margin-top: 2rem; padding: 1rem 0; border-top: 0; color: #adadad;
  background: #242424; box-shadow: 0 0 0 100vmax #242424; clip-path: inset(0 -100vmax);
}
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
