/* ======================
/* Global HTML Styling */
body {
  scrollbar-width: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
  transform-style:preserve-3d;
}
h5 {
  font-size: 1rem;
}
.card-subtitle {
  margin-bottom: 10px;
}
.river {
  background-image: url('assets/images/river.png');
}

/* ======================
/* Login Styling */
#cover {
  background: #222 url('/assets/images/rail_cover.jpg') center center no-repeat;
  background-size: cover;
  height: 100%;
  text-align: center;
  display: unset;
  align-items: center;
  position: relative;
}
#cover_register {
  background: #222 url('/assets/images/rail_cover.jpg') right center no-repeat;
  background-size: 68% 100%;
}
#cover-caption {
  width: 100%;
  position: relative;
  z-index: 1;
}
form:before {
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: -1;
  border-radius: 0px;
}
.rs_logo {
  background: url('/assets/images/logo387.png') center center no-repeat;
  height:50%;
  text-align: center;
  align-items: center;
  position: relative;
  background-size: 50%;
}
.rs_logo.disabled {
  height:40%;
  background-size: 25%;
}
.loading {
  position: absolute;
  top: 50%;
  left: 41%;
  font-weight: bold;
  z-index: 1;
}

/* =================
/* Navbar Styling */
.navbar {
  min-height: 50px;
}
.navbar-dark {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}
.navbar .material-icons {
  font-size: 20px;
  vertical-align: middle;
}
.navbar .btn-sm {
  padding: 0.25rem 0.75rem;
}
.navbar .dropdown-menu {
  background: #2c3e50;
  border: 1px solid rgba(255,255,255,0.1);
}
.navbar .dropdown-menu .dropdown-item {
  color: #fff;
}
.navbar .dropdown-menu .dropdown-item:hover {
  background: rgba(255,255,255,0.1);
}

/* Build Toolbar Styling */
#build-toolbar {
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 20px;
    opacity: 1;
  }
}
#build-toolbar .build-tools {
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#build-toolbar .btn {
  transition: all 0.2s ease;
}
#build-toolbar .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
#build-toolbar .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}
#build-toolbar .tool.active {
  background: #28a745;
  color: white;
}

@media only screen and (max-width: 1600px) {
  .text {
    display: none;
  }
}
.btn-group.buildmode {
  width: max-content;
}
.navbar-nav {
  display: inline;
}
.card-header:last-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.navbar-nav.navbar-center {
  position: absolute;
  left: 50%;
  transform: translatex(-50%);
}
.navbar .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
}
.material-icons.navicon {
  display: inline;
  font-size: inherit;
  vertical-align: sub;
  margin-right: 5px;
  color: white;
  text-shadow: none;
}
.btn-separator:after {
  content: ' ';
  display: block;
  float: left;
  background: #ADADAD;
  margin: 0 10px;
  height: 34px;
  width: 1px;
}
.spinner-grow {
  vertical-align: middle !important;
}
.alert-onscreen {
  position: absolute !important;
  z-index: 2;
  width: 100%;
  display: none;
  bottom:0px;
}
#close-alert, a i {
  line-height: 1;
}
.alert-onscreen-depart {
  position: absolute !important;
  z-index: 1;
  width: 100%;
  display: none;
  top:0px;
}
#close-alert-cancelroute, a i {
  line-height: 1;
}
.dropdown-menu {
  max-height: 90vh;
  overflow-y: auto;
  cursor: pointer;
  width: 400px;
  overflow-x: hidden;
  right: -53px !important;
}
.multi-column-dropdown {
	list-style: none;
  margin: 0px;
  padding: 0px;
}
.multi-column-dropdown li a {
	display: block;
	clear: both;
	line-height: 1.428571429;
	color: #333;
	white-space: normal;
}

/* ===================
/* Game Map Styling */
.site-bg { 
  background-image: url('/assets/images/asfalt-dark.png');
}
#parent {
  z-index: 0 !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;}
.container-fluid {
  scrollbar-width: none;
  padding: unset;
}

/* Mini-map Styling */
#minimap-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  height: 250px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #444;
  border-radius: 5px;
  z-index: 1000;
  cursor: crosshair;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#minimap {
  width: 100%;
  height: 100%;
  border-radius: 3px;
}

