/**
 * Wonderful code from https://gist.github.com/meule/777d9a8a42e2c99a3386?permalink_comment_id=1551770#gistcomment-1551770
 * makes "setLatLng" on a Leaflet market smoothly move its position rather than cause it to jump.
 */
.leaflet-marker-pane > *:not(.radar-base-icon) {
	-webkit-transition: transform .3s linear;
	-moz-transition: transform .3s linear;
	-o-transition: transform .3s linear;
	-ms-transition: transform .3s linear;
	transition: transform .3s linear;
}

:root {
	--cab-icon-fill: #FFEC00;
}
[data-status=PickedUp] { --cab-icon-fill: #BEBEBE; }
[data-colour="1"] { --cab-icon-fill: #0DDE0C; }
[data-colour="2"] { --cab-icon-fill: #00A7FF; }
[data-colour="3"] { --cab-icon-fill: #F550C0; }
[data-colour="4"] { --cab-icon-fill: #FF8A24; }
[data-colour="5"] { --cab-icon-fill: #20CFFF; }
[data-colour="6"] { --cab-icon-fill: #F5434D; }
[data-colour="7"] { --cab-icon-fill: #8C78F1; }
/* Note: AllocatedColour.pm needs to know the maximum number */

html , body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 140%;
	font-weight: normal;
	color: #222222;
	-webkit-text-size-adjust: 100%;
	}

.logo {
	width: 100px;
	height: 100px;
	margin: 0;
	padding: 0;
	background: url(/common/img/jump-logo-sq.svg) no-repeat top left;
	background-size: 100px 100px;
	font-size: 0.01em;
	text-indent: -10000em;
	display: block;
	-webkit-border-radius: 22px;
	-moz-border-radius: 22px;
	border-radius: 22px;
	position: absolute;
	left: 20px;
	top: 15px;
	-webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	z-index: 1100;
	}

button, input, select {
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
}

section#main_map {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
}

section#main_map a , h1 {
	z-index: 500; /* Leaflet puts tiles at 400 */
}

.panel-container {
	display: block;
	width: 320px;
	position: absolute;
	right: 50px;
	top: 50px;
	z-index: 500;
	}

.panel {
	width: 100%;
	border-radius: 10px;
	background-color: rgba(85, 85, 85, 0.85);
	-webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	position: relative;
	display: none;
}

.panel.previous {
	margin-top: 0.5em;
}

.panel:has(li) {
	display: block;
}

.panel h1 {
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.375em;
	line-height: 100%;
	color: #ffffff;
	margin: 0;
	padding: 10px;
	background-color: rgba(85, 85, 85, 0.85);
	border-radius: 10px 10px 0 0;
	}

.panel ul {
	padding: 0;
	margin: 0;
	}

.panel li {
	list-style-type: none;
	padding: 0 10px;
	}

.c-colour { fill: var(--cab-icon-fill); }

.panel li[data-status=Arrived] {
	background-color: var(--cab-icon-fill);
        animation-name: arrived-bg;
        animation-duration: 4s;
        animation-iteration-count: infinite;
}

.panel li[data-status=Arrived] span.pax-name {
        min-width: 152px;
        animation-name: arrived-dest;
        animation-duration: 4s;
        animation-iteration-count: infinite;
        position: relative;
}

.panel li[data-status=Arrived] span.pax-name:after {
        content: 'has arrived';
        animation-name: arrived-after;
        animation-duration: 4s;
        animation-iteration-count: infinite;
        position: absolute;
        left: 0px;
}


.panel li:last-of-type {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
}

@keyframes arrived-bg {
  0% {background-color: var(--cab-icon-fill);}
  33% {background-color: transparent;}
  66% {background-color: transparent;}
  100% {background-color: var(--cab-icon-fill);}
}

@keyframes arrived-min {
  0% {background-color: #ffc324; color: #222222;}
  33% {background-color: #222222; color: #ffc324;}
  66% {background-color: #222222; color: #ffc324;}
  100% {background-color: #ffc324; color: #222222;}
}

@keyframes arrived-after {
   0% {color: #fff;}
  33% {color: transparent;}
  66% {color: transparent;}
  100% {color: #fff;}
}

@keyframes arrived-dest {
   0% {color: transparent;}
  33% {color: #fff;}
  66% {color: #fff;}
  100% {color: transparent;}
}

.more {
	border-bottom: 1px solid rgba(255, 255, 255, 0.20);
	display: block;
	min-height: 44px;
	text-decoration: none;
	padding: 6px 0 6px 52px;
	position: relative;
}

li:not([data-status=PickedUp]) .more {
	background-image: url(/img/more.svg);
	background-repeat: no-repeat;
	background-position: top 20px right 4px;
	background-size: 9px 16px;
}

li[data-status=PickedUp] .more {
	cursor: default;
}

.panel li svg {
	display: inline;
	width: 44px;
	height: 44px;
	position: absolute;
	left: 0;
	}

.reg {
	display: inline-block;
	padding: 2px 3px 3px;
	margin: 0 3px 0 0;
	background-color: #ffffff;
	font-family: "CharlesWright", Helvetica, Arial, sans-serif;
	font-size: 0.9375em;
	line-height: 100%;
	font-weight: normal;
	color: #000000;
	border: 3px solid #333333;
	border-radius: 5px;
	vertical-align: middle;
	}

.panel .reg { margin-left: -2px }

.reg:empty {
	display: none;
}

.pax-name {
	display: inline-block;
	color: #fff;
	font-size: 1.125em;
	font-weight: 600;
	line-height: 120%;
	vertical-align: middle;
	max-width: calc(100% - 25px);
	padding-right: 23px;
	white-space: nowrap;
	overflow: hidden;
	mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 1) 23px);
	box-sizing: border-box;
	}

.pax-name:not(:empty):before { content: 'for '; }
[data-status="Offering"] .pax-name:has(+ .dest:empty) { padding-top: 11px; }
[data-status="Offering"] .pax-name:before { content: 'Hailing for '; }
li:not([data-status="Offering"]) .pax-name { max-width: calc(100% - 90px); }

.waiting {
	display: inline-block;
	width: 20px;
	height: 20px;
	color: #fff;
	font-size: 1.125em;
	font-weight: 600;
	line-height: 120%;
	vertical-align: middle;
	margin-left: -10px;
	}
	
.waiting:before {
	animation: dotty steps(1,end) 1.5s infinite; 
	content: '';
	}

.popup-panel .pax-name:empty {
	display: none;
}

.dest {
	color: #fff;
	font-size: 0.9375em;
	font-weight: 600;
	line-height: 120%;
	vertical-align: middle;
	padding-top: 1px;
	display: block;
	clear: left;
	}
.dest:empty {
	display: none;
}

.not-specified { color: rgba(255, 255, 255, 0.65); }

a.menu {
	top: 20px;
	right: 20px;
	background: orange;
	color: black;
	position: absolute;
	text-decoration: none;
	font-size: 40px;
	padding: 15px;
	border-radius: 10px;
	display: block;
}

.actions {
	box-sizing: border-box;
	width: 100%;
	padding: 0 15px;
	position: absolute;
	bottom: 20px;
	}

a.hailnow, section#hail_popup button, .form-login .btn {
	background-color: #222222;
	color: #FFC324;
	text-decoration: none;
	font-family: 'SourceSans3', Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 3.0em;
	line-height: 100%;
	padding: 20px 0;
	display: block;
	text-align: center;
	width: 100%;
	margin: 0;
	border: 0;
	position: relative;
	border-radius: 50px;
	box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
	transition: background-color 0.5s, color 0.5s;
	cursor: pointer;
}

.hailnow em { display: inline; font-style: normal; }

.accepted a.hailnow { padding: 15px 0 14px; }

a.hailnow span {
	color: #222222;
	background-color: #e7e7e7;
	border: 3px solid black;
	padding: 4px 9px 0;
	margin: 0;
	display: inline-block;
	font-size: 0.875em;
	line-height: 120%;
	border-radius: 8px;
	position: relative;
	top: -2px;
	left: 6px;
}

section#hail_popup button {
	font-size: 2.5em;
	background-color: #222222;
	}

a.hailnow:hover, section#hail_popup button:hover {
	background-color: #000000;
	}

section#hail_popup {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	z-index: 800; /** Above current_hails */
	border-radius: 0;
	background: rgba(51, 51, 51, 0.35);
}

.form-wrapper {
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 20px 15px 15px;
	background-color: rgba(85, 85, 85, 0.95);
	z-index: 3;
	border-radius: 10px 10px 0 0;
	-webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}

.form-wrapper fieldset {
	padding: 0;
	border: 0;
	margin: 0;
}

.form-wrapper .actions {
	position: relative;
	bottom: 0;
	padding: 0 2px;
	margin-top: 20px;
	}

section#hail_popup label {
	display: block;
	color: #FFC324;
	font-weight: 600;
	font-size: 1.5em;
	line-height: 100%;
	padding: 0 0 0 24px;
	margin: 0.75em 0 0.375em;
}

section#hail_popup label em {
	font-weight: normal;
	font-style: normal;
	font-size: 0.7em;
	line-height: 100%;
	display: none;
}

section#hail_popup .destination-container label em { font-size: 0.641666em; }

section#hail_popup label span { display: inline-block; }
section#hail_popup .destination-container label strong { display: none; }

section#hail_popup input {
        position: relative;
}

section#hail_popup input#destination {
	padding-left: 60px;
	background-image: url(/common/img/marker-hail-destination.png);
	background-repeat: no-repeat;
	background-size: 29px 47px;
	background-position: left 20px top 9px;
}

#hail_popup .actions {
	/** lets us make the close button centered but not full width **/
	display: flex;
	flex-direction: column;
	align-items: center;
}
	
/* Login bits */

.form-login {
	width: 400px;
	padding: 140px 0 0;
	margin: 0 0 0 -200px;
	background-color: rgba(85, 85, 85, 0.90);
	box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.35);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	top: 100px;
	left: 50%;
	z-index: 2;
	}
	
.form-login .logo {
	top: 23px;
	left: 50%;
	margin-left: -50px;
	}

.form-login fieldset {
	position: relative;
	padding: 0 15px 30px;
	margin: 0;
	border: 0;
	box-sizing: border-box;
	text-align: center;
	}
	
.form-login label { 
	display: block;
	text-align: left;
	font-weight: 700;
	font-size: 1.25em;
	color: #FFC324;
	margin: 0 0 4px 23px;
	}
	
.form-login .form-item {
	border: 0;
	padding: 5px 0;
	}
	
.login .actions {
	position: relative;
	bottom: 0;
	text-align: center;
	padding: 5px 0;
	clear: left;
	}
	
.form-login .btn {
	font-size: 1.875em;
	padding: 15px 20px;
	}
	
.form-login .btn:hover, .form-login .btn2:hover {
	background-color: #000000;
	color: #FFC324;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	-moz-box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	}
	
.learnmore {
	margin-top: 20px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.20);
	}
	
.learnmore p {
	margin: 0.5em 0;
	font-weight: 700;
	color: #FFC324;
	}
	
/*  Login error message  */

.form-login .message.errors , .form-login .message.support {
	text-align: left;
	}
	
.form-login .errors p , .form-login .support p, .warning p {
	color: #ffffff;
    font-size: 1.25em;
    font-weight: 600;
    margin: 0.5em 0;
    background-color: #ea2626;
    padding: 10px !important;
    border-radius: 10px;
	}

.form-login .message.support p {
    font-size: 1em;
    font-weight: normal;
    background-color: #222;
}

.warning p {
	font-size: 1.25em;
}

.form-login .message.support a {
        text-decoration: none;
        color: #FFC324;
        font-weight: bold;
}

/* Change password */

.change-password {
	width: 400px;
	padding: 20px 0 0;
	margin: 0 0 0 -200px;
	background-color: rgba(85, 85, 85, 0.90);
	box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.35);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	top: 100px;
	left: 50%;
	z-index: 2;
	}

