/* -------------------- TABLE OF CONTENT --------------------

	VARIABLES

	BOOTSTRAP OVERWRITE

	GENERAL CSS
		+ Fonts
		+ Font sizes
		+ Font colors & other
		+ Background colors
		+ Buttons
		+ Forms and inputs
		+ Accordion
		+ Info box
		+ Sliders
		+ Carousel
		+ Other - shapes like badge, icon etc
		+ Other - display related
		+ Animations

	COMPONENT SPECIFIC CSS
		+ Header
		+ Header-stats
		+ Game-icons
		+ Status list
		+ Map controls
		+ Departure summary
		+ Routing & purchase station map modals
		+ Routing & station map elements (tooltips etc)
		+ Modal
		+ Map
		+ Achievement alert
		+ Cross promotion
	
	OLD STUFF - NOT SURE IF DEPRECATED

  -------------------- TABLE OF CONTENT -------------------- */




  


/* -------------------- VARIABLES -------------------- */
:root {
	--success: #147a14;
	--warning: #facb00;
	--danger: #be1337;
	--blue: #355092;
	--blue-light: #2d5d90;
	--blue-dark: #141c54;
	--white: #e9ecf3;
	--orange: #e38000;
	--gray: #e3e7ee;
	--fleet-blue: #193E70;
	--grounded: #ffbfbf;

	/* ROUTING COLORS */
	--freight-green: #559A2D;
	--freight-green-text: #3c6f1f;
	--freight-secondary: #80C063;
	--freight-selected-border: #49494966;
	--freight-secondary-text: #121d0c;
	--freight-tetriary: #B2E79C;
	--freight-tetriary-text: #1a2a12;
	--pax-blue: #2C76F0;
	--pax-blue-text: #1d5dc7;
	--pax-secondary: #9DBFFF;
	--pax-selected-border: #49494966;
	--pax-secondary-text: #293c64;
	--pax-tetriary: #C7DAFF;
	--pax-tetriary-text: #1b2333;
	--routing-grey: #a7a7a7;
}

/* removes option to highlight text */
div, span, p, h1, h2, h3, h4, h5, h6, li, label {
	-webkit-user-select: none;
	user-select: none;
}

.board-modal div,
.board-modal span, 
.board-modal p,
.board-modal h1,
.board-modal h2,
.board-modal h3,
.board-modal h4,
.board-modal h5,
.board-modal h6,
.board-modal li,
.board-modal label {
	-webkit-user-select: text !important;
	user-select: text !important;
}

input[type="text"],
textarea,
input {
	-webkit-user-select: text !important;
	user-select: text !important;
}

/* prevents selecting img on mobile with long touch */
img {
	pointer-events: none;
}

.select-text {
	-webkit-user-select: text !important;
	user-select: text !important;
}
/* -------------------- BOOTSTRAP OVERWRITE -------------------- */

/* striped table bootstrap override */
.table {
	--bs-table-striped-bg: #E3E7EE;
}

.btn-primary {
	border-color:#215D8E !important;
	--bs-btn-bg: #215D8E !important;
	--bs-btn-hover-bg: #2e81c5 !important;
	font-family: barlow;
}

.btn-danger {
	--bs-btn-bg: var(--danger) !important;
	--bs-btn-hover-bg: #a51533 !important;
}

.btn-success {
	--bs-btn-bg: var(--success) !important;
	--bs-btn-hover-bg: #186518 !important;
}

.btn-warning {
	--bs-btn-bg: var(--warning) !important;
	--bs-btn-hover-bg: #e3b428 !important;
}

.btn.disabled {
	opacity: 0.45 !important;
}

.bg-success {
	background-color: var(--success) !important;
}

.bg-danger {
	background-color: var(--danger) !important;
}

.bg-warning {
	background-color: var(--warning) !important;
}

.text-danger {
	color: var(--danger) !important;
}

.text-success {
	color: var(--success) !important;
}

.text-warning {
	color: var(--warning) !important;
}

.text-orange {
	color: var(--orange) !important;
}

.text-demand-increased {
	color: #2a9179 !important;
}

.progress.small {
	height: 5px !important;
}

.alert-secondary {
	border-radius: 9px !important;
}

/* -------------------- GENERAL CSS - fonts -------------------- */

@font-face {
	font-family: terminalFont;
	src: url(../fonts/terminal.otf);
}

@font-face {
	font-family: barlow;
	src: url(../fonts/barlow-medium.ttf);
}

@font-face {
	font-family: barlow-italic;
	src: url(../fonts/barlow-italic.ttf);
}

@font-face {
	font-family: barlow-semi;
	src: url(../fonts/barlow-semi-bold.ttf);
}

@font-face {
	font-family: barlow-bold;
	src: url(../fonts/barlow-bold.ttf);
}

@font-face {
	font-family: barlow-extra-bold;
	src: url(../fonts/barlow-extra-bold.ttf);
}

@font-face {
	font-family: barlow-black;
	src: url(../fonts/barlow-black.ttf);
}

@font-face {
	font-family: montserrat;
	src: url(../fonts/Montserrat-Regular.ttf);
}

@font-face {
	font-family: montserrat-bold;
	src: url(../fonts/Montserrat-Bold.ttf);
}

@font-face {
	font-family: montserrat-semi;
	src: url(../fonts/Montserrat-SemiBold.ttf);
}

@font-face {
	font-family: montserrat-italic;
	src: url(../fonts/Montserrat-Italic.ttf);
}

@font-face {
	font-family: montserrat-extra-bold;
	src: url(../fonts/Montserrat-ExtraBold.ttf);
}

@font-face {
	font-family: montserrat-black;
	src: url(../fonts/Montserrat-Black.ttf);
}

@font-face {
	font-family: roboto-monospace;
	src: url(../fonts/RobotoMono-VariableFont_wght.ttf);
}

.exo {
	font-family: 'Baloo Thambi 2', sans-serif;
	text-transform:uppercase;
}

.exo-norm {
	font-family: 'Baloo Thambi 2', sans-serif;
}

.barlow {
	font-family: 'barlow', sans-serif;
}

.barlow-italic {
	font-family: 'barlow-italic', sans-serif;
}

.barlow-semi {
	font-family: 'barlow-semi', sans-serif;
}

.barlow-bold {
	font-family: 'barlow-bold', sans-serif;
}

.barlow-extra-bold {
	font-family: 'barlow-extra-bold', sans-serif;
}

.barlow-black {
	font-family: 'barlow-black', sans-serif;
}

.montserrat {
	font-family: 'montserrat', sans-serif;
}

.montserrat-italic {
	font-family: 'montserrat-italic', sans-serif;
}

.montserrat-semi {
	font-family: 'montserrat-semi', sans-serif;
}

.montserrat-bold {
	font-family: 'montserrat-bold', sans-serif;
}

.montserrat-extra-bold {
	font-family: 'montserrat-extra-bold', sans-serif;
}

.montserrat-black {
	font-family: 'montserrat-black', sans-serif;
}

.montserrat-italic {
	font-family: 'montserrat-italic', sans-serif;
}

.roboto-monospace {
	font-family: 'roboto-monospace', monospace;
}

/* -------------------- GENERAL CSS - font sizes -------------------- */

.xs-text {
	font-size: 10px;
}

.xs-text-height {
	line-height: 11px;
}

.s-text {
	font-size: 12px;
}

.s-text-height {
	line-height: 13px;
}

.m-text {
	font-size: 14px;
}

.m-text-height {
	line-height: 15px;
}

.l-text {
	font-size: 18px;
}

.l-text-height {
	line-height: 19px;
}

.xl-text {
	font-size: 25px;
}

.xl-text-height {
	line-height: 26px;
}

.xxl-text {
	font-size: 35px;
}

.xxl-text-height {
	line-height: 36px;
}

/* -------------------- GENERAL CSS - font colors & other -------------------- */
.text-grayed {
	color: #dadada;
}

.text-blue {
	color:#2c4a88 !important;
}

.text-purple {
    color:#302B6B;
}

.text-orange {
	color: var(--orange) !important;
}

.text-light-blue {
	color: var(--blue-light) !important;
}

.text-wrap-balance {
	text-wrap: balance !important;
}

.text-left {
	text-align: left !important;
}

.text-truncate-fade {
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
}