#minimap-viewport {
  position: absolute;
  border: 2px solid #ffff00;
  background: rgba(255, 255, 0, 0.1);
  pointer-events: none;
  transition: none;
}

.minimap-town {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ff0000;
  border-radius: 50%;
  pointer-events: none;
}

#minimap-toggle {
  position: fixed;
  bottom: 275px;
  right: 20px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 1px solid #444;
  border-radius: 3px;
  cursor: pointer;
  z-index: 1001;
  font-size: 12px;
}

#minimap-toggle:hover {
  background: rgba(0, 0, 0, 0.9);
}
.exploredmap {
  min-width:20000px;
  min-height:20000px;
  position: relative;
}
#map2 {
  z-index: -1 !important;
  width: 7074px;
  height: 9000px;
  position: relative;
  pointer-events: none !important;
  background-image: url('/assets/images/asfalt-dark.png');
}
.aspectscale {
  font-size: xx-small;
  position: absolute;
  left: 22px;
  top: 35px;
}
.borders {
  border:1px dashed #f8f9fa !important;
  position:absolute;
}

.background {
  z-index: -2 !important;
  position:absolute;
  border-radius: 450px;
  background-position: center;
  opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
  pointer-events: none;
}
.town-border {
  border: 1px dashed white;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* ==================
/* Sidebar Styling */
.sidebar {
  overflow: hidden;
  scrollbar-width: none;
  font-size: 14px;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-radius: 10px;
}
.sidebar.animate-in {
  animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#sidebar {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  margin-top: 60px;
  right: 10px;
  width: 350px;
  max-width: 90%;
  padding: 10px;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 999 !important;
}
#sidebar::-webkit-scrollbar {
  width: 6px;
}
#sidebar::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}
#sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
#sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* Sidebar Card Styling */
.sidebar .card {
  background: rgba(30, 30, 40, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
}
.sidebar .card-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px 8px 0 0 !important;
}
.sidebar .card-header.bg-secondary {
  background: linear-gradient(135deg, #434343 0%, #000000 100%) !important;
}
.sidebar .card-header.bg-warning {
  background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%) !important;
}
.sidebar .card-header.bg-danger {
  background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%) !important;
}
.sidebar .card-header.bg-info {
  background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%) !important;
}
.sidebar .card-header i {
  color: #fff !important;
}
.sidebar .card-body {
  background: rgba(25, 25, 35, 0.8);
  color: #e0e0e0;
  padding: 15px;
}
.sidebar .table {
  color: #e0e0e0;
  margin-bottom: 10px;
}
.sidebar .table th {
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #a0a0a0;
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
}
.sidebar .table td {
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  font-size: 13px;
}
.sidebar .table-sm th,
.sidebar .table-sm td {
  padding: 0.5rem;
}
.sidebar button {
  transition: all 0.2s ease;
}
.sidebar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.sidebar button.active {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  border: none;
  color: #fff;
}
.sidebar .btn-group {
  padding: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 8px 8px;
}
.sidebar .minimize {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sidebar .minimize:hover {
  transform: scale(1.1);
}
.sidebar .blockquote-footer {
  color: #a0a0a0 !important;
  font-size: 12px;
}
.sidebar .progress {
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  overflow: hidden;
}
.sidebar .progress-bar {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
.sidebar .badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 8px;
}
.btn.economy_state {
  font-size: small;
  padding: 0px 5px;
}
.digital-clock {
  float: right;
  margin-right: 10px;
}
.message {
  padding-top: 10px;
}
.gamemessage a {
  color: white;
}
.textarea[contenteditable]:empty::before {
  content: "Report bugs or send a message (visble to all players)";
  color: gray;
}
.platform {
  float: right;
  line-height: 2;
}
.gdp {
  float: right;
  line-height: 2;
}
.sidebartrain {
  cursor: pointer;
  width: auto;
  padding-top: 0px;
}
.sbchild {
  height: 75px;
}
.sidebarstock {
  width: 100%;
  height: 70px;
  overflow: hidden;
  display: inline-block;
  margin-top: 0px;
  margin-left: 0px;
}
.btn-group.stockbuttons {
  display: inline-grid;
}
.btn-group.industrybuttons {
  display: inline-grid;
}
.btn-group.knownroutes {
  display: inline-grid;
}
#knownroute.btn {
  border-radius: none;
  border: none;
  padding-left: 21px;
}
.btn-group.trainorders {
  display: inline-grid;
}
.departsfrom {
  font-size: x-small;
  display: grid;
}
#trainorder.btn {
  border-radius: none;
  border: none;
  padding-left: 21px;
}
#trainorder_auto.btn {
  border-radius: none;
  border: none;
  padding-left: 21px;
}
.btn-group.stationstocks {
  display: inline-grid;
}
#stationstocks.btn {
  border-radius: none;
  border: none;
}
.btn-group.feeding_industries {
  display: inline-grid;
}
#feeding_industries.btn {
  border-radius: none;
  border: none;
}
.material-icons.eye {
  height: 0px;
  width: 0px;
  margin-right: 25px;
  float: right !important;
}
.material-icons.minimize {
  height: unset !important;
  width: unset !important;
  position: absolute;
  font-size: 16px !important;
  text-align: right;
  top: 1%;
  left: 95%;
  text-shadow: unset !important;
}
.material-icons.minimize.close {
  left: 90%;
}
.cashavailable { display: inline-block; width: 150px; }
.material-icons.sidebaricon {
  display: inline-block;
  font-size: inherit;
  height: 0px;
  width: 20px;
  vertical-align: sub;
  margin-right: 5px;
  color: white;
  text-shadow: none;
}
.btn.action {
  padding: 0 4px 0 0;
  line-height: 1.3;
  float:right;
  z-index:1;
}
a#ordermode {
  float: right !important;
  padding: 0 4px 0 0;
  line-height: 1.3;
}
.card-header {
  border-bottom: none;
}
.card-header.cargo {
  padding: 0px;
  z-index:1;
}
.progress {
  height: 25px;
  position: relative;
  top: -25px;
  opacity: 0.5;
  margin-bottom: -25px;
  width: 100%;
}
span.cargo {
  line-height: 1.4;
  font-style: italic;
  padding-left: 10px;
}
.infoname {
  text-transform: uppercase;
}
.table {
  display: table;
}
.table th {
  border-top: none;
}
tr.lead {
  font-size: unset;
  font-weight: unset;
}

