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%;
	}
	
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 */
}

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

h1 {
	margin: 0;
	padding: 0;
	width: 128px;
	height: 128px;
	position: absolute;
	top: -17px;
	left: -3px;
	/* left: 50%;
	margin-left: -60px; */
	background-image: url(../img/logo-jump-in-london.png);
	background-repeat: no-repeat;
	background-size: 120px 120px;
	background-position: center center;
	font-size: 0.001em;
	text-indent: -10000px;
	z-index: 1100;
}

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 {
	background-color: #222222;
	color: #FFC324;
	text-decoration: none;
	text-transform: uppercase;
	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;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
	transition: background-color 0.25s, color: 0.25s;
	-webkit-transition: background-color 0.25s, color: 0.25s;
}

.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: #000000;
	}

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

section#hail_popup {
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 10px;
	z-index: 3;
	border-radius: 5px;
}

.form-wrapper {
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 15px 10px 15px;
	background-color: rgba(34, 34, 34, 0.95);
	z-index: 3;
	border-radius: 5px;
}

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

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

section#hail_popup label span {
	font-weight: normal;
	font-size: 0.7em;
}

section#hail_popup input[type="text"] {
	display: block;
	box-sizing: border-box;
	margin: 5px 0;
	width: 100%;
	background-color: rgba(238, 238, 238, 0.9);
	font-family: "SourceSans3", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 1.5em;
	line-height: 100%;
	color: #222222;
	padding: 12px 10px;
	border: 3px solid #222222;
	border-radius: 8px;
}

section#hail_popup div.results { 
	display: none;
}

section#hail_popup input#destination { 
	padding-left: 40px;
	background-image: url(../img/destination.png);
	background-repeat: no-repeat;
	background-size: 29px 47px;
	background-position: left 6px top 7px;
}

section#hail_popup div.destination {
	position: relative;
	display: none;
	box-sizing: border-box;
	margin: 5px 0;
	width: 100%;
	font-weight: normal;
	font-size: 1.5em;
	line-height: 100%;
	color: #c3c3c3;
	padding: 12px 10px 0px 10px;
	border-radius: 8px;
}

section#hail_popup div.destination span {
	display: inline-block;
	width: 81%;
	line-height: 1.2em;
}

section#hail_popup div.destination a {
	color: #FFC324;
	text-decoration: none;
	font-weight: bold;
	line-height: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	border-radius: 0px 4px 4px 0px;
	padding: 10px;
	height: 1em;
	background: black;
	border-radius: 20px;
}

input::placeholder { 
	color: #888888;
	opacity: 1; 
}

.results {
	margin: -5px 3px 0;
	padding: 0;
	position: relative;
	}

.results ul {
	list-style-type: none;
	background: rgba(215, 215, 215, 0.90);
	margin: 0;
	padding: 0 0 60px 0;
	border-radius: 0 0 6px 6px;
	max-height: 160px;
	overflow-x: hidden;
	overflow-y: auto;
	}

.results li {
	font-weight: normal;
	font-size: 1.5em;
	line-height: 100%;
	color: #222222;
	padding: 12px 10px 12px 40px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background-image: url(../img/s-default.png);
	background-repeat: no-repeat;
	background-size: 23px 23px;
	background-position: left 9px top 11px;
	}
	
.results li.station {
	background-image: url(../img/s-station.png);
	}

.results li a {
	text-decoration: none;
	color: #222222;
}
	
.results-tell {
	display: block;
	background-color: #666666;
	color: #FFC324;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 100%;
	padding: 14px 0 11px;
	text-align: center;
	width: 100%;
	margin: 0;
	border: 0;
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	position: absolute;
	bottom: 0;
	left: 0;
	}

section#hail_popup a.close {
	color: #FFC324;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 2.0em;
	line-height: 100%;
	text-align: center;
	padding: 20px 0;
	display: block;
}

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

#main_map .actions, .form-wrapper {
    max-width: 600px;
	position: absolute;
	left: 50%;
	margin-left: -300px;
}

.form-wrapper { height: 98%; min-height: 98%; }



}

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;
	}