.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.ellipsis-2 {
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vertical-ellipsis-3 {
	overflow: hidden;
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.long-and-truncated {
	min-width: 0;
	&, & > * {
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}
}

.cursor-default {
	cursor: default !important;
}

/* -------------------- GENERAL CSS - background colors -------------------- */
.blue-bg {
	background-color:#226194;
}

.orange-bg {
	background-color: var(--orange) !important;
}

.white-bg {
	background-color: white;
}

.purple-bg {
    background-color:#2F4B84 !important;
}

.blue-header-bg {
	background-color: var(--blue) !important;
}

.dark-blue-header-bg {
	background-color: #323473 !important;
}

.fleet-blue-bg {
	background-color: var(--fleet-blue) !important;
}

.fleet-light-blue-bg {
	background-color: #BACDE5 !important;
}

.light-blue-bg {
	background-color: #C9DAF4 !important;
}

.gray-bg {
	background-color: var(--gray);
}

.teal-bg {
	background-color: #08C8AF !important;
}

.eye-catch-bg {
	color: white;
	background-color: #0074EC;
}

.whiter-bg {
	background-color:#DAE0E5;
}

.shadow {
	box-shadow: 10px 10px 8px #888888;
}

.blue-bg-light {
	background-color:#6b8aa4;
}

.blue-bg-dark {
	background-color: #141C54;
}

/* -------------------- GENERAL CSS - buttons -------------------- */

.btn-xs {
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: 6px;
}

.btn-xs-real {
	padding: .25rem .5rem;
	font-size: 12px;
	line-height:1.2;
	border-radius:.2rem;
}

.btn-xs-real .spinner-border {
	width: 10px !important;
	height: 10px !important;
}

.btn-xxs {
	padding: .20rem .3rem;
	font-size: 10px;
	line-height:1.0;
	border-radius:.1rem;
}

.btn-regular {
	height: 30px;
    border-radius: 6px;
	font-size: 14px;
	line-height: 15px;
}

.btn-purple {
	background-color:#302B6B;
	color:#FFFFFF;
	text-transform: uppercase;
	font-family: barlow;
}

.btn-purple-light {
	background-color:#5C636A;
	color:#FFFFFF;
	text-transform:uppercase;
	font-family:barlow;
}

.btn-purple:hover {
	background-color:#2F3E7A;
	color:#FFFFFF;
}

.btn-purple-light:hover {
	background-color: #4d5257;
	color:#FFFFFF;
}

.btn-orange {
	background-color: var(--orange) !important;
	color: #fff !important;
	text-transform: uppercase;
	font-family: barlow;
}

.btn-orange.disabled {
	pointer-events: none;
	background-color: var(--orange) !important;
	color: #fff !important;
	opacity: 0.45;
	border: none !important;
	outline: none !important;
}

.btn-orange:hover,
.btn-orange:active {
	background-color: #b76d0d !important;
	color: #fff !important;
}

.btn-energy {
	background-color: #c3db5e !important;
	color: #fff !important;
	text-transform: uppercase;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.46);
}

.btn-energy:hover,
.btn-energy:active {
	background-color: #839536 !important;
	color: #fff !important;
}

.btn-airline {
	background-color: #0084C6 !important;
	color: #fff !important;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.46);
}

.btn-airline:hover,
.btn-airline:active {
	background-color: #05567f !important;
	color: #fff !important;
}

.btn-shipping {
	background-color: #25C7D8 !important;
	color: #fff !important;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.46);
}
.btn-shipping:hover,
.btn-shipping:active {
	background-color: #1d98a5 !important;
	color: #fff !important;
}

.btn-sort {
	background-color:#323473;
	border-bottom:1px black solid;
	border-right:1px black solid;
	border-top:1px #2C5B8E solid;
	border-left:1px #2C5B8E solid;
	border-radius: 150px !important;
	color:#FFFFFF;
	font-family: barlow;
	padding-left:10px !important;
	padding-right:10px;
	text-transform: uppercase;
	height: 20px;
    line-height: 10px;
	font-size: 10px;
}
.btn-sort span {
	transform: scale(1, 1.2);
    display: inline-block;
    letter-spacing: 0.7px;
}
.btn-sort-active {
	background-color: var(--warning);
	border-top:1px black solid;
	border-left:1px black solid;
	border-bottom:1px #2C5B8E solid;
	border-right:1px #2C5B8E solid;
	color:#000000;
}
.btn-sort:hover, .btn-sort:active {
	background-color: var(--warning);
	border-top:1px black solid;
	border-left:1px black solid;
	border-bottom:1px #2C5B8E solid;
	border-right:1px #2C5B8E solid;
	color:#000000;
}

.btn-sort-light {
	background-color: var(--blue-light);
	border-bottom: 1px #1E4166 solid;
	border-right: 1px #1E4166 solid;
	border-top: 1px #3D7BBE solid;
	border-left: 1px #3D7BBE solid;
	border-radius: 150px !important;
	color:#FFFFFF;
	font-family: barlow;
	padding-left: 10px !important;
	padding-right: 10px;
	text-transform: uppercase;
	height: 20px;
    line-height: 10px;
	font-size: 10px;
}
.btn-sort-light span {
	transform: scale(1, 1.2);
    display: inline-block;
    letter-spacing: 0.7px;
}
.btn-sort-light-active {
	background-color: var(--warning);
	border-top:1px #D19005 solid;
	border-left:1px #D19005 solid;
	border-bottom:1px #FDDD5D solid;
	border-right:1px #FDDD5D solid;
	color:#000000;
}
.btn-sort-light:hover, .btn-sort-light:active {
	background-color: var(--warning);
	border-top:1px #D19005 solid;
	border-left:1px #D19005 solid;
	border-bottom:1px #FDDD5D solid;
	border-right:1px #FDDD5D solid;
	color:#000000;
}

.btn-group .order-plus-icon {
	width: 14px;
	height: 14px;
	min-width: 14px;
	border-radius: 50%;
	background-color: var(--warning);
	position: relative;
}

.btn-group .order-plus-icon img {
	position: absolute;
	width: 8px;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	filter: invert(8%) sepia(23%) saturate(7496%) hue-rotate(224deg) brightness(107%) contrast(97%);
}

.radial-btn {
	font-family: barlow;
	text-transform: uppercase;
	border: 1px solid #808080b0;
	border-radius: 9px;
	color: #808080;
	padding: 2px 5px;
	font-size: 10px;
}

.radial-btn .spinner-border {
	width: 10px !important;
	height: 10px !important;
}

.btn-check:checked + .radial-btn {
	background-color: #5B9529;
	border-color: #5B9529;
}

.btn-progress {
	position: relative;
}

.btn-progress .btn-progress-background {
	position: absolute;
	height: 100%;
	width: 0%;
	background-color: #00000044;
	top: 0;
	left: 0;
	border-radius: 6px 0 0 6px;
}

.btn-grayscale {
	filter: grayscale(100%);
}

/* -------------------- GENERAL CSS - forms and inputs -------------------- */

.form-fail {
	border: 2px red solid;
}

.form-ok {
	border: 2px green solid;
}

.form-switch {
	display: flex !important;
	justify-content: center !important;
}

.gray-stats-rounded-end input[type="text"] {
	padding-right: 38px;
}

.gray-stats-rounded-end input[type="text"]:disabled {
    border: none;
    background: transparent;
    opacity: 1;
}

.gray-stats-rounded-end .input-limit {
    position: absolute;
    right: 42px;
    bottom: 6px;
}

/* -------------------- GENERAL CSS - accordion -------------------- */

.accordion {
	overflow: hidden!important;
}

.accordion-item {
	border-radius: 0!important;
	box-shadow: none!important;
	border: none!important;
	overflow: hidden!important;
}

.accordion-button {
	background: none!important;
	border: none!important;
	border-radius: 0!important;
	box-shadow: none!important;
}

.accordion-button:focus {
	outline: 0!important;
	box-shadow: none!important;
}

.accordion-button:not(.collapsed) {
	color: inherit!important;
}

.accordion-button.collapsed {
	color: inherit!important;
}

.accordion-collapse.show > * {
	opacity: 100;
	transition: all 0.2s ease-in-out;
}

.accordion-collapse > * {
	opacity: 0;
}

.accordion-button:not(.collapsed)::after {
	background-image: url("../img/icons/icon-fold-in.png");
	transform: none;
}

.accordion-button.collapsed::after {
	background-image: url("../img/icons/icon-fold-out.png");
	transform: none;
}

/* -------------------- GENERAL CSS - info box -------------------- */

.info-box {
	position: relative;
	width: auto;
	max-width: min-content;
}

.info-box .info {
	font-family: 'barlow', sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	font-size: 14px;
	font-style: italic;
	text-align: center;
}

.info-box>.frame {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 215px;
	height: 130px;
	clip-path: polygon(15% 0%, 0% 20%, 0% 100%, 94% 100%, 100% 90%, 100% 0%);
	background: rgb(28,62,98);
	background: linear-gradient(0deg, rgba(28,62,98,1) 0%, rgba(62,126,193,1) 100%);
}

.info-box>.frame::after {
	content: "";
	position: absolute;
	width: 211px;
	height: 126px;
	background-color: #fff;
	clip-path: polygon(15% 0%, 0% 20%, 0% 100%, 94% 100%, 100% 90%, 100% 0%);
}

.info-box::before{
	content: "";
	background-image: url("../img/icons/icon-info-hexa.png");
	width: 30px;
	height: 25px;
	position: absolute;
	z-index: 3;
	background-repeat: no-repeat;
	background-position: center;
	top: 0;
	left: 0;
}

/* -------------------- GENERAL CSS - sliders -------------------- */

.ui-slider.ui-slider-vertical {
	position: absolute;
	z-index: 2;
	width: 36px;
	height: 100px;
	cursor: default;
	border: 2px solid #000;
}

.ui-slider.ui-slider-vertical .ui-slider-handle {
	margin: auto;
	border-radius: 6px;
	height: 10px;
	width: 22px;
	background-color: #fff;
	transform: translate(10px, 5px);
}

.ui-slider.ui-slider-vertical .ui-slider-handle::after {
	content: "";
	display: block;
	border-bottom: 1px solid darkgray;
	width: 12px;
	padding: 2px;
	margin: 0 auto;
}

.ui-slider.ui-slider-vertical .ui-slider-range {
	border-radius: 0;
	background-color: #319631;
}

#sidebar-speed-slider {
	height: 2px;
    background-color: #141c54;
    border: none;
    outline: none;
	position: relative;
}

#sidebar-speed-slider::before {
	content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #141c54;
    top: 50%;
    transform: translate(0, -3px);
}

#sidebar-speed-slider:after {
	content: '';
    position: absolute;
    right: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #141c54;
    top: 50%;
    transform: translate(0, -3px);

}

#sidebar-speed-slider .ui-slider-handle {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: white;
	border: 2px solid #141c54;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
	cursor: pointer;
	position: absolute;
	top: -9px;
	left: -9px;
	z-index: 1 !important;
}

#sidebar-speed-slider .ui-slider-handle:after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #141c54;

}


/* -------------------- GENERAL CSS - carousel -------------------- */
#trainCarousel .carousel-indicators {
	background-color: white;
	height: 40px;
	border-radius: 25px;
	left: 50%;
	right: auto;
	bottom: -19px;
	transform: translateX(-50%);
	padding: 0.5rem 2rem;
	margin: 0;
}

#trainCarousel .carousel-indicators button {
	width: 5px !important;
	height: 5px !important;
	border: 1px solid var(--blue-dark) !important;
	border-radius: 50% !important;
	background-color: white !important;
	opacity: 1 !important;
}

#trainCarousel .carousel-indicators button.active {
	background-color: var(--blue-dark) !important;
}

#trainCarousel .carousel-item:before {
	box-shadow: 1px -1px 28px -5px rgba(0,0,0,0.35) inset;
	-webkit-box-shadow: 1px -1px 28px -5px rgba(0,0,0,0.35) inset;
	-moz-box-shadow: 1px -1px 28px -5px rgba(0,0,0,0.35) inset;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
}

/* -------------------- GENERAL CSS - other - shapes like badge, icon etc -------------------- */