/* ========================
/* Build Objects Styling */
.buildobject {
  cursor: pointer;
  width: 50px;
  height: 50px;
  position: absolute;
  text-align:center;
}
.buildobject.raw {
  z-index: 20;
}
.buildobject.city {
  z-index: 20;
}
.buildobject.station {
  z-index: 1000 !important;
}
/*.buildobject.track{
  z-index: 97 !important;
}*/
.buildobject.depot{
  z-index: 97 !important;
}
.buildobject.assigned {
  color: yellow !important;
}
.buildobject.track.child {
  pointer-events: none;
  z-index: -1 !important;
}

/* Tracks */
.buildobject.track.east_west { background-image: url("/assets/images/track_east-west.png"); }
.buildobject.track.south_north { background-image: url("/assets/images/track_south-north.png"); }

.buildobject.track.south_east_north_west { background-image: url("/assets/images/track_south-east-north-west.png"); }
.buildobject.track.south_west_north_east { background-image: url("/assets/images/track_south-west-north-east.png"); }

.buildobject.track.east_south_west { background-image: url("/assets/images/track_east-south-west.png"); }
.buildobject.track.east_north_west { background-image: url("/assets/images/track_east-north-west.png"); }

.buildobject.track.south_north_east { background-image: url("/assets/images/track_south-north-east.png"); }
.buildobject.track.south_north_west { background-image: url("/assets/images/track_south-north-west.png"); }

.buildobject.track.west_north_east { background-image: url("/assets/images/track_west-north-east.png"); }
.buildobject.track.west_south_east { background-image: url("/assets/images/track_west-south-east.png"); }

.buildobject.track.south_west_north { background-image: url("/assets/images/track_south-west-north.png"); }
.buildobject.track.south_east_north { background-image: url("/assets/images/track_south-east-north.png"); }

