.train__name {
  color: #000;
  box-sizing: border-box;
  width: 100%;
  height: 0.6875in;
  padding: 0.125in;
  line-height: 1;
  font-size: 0.4375in;
  vertical-align: bottom;
  position: relative;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.train__price {
  color: #000;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.125in 0.125in 0.03125in 0.03125in;
  border-radius: 0 0 0 0.0625in;
  font-size: 0.25in;
  line-height: 1;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
}

.train__tracks {
  display: none;
  position: absolute;
  width: 100%;
  height: 0.5in;
  bottom: -0.0625in;
  left: 0;
  opacity: 0.25;
}

.train__tracks svg {
  height: 100%;
  width: 100%;
}

.train__hr {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.8125in;
}

.train__description {
  text-align: right;
  font-family: sans-serif;
  font-size: 0.12in;
  font-weight: normal;
  line-height: 0.16in;
  background-color: #ffffffb0;
  border-radius: 0 0 0 0.125in;
  position: absolute;
  bottom: 0.4in;
  width: 100%;
  padding: 0.025in 0.125in;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.train__notes {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.125in;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.train__info {
  padding: 0 0.1in;
  margin-top: 0.05in;
  border-radius: 0.03in;
  height: 0.22in;
  line-height: 0.22in;
}

.train--number .train__info {
  border-radius: 0.02in;
  border: 1px solid black;
  height: 0.2in;
  line-height: 0.2in;
}

.train__players {
  line-height: 0.25in;
  height: 0.25in;
  font-size: 0.14in;
  margin-top: 0.05in;
}

.train__image {
  box-sizing: border-box;
  position: absolute;
  top: 0.25in;
  width: 100%;

  img {
    width: 72%;
    margin: auto;
    display: block;
  }
}

.train__image--2T {
  img {
    width: 50%;
  }
}

.train__image--3T {
  img {
    width: 60%;
  }
}

.train__image--4T {
  img {
    padding-top: 7%;
    width: 64%;
  }
}

.train__image--5T {
  img {
    width: 64%;
  }
}

.train__image--6T {
  img {
    padding-top: 10%;
    width: 80%;
  }
}

.train__image--Diesel {
  img {
    width: 70%;
  }
}

.train--number .train__price {
  -webkit-text-stroke: 1px black;
}

.train--number .train__name {
  -webkit-text-stroke: 2px black;
  font-size: 0.6in;
  height: 0.85in;
  line-height: 0.74in;
  vertical-align: top;
}

.train__variant {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 0.125in;
  line-height: 1;
  padding-right: 0.125in;
  font-weight: normal;
  font-size: 0.5em;
  font-style: italic;
  font-family: sans-serif;
}

.train__trade_in_price {
  font-size: 0.6em;
  padding-top: 0.2em;
}
