@charset "UTF-8";

/*
Global CSS
Don't use in production. Use /dist/ version.

Notes:
rem unit means relative to "The root element's font-size"
em unit means relative to "my parent element's font-size"
*/

/* ==================================================
   main.css — Desktop-first Refactor (variables, DRY)
   - Desktop styles as base (grouped)
   - Mobile overrides (max-width:768px) at bottom
   - Extra-small (max-width:355px) after mobile
   - Print styles last
   ================================================== */

/* =========================
   VARIABLES & FONTS
   ========================= */
:root {
  /* Colors */
  --blue-main: #005FCC;
  --blue-hover: #0068E0;
  --blue-active: #004699;
  --blue-link: #003D8C;
  --green-main: #53A656;
  --red-main: #E65A50;
  --yellow-plate: #FFD307;
  --bg-light: #F0F0F0;
  --grey-very-light: #F7F7F7;
  --grey-light: #EBEBEB;
  --grey-mid: #777;
  --grey-dark: #444;
  --black: #000;
  --white: #FFF;

  /* Fonts */
  --font-main: "Noto Sans", "Trebuchet MS", Geneva, sans-serif;
  --font-mono: "Noto Sans Mono", monospace;
  --font-plate: "UK Number Plate";

  /* Sizes & misc */
  --base-font: 16px;
  --radius: 3px;
  --max-width: 1500px;
  --form-line-height: 50px;
  --form-line-heightb: 40px;
}

/* Font-face (condensed) */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/sys/fonts/noto-sans-v38-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/sys/fonts/noto-sans-v38-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Mono';
  font-weight: 400;
  font-display: swap;
  src: url('/sys/fonts/noto-sans-mono-v30-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Mono';
  font-weight: 700;
  font-display: swap;
  src: url('/sys/fonts/noto-sans-mono-v30-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'UK Number Plate';
  font-weight: 400;
  font-display: swap;
  src: url('/sys/fonts/uknumberplate-latin.woff2') format('woff2');
}

/* =========================
   RESET & BASE ELEMENTS
   ========================= */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-font);
  line-height: 1.6;
  overflow-y: scroll; /* consistent scrollbar to avoid layout shift */
}

body {
  background-color: var(--white);
  color: #111;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  flex-shrink: 0;
}

svg { margin: 0;  padding: 0; }

p { margin: 14px 0; }

input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
}

/* Links */
a {
  color: var(--blue-link);
  text-decoration: none;
  text-decoration-skip-ink: auto; /* Specifies how overlines and underlines are drawn when pass over glyph ascenders and descenders */
}
a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
a:active { background-color: #E4E4E6; text-decoration: underline; }

/* Utility hidden (honeypot) */
.hp { display: none !important; }



/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: var(--black);
}
h1 { font-size: 1.5rem; margin: 30px 0; }
h2, h3, h4, h5, h6 { font-size: 1.5rem; margin: 60px 0 20px; }

.h2b { margin: 40px 0 20px; }


/* Abbreviations */
abbr { font-weight: 700; }