/* Signals */
.signal {
  z-index: 1003 !important;
}
.buildobject.signal.north.danger { background-image: url("/assets/images/signal_north_danger.png"); }
.buildobject.signal.north.clear { background-image: url("/assets/images/signal_north_clear.png"); }
.buildobject.signal.north-east.danger { background-image: url("/assets/images/signal_north-east_danger.png"); }
.buildobject.signal.north-east.clear { background-image: url("/assets/images/signal_north-east_clear.png"); }
.buildobject.signal.north-west.danger { background-image: url("/assets/images/signal_north-west_danger.png"); }
.buildobject.signal.north-west.clear { background-image: url("/assets/images/signal_north-west_clear.png"); }

.buildobject.signal.east.danger { background-image: url("/assets/images/signal_east_danger.png"); }
.buildobject.signal.east.clear { background-image: url("/assets/images/signal_east_clear.png"); }

.buildobject.signal.south.danger { background-image: url("/assets/images/signal_south_danger.png"); }
.buildobject.signal.south.clear { background-image: url("/assets/images/signal_south_clear.png"); }
.buildobject.signal.south-east.danger { background-image: url("/assets/images/signal_south-east_danger.png"); }
.buildobject.signal.south-east.clear { background-image: url("/assets/images/signal_south-east_clear.png"); }
.buildobject.signal.south-west.danger { background-image: url("/assets/images/signal_south-west_danger.png"); }
.buildobject.signal.south-west.clear { background-image: url("/assets/images/signal_south-west_clear.png"); }

.buildobject.signal.west.danger { background-image: url("/assets/images/signal_west_danger.png"); }
.buildobject.signal.west.clear { background-image: url("/assets/images/signal_west_clear.png"); }

/*.signal:hover {
  cursor: crosshair;
}*/

.fill {
  width: 50px;
  height: 50px;
  position: absolute;
  background-image: url('/assets/images/track_corner_fill.png');
}
.fill.bottomleft {
  transform: rotate(0);
}
.fill.topright {
  transform: rotate(180deg);
}
.fill.bottomright {
  transform: rotate(270deg);
}
.fill.topleft {
  transform: rotate(-270deg);
}

.depot.east_west { background-image: url('/assets/images/depot_east-west.png'); }
.depot.south_north { background-image: url('/assets/images/depot_south-north.png'); }

.objectname {
  width: max-content;
  font-size: x-small;
  position: absolute;
  z-index: 1004 !important;
  text-align: center;
}
.town {
  text-transform: uppercase !important;
  font-family: monospace !important;
  cursor: pointer;
}
.resourcename {
  width: max-content;
  font-size: x-small;
  position: absolute;
  z-index: 1004 !important;
  color: white;
}
.industryname {
  width: max-content;
  font-size: x-small;
  position: absolute;
  z-index: 1004 !important;
  color: white;
}
.cashobject.cash {
  z-index: 102 !important;
  position: absolute;
  color: white;
  font-size: large;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  padding: 3px;
  width: max-content;
}
.destinationcode {
  z-index: 1004 !important;
  position: absolute;
  font-size: small;
  left: 18px;
  top: 14.5px;
}

.tracknum {
    z-index: 98 !important;
    position: relative;
    color: black;
    border-radius: 100px;
    background-color: silver;
    width: 25px;
    display: inline-block;
    top: 12.5px;
    left: 0px;
    opacity: 0.7;
}
.supply_value {
  position: absolute;
  text-align: center;
  width: max-content;
  z-index: 1004 !important;
  font-size: x-small;
  background-color: black;
  color: white;
  top: -24px;
  left: -24px;
}
.btn.supply_value:hover {
  color: white !important;
}

/* =========================
/* Material Icons Styling */
.material-icons {
  vertical-align: -14px;
  display: unset !important;
}
.material-icons.game-icons {
  position:absolute;
  z-index: 100;
  cursor: pointer;
  display: flex !important;
}
.material-icons.station-icons {
  position:absolute;
  z-index: 100;
  cursor: pointer;
  display: flex !important;
  left:1px;
  top:1px;
  font-size: 48px !important;
}
.material-icons.detail {
  opacity: 1;
  background-color: unset;
  pointer-events: none;
  position: absolute;
  font-size: 400px !important;
}
.material-icons.detail.fields {
  color: green;
}
.material-icons.detail.mountains {
  color: brown;
}
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px ;}
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
.activeroute {
  opacity: 0.5;
}
/*i:hover {
  color: white !important;
}*/
i.sidebaricon:hover {
  color: unset !important;
}