.change-password .logo {
	top: 23px;
	left: 50%;
	margin-left: -50px;
	}

.change-password fieldset {
	position: relative;
	padding: 0 15px 30px;
	margin: 0;
	border: 0;
	box-sizing: border-box;
	text-align: center;
	}

.change-password label { 
	display: block;
	text-align: left;
	font-weight: 700;
	font-size: 1.25em;
	color: #FFC324;
	margin: 0 0 4px 23px;
	}

.change-password .form-item {
	border: 0;
	padding: 5px 0;
	}

.change-password .btn {
	font-size: 1.875em;
	padding: 15px 20px;
	}
	
.change-password .btn:hover, .change-password .btn2:hover {
	background-color: #000000;
	color: #FFC324;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	-moz-box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	box-shadow: 0px 0px 15px 0px rgba(255, 195, 36, 0.8);
	}

.change-password .message.errors , .change-password .message.support {
	text-align: left;
	}

.change-password .errors p , .change-password .support p, .warning p {
	color: #ffffff;
	font-size: 1.25em;
	font-weight: 600;
	margin: 0.5em 0;
	background-color: #ea2626;
	padding: 10px !important;
	border-radius: 10px;
	}

.change-password .message.support p {
	font-size: 1em;
	font-weight: normal;
	background-color: #222;
}