.custom-badge {
	border-radius: 50%;
	border: 3px #141C54 solid;
	background-color: white;
	width: 50px;
	height: 50px;
	min-width: 50px;
	text-align: center;
	transform: rotate(0deg);
}

.custom-badge img {
	max-width: 70%;
	max-height: 70%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

@media (max-width: 420px) {
	.custom-badge {
		width: 40px;
		height: 40px;
		min-width: 40px;
	}
}

.badge-new{
	background-color: #D93E3E;
	color: white;
	font-family: barlow;
	font-size: 10px;
	text-transform: uppercase;
	padding: 2px 5px;
	border-radius: 6px;
	position: absolute;
	top: -3px;
	right: -3px;
}

.page-arrow {
	z-index: 4;
	display: block;
	width: 100%;
	height: 0;
	overflow: visible;
	position: sticky;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transition: all 0.1s ease-in-out;
}

.page-arrow.up::before, .page-arrow.down::before {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	width: 43px;
	height: 17px;
}

.page-arrow.up::before {
	top: 8px;
	/*border-width: 0 25px 15px 25px;
	border-color: transparent transparent #141c54 transparent;*/
	background: url("../icons/scroll_arrow.png") no-repeat center;
	transform: translateX(-50%) rotate(180deg);
}
.page-arrow.down{
	opacity: 1;
}
.page-arrow.down::before{
	bottom: 8px;
	/*border-width: 15px 25px 0 25px;
	border-color: #141c54 transparent transparent transparent;*/
	background: url("../icons/scroll_arrow.png") no-repeat center;
	transform: translateX(-50%);
}

.gray-stats-rounded-start {
	border-radius: 9px 0 0 9px;
    border-right: 1px solid white;
	min-height: 35px;
	height: 35px;
    width: 35px;
	background-color: var(--gray);
}

.gray-stats-rounded-end {
	border-radius: 0 9px 9px 0;
    border-left: 1px solid white;
	min-height: 35px;
    height: 35px;
	background-color: var(--gray);
	min-width: 0;
}

.gray-stats-rounded-top {
	border-radius: 9px 9px 0 0;
    border-bottom: 1px solid white;
    min-height: 35px;
	background-color: var(--gray);
}

.gray-stats-rounded-bottom {
	border-radius: 0 0 9px 9px;
    border-top: 1px solid white;
	min-height: 35px;
	background-color: var(--gray);
}

@media (max-width: 410px) {
	.gray-stats-rounded-start {
		height: auto;
	}
	
	.gray-stats-rounded-end {
		height: auto;
	}
}

.gray-heading-rounded {
	max-width: 600px;
	margin: auto;
}

.gray-heading-rounded .col-6:first-child {
	border-radius: 15px 0 0 15px;
    border-right: 2px solid white;
	background-color: var(--gray);
}

.gray-heading-rounded .col-6:last-child {
	border-radius: 0 15px 15px 0;
    border-left: 2px solid white;
	background-color: var(--gray);
}

.train-location-icon {
	height: 16px;
	max-height: 16px;
    padding: 0px 7px;
    border-radius: 10px;
}

.train-location-icon img.stationed {
	width: 19px;
    filter: invert(1);
}
.train-location-icon img.enroute {
	width: 12px;
    margin: 0 3.5px;
	filter: invert(1);
}
.train-location-icon img.yarded {
	width: 10px;
	margin: 0 4.5px;
	filter: invert(1);
}
.train-location-icon img.pending {
	width: 10px;
    margin: 0 4.5px;
    filter: invert(1);
}

.back-btn {
	position: absolute;
    bottom: 0;
    transform: translateY(50%);
    background-color: white;
    color: #141c54;
    border: 2px solid #141c54;
    border-radius: 35px;
    padding: 2px 10px;
    line-height: 1px;
    cursor: pointer;
}

.back-btn img {
	width: 15px;
}

#status-top-menu-back .back-btn {
	bottom: -23px;
	gap: 5px;
	left: -3px;
	z-index: 999;
}

.warning-message-wrapper .rounded-warning:first-child {
	border-radius: 9px 0 0 9px;
    border: 2px solid var(--warning);
	background-color: white;
	width: 35px;
}

.warning-message-wrapper .rounded-warning:first-child img {
	width: 20px;
}

.warning-message-wrapper .rounded-warning:last-child {
	border-radius: 0 9px 9px 0;
    border: 2px solid var(--warning);
	border-left: none;
	background-color: white;
	flex-grow: 1;
}

.info-message {
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.46);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.46);
    border-radius: 10px;
}

.info-message .close-message-btn {
	position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    border: 1.5px solid #444653;
	cursor: pointer;
}

.info-message .close-message-btn.inside {
	top: 4px !important;
    right: 4px !important;
}

.info-message .close-message-btn img {
	width: 8px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    filter: invert(26%) sepia(7%) saturate(1255%) hue-rotate(195deg) brightness(90%) contrast(84%);
}

.bi--lg {
	font-size: 1.25em;
}

.rep-star {
	width: 24px;
	margin-right: 2px;
}

.type-icon-wrapper {
	display: flex;
    column-gap: 2px;
    position: absolute;
    top: 0;
    right: 12px;
}

.type-icon-wrapper img {
	width: 20px;
	filter: invert(1);
}

.type-icon-wrapper div {
    display: flex;
    padding: 3px 3px 3px 5px;
    border-radius: 0 0 5px 5px;
    height: 17.11px;
}

.type-icon-wrapper .freight-icon {
    padding: 3px 4px;
}

/* -------------------- GENERAL CSS - other - display related -------------------- */

.hidden {
	display: none;
}

.opa {
	opacity: 0.8;
}

.opa:hover {
	opacity: 1;
	cursor: pointer;
}

.opa-light {
	opacity: 0.9;
}

.opa-rev:hover {
	cursor: pointer;
	opacity: 0.6;
}

.opa-light:hover {
	opacity: 1;
	cursor: pointer;
}

.half-opa {
	opacity: 0.5;
}

.not-active {
    pointer-events: none;
    opacity: 0.3;
	cursor: default;
}

.not-active-forced {
	pointer-events: none;
	opacity: 0.8;
	cursor: default;
}

.not-active-norm {
	pointer-events: none;
	opacity: 0.9;
	cursor: default;
}

.rounded {
	border-radius: 4px;
}

.pointer {
	cursor: pointer;
}

.invisible {
	color: transparent !important;
	background-color: transparent !important;
}

.strike {
    text-decoration: line-through;
    color:red;
}

.dark-blue-icon {
	filter: invert(8%) sepia(76%) saturate(2773%) hue-rotate(226deg) brightness(97%) contrast(96%);
}

/* Mobile and Desktop for anything inside modal content */
@media (min-width: 992px) {
	#modal-content .desktop-only {
		display: block;
	}
	#modal-content .mobile-only {
		display: none !important;
	}
}
@media (max-width: 991px) {
	#modal-content .desktop-only {
		display: none !important;
	}
	#modal-content .mobile-only {
		display: block;
	}
}

.rounded-sm-start {
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
}

.rounded-sm-end {
	border-top-right-radius: 10px !important;
	border-bottom-right-radius: 10px !important;
}

@media only screen and (max-width: 768px) {
	.rounded-sm-start {
		border-top-left-radius: 10px!important;
		border-top-right-radius: 10px!important;
		border-bottom-left-radius: 0!important;
	}

	.rounded-sm-end {
		border-top-right-radius: 0!important;
		border-bottom-right-radius: 10px!important;
		border-bottom-left-radius: 10px!important;
	}
}

.overlay {
    z-index: 99999999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.bg-gradient {
	background-color: #111;
	background-image: linear-gradient(to right,#24669b, #111);
	color:#FFFFFF;
}

.center-block {
    display: table;  /* Instead of display:block */
    margin-left: auto;
    margin-right: auto;
}

.display-grid-100 {
	display: grid;
    grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) );
}

.display-grid-150 {
	display: grid;
    grid-template-columns: repeat( auto-fit, minmax(150px, 1fr) );
}

.scrollbar-thin {
	scrollbar-width: thin;
	scrollbar-color: rgba(232, 228, 228, 0.478) transparent;
}

@media (min-width: 480px) {
	/* hide scrollbar completely on desktop */
	.scrollbar-thin::-webkit-scrollbar {
		display: none !important;
	}
	
	.scrollbar-thin {
		-ms-overflow-style: none;  /* IE and Edge */
		  scrollbar-width: none;  /* Firefox */
	}
}

.max-w-480 {
	max-width: 480px;
    margin: auto; 
}

.max-w-600 {
	max-width: 600px;
    margin: auto;
}

.animLoadingText {
	transform: scale(1,1) !important;
}

.modal-menu-btn .animLoadingText {
	transform: scale(1,1) !important;
	display: flex;
}

.btnAjaxAnimDisabledLoader span:not(.bi):not(.glyphicons) {
	display: none !important;
}

.btnAjaxAnimDisabledLoader span.bi,
.btnAjaxAnimDisabledLoader span.glyphicons {
	transform: scale(1,1);
}

.scroll-fade-white {
	mask-image: linear-gradient(to bottom, black calc(100% - 23px), transparent 100%);
}

/* -------------------- GENERAL CSS - animations -------------------- */

