@charset "UTF-8";
/* DriverDoc 2026 refresh: loaded after css/styles.css on every page. Keeps the original
   layout and markup; modernises type, colour, buttons and boxes, and makes it work on phones.
   Remove the <link> to this file to get the old look back. */

:root {
  --dd-navy: #0d2440;
  --dd-navy-2: #16365c;
  --dd-blue: #1f6fbf;
  --dd-blue-dark: #155a9e;
  --dd-green: #2fa84f;
  --dd-green-dark: #238a3f;
  --dd-ink: #1f2933;
  --dd-muted: #5b6875;
  --dd-line: #dde3ea;
  --dd-panel: #f4f7fa;
}

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--dd-ink);
  background: #fff;
}
p, li.normal, li.number, li.side { font-size: 15px; line-height: 1.6; }
a { color: var(--dd-blue); }
a:hover { color: var(--dd-blue-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1 { font-size: 26px; line-height: 1.25; font-weight: 700; }
h2 { color: var(--dd-navy); font-size: 20px; line-height: 1.3; font-weight: 600; border-color: var(--dd-line); padding-bottom: 6px; }
h3 { color: var(--dd-navy); font-weight: 600; }
h4 { color: var(--dd-navy); }
hr { border: 0; border-top: 1px solid var(--dd-line); margin: 6px 0 10px; }

/* Header: white bar, clean logo left, menus right. Works whether or not the page wraps
   language/nav/subnav in #navigation (the homepages don't). */
#header { background: #fff; height: auto; border-bottom: 1px solid var(--dd-line); box-shadow: 0 1px 8px rgba(13,36,64,.06); margin-bottom: 18px; }
#header .container {
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav lang" "logo sub sub";
  column-gap: 28px; row-gap: 2px; align-items: center; padding: 12px 0;
}
#header br, #header .container > br { display: none; }
#navigation { display: contents; }
#logo { grid-area: logo; float: none; padding: 0; }
#logo a { display: block; width: 110px; height: 70px; background: url(/images/logo-2026.png) center / contain no-repeat; }
#logo img { visibility: hidden; width: 110px; height: 70px; }
#language { grid-area: lang; height: auto; text-align: right; }
#lang-select { margin: 0 !important; border: 1px solid var(--dd-line); border-radius: 8px; background: #fff; color: var(--dd-ink); padding: 6px 10px; font-size: 14px; }
#nav { grid-area: nav; height: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 16px; font-weight: 600; }
#nav a, #nav a:hover { color: var(--dd-navy); padding: 8px 12px; border-radius: 8px; }
#nav a:hover, #nav a:focus { background: #eef3f8; text-decoration: none; }
#subnav { grid-area: sub; display: flex; flex-wrap: wrap; gap: 2px; font-size: 14px; }
#subnav a, #subnav a:hover { color: var(--dd-muted); font-size: 14px; padding: 4px 12px; border-radius: 6px; }
#subnav a:hover { background: #eef3f8; color: var(--dd-navy); text-decoration: none; }
.badge, .badge_pd, a[href*="mcafeesecure"], img[src*="scanalert"] { display: none !important; } /* McAfee Secure / ScanAlert seal no longer exists */

/* Panels */
#homepage-right, #left-layout, #left-drivernews, #left-layout-center {
  background: var(--dd-panel); border: 1px solid var(--dd-line); border-radius: 10px;
}
.footer-testimonial { border-radius: 10px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.footer-testimonial img { border-radius: 50%; border-color: rgba(255,255,255,.25); }
li.side { border-top-color: #fff; border-bottom-color: var(--dd-line); }
li.side a:hover { background: #e6edf4; text-decoration: none; }

/* Buttons: CSS instead of the old button images */
.btn-download-home, .btn-download-home:hover,
.btn-download-small, .btn-download-small:hover,
.btn-download-red, .btn-download-red:hover,
.btn-kb, .btn-kb:hover, .btn-contact, .btn-contact:hover {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  padding: 0 20px; border-radius: 10px; background-image: none; text-align: center;
  box-shadow: 0 2px 6px rgba(13,36,64,.18); transition: filter .15s, transform .15s;
}
.btn-download-home, .btn-download-home:hover { width: 293px; height: 64px; background: var(--dd-green); }
.btn-download-small, .btn-download-small:hover { width: 222px; height: 52px; background: var(--dd-green); margin-top: 8px; }
.btn-download-red, .btn-download-red:hover { width: 115px; height: 32px; background: #d83a34; border-radius: 6px; padding: 0 10px; }
.btn-kb, .btn-kb:hover, .btn-contact, .btn-contact:hover { width: 270px; height: 64px; background: var(--dd-blue); margin: 6px 12px 6px 0; }
.btn-download-home:hover, .btn-download-small:hover, .btn-download-red:hover, .btn-kb:hover, .btn-contact:hover { filter: brightness(1.08); transform: translateY(-1px); }
p.btn-download-home-big, p.btn-download-small-big, p.btn-download-red-big, p.btn-kb-big, p.btn-contact-big {
  line-height: 1.2; color: #fff; text-shadow: none; font-weight: 700; margin: 0;
}
p.btn-download-home-big { font-size: 24px; }
p.btn-download-small-big { font-size: 18px; }
p.btn-download-red-big { font-size: 13px; }
p.btn-kb-big, p.btn-contact-big { font-size: 19px; }
a:hover .btn-download-home, a:hover .btn-download-small, a:hover .btn-kb, a:hover .btn-contact { text-decoration: none; }

/* Footer: solid dark band instead of the image */
#footer { background: var(--dd-navy); height: auto; padding: 28px 0 0; }
#footer .container { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
#footer .container > br { display: none; }
.footer-testimonial { float: none; height: auto; flex: 1 1 280px; margin: 0; padding: 16px 18px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; }
p.testimonial { flex-basis: 100%; padding-bottom: 12px; }
p.testimonial-author { float: none; padding: 0 0 0 12px; }
.footer-testimonial img { float: none; width: 44px; height: 44px; object-fit: cover; }
.footer-links { float: none; height: auto; width: auto; flex: 0 1 262px; }
.footer-cta { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 14px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.footer-cta img { width: 64px; height: auto; }
.footer-cta span { background: var(--dd-green); color: #fff; font-weight: 700; font-size: 16px; padding: 10px 14px; border-radius: 8px; }
.footer-cta:hover { text-decoration: none; }
.footer-cta:hover span { background: var(--dd-green-dark); }
.footer { color: #9fb0c2; flex-basis: 100%; }
#bluefooter { flex-basis: 100%; }
#bluefooter { background: #08182b; margin: 18px 0 0; padding: 12px 0; overflow: hidden; box-shadow: 0 0 0 100vmax #08182b; clip-path: inset(0 -100vmax); }
p.footer-left, p.footer-right a { color: #cfd9e4; }
p.footer-right a { text-decoration: none; }
p.footer-right a:hover { color: #fff; text-decoration: underline; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 960px) {
  .container { width: auto; padding: 0 16px; }
  #header .container { grid-template-columns: auto 1fr; grid-template-areas: "logo lang" "nav nav" "sub sub"; padding: 10px 16px; }
  #logo a, #logo img { width: 86px; height: 55px; }
  #nav { margin-top: 8px; }
  #nav a, #nav a:hover { padding: 8px 10px; }
  #subnav a, #subnav a:hover { padding: 4px 10px; }

  /* every fixed-width column stacks */
  .introleft, .introright, #homepage-left, #homepage-right, .homeicon, .hometextbox, .hometextbox h2,
  #left-layout, #left-blank, #left-drivernews, #left-layout-center, #right-layout,
  .screenshots, .screenshots-right, .sitemapbox, .sitemapboxlarge, .contactinfo, .contactform,
  .footer-testimonial, .footer-links, .articleimage, .articleicon {
    float: none; width: auto; height: auto; box-sizing: border-box;
  }
  .introleft { background: var(--dd-navy-2); padding: 24px 20px; border-radius: 0 0 10px 10px; }
  .introright { background: var(--dd-navy); margin-top: 8px; border-radius: 10px; overflow: hidden; }
  #bluefeature1, #bluefeature2, #bluefeature3, #bluefeature4 { float: none; width: auto; height: auto; border-top: 1px solid rgba(255,255,255,.1); }
  #bluefeature1 a:hover, #bluefeature2 a:hover, #bluefeature3 a:hover, #bluefeature4 a:hover { background: rgba(255,255,255,.08); width: auto; height: auto; }
  p.featuretext { padding: 14px 16px; }
  .homeicon { display: none; }
  .hometextbox { padding: 0 0 18px; }
  #homepage-right, #left-layout, #left-drivernews, #left-layout-center { margin: 12px 0; }
  #right-layout { padding: 12px 0 0; }
  .btn-download-home, .btn-download-home:hover, .btn-download-small, .btn-download-small:hover,
  .btn-kb, .btn-kb:hover, .btn-contact, .btn-contact:hover { float: none; width: 100%; max-width: 360px; }
  .footer-testimonial, .footer-links { flex-basis: 100%; }
  #bluefooter { margin: 18px 0 0; padding: 12px 0; }
  p.footer-left, p.footer-right { float: none; }
  p.footer-right a { display: inline-block; padding: 4px 10px 4px 0; }
  table { max-width: 100%; }
}

/* Homepage compatibility box (replaced the 2009 "Latest Drivers" list) */
.dd-compat { text-align: center; }
.dd-compat h2 { text-align: left; }
.dd-compat-box { width: 110px; padding: 6px 0 0 !important; }
.dd-compat p { text-align: left; }
.dd-oslist { list-style: none; margin: 6px 0 4px; padding: 0; text-align: left; }
.dd-oslist li { font-size: 14px; line-height: 1.9; padding-left: 20px; position: relative; }
.dd-oslist li::before { content: "\2713"; position: absolute; left: 0; color: var(--dd-green); font-weight: 700; }
.dd-compat .btn-download-small { float: none; width: 100%; margin: 10px 0 0; }

/* ---------- Homepage hero (replaces the 2010 introbg.jpg / bluefeatures.jpg artwork) ---------- */
#header { margin-bottom: 0; }
.introleft, .introright { box-sizing: border-box; height: 372px; }
.introleft {
  position: relative; width: 666px; padding: 24px 28px 24px 350px;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 20% 30%, #23558c 0, rgba(35,85,140,0) 60%), linear-gradient(135deg, #0b1f38 0%, #16365c 100%);
  border-radius: 14px 0 0 14px;
}
.introleft::before {
  content: ""; position: absolute; left: 26px; top: 50%; transform: translateY(-50%);
  width: 306px; height: 215px; border-radius: 8px;
  background: url(/images/hero-app-2026b.jpg) center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}
.introleft h1 { font-size: 25px; line-height: 1.25; }
.introleft p { color: #d5e1ee; font-size: 14px; line-height: 1.5; padding: 8px 0 16px; }
.introleft .btn-download-home, .introleft .btn-download-home:hover { width: 100%; height: 54px; }
.introleft p.btn-download-home-big { font-size: 22px; padding: 0; color: #fff; }
.introright {
  width: 264px; overflow: hidden; border-radius: 0 14px 14px 0;
  background: linear-gradient(180deg, #1f6fbf 0%, #17599c 100%);
}
#bluefeature1, #bluefeature2, #bluefeature3, #bluefeature4 { float: none; width: auto; height: 93px; border-bottom: 1px solid rgba(255,255,255,.14); }
#bluefeature4 { border-bottom: 0; }
#bluefeature1 a, #bluefeature2 a, #bluefeature3 a, #bluefeature4 a,
#bluefeature1 a:hover, #bluefeature2 a:hover, #bluefeature3 a:hover, #bluefeature4 a:hover {
  display: flex; align-items: center; width: auto; height: 100%; background-image: none; text-decoration: none;
}
#bluefeature1 a:hover, #bluefeature2 a:hover, #bluefeature3 a:hover, #bluefeature4 a:hover { background-color: rgba(255,255,255,.08); }
p.featuretext { position: relative; padding: 0 16px 0 52px; font-size: 15px; line-height: 1.4; font-weight: 500; color: #fff; }
p.featuretext::before {
  content: "\2713"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18);
  font-size: 13px; line-height: 22px; text-align: center; font-weight: 700;
}
#homepage-left { padding-top: 26px; }
#homepage-right { margin-top: 26px; }

@media (max-width: 960px) {
  .introleft, .introright { height: auto; width: auto; float: none; }
  .introleft { padding: 22px 20px 24px; border-radius: 14px 14px 0 0; }
  .introleft::before { position: static; display: block; transform: none; width: 100%; max-width: 360px; height: auto; aspect-ratio: 660 / 466; margin: 0 auto 18px; }
  .introright { margin-top: 0; border-radius: 0 0 14px 14px; }
  #bluefeature1, #bluefeature2, #bluefeature3, #bluefeature4 { height: auto; }
  #bluefeature1 a, #bluefeature2 a, #bluefeature3 a, #bluefeature4 a { padding: 14px 0; }
  #homepage-right { margin-top: 12px; }
}

/* Long URLs used as link text (e.g. the FAQ chipset links) must wrap on phones */
#right-layout a, li.normal a, p.textbox2 a { overflow-wrap: anywhere; }

/* ---------- Call-to-action buttons: centred in their column, text centred in the button ---------- */
a > .btn-download-home, a > .btn-download-small, a > .btn-download-red, a > .btn-kb, a > .btn-contact { margin-left: auto; margin-right: auto; }
.btn-download-home, .btn-download-home:hover, .btn-download-small, .btn-download-small:hover,
.btn-download-red, .btn-download-red:hover, .btn-kb, .btn-kb:hover, .btn-contact, .btn-contact:hover {
  float: none; padding: 0 16px; text-align: center;
}
p.btn-download-home-big, p.btn-download-small-big, p.btn-download-red-big, p.btn-kb-big, p.btn-contact-big,
p.btn-download-home-small, p.btn-download-small-small { width: 100%; text-align: center; padding: 0; line-height: 1.2; }
.btn-download-small, .btn-download-small:hover { width: 100%; max-width: 240px; margin-top: 10px; margin-bottom: 4px; }
#left-layout-center { text-align: center; }
#left-layout-center > a { display: block; }
#left-layout-center img { display: block; margin: 0 auto; }
.btn-kb, .btn-kb:hover, .btn-contact, .btn-contact:hover { width: 300px; max-width: 100%; margin-top: 12px; margin-bottom: 12px; }
#right-layout > a { display: block; }
.dd-compat .btn-download-small { max-width: none; }
.footer-cta { justify-content: center; }

/* Screenshots page (2026 images): crisp 2x thumbnails with a frame */
.screenshots img { width: 300px; height: auto; border-radius: 6px; box-shadow: 0 4px 14px rgba(13,36,64,.18); padding: 0 !important; display: block; }
.screenshots a:hover img { box-shadow: 0 6px 20px rgba(13,36,64,.28); }
.screenshots, .screenshots-right { padding-top: 22px; }
@media (max-width: 960px) { .screenshots img { width: 100%; } .screenshots-right { padding: 10px 0 18px; } }