.change-password .message.support a {
	text-decoration: none;
	color: #FFC324;
	font-weight: bold;
}

.change-password h1 {
	color: #FFC324;
	margin: 20px 0px 30px 15px;
}

.change-password .btn {
	background-color: #222222;
	color: #FFC324;
	text-decoration: none;
	font-family: 'SourceSans3', Helvetica, Arial, sans-serif;
	font-weight: bold;
	line-height: 100%;
	padding: 20px 0;
	display: block;
	text-align: center;
	width: 100%;
	margin: 0;
	border: 0;
	position: relative;
	border-radius: 50px;
	box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
	transition: background-color 0.5s, color 0.5s;
	cursor: pointer;
}

.change-password .btn-inline {
	position: relative;
	top: 20px;
	text-decoration: none;
	color: #FFC324;
	font-weight: bold;
	font-size: 1.25em;
}

.change-password .errors {
	padding: 0px 15px 0px 15px;
}

.change-password .actions {
	margin-top: 20px;
}

/*  General form styles  */

.text-input, .text-area, section#hail_popup input[type="text"] {
	width: 100%;
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 1.25em;
	line-height: 120%;
	padding: 15px 20px;
	margin: 0;
	color: #ffffff;
	display: inline-block;
	background-color: rgba(51, 51, 51, 0.75);
	border: 3px solid #222222;
	vertical-align: middle;
	-webkit-border-radius: 36px;
	-moz-border-radius: 36px;
	border-radius: 36px;
	box-sizing: border-box;
	}
	