@keyframes placeHolderShimmer{
    0% {
        background-position: -468px 0
    }
    100% {
        background-position: 668px 0
    }
}
.animated-background-depart {
	animation-duration: 5.25s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
	animation-name: placeHolderShimmer;
	animation-timing-function: linear;
	background: #287804;
	background: linear-gradient(to right, #287804 20%, #359b09 50%, #287804 33%);
	background-size: 240px 40px;
	position: relative;
}

.animated-background {
    animation-duration: 1.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: darkgray;
    background: linear-gradient(to right, #eeeeee 10%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
    position: relative;
}

.animated-background-static {
	animation-duration: 2.50s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
	animation-name: placeHolderShimmer;
	animation-timing-function: linear;
	background: darkgray;
	background: linear-gradient(to right, #eeeeee 10%, #dddddd 18%, #eeeeee 33%);
	background-size: 800px 104px;
	position: relative;
}

.bounce {
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-15px);
	}
}

.loadingAnim {
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.blinking {
	animation: shadow-pulse 0.5s infinite alternate;
  }
  
@keyframes shadow-pulse {
	0% {
		box-shadow: 0 0 0 0px rgba(155, 40, 0, 0.9);
	}
	100% {
		box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
	}
}
  
.blinking-high {
	animation: fade-high 0.3s infinite alternate;
}
  
@keyframes fade-high { 
	from { opacity: 0.1;  } 
}

/* -------------------- COMPONENT SPECIFIC CSS - header -------------------- */

.header-border {
	position: absolute;
    height: 43px;
    width: 100%;
	background-color: white;
    z-index: 998;
}

.header-border .fuel-border {
	position: absolute;
    right: calc((79.55px + 21px + 2rem) - 4px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
}

.header-border .spot-border {
	position: absolute;
    right: calc((40.55px + 14px + 1.5rem) - 4px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
}

.header {
	position: fixed;
	height: 40px;
	background-color: #141C54;
	color:#FFFFFF;
	display: flex;
    gap: 5px;
    z-index: 999;
}

.header .account-wrapper,
.header .points-wrapper {
	gap: 5px;
}

.header .account-wrapper img,
.header .points-wrapper img {
	width: 18px;
	filter: invert(1);
}

.header .account-wrapper .account-text,
.header .points-wrapper .points-text {
	display: block;
    padding-top: 3px;
}

.header .messages-wrapper,
.header .settings-wrapper {
	display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header .messages-wrapper img {
	height: 15px;
}

.header .settings-wrapper img {
	height: 21px;
}

.header .consumable-wrapper {
	display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	width: 39px;
	height: 39px;
	margin-top: 2px;
}

.header .consumable-back-circle {
	position: absolute;
    width: 45px;
    height: 45px;
	background-color: #141c54;
    border-radius: 50%;
}

.header .consumable-empty-circle {
	position: absolute;
	width: 37px;
    height: 37px;
    background-color: #ffffff6b;
    border-radius: 50%;
}

.header .consumable-icon-border { 
	position: absolute;
    width: 27px;
    height: 27px;
    background-color: #ffffff45;
    border-radius: 50%;
}

.header .consumable-full-circle { 
	position: absolute;
	width: 37px;
    height: 37px;
}

.header .consumable-icon {
	position: absolute;
	background-color: #141c54;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .consumable-wrapper img {
	height: 13px;
}

.header .message-indicator {
	position: absolute;
    top: 7px;
    right: -4px;
    width: 10px;
    height: 10px;
	border-radius: 50%;
	background-color: #D93E3E;
}

.header .message-indicator.hide {
	display: none!important;
}

.header .message-indicator.show {
	display: block!important;
}

@media (max-width: 350px) {
	.header .me-2 {
		margin-right: 0.25rem!important;
	}
	.header .ms-2 {
		margin-left: 0.25rem!important;
	}
	.header-border .fuel-border {
		right: calc((79.55px + 21px + 1rem) - 4px);
	}
	.header-border .spot-border {
		right: calc((40.55px + 14px + 0.75rem) - 4px);
	}
}

/* -------------------- COMPONENT SPECIFIC CSS - header-stats -------------------- */

.header-stats-header {
	position: absolute;
    top: 43px;
	left: 0;
    right: 0;
    height: 27px;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
	padding-top: 2px;
    background-color: #141c54;
	line-height: 12px;
	cursor: pointer;
	z-index: 997;
	border-radius: 0 0 5px 5px;
}

.header-stats-header .row .col-7 {
    height: 100%;
    padding-top: 7px;
}

.header-stats-header .row .col-7 img {
	margin-right: 5px;
    margin-top: -5px;
}

.header-stats-header .row .col-5 {
	height: 100%;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
}

.header-stats-header .triangle-icon-border {
	position: absolute;
    bottom: -11px;
	height: 18px;
	transform: rotate(90deg);
}

.header-stats-header .triangle-icon {
	position: absolute;
    bottom: -5px;
	height: 11px;
	transform: rotate(90deg);
    filter: brightness(0) invert(1);
}

/* -------------------- COMPONENT SPECIFIC CSS - game-icons -------------------- */

#menu-container {
	position: absolute;
    bottom: 14px;
    right: 5px;
    height: calc(100% - 54px);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.icon-menu-container {
    position: relative;
    width: 59px;
    height: 52px;
    margin-bottom: 12px;
    cursor: pointer;
}

.icon-menu-container#points-menu {
	margin-bottom: auto !important;
	margin-top: 0.5rem;
}

.icon-menu-border {
    position: relative;
    background-color: white;
    width: 59px;
    height: 52px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.icon-menu-text-border {
    position: absolute;
    left: -3px;
    top: 39px;
    width: 65px;
    height: 23px;
    background-color: white;
    border-radius: 9px;
}

.watch-ads-menu-icon {
	position: absolute;
}

.icon-menu {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background-color:#141C54;
    text-align: center;
}

.icon-menu img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    transform: translate(-50%, -50%);
}

.icon-menu-text {
    position: absolute;
    top: 42px;
    height: 17px;
    width: 59px;
    border-radius: 6px;
    background-color: white;
    padding-left: 2px;
    padding-right: 2px;
	font-size: 9px !important;
	display: flex;
    justify-content: center;
    align-items: center;
}

#bonus-menu .icon-menu-text {
    background-color: #ffd33c;
}

#bonus-menu .icon-menu-border-bonus {
    position: absolute;
    background-color: #E5BF3D;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

#bonus-menu .icon-menu {
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
}

#points-menu .icon-menu-text, #points-menu .icon-menu {
	background-color: #ffd33c;
}

#points-menu .icon-menu-border-bonus {
	position: absolute;
	background-color: #E5BF3D;
	top: 3px;
	right: 3px;
	bottom: 3px;
	left: 3px;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
	-webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

#points-menu .icon-menu {
	top: 6px;
	right: 6px;
	bottom: 6px;
	left: 6px;
}

.icon-menu-container .text-truncate > span {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-menu-container #checklist-indicator {
	position: absolute;
    top: -3px;
    left: 11px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D93E3E;
    z-index: 1;
}

@media (max-width: 375px) {
	.icon-menu-container#points-menu {
		margin-top: 33px !important;
	}
}

/* -------------------- COMPONENT SPECIFIC CSS - status list / sidebar -------------------- */

.status-list-main .list-border {
    position: absolute;
    left: 250px;
    width: 3px;
    height: calc(100% - 43px);
    background-color: white;
}

.status-list-main {
    width: 250px;
    height: calc(100% - 43px);
    z-index: 1010;
    top: 43px;
    left: 0px;
	position: fixed;
}

.status-list-main .status-header {
    background-color:#141C54;
	color:var(--warning);
}

.status-list-main .status-header #status-top-menu-stations,
.status-list-main .status-header #status-top-menu-back {
	position: absolute;
	top: 2px;
	left: 6px;
}

.status-list-main .status-header #status-top-menu-close {
	position: absolute;
	top: 2px;
	right: 6px;
}

.status-list-main .status-list-content {
	height: 100%;
	overflow: auto;
	overscroll-behavior: contain;
}

.status-list-light {
    color:#FFFFFF;
    background-color: rgb(103 103 103 / 38%);
	border-right: 3px #171d55 solid;
}

.status-list-dark {
    color:#FFFFFF;
    background-color:rgba(0,0,0,0.8);
}

.status-list-menu-icon-active {
    filter: brightness(0);
}

#swipe-handle {
	position: absolute;
	left: 247px;
    top: calc(55% - 10px);
	width: 45px;
	height: 97px;
}

.status-list-toggle-container {
    position: relative;
	margin-top: 10px;
    width: 22px;
	height: 77px;
    writing-mode: vertical-rl;
    line-height: 20px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color:white;
    color: #171d5d;
    font-weight: bold;
    font-family: barlow;
	border: 3px solid #171d5d;
	transition: all 0.2s ease;
}

.status-list-main .handle-border {
    position: absolute;
    left: 250px;
    width: 22px;
	height: 83px;
    top: calc(55% - 3px);
    writing-mode: vertical-rl;
    line-height: 20px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: white;
    color: transparent;
    font-weight: bold;
    font-family: barlow;
	transition: all 0.2s ease;
}

#swipe-handle.closed .status-list-toggle-container {
	width: 40px;
	transform: scaleY(0.7);
	border: 4px solid #171d5d;
	border-right: 3px solid #171d5d;
	border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.status-list-main .handle-border.closed {
	width: 40px;
	transform: scaleY(0.73);
	border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.status-list-toggle-container.closed .ignore-scale {
	transform: scaleY(calc(1/0.6)) translate(-77%, -31%);
}

.status-list-toggle-container span,
.status-list-toggle-container img {
	position: absolute;
	top: 50%;
	left: 56%;
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
}

.status-list-toggle-container img {
	left: 50% !important;
}

#swipe-handle.closed .status-list-toggle-container img {
	opacity: 1;
}
.status-list-toggle-container img {
	opacity: 0;
}
#swipe-handle.closed .status-list-toggle-container span.bi-caret-left-fill {
	opacity: 0;
}
.status-list-toggle-container span.bi-caret-left-fill {
	opacity: 1;
}