/* =========================
/* Game Objects Styling */
/* Raw Materials */
.material-icons.passengers {
  color: white;
}
.material-icons.mail {
  color: white;
}
.material-icons.gold {
  color: white;
}
.material-icons.silver {
  color: white;
}
.material-icons.natural_gas {
  color: white;
}
.material-icons.coal {
  color: white;
}
.material-icons.uranium {
  color: white;
}
.material-icons.crude_oil {
  color: white;
}
.material-icons.bauxite {
  color: white;
}
.material-icons.lead {
  color: white;
}
.material-icons.iron_ore {
  color: white;
}
.material-icons.limestone {
  color: white;
}
.material-icons.galena {
  color: white;
}
.material-icons.chalcocite {
  color: white;
}
.material-icons.pentlandite {
  color: white;
}
.material-icons.sphalerite {
  color: white;
}
.material-icons.cassiterite {
  color: white;
}
.material-icons.cotton {
  color: white;
}
.material-icons.oats {
  color: white;
}
.material-icons.logs {
  color: white;
}
.material-icons.coffee {
  color: white;
}
.material-icons.cocoa {
  color: white;
}
.material-icons.cattle {
  color: white;
}
.material-icons.hog {
  color: white;
}
.material-icons.corn {
  color: white;
}
.material-icons.milk {
  color: white;
}
.material-icons.palm_fruit {
  color: white;
}
.material-icons.rice {
  color: white;
}
.material-icons.wheat {
  color: white;
}
.material-icons.sugar {
  color: white;
}

/* Industries */
.material-icons.bullion_foundry {
  color: black
}
.material-icons.mail_centre {
  color: black;
}
.material-icons.bank {
  color: black;
}
.material-icons.fuels {
  color: black;
}
.material-icons.cars {
  color: black;
}
.material-icons.construction {
  color: black;
}
.material-icons.automotive_industry {
  color: black;
}
.material-icons.food_factory {
  color: black;
}
.material-icons.textile_factory {
  color: black;
}
.material-icons.power_plant {
  color: black;
}
.material-icons.nuclear_power_plant {
  color: black;
}
.material-icons.oil_refinery {
  color: black;
}
.material-icons.bauxite_refinery {
  color: black;
}
.material-icons.galena_refinery {
  color: black;
}
.material-icons.chalcocite_refinery {
  color: black;
}
.material-icons.pentlandite_refinery {
  color: black;
}
.material-icons.sphalerite_refinery {
  color: black;
}
.material-icons.cassiterite_refinery {
  color: black;
}
.material-icons.steel_mill {
  color: black;
}
.material-icons.lime_plant {
  color: black;
}
.material-icons.cotton_mill {
  color: black;
}
.material-icons.coffee_roastery {
  color: black;
}
.material-icons.chocolate_factory {
  color: black;
}
.material-icons.abattoir {
  color: black;
}
.material-icons.pasteur {
  color: black;
}
.material-icons.oat_mill {
  color: black;
}
.material-icons.rice_mill {
  color: black;
}
.material-icons.wheat_mill {
  color: black;
}
.material-icons.lumber_mill {
  color: black;
}
.material-icons.paper_mill {
  color: black;
}

/*.detail { position: absolute; width:50px;height:50px; z-index: -1; }
.detail.icons_nature-1 { background-image: url('/assets/images/icons_nature-1.png'); }
.detail.icons_nature-2 { background-image: url('/assets/images/icons_nature-2.png'); }
.detail.icons_nature-3 { background-image: url('/assets/images/icons_nature-3.png'); }
.detail.icons_nature-4 { background-image: url('/assets/images/icons_nature-4.png'); }
.detail.icons_nature-5 { background-image: url('/assets/images/icons_nature-5.png'); }
.detail.icons_nature-6 { background-image: url('/assets/images/icons_nature-6.png'); }
.detail.icons_nature-7 { background-image: url('/assets/images/icons_nature-7.png'); }
.detail.icons_nature-8 { background-image: url('/assets/images/icons_nature-8.png'); }
.detail.icons_nature-9 { background-image: url('/assets/images/icons_nature-9.png'); }
.detail.icons_nature-10 { background-image: url('/assets/images/icons_nature-10.png'); }
.detail.icons_nature-11 { background-image: url('/assets/images/icons_nature-11.png'); }*/

