body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

body {
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

.App {
  height: 100vh;
  height: calc(1vh * 100);
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  display: grid;
  grid-template-rows: 65px auto 65px;
  grid-template-columns: 100%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .App {
    grid-template-rows: 59px auto;
  }
}

.app-body-div {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0 auto;
}

.input-div,
.scan {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  margin: 0 auto;
}

.input-div.text-input-div {
  max-width: 400px;
  margin: 0 auto;
}
.input-div.scan-input-div {
  max-width: 700px;
  flex-grow: 1;
}

.height-100 {
  height: 100%;
}

.height-70 {
  height: 70%;
}

.flex-grow-1 {
  flex-grow: 1;
}

.card {
  height: 100%;
  cursor: pointer;
}

.device-card a {
  height: 100%;
}

.device-card .card-media {
  background-size: contain;
  background-color: #eef1f4;
  height: calc(100% - 50px);
}

.device-card {
  height: 100%;
  min-height: 180px;
  text-align: center;
}

.device-card .card .device-title {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .device-card {
    height: 30%;
  }
}

.no-text-decoration {
  text-decoration: none;
}

.scan-qr-code-reader {
  max-width: 100%;
  max-height: calc(100% - 40px);
}

.input-div {
  text-align: center;
}

.text-input-div {
  width: 40%;
  margin-left: 30%;
}

@media (max-width: 1200px) {
  .input-div {
    width: 100%;
  }
}

.width-100 {
  width: 100%;
}
.button-bar {
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: white;
}

.scan-buttons {
  float: right;
  margin: 0 5px 5px;
}

.padding-right-5 {
  padding-right: 5px;
}

.title-div {
  padding: 20px 0;
}
.title-div .sub-text {
  padding-top: 2px;
}

.link {
  display: inline;
  color: blue;
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

.error-img {
  width: 100%;
  max-width: 350px;
}

.text-align-centre {
  text-align: center;
}
.landing-page-title {
  padding: 4% 0;
}

.margin-top-2 {
  margin-top: 2%;
}

.margin-top-4 {
  margin-top: 4%;
}

.flex-grow-1 {
  flex-grow: 1;
}

.health-card {
  text-align: center;
}

.width-100 {
  width: 100%;
}
.margin-top-8 {
  margin-top: 8px;
}

.margin-bottom-8 {
  margin-bottom: 8px;
}

.margin-bottom-16 {
  margin-bottom: 16px;
}

.clickable {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.health-card.processing .card .card-action-area {
  background-color: rgba(0, 171, 231, 0.08);
}

.health-card.valid .card .card-action-area {
  background-color: rgba(48, 171, 91, 0.08);
}

.health-card.not-valid .card .card-action-area {
  background-color: rgba(221, 12, 41, 0.08);
}

.card .card-action-area .card-content {
  background: white;
  white-space: nowrap;
}

.health-card.valid .card svg,
.health-card.not-valid .card svg,
.health-card.processing .card .card-action-area div.card-media {
  height: 90px !important;
  width: 85px !important;
  padding: 20px;
  margin: 0 auto;
  display: block;
}

.health-card.valid .card svg path {
  fill: #1f6e3a;
}

.health-card.not-valid .card svg path {
  fill: #b00920;
}

.health-page-tip {
  text-align: center;
}

.device-info {
  display: flex;
  padding: 20px 0;
}

.device-info img {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

.App.landing-page .wizard-overview-card {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.wizard-overview-card .card {
  background: rgba(0, 0, 0, 0.08);
}
.wizard-overview-card .card .card-header {
  background: white;
}

.wizard-overview-breadcrumb {
  display: flex;
  align-items: center;
  width: -webkit-fit-content;
  width: fit-content;
  padding: 60px 0;
  margin: 0 auto;
}

.wizard-overview-breadcrumb svg {
  height: 24px;
  width: 24px;
  color: black;
  opacity: 0.7;
}

.status-header {
  display: flex;
  align-items: center;
}

.status-header .status-ok,
.status-header .status-not-ok {
  margin-left: 10px;
}

.status-header .status-ok,
.value-item .status-ok {
  background: rgba(48, 171, 91, 0.08);
}

.status-header .status-not-ok,
.value-item .status-not-ok {
  background: rgba(221, 12, 41, 0.08);
}

.status-header .status-ok span,
.value-item .status-ok span {
  color: #1f6e3a;
}

.status-header .status-not-ok span,
.value-item .status-not-ok span {
  color: #b00920;
}
.status-header,
.value-container {
  padding: 20px 0;
}

.value-item {
  padding: 0 0 20px;
}

.retry-tip-list {
  text-align: left;
}

.tip-image {
  min-width: 50%;
}
.circle-progress {
  padding: 15px 0 5px;
}

.tip-title {
  text-align: left;
  padding-bottom: 4px;
}

.flex-container {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-around;
  padding: 40px 0px;
}

.flex-container-title {
  flex-grow: 1;
  min-width: 30%;
}

.flex-container-content {
  flex-grow: 2;
}

.toggle-button-label {
  padding-top: 2px;
  padding-bottom: 3px;
}

.divider-full-width {
  width: 100%;
  padding: 40px 0;
}

.install-stepper {
  width: 100%;
}
.install-stepper .step-label {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.install-stepper .step-label .step-label-title {
  padding-right: 8px;
}

.install-stepper .step-content {
  padding-left: 48px;
}

.install-stepper .install-stepper-button-bar {
  float: right;
}

.install-stepper .install-stepper-button-bar .back-button {
  margin-right: 8px;
}

.trailer-utilisation-dialog .trailer-icon svg,
.trailer-utilisation-list-item .trailer-icon svg {
  width: 40px;
  height: auto;
}

.trailer-utilisation-dialog .trailer-icon svg path,
.trailer-utilisation-list-item .trailer-icon svg path {
  fill: rgba(0, 0, 0, 0.54);
}

.details-flex-box-title {
  padding-bottom: 24px;
}

.header-status-indicator {
  padding-left: 16px;
}

.guided-walk-through-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-header-with-dropdown {
  width: 100%;
}

.status-header-dropdown {
  float: right;
}

.error-color {
  color: #b00920;
}

.App.install-page .fixed {
  position: fixed;
}

.icon-40 {
  width: 40px;
}

.scan-overlay {
  top: 0px;
  left: 0px;
  z-index: 1;
  box-sizing: border-box;
  border: 50px solid transparent;
  position: absolute;
  width: 100%;
  height: 100%;
}
.tire {
  background-color: white;
  border: 1px lightgrey solid;
  height: 124px;
  border-radius: 20px;
  width: 62px;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}
.tire.isBMS {
  width: 86px;
}

.tire.tire-valid {
  background-color: rgba(48, 171, 91, 0.35);
  border: none;
}

.tire.tire-invalid {
  background-color: rgba(221, 12, 41, 0.25);
  border: none;
}

.tire.tire-no-data {
  border-color: #e8bf29;
  background-color: rgba(232, 191, 41, 0.08);
}

.tire.tire-simple {
  background-color: rgba(0, 0, 0, 0.12);
  border: none;
}

.tire.tire-selected {
  border: none;
  background-color: #0070b4;
}

.axle-bar {
  height: 2px;
  background-color: rgba(0, 0, 0, 0.12);
  width: 10px;
}

.axle-bar.simple {
  width: 5px;
}

.axle-bar-centre {
  width: 100%;
}
.axles {
  padding-bottom: 16px;
}

.axles,
.tires {
  align-items: center;
}
.axle-bar.axle-bar-centre::before {
  content: "";
  position: relative;
  display: block;
  border-top: 140px solid rgba(0, 0, 0, 0.12);
  bottom: 140px;
  margin: 0 50%;
  width: 2px;
}

.tpms-diagram {
  max-width: 320px;
}

.tpms-diagram-title {
  padding: 32px 0 86px 0;
  opacity: 0.54;
  text-align: center;
}

.tpms-diagram.tpms-simple-diagram {
  max-width: 160px;
}
.tpms-diagram.tpms-simple-diagram .tpms-diagram-title {
  padding: 16px 0 43px 0;
}

.tpms-diagram.tpms-simple-diagram .axle-bar.axle-bar-centre::before {
  border-top: 70px solid rgba(0, 0, 0, 0.12);
  bottom: 70px;
  margin: 0 50%;
  width: 1px;
}

.tpms-diagram.tpms-simple-diagram .axles {
  padding-bottom: 8px;
}

.tpms-diagram.tpms-simple-diagram .tire {
  height: 62px;
  border-radius: 10px;
  width: 31px;
}

.tpms-more-details-dialog .margin-top-24 {
  margin-top: 24px;
}

.tpms-map-sensor .margin-top-8 {
  margin-top: 8px;
}

.tpms-map-sensor .margin-top-16 {
  margin-top: 16px;
}

.tpms-map-sensor .info-icon {
  background: rgba(0, 171, 231, 0.08);
  border-radius: 50%;
  margin: 16px;
  width: 96px;
  height: 96px;
  padding: 8px;
  align-items: baseline;
}

.tpms-map-sensor .info-icon svg {
  fill: #006285;
  width: 47px;
  height: 47px;
  display: block;
  margin: 20px;
}

.vin-not-supported-text {
  width: -webkit-fit-content;
  width: fit-content;
  cursor: default;
}

[role=tooltip] div {
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 500px;
}
