.masthead-phone {
  margin: 14px 0 10px;
  color: #e00000;
  font: 700 30px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: .3em;
  text-shadow:
    1px 1px 0 #8a0000,
    2px 2px 1px rgba(0, 0, 0, .35);
  white-space: nowrap;
}

.masthead-phone a {
  color: inherit;
  text-decoration: none;
}

.theme-toggle {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 38px;
  min-height: 30px;
  border: 3px outset #ddd;
  background: #c0c0c0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.theme-toggle:active {
  border-style: inset;
}

.masthead h1.company-name {
  margin: 3px 0 16px;
  color: var(--yellow);
  font: bold italic 15px Arial, sans-serif;
  letter-spacing: .18em;
}

@media (max-width: 650px) {
  .masthead-phone {
    font-size: 26px;
    letter-spacing: .14em;
  }
}

/* shared by both themes: Arial and red-white-blue buttons like the logo */
body {
  font-family: Arial, Helvetica, sans-serif;
}

.pixel-nav a,
.cta,
.contact-links a {
  background: #e00022;
  color: #fff !important;
}

.pixel-nav a:nth-child(2),
.contact-links a:nth-child(2),
.cta-stack .cta:nth-child(2) {
  background: #fff;
  color: #016aab !important;
}

.pixel-nav a:nth-child(3),
.contact-links a:nth-child(3),
.cta-stack .cta:nth-child(3) {
  background: #016aab;
  color: #fff !important;
}

/* dark theme: blue text, light enough to read on black */
body[data-theme="dark"],
body[data-theme="dark"] .portal,
body[data-theme="dark"] .panel h2,
body[data-theme="dark"] .rates h2,
body[data-theme="dark"] .rates h3,
body[data-theme="dark"] .contact h2,
body[data-theme="dark"] .meter-box h3,
body[data-theme="dark"] .masthead h1,
body[data-theme="dark"] .company-name,
body[data-theme="dark"] .established,
body[data-theme="dark"] .surcharge,
body[data-theme="dark"] .web-address,
body[data-theme="dark"] footer,
body[data-theme="dark"] .panel a, body[data-theme="dark"] .rates a, body[data-theme="dark"] footer a, body[data-theme="dark"] .contact > p a {
  color: #4aa3e8;
}