.status-list-field {
	border-top: 1px #302C6C solid;
	background-image: linear-gradient(to right, #302B6B, #2E5A90);
}

.status-list-field:hover {
	background-image: linear-gradient(to left, #302B6B, #2E5A90);
	cursor: pointer;
}

.status-list-even {
	background-color:#e3e7ee;
}

.status-list-odd {
	background-color: #ffffff;
}

.status-list-field-routed {
	color: black;
	margin-bottom: 4px;
	background-color: white;
	padding: 0px 4px 0px 2px;
	border-radius: 0 6px 6px 0;
}

.status-list-field-routed .col-5,
.status-list-field-routed .col-2,
.status-list-field-routed .col-6,
.status-list-field-routed .col-4 {
	padding: 7px 0px;
}

.status-list-heading {
	padding: 5px 6px 5px 2px;
}

@media (hover: hover) {
	.status-list-field-routed:hover {
		background-color: rgb(185, 190, 197) !important;
		cursor: pointer;
	}
	.status-list-field-routed-grounded:hover {
		background-color: #b78c8c !important;
		cursor: pointer;
	}
}

.status-list-field-routed-grounded {
	background-color: var(--grounded) !important;
}


.status-list-field-routed.selected {
	background-color: #BACDE5 !important;
}

.status-list-field-routed-grounded.selected {
	background-color: #b29ccf !important;
}

.status-list-field-routed .capacity-type-indicator {
	width: 18px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.route-line-border .route-type-indicator {
	width: 4px;
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
	outline: 1px solid #0000003d;
}

.circle-line-border .route-type-indicator {
	width: 18px;
    height: 18px;
    position: absolute;
	top: 50%;
	left: -2px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background-color: transparent !important;
	border: 4px solid transparent;
	outline: 1px solid #0000003d;
}

.status-list-field-routed .demand-status-list-indicator {
	width: 14px;
	min-width: 14px;
	max-width: 14px;
    height: 14px;
    min-height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    filter: drop-shadow(0px 0px 1px #000000);
}

.status-list-field-routed .demand-status-list-indicator.high {
	background-color: #3FA337;
}

.status-list-field-routed .demand-status-list-indicator.medium {
	background-color: #F38D08;
}

.status-list-field-routed .demand-status-list-indicator.low {
	background-color: var(--danger);
}

.status-list-station-overlay,
.status-list-parked-overlay,
.status-list-pending-overlay,
.status-list-enroute-overlay {
	position: fixed;
    height: 100%;
    background-color: #21212178;
    z-index: 1;
    top: 66px;
    width: 248px;
    left: 0;
}

.status-list-station-overlay .status-list-station-sorting,
.status-list-parked-overlay .status-list-parked-sorting,
.status-list-pending-overlay .status-list-pending-sorting,
.status-list-enroute-overlay .status-list-enroute-sorting {
	width: 96%;
    margin: auto;
    border-radius: 9px;
}

.status-list-station-overlay .status-list-station-sorting .form-check,
.status-list-parked-overlay .status-list-parked-sorting .form-check,
.status-list-pending-overlay .status-list-pending-sorting .form-check,
.status-list-enroute-overlay .status-list-enroute-sorting .form-check {
	padding-left: unset;
	margin-bottom: unset;
	min-width: 65px;
}

.status-list-station-overlay .status-list-station-sorting .sorting-arrow-wrapper,
.status-list-parked-overlay .status-list-parked-sorting .sorting-arrow-wrapper,
.status-list-pending-overlay .status-list-pending-sorting .sorting-arrow-wrapper,
.status-list-enroute-overlay .status-list-enroute-sorting .sorting-arrow-wrapper {
	background-color: #5b9529;
    border-radius: 16px;
	padding: 3px 5px;
	min-width: 34px;
    min-height: 18px;
    cursor: pointer;
}

.status-list-station-overlay .status-list-station-sorting .selected-sorting-arrow,
.status-list-pending-overlay .status-list-pending-sorting .selected-sorting-arrow,
.status-list-parked-overlay .status-list-parked-sorting .selected-sorting-arrow,
.status-list-enroute-overlay .status-list-enroute-sorting .selected-sorting-arrow {
	filter: invert(32%) sepia(13%) saturate(4463%) hue-rotate(63deg) brightness(92%) contrast(87%) !important;
}

.sorting-arrow-wrapper .spinner-border {
	width: 10px !important;
	height: 10px !important;
}

.btn-service {
	background-color: #147a14;
	color:#FFFFFF;
	font-family: barlow;
}

.btn-service:hover {
	background-color:#297a04;
	color:#FFFFFF;
}

.animDiv {
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.bg-grounded {
	background-color: var(--grounded);
}

.status-list {
	position: relative;
	height: 100%;
}

.status-list-main .status-list-bottom-content {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 2;
}

.btn-status-list {
    background-color:#141C54;
    border:0;
    color:#FFFFFF !important;
    border-right:1px #323473 solid;
    border-left:1px #323473 solid;
    font-family: barlow;
    font-size:10px;
}

.btn-status-list-active {
    background-color:#FACB00 !important;
    color:#000000 !important;
}

.btn-status-list-active img {
	filter: none !important;
}

.btn-status-list:hover {
    background-color: #4d579b;
}

.statusListBtns img {
	margin-bottom: 0.25rem;
}

.status-list-tabs {
	max-width: 100%;
	height: 38px;
    border-top: 2px #323473 solid;
    background-color: #323473;
}

.status-list-tabs button {
	color: #fff;
}

.status-counter-wrapper {
	position: absolute;
    top: 0;
    color: black;
    width: 100%;
    z-index: 2;
    display: flex;
    transform: translate(0, -56%);
}

.status-counter-wrapper span {
    padding: 2px 5px;
    min-width: 20px;
    text-align: center;
    border-radius: 8px;
    margin-right: 4px;
}

.status-list-content .boosted-demand-indicator {
	position: absolute;
    right: 0;
    top: 0;
    background-color: #62C0AA;
    border-radius: 9px;
    font-size: 10px;
	font-family: barlow;
    padding: 0px 5px;
    transform: translate(0, -50%);
}

#multiple-actions-wrapper {
    background-color: #141c54;
    border-radius: 9px 9px 0px 0px;
    margin: 0 5px;
    width: 237px;
}

#multiple-actions-wrapper .in-service-wrapper {
	display: flex;
    justify-content: space-between;
	align-items: center;
    background-color: white;
    border-radius: 16px;
    color: #707273;
	min-height: 25px;
}

.sidebar-details-card-content .in-service-wrapper {
	display: flex;
    justify-content: space-between;
	align-items: center;
    background-color: var(--gray);
    border-radius: 16px;
    color: #707273;
	min-height: 25px;
}

.form-switch.flat-switch {
	margin: 0 !important;
}

.form-switch.flat-switch .form-check-input {
	width: 40px !important;
	height: 15px !important;
	background-color: #C0C5CD !important;
	border-color: #C0C5CD !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-switch.flat-switch .form-check-input.service-toggle {
	background-color: #B60D34 !important;
	border-color: #B60D34 !important;
}

.form-switch.flat-switch .form-check-input:checked {
	background-color: #5B9529 !important;
	border-color: #5B9529 !important;
}
.form-switch.flat-switch .form-check-input:focus {
	border-color: #C0C5CD !important;
    box-shadow: 0 0 0 0.25rem rgba(194, 194, 194, 0.25) !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

#status-list-pending .pending-sidebar-icon-wrapper,
.pending-type-icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    border-radius: 4px;
}

#status-list-pending .pending-sidebar-icon-wrapper img,
.pending-type-icon-wrapper img {
	width: 100%;
}

.sidebar-details-card {
	background-color: white;
    border-radius: 10px;
}

.sidebar-details-card .sidebar-details-card-header {
	background-color: #c7daf3;
	border-radius: 10px 10px 0 0;
}

.sidebar-details-card .sidebar-details-card-header.grounded {
	background-color: var(--grounded);
}

.sidebar-details-card .sidebar-details-card-content .sidebar-train-details-img {
	width: 100%;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
	border-radius: 9px;
}

.sidebar-details-card .sidebar-details-card-content .gray-stats-rounded-end {
	min-height: 30px !important;
    height: 30px !important;
	border-radius: 0 6px 6px 0;
}
.sidebar-details-card .sidebar-details-card-content .gray-stats-rounded-start {
	min-height: 30px !important;
    height: 30px !important;
	border-radius: 6px 0 0 6px;
}

.sidebar-details-card.sidebar-details-thin .sidebar-details-card-content .gray-stats-rounded-end {
	min-height: 25px !important;
    height: 25px !important;
	border-radius: 0 4px 4px 0;
}
.sidebar-details-card.sidebar-details-thin .sidebar-details-card-content .gray-stats-rounded-start {
	min-height: 25px !important;
    height: 25px !important;
	border-radius: 4px 0 0 4px;
}

.sidebar-details-card .on-time-indicator-start {
	background-color: var(--success);
	border-radius: 12px 0 0 12px;
	border-right: 1px solid white;
}

.sidebar-details-card .on-time-indicator-start.delayed {
	background-color: var(--warning);
	color: black;
}

.sidebar-details-card .on-time-indicator-end {
	background-color: var(--success);
	border-radius: 0 12px 12px 0;
	border-left: 1px solid white;
}

.sidebar-details-card .on-time-indicator-end.delayed {
	background-color: var(--warning);
	color: black;
}

.sidebar-details-card .enroute-route-progress-bar {
    height: 2px;
    position: absolute;
    left: 0;
    top: 39px;
    background-color: #5b9529;
}

/* -------------------- COMPONENT SPECIFIC CSS - map controls -------------------- */

.map-controls-wrapper {
	position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
	z-index: 500;
}

@media (max-width: 480px) {
	.map-controls-wrapper {
		transform: translateX(0%);
		left: 23px;
	}
}

.map-btn-off {
	border-radius: 20px;
	border-top: 3px #171D55 solid;
	border-left: 3px #171D55 solid;
	border-bottom: 3px #171D55 solid;
	border-right: 3px #171D55 solid;
}
.map-btn-on {
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
	border-bottom: 3px #171D55 solid;
	border-left: 3px #171D55 solid;
	border-right: 3px #171D55 solid;
}
.map-btn-img-wrapper {
	width: 31px !important;
    height: 31px;
    border-radius: 50%;
	z-index: 999;
}
.map-btn-on .map-btn-img-wrapper {
    background-color: var(--warning);
	transform: translateY(1px);
}

.map-control-container {
	background-color: white;
	border-top: 3px #171D55 solid;
	border-right: 3px #171D55 solid;
	border-top-right-radius: 9px;
	border-top-left-radius: 9px;
	border-left: 3px #171D55 solid;
	min-height: 225px;
	width: 250px;
	padding-bottom: 4px;
}

.map-control-map-wrapper {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    grid-gap: 4px;
}

.map-btn-control-b {
	background-color: white;
	border-left: 3px #171D55 solid;
	border-right: 3px #171D55 solid;
	height: 20px;
	width: 37px;
}

.map-btn-control-border-bottom {
	position: absolute;
	bottom: 0px;
	left: 34px;
	width: 215px;
	border-bottom: 3px #171D55 solid;
}

.map-toggles-wrapper {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    grid-gap: 4px;
}

.map-toggles-wrapper .map-toggle {
	background-color: var(--gray);
	display: flex;
    justify-content: space-between;
    align-items: center;
	border-radius: 12px;
	padding: 0px 6px;
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 28px;
	display: flex;
    justify-content: right;
    align-items: center;
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper input {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper label {
	display: block;
    width: 40px;
    height: 18px;
    background-color: #C0C5CD;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper label.checked {
    background-color: #539531;
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper label.disabled {
	border: 2px solid #bfbfbf;
	cursor: default;
	background-color: white;
}


.map-toggles-wrapper .map-toggle .map-checkbox-wrapper label::after {
	content: "";
    width: 12px;
    height: 12px;
    background-color: white;
    position: absolute;
    border-radius: 70px;
    top: 2.5px;
    left: 2px;
    transition: 0.5s;
	filter: drop-shadow(0px 0px 1px rgba(0,0,0,0.5));
}

.map-toggles-wrapper .map-toggle .map-checkbox-wrapper label.checked::after {
	right: 2px;
	left: unset;
}

#map-btn-div {
	width: 37px;
	height: 37px;
}

.map-control-border {
	box-shadow: 0px 0px 0px 3px rgba(255,255,82559,0.3);
}

.zoom-controls-a {
	width: 80px;
	background-color: white;
	height: 37px;
	border: 3px #171D55 solid;
	border-radius: 20px;
}

.stationControl-a {
	background-color: white;
	border: 3px #171D55 solid;
	height: 37px;
	border-radius: 20px;
	display: flex;
    align-items: center;
    justify-content: center;
}
.stationControl-a div:not(.horizontal-divider):not(.spinner-border) {
	width: 35px;
	display: flex;
    justify-content: center;
    align-items: center;
	height: 100%;
	padding: 0 2px;
}
#baseStationToggle {
	border-radius: 20px 0 0 20px;
}
#menu-research {
	border-radius: 0 20px 20px 0;
	height: 100%;
}
#menu-research.selected {
	background-color: var(--warning);

}
.stationControl-a .horizontal-divider {
	height: 100%;
	width: 2px;
	background-color: #171D55;
}

#baseStationToggle.selected {
	background-color: var(--warning);
}
#baseStationToggle.selected img {
	transform: translateY(-2px) !important;
}