section#hail_popup input[type="text"] {
	display: block;
	font-size: 1.5em;
	}
	
.text-input::placeholder, .text-area::placeholder, section#hail_popup input[type="text"]::placeholder { 
	color: #FFC324; 
	opacity: 0.6; 
	}
	
.text-input:focus, .text-area:focus, section#hail_popup input[type="text"]:focus { 
	border-color: rgba(255, 195, 36, 0.8); 
	outline: none;
	}
	
/*  Autocomplete input override  */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0px 1000px #3b3b3b inset;
  transition: background-color 5000s ease-in-out 0s;
}
	
.form-item {
	float: left;
	width: 100%;
	margin: 0;
	border-top: 1px solid rgba(35, 55, 103, 0.3);
	padding: 6px 0;
	box-sizing: border-box;
	}
	
/*  Hamburger menu  */

.nav {
	max-width: 360px;
	width: calc(100% - 20px);
	padding: 65px 10px 10px 10px;
	margin: 0;
	background-color: rgba(51, 51, 51, 0.95);
	border-radius: 10px;
	position: absolute;
	top: 32px;
	left: 134px;
	z-index: 501;
	box-sizing: border-box;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
 	display: none;
	}
	
.nav ol {
	padding: 0;
	margin: 0;
	font-size: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
	}
	
.nav li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    list-style: none;
	}
	
.nav li:last-child {
    border-bottom: 0;
	}
	
.nav a {
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
	font-weight: 700;
    font-size: 1.5em;
    line-height: 100%;
    color: #ffc324;
    padding: 18px 10px;
    margin: 0;
    text-decoration: none;
    display: block;
	vertical-align: middle;
	transition: color 0.5s, background-color 0.5s;
	-webkit-transition: color 0.5s, background-color 0.5s;
	}
	
.nav a:hover {
	color: #ffffff;
	background-color: rgba(51, 51, 51, 1.0);
	}

.close_container {
	width: 60px;
	height: 60px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	background-color: transparent;
	border-radius: 50%;
	position: absolute;
	top: 3px;
	left: 6px;
	}
	
.nav a.close_container { padding: 0; }
.nav a.close_container:hover { background-color: #222222; }
	
.close_container .bar {
	position: relative;
	top: 14px;
	transform: rotate(45deg);
	}

.close_container .bar:first-of-type { transform: rotate(-45deg); top: 23px; }
	
.nav-toggle {
	width: 60px;
	height: 41px;
	padding: 19px 0 0;
	margin: 0;
	position: absolute;
	top: 35px;
	left: 140px;
	z-index: 1;
	cursor: pointer;
	background-color: #222222;
	border-radius: 50%;
	-webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.35);
	}
	
.nav-toggle .bar, .close_container .bar {
	display: block;
	width: 30px;
	height: 4px;
	margin: 5px 15px 0;
	border-radius: 2px;
	background-color: #ffc324;
	}
	
.nav-toggle .bar:first-of-type { margin-top: 0; }
.close_container .bar { margin: 5px 14px 0; background-color: #ffc324; }
		
.nav .logo { display: none; }
	
	
.btn {
	background-color: #222222;
	color: #ffffff;
	text-transform: initial;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
	-moz-box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
	box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.5);
	transition: box-shadow 0.5s, background-color 0.5s;
	-webkit-transition: box-shadow 0.5s, background-color 0.5s;
	cursor: pointer;
	}
	
