* {
	margin: 0;
	padding: 0;
	border: 0;
	outline-width: 0;
	outline: none;
	text-decoration:none;
	-webkit-appearance:none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/InterVariable.woff2') format('woff2');
}

body {
	/*background-color: #f0f2f9;*/
	background-color: #f1f1f1;
	background-color: #f0f2f5;
	line-height: 2em;
}
body, .search-bar, .search-bar input, .history-list li, .history-list a, .flight-details {
	position: relative;
}

body, input, select {
	font-family: "Inter", apple-system, Arial, Verdana, sans-serif;
	font-size: 16px;
}
body, input, select, a {
	color: #031340;
}
input {
	background: transparent;
	font-size: 18px;
}

header {
	z-index: 10;
	padding: 12px 15px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 64px;
}
.loader {
	position:absolute;
	right: 16px;
	top: 19px;
	opacity: 0;
}
.show {
	opacity: 1;
}

header, .search-bar, .history-list li, .flight-timeline, .flight-timeline li:before {
	background-color: #fff;
}

header a, header a svg {
	display: block;
	width: 190px;
	height: 40px;
}
.eham, .cdm {
	fill-rule: nonzero;
}
.eham, .history-list svg, label svg {
	fill: rgb(9,49,160);
}
.cdm, .plane {
	fill: rgb(228,0,0);
}

.delayed {
	position:absolute;
	top: 16px;
	right: 16px;
	padding: 0 7px;
	background-color: rgb(228,0,0);
	border-radius: 8px;
	font-size: 13px;
	line-height: 25px;
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
}

.site-container {
	max-width: 560px;
	margin: 0 auto;
}

.general div {
	display:inline-block;
	width: 50%;
	vertical-align: bottom;
}
.general div:nth-child(2) {
	text-align:right;
}
.note, footer {
	font-size: 12px;
}
.medium-note {
	font-size: 14px;
}
.right-float {
	float:right;
}
.semi {
	font-weight:bold;
}
.times {
	min-height: 32px;
}
.site-container {
	padding: 78px 16px 16px 16px;
}
.flight-details {
	padding: 24px 16px;
}

.flight-timeline, .flight-details ul li, .history-list a, .error-message {
	padding: 16px;
}
.query {
	position:relative;
	padding: 25% 0 400px 0;
	background-image: url('/images/compressed_airport.png');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 512px 768px;
}

h3:not(.flight-details h3) {
	text-align:center;
	margin-bottom: 24px;
	font-size: 24px;
}
.search-bar, .search-bar input, .submit, .search-bar label {
	height: 64px;
}
input.field {
	width: 100%;
	padding: 0 68px 0 58px;
}
.search-bar label, .submit input {
	z-index: 7;
	cursor:pointer;
}
label svg {
	width: 54px;
	height: 64px;
	padding: 18px 13px;
	transform: scale(-1, 1);
}
.submit, .submit input, .submit svg, .search-bar label {
	position: absolute;
}
.submit, submit input {
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
}
.submit {
	background-color: #0931A0;
}
.submit svg {
	fill: #fff;
	width: 36px;
	height: 36px;
	left: 50%;
	top: 50%;
	margin-left: -20px;
	margin-top: -18px;
}
.submit, .submit input {
	width: 64px;
	z-index: 5;
	top: 0;
	right: 0;
}
.submit input {
	opacity: 0;
	z-index: 6;
}

.search-bar, input.field, .flight-details, .flight-timeline, .history-list li, .error-message {
	border-radius: 14px;
}

.search-bar, .flight-details, .flight-timeline {
	margin-bottom: 24px;
}

.history-list li {
	margin-bottom: 14px;
}

.history-list a {
	display:block;
}

.history-list svg {
	pointer-events: none;
	position: absolute;
	right: 16px;
	top: 50%;
	margin-top: -9px;
	height: 18px;
	width: 18px;
}

.flight-details {
	background-color: #0931A0;
	background: linear-gradient(180deg,rgba(9, 49, 160, 1) 0%, rgba(2, 14, 48, 1) 100%);
	color: #cdd5ec;
}
.flight-details h3, .flight-details ul li span:nth-child(2) {
	color: #fff;
	font-size: 32px;
}
.flight-details ul li span:nth-child(2) {
	font-size: 24px;
}

ul {
	list-style-type:none;
}


.flight-details ul {
	margin: 16px -16px -24px -16px;
	border-top: 1px solid #2145a9;
}
.flight-details ul li {
	display:inline-block;
	vertical-align: top;
	border-left: 1px solid #2145a9;
	text-align:center;
	width: 33%;
}
.flight-details ul li:first-child {
	border: 0;
}
.flight-details ul li:last-child {
	width: 34%;
}

.flight-details ul li span {
	display:block;
}


.flight-timeline li {
	position: relative;
	padding: 12px 0 12px 64px;
}
.flight-timeline li:before, .flight-timeline li:after, svg.check {
	position: absolute;
}
.flight-timeline li:before, .flight-timeline li:after {
	display:block;
	content: "";
}
.flight-timeline li:after {
	z-index: 2;
	left: 22px;
	width: 4px;
	background-color: #b5c1e2;
	height: 88px;
	top: -50px;
}
.flight-timeline li:first-child:after {
	display:none;
}

.flight-timeline li:before {
	z-index: 3;
	left: 10px;
	top: 24px;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	border: 4px solid #b5c1e2;
}

/*
.flight-timeline li.set:after, .flight-timeline li.set:before {
	background-color: #6b83c6;
	background-color: #34B233;
}
.flight-timeline li.set:before {
	border-color: #6b83c6;
	border-color: #34B233;
}
*/


.flight-timeline li span {
	display:block;
	line-height: 1.6em;
	font-size: 20px;
}
.flight-timeline li span {
	text-transform:uppercase;
}
.flight-timeline li span:nth-child(2), .history-list span {
	font-weight:bold;

}


footer {
	padding: 48px 0;
	line-height: 1.5em;
	opacity: .3;
	text-align:center;
	max-width: 260px;
	margin: 0 auto;
}

footer div:last-child {
	margin-top: 24px;
}

.error-message {
	position:absolute;
	top: 0;
	width: 100%;
	display:none;
	margin-bottom: 14px;
	background-color: #ff3843;
	color: #fff;
	cursor:pointer;
}


input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }

::placeholder {
	color: currentColor;
	opacity: .5;
}
@media (prefers-color-scheme: dark) {
	body, input, select, a {
		color: #cdd5dc;
	}
	body {
		background-color: #020E30;	
	}
	header, .history-list li, .flight-timeline, .flight-timeline li:before, .search-bar {
		background-color: #051d60;
	}
	.submit {
	}
	.eham, .history-list svg, label svg {
		fill: #fff;
	}
	.cdm, .plane {
		fill: #ff3843;
	}
}