/* -------------------- COMPONENT SPECIFIC CSS - departure summary -------------------- */

#departure-summary {
	position: absolute;
	width: 350px;
	bottom: 5px;
    left: 50%;
	transform: translateX(-50%);
	max-width: 250px;
    background-color: #F8F9FA;
    border: 3px solid rgb(20 28 84);
    border-radius: 5px;
	box-shadow: 0px 0px 0px 3px rgba(255,255,82559,0.3);
	z-index: 9999;
}

#departure-summary .departure-summary-header {
	display: flex;
    justify-content: space-between;
	background-color: #141c54;
}

.fade-line {
	width: 100%;
	height: 3px;
	background: -moz-linear-gradient(left, rgba(47, 76, 133, 0) 0%, rgba(47, 76, 133, 1) 49%, rgba(47, 76, 133, 0) 100%);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(48,77,133,1) 44%, rgba(48,77,133,1) 56%, rgba(255,255,255,0) 100%);
}

/* -------------------- COMPONENT SPECIFIC CSS - Routing & purchase station map modals -------------------- */

#routeHelper, #stationsHelper, #licensesHelper {
	position: absolute;
	height: 100%;
    width:300px;
    left:0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    z-index:99999;
	pointer-events: none;
	touch-action: none;
}

#routeHelperContent, .stations-helper-body, .licenses-helper-body {
	position: relative;
	margin-top: 10px;
	box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
	pointer-events: all;
	touch-action: auto;
	border-radius: 10px;
}

#routeHelperContent .route-helper-header {
	height: 30px;
    background-color: #171D55;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#routeHelperContent .route-helper-body .bottom-divider,
#stationsHelper .bottom-divider,
#licensesHelper .bottom-divider {
	border-bottom: 1px #D9D9D9 solid;
}

#routeHelper .routing-toggle-wrapper {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	display: flex;
    justify-content: center;
    align-items: center;
}

#routeHelper .routing-toggle-wrapper input {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

#routeHelper .routing-toggle-wrapper label {
	display: block;
    width: 45px;
    height: 22px;
    border: 2px solid var(--pax-blue);
    background-color: #EAEAEA;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

#routeHelper .routing-toggle-wrapper label.checked {
    border: 2px solid var(--freight-green);
}

#routeHelper .routing-toggle-wrapper label.disabled {
	border: 2px solid #bfbfbf;
	cursor: default;
	background-color: white;
}


#routeHelper .routing-toggle-wrapper label::after {
	content: "";
    width: 16px;
    height: 16px;
    background-color: var(--pax-blue);
    position: absolute;
    border-radius: 70px;
    top: 1px;
    left: 2px;
    transition: 0.5s;
	filter: drop-shadow(0px 0px 1px rgba(0,0,0,0.5));
}

#routeHelper .routing-toggle-wrapper label.checked::after {
	right: 2px;
	left: unset;
	background-color: var(--freight-green);
}

#routeHelper .routing-toggle-wrapper label.disabled::after {
	background-color: #bfbfbf;
}

#routeHelper #pass-toggle-icon {
    width: 55px;
    height: 44px;
    border: 2px var(--pax-blue) solid;
    border-radius: 9px;
}

#routeHelper #pass-toggle-icon.selected {
	background-color: var(--pax-blue);
	color: white;
}

#routeHelper #pass-toggle-icon.selected img,
#routeHelper #pass-toggle-icon.disabled img {
	filter: invert(1);
}

#routeHelper #freight-toggle-icon {
	width: 55px;
    height: 44px;
    border: 2px var(--freight-green) solid;
    border-radius: 9px;
}

#routeHelper #freight-toggle-icon.selected {
	background-color: var(--freight-green);
	color: white;
}

#routeHelper #freight-toggle-icon.selected img,
#routeHelper #freight-toggle-icon.disabled img {
	filter: invert(1);
}

#routeHelper #freight-toggle-icon.disabled,
#routeHelper #pass-toggle-icon.disabled {
	border: none;
    color: white;
    background-color: rgba(0,0,0,.25);
}

#routeHelper #routing-step-1,
#routeHelper #routing-step-2,
#stationsHelper #stations-step-1, 
#stationsHelper #stations-step-2 {
	border-radius: 10px;
}

#routeHelper #routing-step-2 .routing-type-icon-wrapper {
	position: absolute;
	top: 0;
	right: 13px;
	display: flex;
}

#routeHelper #routing-step-2 .routing-type-icon-wrapper .pax-icon {
	background-color: #2086EF;
	display: flex;
    padding: 3px 3px 3px 5px;
    border-radius: 0 0 5px 5px;
    height: 17.11px;
}

#routeHelper #routing-step-2 .routing-type-icon-wrapper .freight-icon {
	background-color: var(--freight-green);
	display: flex;
	padding: 3px 4px;
    border-radius: 0 0 5px 5px;
    height: 17.11px;
}

#routeHelper #routing-step-2 .routing-type-icon-wrapper img {
	width: 20px;
    filter: invert(1);
}

#routeHelper #routing-step-2 .routing-boosted-demand {
	position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    font-family: barlow;
	background-color: #62C0AA;
    border-radius: 9px;
    padding: 0px 5px;
	transform: translate(2px, -1px);
}

#routeHelper button.btn-primary {
	background-color: #2C76F0;
	border-color: #2C76F0 !important;
}

#routeHelper button.btn-primary:hover,
#routeHelper button.btn-primary:active {
	background-color: #215D8E !important;
	border-color: #215D8E !important;
}

#routeHelper .gray-stats-rounded-start,
#routeHelper .gray-stats-rounded-end {
	min-height: 31px;
	height: 31px;
}

#routeHelper .gray-stats-rounded-start {
	min-width: 35px;
}

#routeHelper .city-left,
#routeHelper .city-right {
	position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    border: 3px solid var(--pax-blue);
}
#routeHelper .city-right {
	right: 0;
}

#routeHelper.freight .city-left,
#routeHelper.freight .city-right {
    border: 3px solid var(--freight-green);
}

#routeHelper .routing-line {
	position: absolute;
	top: 4px;
	width: 100%;
    height: 2px;
    background-color: var(--pax-blue);
}

#routeHelper.freight .routing-line {
	background-color: var(--freight-green);
}

#routeHelper .route-info-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
}

#routeHelper .pill-wrapper {
	gap: 2px;
}

#routeHelper .route-info-wrapper .pill {
	padding: 2px 5px;
    background-color: var(--pax-blue);
    border-radius: 5px;
    color: white;
	flex: 1;
	white-space: nowrap;
}

#routeHelper.freight .route-info-wrapper .pill {
	background-color: var(--freight-green);
}

#routeHelperMessages {
	pointer-events: all;
	touch-action: auto;
}

#routeHelperWarnings {
    width: 100%;
	display: flex;
    flex-direction: column;
    gap: 0.25rem;
	pointer-events: all;
	touch-action: auto;
}

#routeHelperWarnings .warning-message-wrapper {
	filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.3));
}

#routeHelperTracks {
	position: fixed;
	bottom: -200px;
	width: 300px;
	max-width: 300px;
	pointer-events: all;
	touch-action: auto;
	filter: drop-shadow(rgba(0, 0, 0, 0.46) 0px 0px 5px);
}

#routeHelperTracks .route-helper-tracks-handle {
    border-radius: 11px 11px 0 0;
	cursor: pointer;
}

#routeHelperTracks .route-helper-tracks-body {
	display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
	flex-direction: column;
	border-radius: 11px 11px 0 0;
}

#routeHelperTracks .alternate-tracks-wrapper {
	column-gap: 8px;
	row-gap: 5px;
	display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
}

#routeHelperTracks .alternate-track-pill {
	padding: 3px 8px;
	border-radius: 5px;
	color: var(--pax-secondary-text);
	background-color: var(--pax-tetriary);
	border: 1px solid var(--pax-tetriary);
	cursor: pointer;
}

#routeHelperTracks.freight .alternate-track-pill {
	color: var(--freight-secondary-text);
	background-color: var(--freight-tetriary);
	border: 1px solid var(--freight-tetriary);
}