.btn.btn-lg {
	font-size: 1.75em;
	padding: 14px 0 13px;
	width: 100%;
	}
	
.btn.btn-inline, .popup-panel .btn.btn-inline {
	display: inline;
	}

.btn:hover, .btn2:hover {
	background-color: #000000;
	color: #ffffff;
	-webkit-box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.8);
	-moz-box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.8);
	box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.8);
	}

.btn2 {
	display: inline-block;
	padding: 10px 20px 9px;
	color: #FFC324;
	font-size: 1.125em;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	border: 0;
	background-color: rgba(34, 34, 34, 0.75);
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	box-sizing: border-box;
	transition: box-shadow 0.5s, background-color 0.5s;
	-webkit-transition: box-shadow 0.5s, background-color 0.5s;
	cursor: pointer;
	}

/*  Popup styles  */

.popup-container {
    width: 100%;
    height: 100%;
	position: absolute;
    top: 0;
    z-index: 501;
    background: rgba(51, 51, 51, 0.35);
	}
.popup-container:empty {
	display: none;
}
    
.popup-panel {
    max-width: 400px;
    width: 100%;
    background-color: #555555;
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 80px;
    left: 50%;
    margin-left: -200px;
    -webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	}
	
.popup-panel.ongoing-hail {
    top: 280px;
    left: 32px;
    margin-left: 0;
}

.popup-panel .close, .panel .close {
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 4px;
    right: 0;
    cursor: pointer;
	}
	
.popup-panel .close .bar, .panel .close .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 11px 0;
    border-radius: 2px;
    background-color: #FFC324;
	transform: rotate(45deg);
    position: relative;
    top: 9px;
	}

.popup-panel .close .bar:first-of-type, .panel .close .bar:first-of-type {
    transform: rotate(-45deg);
    top: 17px;
	}
	
.panel .close { display: none; width: 42px; height: 42px; }
.panel .close .bar { top: 6px; margin: 5px 8px 0; }
.panel .close .bar:first-of-type { top: 14px }

.popup-panel h2 {
    font-weight: 700;
    font-size: 1.5em;
    line-height: 100%;
    margin: 0;
    padding: 15px 40px 15px 12px;
    background-color: #444444;
	}
	
.popup-panel h3 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.0em;
    margin: 1.0em 0 0.5em;
    padding: 0 15px;
	}
	
.popup-panel p {
    font-weight: 600;
    font-size: 1.125em;
    line-height: 130%;
    padding: 0 15px;
    margin: 0.5em 0;
	}
	
.hail-status {
	margin: 10px 0 0;
	padding: 10px 0 10px 15px;
	}
	
.hail-status svg {
	vertical-align: middle;
	}
	
.hail-status span {
	vertical-align: middle;
	}
	
.hail-status .reg {
	margin-left: 4px;
	}
	
.hail-status .dist {
	font-size: 1.125em;
	font-weight: 600;
	display: inline-block;
	}
	
.hail-status .pax-name {
	padding-left: 6px;
	}
	
.driver-info {
	padding: 0 15px;
	margin: 0 0 15px;
	}
.driver-info:has(span:empty) {
	display: none;
}
	
.driver-info dt, .driver-info dd {
	font-size: 1.125em;
	line-height: 120%;
	font-weight: 700;
	display: inline-block;
	vertical-align: top;
	margin-top: 3px;
	margin-bottom: 3px;
	}
	
.driver-info dt {
	width: 70px;
}

.driver-info dt:not(:empty):after {
	content: ':';
	}
	
.driver-info dd {
	font-weight: 600;
	width: 270px;
	margin-left: 0;
	}

.driver-info .driver-name:has(+ .driver-phone:not(:empty)) a.btn { display: none; }

.driver-info .driver-phone:empty { display: none; }
	
.popup-panel hr {
	height: 1px;
	clear: both;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.20);
	margin: 1.0em 15px;
	background-color: transparent;
	}
	
.popup-panel .actions {
	padding: 15px 0;
	margin: 0 15px;
	width: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.20);
	position: relative;
	top: 0;
	}
	
.popup-panel .btn, #hail_popup .btn {
    padding: 15px 0;
	display: inline-block;
    color: #FFC324;
    font-size: 1.25em;
    line-height: 100%;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	}
	
.popup-panel .actions .btn, #hail_popup .btn { min-width: 180px; margin-bottom: 10px; }

.popup-panel .actions.cancel:has(+ .cancel-confirm:not(:empty)) { display: none }
.popup-panel .actions.cancel-confirm:empty { display: none }
	
.popup-panel .btn.btn-inline {
	font-size: 1.0em;
	padding: 7px 15px;
	margin-left: 20px;
	}
	