/* Paragraph utilities */
.results p { padding: 12px 0; margin: 0; border-bottom: 1px solid #ddd; vertical-align: middle; overflow-wrap: break-word; font-size: 0.9375rem; }
.results p span { display: inline-block; width: 280px; font-weight: bold; }

.results span.notes { 
	display: inline-block;
	width: auto;
	font-style: normal;
	font-weight: normal;
	color: var(--grey-mid);
	font-size: 0.9375rem;
	margin-left: 10px;
}

.know-line p {
	margin-top: 10px;
	border-bottom: none;
}


/* =========================
   LAYOUT CONTAINERS
   ========================= */
.mainbod {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 10px;
  margin: 40px auto 0;
}

header {
  width: 100%;
  line-height: normal;
  background: var(--white);
}
header p {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
}
header span { font-size: 11px; letter-spacing: 3.4px; word-spacing: 2px; text-transform: uppercase; margin: 0 auto; }
header img { border-bottom: 1px dashed var(--black); }

/* Splash */
.head-splash, .head-splash-mb {
  background-color: var(--bg-light);
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
  width: 100%;
  height: 70px;
  opacity: 0.94;
  filter: grayscale(50%);
  border-bottom: 1px dashed #FFF;
}
.head-splash { background-image: url('/sys/media/vinreport_splash.webp'); }
.head-splash-mb { background-image: url('/sys/media/motorbike_vin_splash.webp'); }

.splash-text {
  font-size: 1.275rem;
  font-weight: 700;
  color: #002B33;
  margin: 0 0 30px 0;
  font-family: var(--font-mono);
  letter-spacing: -0.3px;
  word-spacing: -1px;
}

.know-box img { margin-top: 40px; }

.version {
 font-size: 0.875rem;
 margin-top: 60px;
}




/* =========================
   SEARCH / VIN CARD & FORMS
   ========================= */
.vin-card { 
    position: relative; /* contains the close icon */
	display: block;
	width: 100%;
	margin: 35px 0 30px 0;
}


.vin-card form {
  display: flex;
  margin: 5px 0 0;
  align-items: center;
  padding: 8px;
  background: var(--grey-light);
}

/* VIN input */
.vin-card input[type=text] {
 width: 100%;
  max-width: 620px;
  border: 2px solid var(--blue-main);
  padding: 0;
  padding-right: 40px; /* ensures text never hits the X */
  line-height: var(--form-line-height);
  margin: 0 3px 0 0;
  text-indent: 14px;
  font-family: var(--font-mono);
  color: #222;
  font-weight: 700;
  border-radius: 2px 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 11px;
}

.vin-card input::placeholder { 
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	padding: 0;
}

/* WebKit placeholder tweak */
input::-webkit-input-placeholder { 
	font-size: 1rem;
	opacity: 1;
    line-height: 40px; /* match input line-height */
}

/* Submit */
.vin-card input[type=submit] {
  width: auto;
  background: var(--blue-main);
  color: var(--white);
  border: none;
  outline: none;
  line-height: 53px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.vin-card input[type=submit]:hover,
.vin-card input[type=submit]:active { background-color: var(--blue-hover); }
.vin-card input[type=submit]:focus { outline: auto 3px Highlight; outline: auto 3px -webkit-focus-ring-color; }


/* Labels & counter */
.vin-card label { display:block; margin:8px 0; font-size:0.9375rem; font-weight:700; color:var(--grey-dark); }

#countA { 
	display:block;
	font-size:14px;
	color:var(--black);
	font-weight:bold;
	background-color:var(--grey-light);
	padding:2px 0 6px 0;
	margin:0;
	width:70px;
	text-align:center;
}

#countB { 
	width: 70px;
	font-size:14px;
	color:var(--black);
	font-weight:bold;
	background-color: var(--grey-light);
	padding:2px 0 6px 0;
	margin:0;
	text-align:center;
}




/* Count states */
.count-valid { color: #008F00 !important; }
.count-invalid { color: #C41D1D !important; }
.count-neutral { color: var(--grey-dark) !important; }

/* Back to top */
.backtotop { 
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:24px;
	height:30px;
	color: #888;
	text-decoration:none;
}

.backtotop:hover { color:#222; }

/* Wait spinner */
#wico { 
	display: none;
	vertical-align: middle;
	margin-left: 15px;
	width: 25px;
	height: 25px;
}

/* Reset button X */
.close-icon {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  outline: 0;
  cursor: pointer;
}

/* create the X visually */
.close-icon:after {
  content: "\2715";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #888;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.close-icon:hover:after {
  color: #000;
}

/* hide the X if the input is not valid (no text in box) */
.search-box:not(:valid) ~ .close-icon {
  display: none;
}





/* =========================
   TABS & CONTROLS
   ========================= */
.vr-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin:10px 0;
}
.vr-tabs a {
  flex: 1 1 140px;
  max-width:200px;
  min-width: 120px;
  font-size:0.875rem;
  padding:0.5625rem 0;
  margin:0;
  text-align:center;
  color:#053D99;
  background:var(--white);
  outline:1px solid var(--grey-mid);
  cursor:pointer;
  border-radius:2px;
  user-select:none;
  touch-action: manipulation;
}

#on {
	background: #F7F7F7;
}