/* ================
/* Train Styling */
.train {
    z-index: 1002 !important;
    cursor: pointer;
    position: absolute;
    margin-left: 12.5px;
    margin-top: 12.5px;
}
.train.child {
  display: none !important;
  visibility: hidden !important;
}
.childcars {
  left: 25px;
}
.headcode {
    font-size: xx-small;
    border-radius: 100px;
    padding: 3px;
    border: 0.5px dashed;
    width: max-content;
}

/* ====================
/* Steam Locomotives */
.era1_stephensons_rocket {
  background-image: url('/assets/images/era1_stephensons_rocket.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era2_terrier {
  background-image: url('/assets/images/era2_terrier.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era2_peckett {
  background-image: url('/assets/images/era2_peckett.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era2_tank_engine {
  background-image: url('/assets/images/era2_tank_engine.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era3_flying_scotsman {
  background-image: url('/assets/images/era3_flying_scotsman.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}

.era3_princess_royal {
  background-image: url('/assets/images/era3_princess_royal.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era4_terrier {
  background-image: url('/assets/images/era4_terrier.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era5_6000_king {
  background-image: url('/assets/images/era5_6000_king.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era5_j15 {
  background-image: url('/assets/images/era5_j15.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era5_j50 {
  background-image: url('/assets/images/era5_j50.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}
.era5_k1 {
  background-image: url('/assets/images/era5_k1.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-color: white;
}

/* Cars */
/* ERA 1 */
.era1_open_carriage {
  background-image: url('/assets/images/era1_open_carriage.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era1_royal_mail_coach {
  background-image: url('/assets/images/era1_royal_mail_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era1_flatbed {
  background-image: url('/assets/images/era1_flatbed.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
/* ERA 2 */
.era2_4_wheel_coach {
  background-image: url('/assets/images/era2_4_wheel_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era2_6_wheel_coach {
  background-image: url('/assets/images/era2_6_wheel_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era2_7_plank_wagon {
  background-image: url('/assets/images/era2_7_plank_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era2_dairy_tanker {
  background-image: url('/assets/images/era2_dairy_tanker.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era2_petrol_tanker {
  background-image: url('/assets/images/era2_petrol_tanker.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era2_tank_wagon {
  background-image: url('/assets/images/era2_tank_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
/* ERA 3 */
.era3_6_wheel_coach {
  background-image: url('/assets/images/era3_6_wheel_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_cattle_wagon {
  background-image: url('/assets/images/era3_cattle_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_composite_coach {
  background-image: url('/assets/images/era3_composite_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_extra_long_cct_van {
  background-image: url('/assets/images/era3_extra_long_cct_van.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_lwb_open_wagon {
  background-image: url('/assets/images/era3_lwb_open_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_lwb_tank_wagon {
  background-image: url('/assets/images/era3_lwb_tank_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era3_tank_wagon {
  background-image: url('/assets/images/era3_tank_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
/* ERA 4 */
.era4_6_wheel_coach {
  background-image: url('/assets/images/era4_6_wheel_coach.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era4_cattle_wagon {
  background-image: url('/assets/images/era4_cattle_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era4_mk1_corridor_composite {
  background-image: url('/assets/images/era4_mk1_corridor_composite.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
/* ERA 5 */
.era5_extra_long_cct_van {
  background-image: url('/assets/images/era5_extra_long_cct_van.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era5_hopper_wagon {
  background-image: url('/assets/images/era5_hopper_wagon.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}
.era5_mk1_first_open {
  background-image: url('/assets/images/era5_mk1_first_open.png');
  background-repeat: no-repeat;
  background-size: auto 70px;
}