.popup-panel .warning p {
	margin-top: 0;
	}

h2#hail_status {
	padding: 9px 20px 5px 40px;
	margin: 0 5px 0 0;
	width: auto;
	font-size: 2.67em;
	line-height: 140%;
	border: 0;
	color: #333333;
	background-color: rgba(255, 195, 36, 0.90);
	border-radius: 5px;
	box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
	position: absolute;
	top: 15px;
    left: 100px;
	z-index: 1099;
	display: none;
}

.accepted h2#hail_status {
	font-size: 2.25em;

}

.accepted h2#hail_status span {
	background-color: #ffffff;
	border: 3px solid black;
	padding: 4px 9px 0;
	margin: 0 0 2px;
	display: inline-block;
	line-height: 120%;
	border-radius: 8px;
}

h2#hail_status.green {
	background-color: rgba(255, 195, 36, 0.90);
	color: #333333;
	display: block;
}

h2#hail_status.red {
	background-color: #F19494;
	color: #951818;
	display: block;
}

h2#hail_status em {
	font-style: normal;
}

@keyframes dotty {
  0%    { content: ''; }
  25%   { content: '.'; }
  50%   { content: '..'; }
  75%   { content: '...'; }
  100%  { content: ''; }
}

h2#hail_status em:after {
	content: '';
	width: 30px;
	display: inline-block;
	animation: dotty steps(1,end) 1.5s infinite;
	overflow: visible;
	}

.destination-container {
	position: relative;
}

.results-container {
	width: calc(100% - 58px);
	z-index: 1001; /* higher than map attribution */
	background: #333333;
	position: absolute;
	top: 98px;
	right: 29px;
	box-sizing: border-box;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
}
.results-container.hidden {
	display: none;
}
.results-container .no-results {
	color: red;
	font-weight: 600;
	font-size: 1.25em;
	padding-top: 1em;
	padding-bottom: 1em;
}
.results-container ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.results-container li {
	padding: 0.5em 1em;
	color: #ffffff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	cursor: pointer;
}
.results-container li.no-results {
	cursor: default;
}
.results-container li:last-of-type { border-bottom: 0; }
.results-container li.hidden {
	display: none;
}
.results-container li span.title {
	font-size: 1.375em;
    line-height: 120%;
	font-weight: 600;
	display: block;
}
.results-container li span.subtitle {
	font-weight: 400;
	font-size: 1.0em;
	display: block;
}
.results-container li:not(.no-results):hover {
	background: #222222;
}
.results-container ul.disabled {
	pointer-events: none;
	cursor: progress;
}
.results-container ul.disabled li {
	opacity: 0.5;
	cursor: progress;
}

.leaflet-cab-marker {
	text-align: center;
	font-size: 16px;
	width: fit-content !important;
	box-sizing: border-box;
}

.leaflet-cab-marker div.annotation {
	position: relative;
}

.leaflet-cab-marker div[data-annotation=south] div.annotation {
	top: 0px; /* no-op */
}

.leaflet-cab-marker div[data-annotation=east] div.annotation {
	top: -54px;
	right: -70px;
}

.leaflet-cab-marker div[data-annotation=west] div.annotation {
        top: -54px;
        left: -70px;
}

.leaflet-cab-marker div[data-annotation=north] div.annotation {
	top: -108px;
}

.leaflet-cab-marker .reg {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	text-wrap: nowrap;
	z-index: 10;
}
.leaflet-cab-marker .icon-pax-name {
	display: inline-block;
	box-sizing: border-box;
	width: 85px;
	background: var(--cab-icon-fill);
	color: black;
	font-family: 'SourceSans3', sans-serif;
	padding: 7px 3px 1px;
	text-wrap: nowrap;
	font-weight: 600;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	border-radius: 8px;
	position: relative;
	top: -8px;
	z-index: 5;
}

section.info {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 501;
        max-width: 420px;
		width: 100%;
        margin: 0;
        border-radius: 10px;
        background: rgba(1,1,1,0.8);
        color: white;
        padding: 20px;
        font-size: 20px;
		box-sizing: border-box;
}

section.info a {
        text-decoration: none;
        color: #FFC324;
        font-weight: bold;
}

@media only screen and (min-width: 768px) {
	#main_map .actions, .form-wrapper {
		max-width: 600px;
		min-height: initial;
		position: absolute;
		left: 50%;
		margin-left: -300px;
		border-radius: 10px;
	}

	.form-wrapper { top: 50px; }
		
	section.info {
		top: 100px;
		left: 50%;
		margin-left: -200px;
	}
	
}