.vr-tabs a:hover { background-color: #F2F2F2; text-decoration-line: underline; text-decoration-style: dotted; text-decoration-thickness: 2px; text-decoration-color: #444; }
.vr-tabs a:active { background-color: #E6E6E6 !important; }
a.vr-tab-hr { font-weight:700; color:#043380; }
a.vr-tab-hr:hover { background-color:#F2F7FF; }


/* =========================
   NAVIGATION
   ========================= */

.az-index {
 margin: 30px 0 -10px 0;
}

.az-index a {
 display: inline-block;
 padding: 4px 10px;
 background: #E6E6E6;
 margin: 5px 2px;
}







/* =========================
   RESULT CARDS & COMPONENTS
   ========================= */
.result-card {
  display:block;
  border:1px solid #bbb;
  padding:11px 11px 0;
  margin:30px 0 50px;
  border-radius:3px;
}
.rv-container { display:flex; }
.rv-container span { display:flex; justify-content:center; align-items:center; height:auto; }


.vin-line {
  position: relative;
  background-color: #444;
  border-radius: 1px;
  outline: 1px solid #444;
  padding: 0.8em 1em 0.5em 1em;
  font-size: 14px;
   line-height: 0;
  color: #FFF;
  letter-spacing: 3px;
  vertical-align: bottom;
  height: 50px;
}

.vin-line::before {
    content: attr(data-helper);
    position: absolute;
    top: 8px;
    left: 13px;
    font-size: 9px;
    letter-spacing: 0px;
    padding: 0;
    color: #ddd;
}


.reg-line {
  position: relative;
  background-color: var(--yellow-plate);
  border-radius: 3px;
  outline: 1px solid #888;
  padding: 0;
  margin-right: 11px;
  line-height: 0;
   height: 50px;
}

.mot-reg-img {
    height: auto;      /* maintain aspect ratio */
}

.reg-line::before {
    content: attr(data-helper);
    position: absolute;
    top: 8px;
    left: 13px;
    font-size: 9px;
    padding: 0;
    color: #222;
}




/* Manufacturer line */
.manu-line { font-size: 13px; }

/* Summary headings & badges */
.pass-sum-head, .fail-sum-head, .other-sum-head {
  padding-left: 6px;
  margin: 1px 0;
  font-size: 0.9375rem;
  user-select: none;
}
.pass-sum-head { padding:5px 0 5px 6px; color:var(--white); background:var(--green-main); }
.fail-sum-head { padding:5px 0 5px 6px; color:var(--white); background:var(--red-main); }
.other-sum-head { padding:8px 0 8px 6px; color:var(--black); background: #C4C4C4; }
.nomt { padding:6px 0 6px 6px !important; color:var(--black); background:#ddd; margin:3px 0 !important; }

/* Defect section */
.defect-section {
  border:2px dashed #A52A2A;
  padding:5px 11px 8px;
  margin-bottom:5px;
  font-family: var(--font-mono);
}
.defect-section:last-of-type { margin-bottom:20px; }
.defect-section p { border:none; margin:0; padding:8px 0; }
.defect-section p b { font-size:13px; }

/* Result labels */
.result-lable { display:table; font-size:1.125rem; margin:20px 0; color:var(--black); }
.result-lable-b { font-size:1.3125rem; }

/* CV images/links */
.cvsslnk img { max-width:100%; height:auto; padding:10px; border:1px solid #BDDEFF; }
.cvsslnk img:hover { border:1px solid var(--blue-main); }


/* External links icon */
.external::after {
    content: "\2197"; /* Unicode escape for Northeast Arrow */
    display: inline-block;   /* Breaks the underline here */
    font-size: 1em;
   font-weight: 400;
    margin-left: 2px;
    vertical-align: top;
    color: #444;
}

/* HR utilities */
hr { margin: 3rem 0; border: 0; border-top: 1px solid #ddd; }
.hrB { margin: 60px 0 0; border-top: 2px solid #888; }
.hrc { margin: 40px 0 -20px 0; border: 0; border-top: 1px solid #ddd; }


.cv-red { color: #990000; }

p.pass span {
	color: #000;
	background: var(--green-main);
	padding-left: 5px;
}

p.pass {
	color: #FFF;
	background: var(--green-main); 
	font-weight: 700;
	padding: 6px 0 6px 0;
	margin-bottom: 3px;
}

p.fail span {
	color: #000;
	background: var(--red-main); 
	padding-left: 5px;
}


p.fail {
	color: #FFF;
	background: var(--red-main); 
	font-weight: 700;
	padding: 6px 0 6px 0;
	margin-bottom: 3px;
}



p.first-mot {
	background: #E4F3F7;
	padding: 6px 0 6px 5px;
	margin-bottom: 3px;
	border-bottom: none;
}

p.taxed span {
	color: #000;
	background: var(--green-main); 
	margin-left: 5px;
}

p.taxed {
	color: #FFF;
	background: var(--green-main); 
	font-weight: 700;
	padding: 6px 0 6px 0;
	margin-bottom: 3px;
	border-bottom: none;
}


p.untaxed span {
	color: #000;
	background: var(--red-main); 
	margin-left: 5px;
}

p.untaxed {
	color: #FFF;
	background: var(--red-main); 
	font-weight: 700;
	padding: 6px 0 6px 0;
	margin-bottom: 3px;
	border-bottom: none;
}


.ds_logo p {
	border: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}


.ds_logo img {
	margin: 40px 0;
	max-width: 100%; /* Ensures image doesn't overflow */
    height: auto;
}

.cvpic-block {
	margin: 30px 0 -20px 0;
}

.reg-plate {
	margin: 30px 0 30px 0;
}




/* =========================
   GRAPHS (simple bars)
   ========================= */
.mot-bar-container { 
	margin: 5px 0 20px 0;
	max-width: 500px;
}

.mot-bar { 
	display:flex;
	height: 22px;
	width:100%;
	overflow:hidden;
	margin-bottom: 5px;

}
.pass-bar { display:inline-block; background-color: var(--green-main); height:100%; }
.fail-bar { display:inline-block; background-color: #F45347; height:100%; }
.mot-bar-labels { display:flex; justify-content:space-between; font-size:14px; }
.pass-label { color: #008000; }
.fail-label { color: #B82F2F; }

.end-block {
	border-bottom: none !important;
}

/* Average age graph */
.age-bar-container {
	width: 100%;
	max-width: 500px;
}

.age-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 22px;
  background: #E6E6E6;
  margin: 0;
  border: 1px solid #ddd;
}

.age-markers {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 26px;
  transform: translate(-50%, -50%);
}

.v-age { background: #1a73e8; }  /* blue */
.v-avg   { background: #e67e22; width: 15px; }  /* orange */


.age-legend {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 20px;
  margin-top: 12px;
  font-size: 13px;
}

.age-legend span {
  position: absolute;
  transform: translateX(-50%);
  bottom: 0;
}

/* percentage-based positions */
.age-legend .pos-0   { left: 0%;   transform: translateX(0); }
.age-legend .pos-25  { left: 25%; }
.age-legend .pos-50  { left: 50%; }
.age-legend .pos-75  { left: 75%; }
.age-legend .pos-100 { left: 100%; transform: translateX(-100%); }

/* line marks */
.age-legend span::after {
  content: "";
  display: block;
  width: 1px;
  height: 8px;
  background: #ddd;   /* mark color */
  margin: 1px auto; 	/* spacing between number and tick */
}

.ledg-age { /* blue */
	color: #1765CC; 
	font-weight: 400 !important;
}  

.ledg-avg { /* orange */
	color: #CC701E;
	font-weight: 400 !important;
}
/* */






/* =========================
   AD / CV BOX
   ========================= */
.cvadbox {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 900px;
  background: var(--grey-light);
  padding: 8px;
  margin-bottom: 0;
  position: relative;  /* anchor point for the car */
  overflow: visible;   /* allow spilling */
}


.cvadbox > div:first-child {
  flex: 1 1 auto;   /* can grow and shrink naturally with content */
  min-width: 0;     /* prevents overflow when shrinking */
}

.cvadbox > div:last-child {
  flex: 0 1 auto;   /* won't grow, but will shrink when needed */
  min-width: 0;     /* allows proper shrinking */
}


.cvad-car {
  position: absolute;
  bottom: -20px;   /* spill below grey box */
  right: -20px;    /* spill outside to the right */
  z-index: 1;
  max-width: 220px;
  height: auto;
  filter: grayscale(98%) brightness(95%);
}

.cvadbox input[type=text] {
 width: 100%;
  max-width: 460px;
  border: 2px solid var(--blue-main);
  padding: 0;
  line-height: var(--form-line-height);
  margin: 0 3px 0 0;
  text-indent: 14px;
  font-family: var(--font-mono);
  color: #222;
  font-weight: 700;
  border-radius: 2px 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 11px;
}

.cvadbox button[type=submit] {
  width: auto;
  background: #D5D5D9;
  color: #000;
  border: 1px solid #444;
  outline: none;
  line-height: var(--form-line-height);
  padding: 0 18px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.cvadbox button[type=submit]:hover,
.cvadbox button[type=submit]:active { background-color: #E9E9ED; }
.cvadbox button[type=submit]:focus { outline: auto 3px Highlight; outline: auto 3px -webkit-focus-ring-color; }

.cvadbox input::placeholder { 
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	padding: 0;
}

.cvadbox label { 
	display: none;
}


#where-vin {
	display: table;
	margin-top: 30px;
}

.cvlogob {
	display: table;
}


/* =========================
   ICONS, small helpers
   ========================= */
.img-cvlogo { margin-top:20px; }
.img-manlogo { margin-bottom:20px; }
.img-big-flags { margin:30px 0; }
.img-vbike { width:520px; margin:50px 0; max-width:100%; }
.img-vcar { margin:40px 0 50px 0; opacity:0.8; }
.iso-flag { display: inline-block; vertical-align: middle; margin-left: 8px; }

/* Crumbs */
.crumbs { color: var(--grey-mid); font-size:14px; }
.crumbs a { color: var(--grey-mid); }


/* -------------------------
   Buttons / registration variants
   ------------------------- */
.reg-button-eu, .vincr-button { display:block; }
.reg-button-eu a,
.vincr-button a {
  display:inline-block;
  width:460px;
  max-width:100%;
  background: var(--blue-main);
  color: #EEE;
  border:0;
  font-size:16px;
  margin:30px 0 0 0;
  text-align:center;
  padding:13px 0;
  border-radius:3px;
  outline:none;
  user-select:none;
 touch-action: manipulation;
  text-decoration:none;
}
.reg-button-eu a:hover,
.vincr-button a:hover { background: var(--blue-hover); color: #FFF; text-decoration:none; }

.reg-button-eu a, .reg-button-eu a:hover { 
	display:inline-flex; 
	align-items:center;
	background: var(--blue-main) url('/sys/media/flag_of_erurope.png') no-repeat 10px center;
	background-size:40px auto;
	width: auto;
	padding:12px 40px 12px 55px;
	text-align:center;
}

.vincr-button a:active {
	background-color: var(--blue-active);
}


.reg-button-eu {
	margin: -5px 0 40px 0;
}


/* Small text variations - desktop shows spans; mobile hides via media query */
.vincr-button span { display:inline; }


.reg-box {
	margin: 30px 0 40px 0;
}













.reg-box input[type=text] {
 width: 100%;
  max-width: 300px;
  border: 2px solid var(--blue-main);
  padding: 0;
  line-height: var(--form-line-height);
  margin: 0 3px 0 0;
  text-indent: 14px;
  font-family: var(--font-mono);
  color: #222;
  font-weight: 700;
  border-radius: 2px 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.reg-box button[type=submit] {
  width: auto;
  background: #FDE777;
  color: #000;
  border: 1px solid #444;
  outline: none;
  line-height: var(--form-line-height);
  padding: 0 20px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.reg-box button[type=submit]:hover,
.reg-box button[type=submit]:active { background-color: #FDE151; }
.reg-box button[type=submit]:focus { outline: auto 3px Highlight; outline: auto 3px -webkit-focus-ring-color; }

.reg-box input::placeholder { 
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	padding: 0;
}

.reg-box label { 
	display: none;
}








x.reg-box input[type=text] {
	display:inline-block;
	width:100%;
	max-width: 280px;
	font-family: var(--font-plate);
	line-height: 46px;
	text-align: center;
	font-size: 24px;
	color:var(--black);
	background-color: #FFF;
	border: 1px solid #555;
	border-radius: 0;
	text-transform:uppercase;
	letter-spacing: 4px;
	margin-right: 1px;
}


x.reg-box input[type=submit] {
	display:inline-block;
	background:#005FCC;
	border: 1px solid #005FCC;
	color:#FFF;
	line-height: 46px;
	padding: 0 16px;
	cursor:pointer;
	font-size: 21px;
	font-weight:700;
	border-radius: 0 3px 3px 0;
}

x.reg-box input[type=submit]:hover { background-color: #0053B3; }
x.reg-box input:focus { outline: 1px solid #0000ff; }

x.reg-box input::placeholder {
    color: #333;
   	font-size: 23px;
    opacity: 1;         /* force full opacity in chrome*/
    letter-spacing: 0.8px;
    padding: 0;
}

x.reg-box input:focus::placeholder { color: transparent; /* Hides the placeholder text */ }










/* =========================
   CONTACT FORM
   ========================= */
.contact-form {
  margin-top: 30px;
}


.contact-form input[type=text], .contact-form input[type=email] {
  display: block;
  width: 100%;
  max-width: 500px;
  border: 1px solid #bbb;
  padding: 0;
  line-height: var(--form-line-heightb);
  margin: 5px 0 20px 0;
  text-indent: 8px;
  color: var(--black);
}

.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 600px;
  border: 1px solid #bbb;
  padding: 8px;
  line-height: normal;
  margin: 5px 0 20px 0;
  color: var(--black);
}

.contact-form button[type=submit] {
  display: inline-block;
  width: auto;
  background: #ccc;
  border: none;
  outline: none;
  line-height: 42px;
  padding: 0 25px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.contact-form button[type=submit]:hover,
.contact-form button[type=submit]:active { background-color: #aaa; }
.contact-form button[type=submit]:focus { outline: auto 1px Highlight; outline: auto 1px -webkit-focus-ring-color; }


.cont-form-error {
	color: #B30808;
}

.wnotice {
	background-color: #FFF2F2;
	border: 2px dashed #A52A2A;
	border-radius: 3px;
	padding: 4px 13px 8px 13px;
	margin-bottom: 50px;
	max-width: 500px;
	text-align: center;
}

.wnotice p {
	padding: 0;
	margin: 8px 0;
}
.wnotice a {
	color: #000;
	text-decoration: underline;
}
/* */


/* Notice Page */
.warning {
	background-color: #F0F0F0;
	padding: 15px 17px;
	margin: 40px 0;
	color: #000;
	max-width: 920px;
	line-height: 1.8;
}

.warning h1 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	padding: 0;
}

.warning-ul {
	margin-left: 20px;
	line-height: 2;
}

.warning p {
	margin: 0;
	padding: 0;;
}

/* */









/* =========================
   FOOTER
   ========================= */
footer {
  margin-top: 100px;
  background: var(--grey-very-light);
  font-size: 0.8125rem;
  color: var(--black);
  line-height: 23px;
}
.footb { padding:0.938em 0.625em; width:100%; max-width:var(--max-width); margin:0 auto; }
.footc { display:flex; flex-direction:row; gap:20px; }
footer ul { flex:none; width:20%; line-height:23px; list-style:none; }
footer ul li { margin:0.25em 0; }
footer ul li b { color:var(--black); }
.text-logo {
  display:table;
  background:#424242;
  font-family: var(--font-mono);
  font-size:13px;
  padding:5px 11px;
  margin:20px 0 0 0;
}
.text-logo a { color:#eee; text-decoration:none; }
.text-logo a:hover { text-decoration:none; }
.text-logo span { color:#777; margin:0 -3px; }




/* =========================
   SMALL ACCESSIBILITY & MISC FIXES
   ========================= */

/* Ensure summary marker replaced with custom arrow */
summary { cursor: pointer; list-style: none; display:block; }
summary::-webkit-details-marker { display:none; }
summary::marker { display:none; }
summary span { display:block; width:auto; }
summary span::before {
  display:inline-block;
  border-right:2px solid #000;
  border-top:2px solid #000;
  content:"";
  width:9px;
  height:9px;
  margin:0 15px 3px 8px;
  transform: translateY(0) rotate(135deg) scale(1);
}
details[open] > summary span::before { transform: translateY(0) rotate(-45deg) scale(1); }

/* Decorative / small utility classes preserved */
.csshid span { display:none; } /* email obfuscation */
.stats-spacer { display:block; padding:0; margin:20px 0; line-height:0; }

.csshidB {  /* email box */
	display: table;
	padding: 8px 20px;
	border: 1px dashed #444;
}

.csshidB span { display:none; } /* email obfuscation */



/* Preserve error boxes */
.error-box {
  display:inline-block; background:#D3D3D3; width:100%; max-width:1000px; margin:0 0 8px 0; padding:18px; font-size:0.9375rem; color:#000;
}
.error-boxb {
  display:inline-block; background:#FFF; outline:2px solid #1E90FF; width:100%; max-width:1000px; margin:10px 0; padding:10px 18px; font-size:0.9375rem; color:#000;
}


/* tab-head helper */
.tab-head {
  display:inline-flex; 
  flex-wrap:wrap;
  align-items:center;
  margin:50px 0 10px;
  padding: 0 8px;
  width: 220px;
  min-height:32px;
  background:#B3B3B3;
  color:#000; 
  font-weight:600; 
  font-size: 0.9375rem;
  text-transform:uppercase;
}

.list-items-a {
	margin: 0 0 0 18px;
	padding: 0;
	line-height: 1.9;
	list-style-type: disc;
}

.list-items-a-tick {
	margin: 0 0 0 5px;
	padding: 0;
	line-height: 2.0;
	list-style-type: none;
}

.list-items-a-tick li::before {
    content: "\2714";          /* tick mark */
    color: #000;
    margin-right: 12px;
    font-weight: bold;
    line-height: 0;
    border: 1px dashed #bbb;
    padding: 1px 4px;
}

.list-items-a-tickb li::before {
    content: "\2714";          /* tick mark */
    color: green;	/* green */
    margin-right: 12px;
    font-weight: bold;
    line-height: 0;
    border: 1px dashed #64A664;
    padding: 1px 4px;
}


/* =========================
   MOBILE OVERRIDES (mobile secondary)
   ========================= */
@media screen and (max-width: 768px) {
  body { font-size: 0.9375rem; }

  header { background: #404040; }
  header p { padding: 0; display:block; }
  header img { margin: 0 auto; border-bottom:none; }
  header span { display:none; }

  .head-splash, .head-splash-mb { display:none; }

  .mainbod { margin-top:20px; padding: 0 15px; }

  h1, h2, h3, h4, h5, h6 { font-size: 1.2rem; }
  h1.splash-text { font-size: 17px; }

  .crumbs a { font-size: 12px; }

  .vin-card { margin: 30px 0 20px 0; }


.vin-card form { 
	display: block;
	margin: 0 -5px;
	padding: 0;
	background: transparent;
}


/* Reset button X */
.close-icon {
  display: none;
}

/* create the X visually */
.close-icon:after {
  display: none;
}



  .vin-card input[type=text] {
    width: 100%;
    max-width: 500px;
    margin: 0 0 8px 0;
    font-size: 17px;
    line-height: 48px;
    text-indent: 0;
    padding-right: 0;
    letter-spacing: 5px;
    text-align: center;
  }
  
  .vin-card input[type=submit] {
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 50px;
  }

.vin-card input::placeholder { 
	font-size: 0.90rem;
}


  .vin-card label { font-weight: normal; }

  .vincr-button span { display:none; }
  .reg-button span { display:none; }



#on {
	background: transparent;
}

.vr-tabs {
  display: block;
}


.vr-tabs a {
  display: block;
  width: auto;
  max-width: 100%;
  padding: 0.5rem 0;
  margin: 0 0 6px 0;
  outline:1px solid #888;
}


.know-line p {
	font-size: 0.8125rem;
}



  .reg-box input[type=text] {
    width: 100%;
    max-width: 500px;
    margin: 0 0 8px 0;
    font-size: 17px;
    line-height: 48px;
    text-indent: 10px;
    letter-spacing: 5px;
  }
  
  .reg-box button[type=submit] {
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 50px;
  }

.reg-box input::placeholder { 
	font-size: 0.90rem;
}




  /* top result box adjustments */
  .result-card { padding:10px 5px 0 8px; margin:20px 0; }

  .reg-line {
    font-size:17px;
    letter-spacing:1px;
    margin-right:4px;
    word-wrap:break-word;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .vin-line {
    font-size:13px;
    letter-spacing:2px;
    word-wrap:break-word;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  
  
.list-items-a-tickc li {
	margin-bottom: 12px;
	line-height: 1.8;
}
  
  
  
  .results p span { display:block; width:280px; font-weight:bold; }
  p.pass span, p.fail span, p.taxed span, p.untaxed span { display:inline-block; width:240px; }

  .results p span.notes { display:block; margin: 10px 0 0 0; }



.reg-box input[type=submit] {
	padding: 0 12px;
}

  abbr { display:block; }
  
#countA { 
	margin-top: 8px;
	margin-left: -5px;
}

#countB { 
	margin-top: 17px;
	margin-left: -5px;
}



.cvadbox { 
	display: block;
	margin: 0 -5px -10px -5px;
	padding: 0;
	background: transparent;
}


  .cvadbox input[type=text] {
    width: 100%;
    max-width: 500px;
    margin: 0 0 8px 0;
    font-size: 17px;
    line-height: 48px;
    text-indent: 0;
    letter-spacing: 5px;
    text-align: center;
  }
  
  .cvadbox button[type=submit] {
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 50px;
  }

.cvadbox input::placeholder { 
	font-size: 0.90rem;
}


.cvad-car { 
	display: none;
}


 
  .footb { padding:10px 20px; }
  .footc { display:block; }
  footer ul { width:100%; margin-bottom:15px; }


.reg-button-eu a { 
	background: var(--blue-main) url('/sys/media/flag_of_erurope.png') no-repeat -18px center;
	padding: 12px 20px 12px 20px;
	font-size: 14px;
}

.reg-button-eu a:hover { 
	background: var(--blue-main) url('/sys/media/flag_of_erurope.png') no-repeat -18px center;
}

/* Wait spinner */
#wico { 
	display: none !important;
}



}

/* =========================
   EXTRA-SMALL PHONES
   ========================= */
@media (max-width: 355px) {
  .reg-button-eu a { font-size:0.875rem; }
  .reg-line { padding: 0.5em 0.25em; }
}

/* =========================
   PRINT
   ========================= */
@media print {
  .aimg { display:none; }
  header span { display:none; }
  .vin-card { display:none; }
  .noprint { display:none; }

/* 
collapses the mot history keeping the summary only
does not work in FF as of yet
 */
details[open] > *:not(summary) { 
    display: none !important;
    visibility: hidden !important;
  }
}


/* End of file */
