/* CUSTOM CLASS START */

h1, h2, h3, h4, h5, h6 {
  margin-top: 1em;
}

.fade.in {
    opacity: 1
}

.Layout-semi-fullscreen {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.Content-semi-fullscreen {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
  margin: 0 !important;
  padding: 0 !important;
}

.spinner {
  margin: 0;
  width: 2em;
  text-align: center;
  display: inline-block;
}

.spinner > div {
  width: 0.5em;
  height: 0.5em;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner-light > div {
  background-color: #fff;
}

.spinner-dark > div {
  background-color: #231f20;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.blink1 {
	animation: blink1 2s cubic-bezier(1.0,0,0,1.0) infinite;
	-webkit-animation: blink1 2s cubic-bezier(1.0,0,0,1.0) infinite;
	-moz-animation: blink1 2s cubic-bezier(1.0,0,0,1.0) infinite;
}
@keyframes blink1 {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
@-webkit-keyframes blink1 {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
@-moz-keyframes blink1 {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

 .blink2 {
	animation: blink2 2s cubic-bezier(1.0,0,0,1.0) infinite;
	-webkit-animation: blink2 2s cubic-bezier(1.0,0,0,1.0) infinite;
	-moz-animation: blink2 2s cubic-bezier(1.0,0,0,1.0) infinite;
}

@keyframes blink2 {
  0% { opacity: 0.0; }
  50% { opacity: 1.0; }
  100% { opacity: 0.0; }
}
@-webkit-keyframes blink2 {
  0% { opacity: 0.0; }
  50% { opacity: 1.0; }
  100% { opacity: 0.0; }
}
@-moz-keyframes blink2 {
  0% { opacity: 0.0; }
  50% { opacity: 1.0; }
  100% { opacity: 0.0; }
}

.headerNavTitle--sm {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3.75rem;
	z-index: 10;
}

.headerNavSubtitle--sm {
	background-color: #F6F6F6;
	margin-top: 3.75rem;
	padding-right: 1.5rem;
}

.Header-menu li div {
	max-height: 100vh;
	overflow-y: auto;
}

.Header-menu-caret {
	display: none;
}

@media (max-width: 767.98px) {
	.Header-menu li > div {
	}

	.Header-menu-caret {
		display: inline;
		float: right;
		margin-top: 0.25rem;
	}

	.Header-menu li div.dropdown-menu {
		position: relative;
		width: 100%;
		padding: 0;
		margin: 0 0 1rem 0;
	}

	.Header-menu a.dropdown-item {
		padding: 0.5rem 1.5rem;
		border-bottom: 1px solid #DDE2DE;
	}

	.Header-menu a.dropdown-item:last-child {
		border: none;
	}

	.Header-menu a.dropdown-item + div.dropdown-divider  {
		border-top: 10px solid #DDE2DE;
		margin: 0;
	}
	
	ul.CopyFooter-menu > li {
		display: inline-block;
		margin-left: 1rem;
		margin-right: 1rem;
	}
	
	.Header-iconDiv {
		margin-top: 1rem;
	}

	.Header-menu-dark a.dropdown-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.Header-menu-dark a.dropdown-item + div.dropdown-divider  {
		border-top: 10px solid rgba(255, 255, 255, 0.05);
		margin: 0;
	}
	
	ul.Header-menu {
	  border-top: 1px solid #DDE2DE;
	  border-bottom: 1px solid #DDE2DE;
	}

	ul.Header-menu > li {
	  border-bottom: 1px solid #DDE2DE;
	}

	ul.Header-menu-dark {
	  border-top: 1px solid rgba(255, 255, 255, 0.05);
	}

	ul.Header-menu-dark > li {
	  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}
}

ul.Header-menu li div a {
  text-transform: none;
  display: block;
}

.Header-menu-dark, .Header-menu-dark .dropdown-menu, .Header-menu-dark a.dropdown-item {
	background-color: #2B2F37;
	color: #fff;
}

.Header-menu-dark > li > a {
  color: #fff;
}

.Header-menu-dark > li > a:hover, .Header-menu-dark > li > a:focus, .Header-menu-dark a.dropdown-item:hover, .Header-menu-dark a.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.05);
}

.carouselImg {
	max-width: 96px;
	max-height: 64px;
}

#inquiry-error-div {
	display: none;
}


mark {
  padding: 0;
  margin: 0;
}

.highlight-0 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #FFDC00, rgba(255, 255, 255, 0));
}

.highlight-1 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #01FF70, rgba(255, 255, 255, 0));
}

.highlight-2 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #7FDBFF, rgba(255, 255, 255, 0));
}

.highlight-3 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #39CCCC, rgba(255, 255, 255, 0));
}

.highlight-4 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #F012BE, rgba(255, 255, 255, 0));
}

.highlight-5 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #FF851B, rgba(255, 255, 255, 0));
}

.highlight-6 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #FF4136, rgba(255, 255, 255, 0));
}

.highlight-7 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #2ECC40, rgba(255, 255, 255, 0));
}