#routeHelperTracks .alternate-track-pill.selected {
	background-color: var(--pax-blue);
	border-color: var(--pax-selected-border);
    color: white;
	cursor: default;
}

#routeHelperTracks.freight .alternate-track-pill.selected {
	background-color: var(--freight-green);
	border-color: var(--freight-selected-border);
    color: white;
	cursor: default;
}

#routeHelperTracks .alternate-track-pill:not(.selected):first-child,
#routeHelperTracks .alternate-track-pill:not(.selected):nth-child(2), 
#routeHelperTracks .alternate-track-pill:not(.selected):nth-child(3) {
	background-color: var(--pax-secondary);
	border-color: var(--pax-secondary);
	color: var(--pax-secondary-text);
}

#routeHelperTracks.freight .alternate-track-pill:not(.selected):first-child,
#routeHelperTracks.freight .alternate-track-pill:not(.selected):nth-child(2), 
#routeHelperTracks.freight .alternate-track-pill:not(.selected):nth-child(3) {
	background-color: var(--freight-secondary);
	border-color: var(--freight-secondary);
	color: var(--freight-secondary-text);
}

#stationsHelper #stations-step-1 .light-blue-bg:first-child {
	border-radius: 7px 0 0 7px;
	border-right: 1px solid white;
}

#stationsHelper #stations-step-1 .light-blue-bg:last-child {
	border-radius: 0 7px 7px 0;
	border-left: 1px solid white;
}

#stationsHelper #stations-step-2 .gray-stats-rounded-start {
	width: 33px !important;
	min-width: 33px !important;
	height: 30px !important;
    min-height: 30px !important;
}

#stationsHelper #stations-step-2 .gray-stats-rounded-start.white-stats,
#stationsHelper #stations-step-2 .gray-stats-rounded-end.white-stats {
	background-color: white !important;
	border-color: #C9DAF4 !important;
}

#stationsHelper #stations-step-2 .gray-stats-rounded-end {
	height: 30px !important;
    min-height: 30px !important;
}

#stationsHelper .bi-chevron-down {
    transition: transform 0.2s;
}

#stationsHelper #stations-step-2 .tracks-top-wrapper {
	max-width: 225px;
    margin: auto;
    border-radius: 9px 9px 0 0;
}

#stationsHelper #stations-step-2 .tracks-btn-wrapper {
	border-radius: 9px 9px 0 0;
	border-bottom: 2px solid white;
	column-gap: 4px;
    row-gap: 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#stationsHelper #stations-step-2 .tracks-btn-wrapper button {
	width: 35px;
	min-width: 35px;
	width: 35px;
    min-width: 35px;
    font-size: 10px;
    padding: 0px 2px !important;
    border-radius: 10px;
    font-family: montserrat-bold;
}

#stationsHelper #stations-step-2 .tracks-btn-wrapper button.selected {
	border: 2px solid white !important;
}

#stationsHelper #stations-step-2 .tracks-bottom-wrapper {
	border-radius: 0 0 9px 9px;
}

#licensesHelper #licenses-flow-search {
	min-height: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    font-family: montserrat;
}

#licensesHelper #clear-licenses-input {
	font-size: 14px;
    position: absolute;
    right: -256px;
    top: 5px;
    color: gray;
	cursor: pointer;
}

.ui-autocomplete {
	max-height: 175px !important;
    overflow-y: scroll;
}

.ui-autocomplete .ui-menu-item-wrapper {
	font-family: montserrat;
	font-size: 12px !important;

}

#licensesHelper #licenses-flow-licenses-wrapper {
	max-height: 164px;
    overflow-y: scroll;
    display: flex;
    padding: 5px;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
}

#licensesHelper .license-item {
	border-radius: 7px;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    display: flex;
    flex-direction: column;
	max-width: 120px;
    width: 120px;
}

#licensesHelper .license-item .license-item-top {
	display: flex;
    flex-direction: column;
    padding: 2px 4px;
	padding-right: 24px;
	position: relative;
}

#licensesHelper .license-item .flag-img {
	width: 20px;
    position: absolute;
    right: 4px;
    top: 3px;
    border: 1px solid #c9c9c9;
}

#licensesHelper .license-item .license-item-bot {
	border-radius: 0 0 7px 7px;
	display: flex;
    justify-content: center;
    padding: 4px;
	margin-top: auto;
}

@media (hover: hover) {
	#stationsHelper #stations-step-2 .tracks-btn-wrapper button:hover {
		filter: brightness(85%);
	}
}

/* -------------------- COMPONENT SPECIFIC CSS - routing & station map elements (tooltips etc) -------------------- */
.routing-tooltip {
	font-family: montserrat-semi;
	font-size: 10px;
	line-height: 11px;
	text-align: center;
	text-transform: uppercase;
	padding: 3px 6px !important;
	border-radius: 6px !important;
	filter: drop-shadow(0 0 3px black);
	display: flex;
	flex-direction: column;
	position: relative;
	opacity: 0 !important;
	transition: opacity .3s ease-in-out;
}
.routing-tooltip.fade-in {
	opacity: 1 !important;
}
.routing-tooltip .headline {
	font-family: montserrat-semi;
	font-size: 11px;
	line-height: 12px;
}
.routing-tooltip.blue .headline,
.routing-tooltip.green .headline {
	font-family: montserrat-semi;
}
.routing-tooltip.blue.bottom::before {
	border-bottom: 10px solid var(--pax-blue) !important;
	top: -4px !important;
}
.routing-tooltip.blue.top::before {
	border-top: 10px solid var(--pax-blue) !important;
	bottom: -4px !important;
}
.routing-tooltip.blue.left::before {
	border-left: 10px solid var(--pax-blue) !important;
	right: -4px !important;
}
.routing-tooltip.blue.right::before {
	border-right: 10px solid var(--pax-blue) !important;
	left: -4px !important;
}

.routing-tooltip.green.bottom::before {
	border-bottom: 10px solid var(--freight-green) !important;
	top: -5px !important;
}
.routing-tooltip.green.top::before {
	border-top: 10px solid var(--freight-green) !important;
	bottom: -5px !important;
}
.routing-tooltip.green.left::before {
	border-left: 10px solid var(--freight-green) !important;
	right: -5px !important;
}
.routing-tooltip.green.right::before {
	border-right: 10px solid var(--freight-green) !important;
	left: -5px !important;
}

.routing-tooltip.gray.bottom::before {
	border-bottom: 10px solid var(--routing-grey) !important;
	top: -5px !important;
}
.routing-tooltip.gray.top::before {
	border-top: 10px solid var(--routing-grey) !important;
	bottom: -5px !important;
}
.routing-tooltip.gray.left::before {
	border-left: 10px solid var(--routing-grey) !important;
	right: -5px !important;
}
.routing-tooltip.gray.right::before {
	border-right: 10px solid var(--routing-grey) !important;
	left: -5px !important;
}

.routing-tooltip.closed {
	padding: 4px 8px !important;
}

.routing-tooltip.blue {
	font-family: montserrat;
	background-color: var(--pax-blue) !important;
	border-color: var(--pax-blue) !important;
	color: white !important;
	font-weight: 500;
}

.routing-tooltip.green {
	font-family: montserrat;
	background-color: var(--freight-green) !important;
	border-color: var(--freight-green) !important;
	color: white !important;
	font-weight: 500;
}

.routing-tooltip.gray {
	font-family: montserrat;
	background-color: var(--routing-grey) !important;
	border-color: var(--routing-grey) !important;
	color: white !important;
	font-weight: 500;
}

.routing-tooltip:not(.blue):not(.green) .routing-demand-bar {
	background-color: #bdbdbd !important;
}

.routing-tooltip .routing-demand-row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin-top: 3px;
	gap: 3px;
}

.routing-tooltip .routing-demand-bar {
	width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 8px;
	box-shadow: 0 0 0 1px #fff;
}

.routing-tooltip .routing-demand-bar .high,
.routing-tooltip .routing-demand-bar .medium,
.routing-tooltip .routing-demand-bar .low {
	height: 100%;
	border-radius: 8px;
}

.routing-tooltip .routing-demand-circle,
.route-popup .routing-demand-circle {
	width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 50%;
}

.routing-tooltip .high,
.route-popup .high {
	background-color: #3FA337 !important;
}

.routing-tooltip .medium,
.route-popup .medium {
	background-color: #F38D08 !important;
}

.routing-tooltip .low,
.route-popup .low {
	background-color: var(--danger) !important;
}

.routing-tooltip .demand-event{
	position: absolute;
	left: 50%;
	bottom: -12px;
	z-index: 9999;
	background-color: #3FA337;
	border-radius: 10px;
	border: 1px solid #fff;
	padding: 0 2px;
	transform: translateX(-50%);
	color: #fff;
	font-size: 0.8em;
	font-weight: 900;
}

.routing-tooltip .demand-event.demand-event-drop{
	background-color: var(--danger) !important;
}

.route-popup .boosted-demand-indicator {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 10px;
	font-family: barlow;
	background-color: #62C0AA;
	border-radius: 9px;
	padding: 0px 5px;
	transform: translate(-10px, -4px);
}

.route-popup .boosted-demand-indicator.demand-event-drop {
	color: #fff;
	background-color: var(--danger) !important;
}

.routing-tooltip.blue:not(.hidden-routes-count):after {
	position: absolute;
    top: -10px;
	right: -10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
	background-color: #3a80ea;
	content: "";
}

.routing-tooltip.green:not(.closed):not(.hidden-routes-count):after {
	position: absolute;
    top: -10px;
	right: -10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
	background-color: var(--freight-green);
	content: "";
}

.routing-tooltip .routes-count {
	position: absolute;
    top: -10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -9.5px;
	opacity: 0.9;
	z-index: 1;
}

.routing-tooltip .routes-count.hidden-routes-count {
	display: none;
}

.routing-track-tooltip {
	font-family: barlow-semi;
	font-size: 10px;
	line-height: 11px;
	text-align: center;
	text-transform: uppercase;
	padding: 2px 4px !important;
	border-radius: 6px !important;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9) !important;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9) !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0 !important;
	transition: opacity .3s ease-in-out;
}
.routing-track-tooltip.selected.fade-in {
	opacity: 0.9 !important;
}
.routing-track-tooltip:not(.selected).fade-in {
	opacity: 0.7 !important;
}

