/* InterServe — scheme 3: slate and electric blue.
   Loaded after the theme stylesheet (see layouts/partials/custom_headers.html). */
:root {
  --is-slate: #2B3440;   /* dark: top bar, footer */
  --is-ink:   #222831;   /* body text, headings */
  --is-blue:  #2F5BEA;   /* accent: links, buttons, active menu */
  --is-blue-dark: #2449C4;
  --is-light: #F2F4F7;   /* light section background */
}

body { color: var(--is-ink); }
h1, h2, h3, h4, h5, h6 { color: var(--is-ink); }

a { color: var(--is-blue); }
a:hover, a:focus { color: var(--is-blue-dark); }

/* Top bar with phone / email / language */
#top { background: var(--is-slate); }
#top p, #top a { color: #fff; }
#top a:hover { color: #C9D6FF; }

/* Footer and copyright strip */
#footer { background: var(--is-slate); color: #D5DAE1; }
#footer h4, #footer strong { color: #fff; }
#footer a { color: #C9D6FF; }
#copyright { background: var(--is-ink); color: #AEB6C2; }

/* Header logo, sized for SVG.
   !important + extra specificity: the theme's own logo rules otherwise win. */
.navbar .navbar-brand,
.navbar .navbar-brand.home {
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.navbar .navbar-brand img,
.navbar .navbar-brand.home img {
  height: 64px !important;          /* tablet */
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
}
@media (min-width: 992px) {
  .navbar .navbar-brand img,
  .navbar .navbar-brand.home img {
    height: 88px !important;        /* desktop */
  }
  /* keep the menu items vertically centred next to the logo
     (logo 88px + 2 x 10px padding = 108px header; ~20px line height) */
  .navbar ul.nav > li > a { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 767px) {
  .navbar .navbar-brand img,
  .navbar .navbar-brand.home img {
    height: 44px !important;        /* phone */
  }
}

/* Buttons that link to the contact page (e.g. the homepage "Contact" box):
   solid blue with white text, readable on any background */
a.btn[href*="contact"] {
  background: var(--is-blue);
  border-color: var(--is-blue);
  color: #fff;
}
a.btn[href*="contact"]:hover,
a.btn[href*="contact"]:focus {
  background: var(--is-blue-dark);
  border-color: var(--is-blue-dark);
  color: #fff;
}

/* Homepage slider: circuit-board background instead of the theme's photo grid */
.home-carousel {
  background: #435166 url("../img/carousel/bg-circuit.svg") repeat !important;
}
.home-carousel .dark-mask {
  background: #435166 !important;
  opacity: 0.2 !important;
}

/* Page title band on content pages: solid slate, no pattern, white title */
#heading-breadcrumbs {
  background: var(--is-slate) !important;
  background-image: none !important;
  border-bottom: 3px solid var(--is-blue);
}
#heading-breadcrumbs h1,
#heading-breadcrumbs h2 {
  color: #fff !important;
}
#heading-breadcrumbs .breadcrumb,
#heading-breadcrumbs .breadcrumb > li,
#heading-breadcrumbs .breadcrumb > .active {
  color: #C3CAD4 !important;
  background: transparent !important;
}
#heading-breadcrumbs .breadcrumb a { color: #C9D6FF !important; }
