/* Legal pages use the existing MediAds palette and type. */
body.legal-page-body,
body.legal-page-body #Wrapper,
body.legal-page-body #Content {
  background: #fff !important;
}

/* Keep the homepage header intact while giving it its own section above each page title. */
body.legal-page-body #Header_wrapper {
  position: relative;
  height: 100px;
  background: #fff !important;
}

body.legal-page-body #Header {
  height: 100px;
  min-height: 100px;
  background: #fff !important;
}

body.legal-page-body #Top_bar {
  top: 0 !important;
}

body.legal-page-body.header-simple #Top_bar:not(.is-sticky) .top_bar_left {
  top: 0 !important;
}

#Content.legal-site-content {
  padding-top: 0 !important;
  background: #fff !important;
}

.legal-title {
  background: #fff;
  color: #111;
}

.legal-title-inner {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 30px 20px;
  text-align: center;
}

.legal-title h1 {
  color: #111;
  font: 700 38px/1.2 'Roboto', sans-serif;
  margin: 0 0 10px;
}

.legal-title p {
  color: #111;
  font: 400 16px/1.6 'Roboto', sans-serif;
  margin: 0 auto;
  max-width: 780px;
}

.legal-site-content {
  background: #fff;
}

.legal-content {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 30px 64px;
  color: #30343b;
  font: 400 16px/1.75 'Roboto', sans-serif;
}

#Content.legal-site-content .legal-content,
#Content.legal-site-content .legal-content p,
#Content.legal-site-content .legal-content li,
#Content.legal-site-content .legal-content .sec-sub,
#Content.legal-site-content .legal-content .note {
  color: #30343b;
}

.legal-content p { margin: 0 0 18px; }
.legal-content a { color: #087eb8; }
.legal-content strong { font-weight: 700; }
.legal-content h2,
.legal-content h2.sec {
  color: #001670;
  font: 700 25px/1.35 'Roboto', sans-serif;
  margin: 40px 0 12px;
  padding: 18px 0 0;
  border-top: 1px solid #d9e2ec;
}
#Content.legal-site-content .legal-content h2,
#Content.legal-site-content .legal-content h2.sec,
#Content.legal-site-content .legal-content h3 {
  color: #001670 !important;
}
.legal-content h2:first-child,
.legal-content .callout + h2 { margin-top: 32px; }
.legal-content h2[id] { scroll-margin-top: 110px; }
.legal-content h3 {
  color: #001670;
  font: 700 19px/1.4 'Roboto', sans-serif;
  margin: 22px 0 8px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 20px;
  padding-left: 26px;
  list-style: revert;
}
.legal-content li { margin-bottom: 7px; }
.legal-content .toc,
.legal-content .callout {
  background: #f2f6fa;
  border-left: 4px solid #1FA0E5;
  border-radius: 0 5px 5px 0;
  padding: 18px 22px;
  margin: 22px 0 28px;
}
.legal-content .toc h2 { border: 0; margin: 0 0 8px; padding: 0; font-size: 20px; }
.legal-content .toc ul { margin-bottom: 0; }
.legal-content .sec-sub,
.legal-content .note { color: #596674; font-size: 14px; }
.legal-content table {
  width: 100%;
  margin: 14px 0 10px;
  border-collapse: collapse;
  font-size: 14px;
}
.legal-content th,
.legal-content td { border: 1px solid #d9e2ec; padding: 11px 13px; text-align: left; vertical-align: top; }
.legal-content th { background: #001670; color: #fff; }
.legal-content tr:nth-child(even) td { background: #f2f6fa; }
#Content.legal-site-content .legal-content table tr:hover td {
  background: #f2f6fa;
  color: #30343b;
}
#Content.legal-site-content .legal-content table tr:hover td a {
  color: #087eb8;
}
.legal-content .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 20px; }
.legal-content .vcard { border: 1px solid #d9e2ec; border-radius: 5px; padding: 18px 20px; }
.legal-content .vcard h3 { margin-top: 0; }
.legal-content a.btn { display: inline-block; background: #001670; color: #fff; padding: 8px 14px; }
.legal-content .contact-card {
  position: relative;
  background: #2ca3e5;
  color: #fff;
  border: 1px solid rgba(31, 160, 229, .55);
  border-left: 5px solid #1FA0E5;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 22, 112, .14);
  padding: 26px 30px;
  margin: 22px 0;
}
.legal-content .contact-card h3 {
  color: #fff !important;
  font-size: 22px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.legal-content .contact-card p { line-height: 1.7; }
.legal-content .contact-card a { color: #bfe8ff; }
#Content.legal-site-content .legal-content .contact-card p,
#Content.legal-site-content .legal-content .contact-card .loc,
#Content.legal-site-content .legal-content .contact-card .loc b,
#Content.legal-site-content .legal-content .contact-card h3 {
  color: #fff !important;
}
.legal-content .contact-card .loc {
  display: block;
  margin-top: 12px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  line-height: 1.65;
}
.legal-content .contact-card .loc b {
  display: block;
  margin-bottom: 5px;
  color: #9fdcff !important;
  font-size: 16px;
}
.legal-content .contact-card.location-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 22px auto;
}
.legal-content .contact-card.location-card h3,
.legal-content .contact-card.location-card > p {
  grid-column: 1 / -1;
}
.legal-content .contact-card.location-card .loc {
  min-width: 0;
  margin-top: 0;
}
@media (max-width: 767px) {
  .legal-title-inner { padding: 28px 20px 16px; }
  .legal-title h1 { font-size: 30px; }
  .legal-content { padding: 20px 20px 44px; }
  .legal-content .cards { grid-template-columns: 1fr; }
  .legal-content .contact-card { padding: 22px 20px; }
  .legal-content .contact-card.location-card { grid-template-columns: 1fr; }
  .legal-content .contact-card.location-card h3,
  .legal-content .contact-card.location-card > p { grid-column: 1; }
  .legal-content table { display: block; overflow-x: auto; white-space: nowrap; }
}