.highlight-8 {
	background-image: linear-gradient(-100deg, rgba(255, 255, 255, 0), #3D9970, rgba(255, 255, 255, 0));
}

tr.jqgridhighlight {
	background-color: #faf;
}

#galMaterialPdf {
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.GalleryImage-inner-pdf {
	min-height: calc(100vh - 10rem);
}

.GalleryImage-control--prev-pdf {
  top: calc(100vh / 3);
  bottom: calc(100vh / 3);
  left: 2rem;
}

.GalleryImage-control--next-pdf {
  top: calc(100vh / 3);
  bottom: calc(100vh / 3);
  right: 2rem;
}

.Journey-selector, .Journey-stops-summary, .Journey-stops {
	cursor: pointer;
}

.inquiry-error-div {
	display: none;
}

.SidebarPageMain {
  padding: 2.5rem 1rem 0;
}

.SidebarPageMain-header .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (min-width: 992px) {
  .SidebarPageMain {
    width: 50rem;
  }
}

.marker {
  background-image: url('/data/misc/map/markers/red.png');
}

.marker_orange {
  background-image: url('/data/misc/map/markers/orange.png');
}

.marker_green {
  background-image: url('/data/misc/map/markers/green.png');
}

.marker_blue {
  background-image: url('/data/misc/map/markers/blue.png');
}

.marker_gray {
  background-image: url('/data/misc/map/markers/gray.png');
}

.marker, .marker_orange, .marker_green, .marker_blue, .marker_gray {
  background-size: cover;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
}

.maplibregl-map {
  font-family: "europa", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  margin:0;
}

.maplibregl-ctrl-bottom-right {
	margin: 0rem;
 }

.maplibregl-ctrl {
  padding: .5rem !important;
  margin: 0 0.75rem 0.75rem 0.75rem !important;
  border-radius: 50% !important;
  line-height: 1;
}

.maplibregl-ctrl-scale {
	margin: .5rem .5rem 2rem .75rem !important;
	font-size: 0.75rem !important;
	border-radius: 0 !important;
	padding: 0.25rem !important;
}

@media (min-width: 1400px) {
	.maplibregl-ctrl-bottom-right {
		margin: 1.25rem;
	 }
}

.maplibregl-popup-close-button {
	color: #94969C !important;
	font-weight: bold;
	font-size: 1.5rem;
	padding: 0.75rem;
}

.maplibregl-popup-close-button:hover {
	color: #231f20 !important;
	background: none  !important;
}

.MapControls--inputs {
  top: 1rem;
  left: 1rem;
  padding: 0;
}

.MapContainer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
}

#map-main-menu {
  width: 20rem;
  max-width: calc(100vw - 4.25rem);
  max-height: inherit;
  overflow-y: auto;
  padding: 1rem;

	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
	clip-path: inset(0 -1rem 0 0);

/*	box-shadow: 0.5rem 0 0.5rem rgba(0, 0, 0, 0.15) !important;*/
  z-index: 2;
  }
  
#map {
	flex: 1;
}

#map-menu {
  width: 20rem;
  max-width: calc(100vw - 4.25rem);
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
  padding: 1rem;

  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

.map-menu-pointer {
	cursor: pointer;
}

.Logo-websupport {
  width: 12.375rem;
  height: 1.375rem;
}

.maplibregl-ctrl-attrib {
	display: none;
}

.twitter-typeahead {
	font-family: "europa", sans-serif, "Noto-Emoji";
}

.pulse {
	border-radius: 50%;

	box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
	animation: pulse 5s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}

	25% {
		box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}


@keyframes pulse2 {
  0% { transform: scale(1); }
  50% { transform: scale(1.5);
  100% { transform: scale(1); }
  }
}
.noscroll {
	overflow: hidden;
}

.vehicleMarker {
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.75);
}

.vehicleMarker:hover {
	cursor: pointer;
	opacity: 1;
	animation: pulse2 1s infinite;
	animation-timing-function: linear;   
}

.vehicleMarkerActive {
	animation: pulse2 1s infinite;
	animation-timing-function: linear;   
}

.vehicleMarkerBearing {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000);
	color: #fff;
/*	transition: transform .8s ease-in;*/
}

.vehicleMarkerBearing svg {
	margin-left: 1rem;
}

.maplibregl-popup-content {
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.5) !important;
	font-size: 1rem;
}

.routedot {
	width: 2em;
	height: 1em;
	overflow: visible;
	stroke: #94969C;
	fill: none;
}

.routedot .dotC {
	fill: #94969C;
}

.delay1 {
	color: #28a745;
}

.delay2 {
	color: #d39e00;
}

.delay3 {
	color: #931000;
}

.advance {
	color: #930076;
}

.ontime {
	color: #28a745;
}

.bg-delay1 {
	background-color: #28a745 !important;
}

.bg-delay2 {
	background-color: #d37c00 !important;
}

.bg-delay3 {
	background-color: #c71600 !important;
}

.bg-advance {
	background-color: #930076 !important;
}

.bg-ontime {
	background-color: #28a745 !important;
}