.routing-track-tooltip.selected {
	color: var(--pax-blue-text) !important;
}

.routing-track-tooltip.selected.freight {
	color: var(--freight-green-text) !important;
}

.routing-track-tooltip .headline {
	font-family: barlow-bold;
    font-size: 12px;
    margin-bottom: 3px;
}

.routing-track-tooltip.leaflet-tooltip-bottom::before {
	border-bottom: 10px solid white !important;
	top: -5px !important;
}
.routing-track-tooltip.leaflet-tooltip-top::before {
	border-top: 10px solid white !important;
	bottom: -5px !important;
}
.routing-track-tooltip.leaflet-tooltip-left::before {
	border-left: 10px solid white !important;
	right: -5px !important;
}
.routing-track-tooltip.leaflet-tooltip-right::before {
	border-right: 10px solid white !important;
	left: -5px !important;
}

.route-popup {
	font-family: montserrat;
	font-weight: 600;
	font-size: 11px;
	line-height: 12px;
	text-align: center;
	color: #424242 !important;
}

/* stations and licenses station marker */
.marker-station-blue {
	background-color: white;
    border-radius: 50%;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    border: 2px solid #141c54;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.46);
}

.stations-track-tooltip {
	font-family: barlow-semi;
	font-size: 10px;
	line-height: 11px;
	text-align: center;
	text-transform: uppercase;
	padding: 2px 4px !important;
	border-radius: 6px !important;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9) !important;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9) !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0 !important;
	transition: opacity .3s ease-in-out;
}

.stations-track-tooltip.fade-in {
	opacity: 0.9 !important;
}

.license-border-highlight-anim {
	animation: license-border-highlight 2.5s normal forwards ease-in-out;
}

@keyframes license-border-highlight {
	0% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/* -------------------- COMPONENT SPECIFIC CSS - modal -------------------- */

#modal-content {
	background-color: var(--gray);
}
.modal-content  {
	border: 3px solid rgba(255, 255, 255, .3);
	border-radius: 12px !important;
	max-width: 100%;
    overflow-x: hidden;
}

.modal-header {
	border-radius:1px !important;
	background-color: var(--blue-dark);
    border-bottom: 0px;
}

.modal-title {
	color: var(--warning);
    letter-spacing: 1px;
    line-height: 22px;
    padding: 5px 0px;
}

/* Chrome scrollbar */
.modal-body::-webkit-scrollbar {
	width: 5px;
	background-color: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
	background-color: rgba(232, 228, 228, 0.478);
	border-radius: 10px;
}

.modal {
	top: 35px;
}

.btn-header {
	background-color: var(--blue-dark);
	color: #FFFFFF;
	text-transform: uppercase;
	font-family: barlow;
	border: 0;
	overflow: hidden;
	white-space: nowrap;
	display: block;
	text-overflow: ellipsis;
	border-image-slice: 1;
	border: 2px solid;
    border-image: linear-gradient(0deg, rgba(30,35,72,1) 0%, rgba(46,87,139,1) 100%) 2;
}

.modal-menu-btn {
	font-size: 13px;
    line-height: 13px;
    letter-spacing: 0.7px;
	display: inline-block;
}

.btn-header:active, .btn-header:hover, btn-header:visited, btn-header:focus {
	background-color: #2d3ca4 !important;
	color:#FFFFFF !important;
	border-image-slice: 1;
	border: 2px solid;
    border-image: linear-gradient(0deg, rgba(30,35,72,1) 0%, rgba(46,87,139,1) 100%) 2;

}

.btn-header-active:hover, .btn-header-active:visited, .btn-header-active:focus {
	background-color: var(--warning) !important;
	color:#000000 !important;
	border: 2px solid;
    border-image: linear-gradient(0deg, rgba(245,176,15,1) 0%, rgb(249 230 156) 100%) 2;
}

.btn-header-active:active {
	background-color: var(--warning) !important;
	border: 2px solid;
    border-image: linear-gradient(0deg, rgba(245,176,15,1) 0%, rgb(249 230 156) 100%) 2;
}

.btn-header-active {
	background-color:var(--warning);
	color: #000000;
	text-transform: uppercase;
	font-family: barlow;
	border: 0;
	overflow: hidden;
	white-space: nowrap;
	display: block;
	text-overflow: ellipsis;
	border: 2px solid;
    border-image: linear-gradient(0deg, rgba(245,176,15,1) 0%, rgb(249 230 156) 100%) 2;
}

.header-button-group {
	position: sticky;
    top: 0;
    z-index: 99999;
	padding-top: 4px;
    background-color: #333475;
    border-radius: 0;
}

.header-button-group button {
	font-family: 'barlow-semi';
	height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-modal {
	background-color: #141C54;
	border-left: 7px #141C54 solid;
	border-right: 7px #141C54 solid;
	border-bottom: 7px #141C54 solid;
}

.modal-section-header {
	padding: 2px 0.5rem;
	font-size: 16px;
	font-family: 'barlow-semi';
}

.modal-section-header span:not(.bi) {
	transform: scale(1, 1.07);
    display: inline-block;
}

/* -------------------- COMPONENT SPECIFIC CSS - map -------------------- */

.map-light {
	background-color: #AAD3DF !important;
}

.map-dark {
	background-color:#1E1E1E !important;
}

.map-street {
	background-color:#73B6E6 !important;
}

.map-sat {
	background-color:#050A10 !important;
}

.map-city {
	background-color:#254D3C !important;
}

.map-sky {
	background-color:#A0C7EE !important;
}

.map-std {
    background-color:#13394D;
}

/* -------------------- COMPONENT SPECIFIC CSS - achievement alert -------------------- */

.achievement-wrapper .achievement-top-text-wrapper {
	width: 450px;
	margin: auto;
	position: absolute;
	color: black;
	letter-spacing: 1px;
	top: 17.5%;
	font-size: 16px;
}

.achievement-wrapper .achievement-top-text-wrapper .left {
	position: absolute;
    left: 61px;
    transform: rotate(-7deg);
}

.achievement-wrapper .achievement-top-text-wrapper .right {
	position: absolute;
	right: 69px;
    transform: rotate(7deg);
}

.achievement-wrapper .achievement-img {
	position: absolute;
    top: 31.5%;
    left: 50%;
    transform: translateX(-50%);
}

.achievement-wrapper .achievement-text-wrapper {
	position: absolute;
    top: 61%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.achievement-wrapper .achievement-name {
	letter-spacing: 2px;
    color: #fac33f;
    font-size: 20px;
	line-height: 20px;
}

.achievement-wrapper .achievement-points-text {
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 1px;
}

.achievement-wrapper .achievement-points-icon {
	width: 20px;
    filter: invert(1);
}

.achievement-btn {
	position: absolute;
    top: 76%;
    left: 50%;
    transform: translateX(-50%);
	padding: 0.25rem 1rem !important;
	background-color: var(--success) !important;
	height: 28px !important;
	font-size: 14px !important;
	font-family: 'barlow';
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 4px !important;
}

/* desktop */
@media (min-width: 500px) {
	.achievement-wrapper .achievement-background,
	.achievement-wrapper .achievement-top-text-wrapper {
		max-width: 450px !important;
	}
	.achievement-wrapper .achievement-img {
		width: 113.25px;
	}
}

/* mobile */
@media (max-width: 500px) {
	.achievement-wrapper .achievement-top-text-wrapper {
		width: 100%;
		top: 17%;
		font-size: 14px;
	}

	.achievement-wrapper .achievement-top-text-wrapper .left {
		left: 12%;
	}

	.achievement-wrapper .achievement-top-text-wrapper .right {
		right: 14%;
	}

	.achievement-wrapper .achievement-img {
		width: 25.5%;
	}

	.achievement-wrapper .achievement-name {
		font-size: 16px;
		line-height: 16px;
	}

	.achievement-wrapper .achievement-points-text {
		font-size: 12px;
		line-height: 12px;
	}

	.achievement-wrapper .achievement-name {
		margin-bottom: 0.5rem !important;
	}

	.achievement-btn {
		font-size: 12px !important;
		height: 24px !important;
	}
}

/* smaller mobile */
@media (max-width: 410px) {
	.achievement-wrapper .achievement-top-text-wrapper {
		top: 17.5%;
		font-size: 12px;
	}
}

/* smallest mobile */
@media (max-width: 355px) {
	.achievement-wrapper .achievement-top-text-wrapper {
		top: 18%;
		font-size: 10px;
	}
}

/* -------------------- COMPONENT SPECIFIC CSS - cross promotion -------------------- */

#cp-banner {
    position: relative;
	width: 90%;
    margin: auto;
	margin-bottom: 0.25rem;
    border: 4px #141c54 solid;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 50%);
}

#cp-banner img.close-btn {
	width:25px;
	pointer-events:auto;
	position:absolute;
	right:-14px;
	top:-11px;
}

#cp-banner .new-star-icon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-36%, -63%);
}

#cp-banner .new-star-icon-wrapper img {
	width: 43px;
}

#cp-banner .new-star-icon-wrapper span {
	position: absolute;
    top: 13px;
    left: 11px;
    transform: rotate(-11deg);
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    color: #3e97d3;
}

/* OLD STUFF BELOW - NOT SURE IF DEPRECATED */

.intro-bubble {
	position:absolute;
	width:200px;
	padding:5px;
	z-index:99999999999;
	color:#FFFFFF;
}

.intro-bottom {
	bottom:0px;
}

.intro-top {
	top: 180px;
}

.intro {
    z-index: 99999999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	color:#FFFFFF;
}

.intro div {
	 animation: fadein 1s;
	  -moz-animation: fadein 1s; /* Firefox */
	  -webkit-animation: fadein 1s; /* Safari and Chrome */
	  -o-animation: fadein 1s; /* Opera */
}

@keyframes fadein {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-moz-keyframes fadein { /* Firefox */
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-o-keyframes fadein { /* Opera */
	from {
		opacity:0;
	}
	to {
		opacity: 1;
	}
}

.placeholder {
 margin: 0 auto;
 background-color: #eee;
}

.rate {
	height: 50px;
	margin-left: -5px;
	padding: 5px;
	font-size: 36px;
	position: relative;
	cursor: pointer;
}