a.btn.disabled {
	opacity: 0.5;
	pointer-events: none;
}
section#hail_popup a.close {
	max-width: fit-content;
	margin: 2em 0.5em 0.5em;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 4px 0px;
	font-size: 1.5em;
}

section#hail_popup a.close_container.close {
	margin: 0;
	box-shadow: none;
	top: 0;
	right: 0;
	z-index: 1;
	display: none;
}

#passenger_details h4 { display: none }

@media only screen and (max-width: 768px) {

	.panel .close { display: inline; }

	.panel-container {
		right: 0;
		top: 0;
		}

	.panel-min .panel ul, .panel-min .panel .close { display: none; }

	.panel-min .panel.previous { display: none; } /* temporarily hiding the previous hails panel */

	.panel-min .panel {
		background-color: transparent;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		}
		
	.panel h1 {
		font-size: 1.5em;
		padding: 15px 12px;
		}

	.panel-min .panel.current h1 {
		width: 146px;
		color: #ffc324;
		background-color: #222222;
		border-radius: 30px;
		-webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
		-moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
		box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
		position: absolute;
		top: 38px;
		right: 10px;
		}

	#main_map .leaflet-control-container .leaflet-bottom.leaflet-left .leaflet-control-zoom { display: none }

	.panel-min .panel.current:has([data-status=Arrived]) h1 {
		animation-name: arrived-min;
		animation-duration: 4s;
		animation-iteration-count: infinite;
	}
	
	.popup-panel.ongoing-hail { top: auto; bottom: 40px; }
	
	section#hail_popup input[type="text"] { font-size: 1.375em; }
	section#hail_popup label { margin: 0.75em 0 0.25em; }
	section#hail_popup a.close_container.close { display: block; left: auto; right: 6px; }
}

@media only screen and (max-width: 500px) {
	body, .leaflet-container, .leaflet-cab-marker { font-size: 18px }
	
	.logo { left: 15px }
	
	.nav-toggle { left: 122px }	
	
	.nav { width: 100%; top: 0; left: 0; }
	
	.change-password { top: 0; }
	.change-password h1 { font-size: 1.5em; line-height: 120%; margin: 0px 0px 20px 10px; }
	.change-password fieldset { padding: 0 10px 30px; }
	
	.panel-min .panel.current h1 { width: auto }
		
	.panel-container { width: 100% }
	
	.panel .close { top: 7px; right: 5px; }
	
	.driver-info dd { width: auto; padding-right: 10px; }
	.popup-panel .btn.btn-inline { margin-left: 10px }
	
	a.hailnow, section#hail_popup button, .form-login .btn { font-size: 2.25em }
	
	section#hail_popup a.close { margin-top: 1.5em }
	.form-wrapper {
		padding: 10px 10px 5px;
		}

	section.info h1 {
		font-size: 1.5em;
		line-height: 115%;
		}
	
	#passenger_details h4 {
		display: block;
		color: #ffc324;
		font-weight: 600;
		font-size: 1.5em;
		line-height: 100%;
		padding: 0 0 0 20px;
		margin: 0.75em 0 0.5em;
		}
		
	section#hail_popup label { padding: 0 0 0 20px; }
			
	section#hail_popup .destination-container label strong { display: inline-block; font-weight: 600; }
		
	section#hail_popup #passenger_details label {
		font-size: 1.375em;
		margin: 0.5em 0 0.25em;
		padding: 0 0 0 20px;
	}
		
	section#hail_popup label::first-letter {text-transform: uppercase }

	section#hail_popup label span { display: none; }
	
	section#hail_popup label em { display: inline }
	section#hail_popup .destination-container label em { display: none; }
	
	section#hail_popup .destination-container label strong span.nopax { display: inline; }
		
	section#hail_popup input[type="text"].hail-phone::placeholder, section#hail_popup input[type="text"].hail-email::placeholder { 
		text-indent: -96px;
		}
	
	.results-container {
		width: calc(100% - 0px);
		top: 88px;
		right: 0px;
		}
		
	.form-login { top: 0; }
	.form-login { padding-top: 130px; }
	
	.nav .logo { display: none; }
	
}

@media only screen and (max-width: 430px) {
	.form-login {
		width: 100%;
		margin: 0;
		left: 0;
		top: 0;
		}

	.change-password {
		width: 100%;
		margin: 0;
		left: 0;
		top: 40px;
		}

	.popup-panel, .popup-panel.ongoing-hail {
		max-width: 420px;
		top: 0;
		bottom: auto;
		left: 0;
		}
}


@media only screen and (max-width: 374px) {
	.leaflet-control-attribution.leaflet-control { display: none; }
	
	.actions { bottom: 10px }
	
	.nav-toggle {
		top: 15px;
		left: 5px;
		}
		
	.close_container { left: auto; right: 6px; }
	.close_container .bar { width: 28px; height: 3px; margin: 6px 17px 0; }
	
	section#hail_popup a.close_container.close { right: -5px; }
		
	.logo { display: none; }
	
	.nav .logo { 
		display: block; 
		width: 50px;
		height: 50px;
		background-size: 50px 50px;
		border-radius: 12px;
		top: 10px;
        left: 10px;
		}
	
	.form-login .logo { display: block; }
	
	.panel-min .panel.current h1 {
		top: 18px;
		right: 5px;
		}
		
	.nav a { padding: 18px 0; }
	
	.actions { padding: 0 5px; }
	
	section.info { padding: 10px; }
		
	a.hailnow, section#hail_popup button, .form-login .btn { font-size: 1.75em }
	
	.form-wrapper { padding: 10px 5px 5px; }
	
	#passenger_details h4, section#hail_popup label, section#hail_popup #passenger_details label { padding: 0 0 0 5px; }
	section#hail_popup input[type="text"] { padding: 15px 12px; }
	section#hail_popup input#destination { padding-left: 45px; padding-right: 10px; background-position: left 10px top 9px; }
	
	.form-login fieldset { padding: 0 5px 20px; }

}


@media only screen and (max-width: 310px) {
	
	body, .leaflet-container, .leaflet-cab-marker { font-size: 16px }
	
	.logo { 
		width: 70px;
		height: 70px;
		background-size: 70px 70px;
		border-radius: 16px;
		top: 10px;
		left: 10px;
		}
		
	.form-login .logo { margin-left: -35px; }
	.form-login { padding-top: 95px; }
	
	.hail-status { padding-left: 8px; }
	.panel li, .panel h1, .driver-info, .popup-panel h2, .popup-panel h3, .popup-panel p { padding-left: 8px; padding-right: 8px; }
	.panel li[data-status=Arrived] span.pax-name { min-width: auto }
	.popup-panel .actions { padding-left: 0px; padding-right: 0px; margin-left: 8px; margin-right: 8px; }
	
	.text-input, .text-area, section#hail_popup input[type="text"] { padding: 15px 10px; }
	
	#passenger_details h4 { display: none; }
	section#hail_popup .destination-container label { font-size: 1.375em; padding-right: 30px; }
	section#hail_popup .destination-container label em { font-size: 0.7em; }
	section#hail_popup .destination-container label strong span.nopax { display: none; }
	section#hail_popup .destination-container label strong::first-letter { text-transform: uppercase; }
	section#hail_popup #passenger_details label:first-of-type span { display: inline; }
	section#hail_popup #passenger_details label:first-of-type::after { content: ':'; }
	
	[data-status="Offering"] .pax-name:before { content: 'for '; }
	.panel li[data-status=Arrived] span.pax-name,  .panel li[data-status=Accepted] span.pax-name { 
		display: block;
		max-width: 100%;
	}
	
	.dest {
		max-width: 100%;
		padding-right: 23px;
		white-space: nowrap;
		overflow: hidden;
		mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 1) 23px);
		box-sizing: border-box;
		}
		
	section#hail_popup input[type="text"].hail-phone::placeholder, section#hail_popup input[type="text"].hail-email::placeholder { 
		text-indent: -80px;
		}
		
	section#hail_popup input[type="text"]::placeholder { color: transparent; }
	section#hail_popup .destination-container label em { display: inline; }

}

/* 250px: iPhone SE2 at 150% */
@media only screen and (max-width: 280px) {
	
	body, .leaflet-container, .leaflet-cab-marker { font-size: 16px }
	

}


@media only screen and (max-width: 215px) {
	
	.nav-toggle {
		width: 50px;
		height: 36px;
		padding: 14px 0 0;
		top: 18px;
	}
	
	.nav-toggle .bar { margin: 5px 10px 0; }
	
	.panel.current h1 { font-size: 1.25em }
	
	.hailnow em { display: none }
		
	section#hail_popup input[type="text"].hail-phone::placeholder, section#hail_popup input[type="text"].hail-email::placeholder { 
		text-indent: -84px;
		}

}


@media only screen and (max-width: 190px) {
	
	.panel.current h1 { font-size: 1.2em }
	
}

/* 250px: iPhone SE2 at 150% */
/* 187.5px: iPhone SE2 at 200% */

/* 273px: Pixel 6 at 150% */
/* 205px: Pixel 6 at 200% */
