:root {

	/* Primary Colors */
	--primary-blue: #1E88E5;
	--primary-blue-light: #64B5F6;
	--primary-blue-lighter: #BBDEFB;
	--primary-blue-dark: #1565C0;
	--primary-blue-darker: #0D47A1;

	/* Secondary Colors */
	--secondary-gray: #757575;
	--secondary-gray-light: #BDBDBD;
	--secondary-gray-lighter: #E0E0E0;
	--secondary-gray-dark: #616161;
	--secondary-gray-darker: #424242;

	/* Accent Colors */
	--accent-sky: #03A9F4;
	--accent-orange: #FF9800;
	--accent-green: #4CAF50;
	--danger-red: #F44336;

	/* Background Colors */
	--bg-main: #FFFFFF;
	--bg-card: #FFFFFF;
	--bg-light: #F5F9FC;

	/* Text Colors */
	--text-primary: #212121;
	--text-secondary: #757575;
	--text-muted: #9E9E9E;
	--text-light: #FFFFFF;
	--text-btn: #FFFFFF;

	/* Border Colors */
	--border-color: #E0E0E0;

	/* Highcharts colors */
	--highcharts-altitude: #444444;
	--highcharts-speed: #28a745;
	--highcharts-gspeed: #dc3545;
	--highcharts-gr: #3998f7;
}

body.dark {
	/* Primary Colors - Brightened for Dark Mode */
	--primary-blue: #2196F3;
	--primary-blue-light: #90CAF9;
	--primary-blue-lighter: #BBDEFB;
	--primary-blue-dark: #1976D2;
	--primary-blue-darker: #0D47A1;

	/* Secondary Colors */
	--secondary-gray: #9E9E9E;
	--secondary-gray-light: #757575;
	--secondary-gray-lighter: #616161;
	--secondary-gray-dark: #424242;
	--secondary-gray-darker: #303030;

	/* Accent Colors - Slightly Brightened */
	--accent-sky: #29B6F6;
	--accent-orange: #FFA726;
	--accent-green: #66BB6A;
	--danger-red: #EF5350;

	/* Background Colors */
	--bg-main: #121212;
	--bg-card: #1E1E1E;
	--bg-light: #2C2C2C;

	/* Text Colors */
	--text-primary: #EEEEEE;
	--text-secondary: #BDBDBD;
	--text-muted: #9E9E9E;
	--text-light: #FFFFFF;
	--text-btn: #FFFFFF;

	/* Border Colors */
	--border-color: #424242;

	/* Highcharts colors */
	--highcharts-altitude: #bdc3c7;
	--highcharts-speed: #2ecc71;
	--highcharts-gspeed: #ff6b6b;
	--highcharts-gr: #3498db;

}

body {
	font-family: 'Noto Sans', sans-serif;
	background: var(--bg-light);
	color: var(--secondary-gray-darker);
	font-weight: 300;
	color: var(--text-primary);
}

a {
	color: var(--primary-blue);
	text-decoration: none;
}

a:hover {
	color: var(--primary-blue-dark);
}

p {
	margin-bottom: 0.5rem;
}

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

h1 {
	font-size: 24px;
	color: var(--primary-blue);
	font-weight: 300;
	padding: 0 0 10px;
	margin: 0 0 15px !important;
	border-bottom: var(--primary-blue-light) solid 2px;
}

h2 {
	font-size: 20px;
	color: var(--primary-blue);
	font-weight: 300;
	padding: 0 0 5px;
	margin: 0 0 10px !important;
	border-bottom: var(--primary-blue-light) solid 1px;
}

h3 {
	font-size: 18px;
	color: var(--primary-blue);
	font-weight: 300;
	padding: 0 0 5px;
	margin: 0 0 10px !important;
	border-bottom: var(--primary-blue-light) solid 1px;
}

th {
	font-weight: 400
}

.table-hover tbody tr:hover td {
	opacity: 0.5;
	--bs-table-bg-state: inherit
}

.table-responsive table {
	margin-bottom: 0
}

.navbar {
	background-color: var(--bg-main);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	height: auto !important;
	overflow: initial !important;
}

#topMenu .nav-link {
	color: var(--text-secondary);
	font-weight: 400;
	transition: color 0.2s
}

#topMenu .dropdown-item {
	font-weight: 300;
	color: var(--text-secondary);
}

.dropdown-item:focus,
.dropdown-item:hover {
	background: var(--bg-light);
}

.dropdown-item.disabled {
	color: var(--text-muted) !important;
}

.navbar-brand {
	padding: 0
}

.navbar .active {
	font-weight: 600
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar .dropdown-toggle:after {
	margin: 0 5px 0 7px
}

#topMenu .dropdown-menu {
	border-color: var(--border-color);
	border-top: none;
	background: var(--bg-main);
	border-radius: 0 0 5px 5px;
	color: var(--text-main)
}

.navbar .nav-item i {
	margin-right: 2px
}

#returnAjax {
	position: fixed;
	top: 70px;
	text-align: center;
	z-index: 9999;
}

body.dark .shadow-sm {
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .1);
}

body.dark .shadow {
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .15);
}

body.dark .shadow-lg {
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .2);
}

.card {
	border-radius: 0px;
	border: none;
	color: var(--text-primary);
	background-color: var(--bg-card)
}

.card-left-border {
	border-left: 5px solid var(--primary-blue);
}

.card .card-header {
	font-weight: 200;
	background: transparent;
	margin: 0 10px;
	padding: 5px 10px 2px;
	font-size: 20px;
	font-style: italic;
	border-bottom: var(--accent-sky) solid 1px;
}

.card-reduced .card-header {
	font-size: 16px;
	font-weight: 300;
	padding: 5px 0;
}

.card .card-header i {
	font-size: 14px
}

.card .card-header a {
	text-decoration: none;
	font-weight: 600
}

.card-reduced .card-body {
	padding: 0 24px;
	font-size: 16px;
	font-weight: 300;
}

.card-reduced .actions a {
	text-decoration: none;
}

.card p.card-text {
	margin-bottom: 0.3rem
}

.card .card-footer {
	margin: 0 20px;
	border-top: var(--border-color) solid 1px;
	background-color: var(--bg-card);
}

.card-reduced .card-footer {
	margin: 0 20px;
	padding: 0 0 5px;
	font-size: 16px
}

.card .card-footer a {
	text-decoration: none
}

.card span.label {
	font-weight: 600
}

.card-bordered {
	border: var(--border-color) solid 1px;
}

#profile .card {
	text-align: center;
	padding: 10px 0;
}

#profile .card span.big {
	font-size: 60px;
	line-height: 50px;
	font-weight: 600
}

#profile .card span.medium {
	font-size: 24px
}

.missing {
	color: var(--text-light);
	background: var(--accent-orange);
	font-weight: 600;
	border-radius: 12px;
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 2px 8px 4px;
	font-size: 11px;
}

.achievement {
	border-radius: 5px;
	padding: 15px;
	margin: 5px;
	border: var(--border-color) solid 1px;
	background: var(--bg-card);
}

.achievement i {
	font-size: 30px;
	margin-right: 10px;
}


.floater {
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 15px 10px;
	background: var(--bg-card);
	border-top: var(--border-color) solid 1px;

}

.floater a {
	margin: 0 5px
}

#main.logbook #filters,
#main.indoor #filters {
	display: none
}

.badge-counter {
	font-size: 10px;
	position: relative;
	bottom: 2px
}


.puce {
	margin: 10px 10px 0;
	display: inline-block;
	padding: 2px 10px;
	border-bottom: none;
	border-radius: 5px 5px 0 0;
	background: var(--bg-light);
	border: var(--border-color) solid 1px;
	border-bottom: none
}

.puce a {
	text-decoration: none;
}

#scroll-bottom {
	padding-bottom: 10px
}

table.table-striped tbody tr:nth-of-type(2n+1) td {
	background-color: var(--bg-light);
}

table.table-striped tbody tr:nth-of-type(2n) td {
	background-color: var(--bg-main);
}

table.table-hover tbody tr:hover {
	background-color: var(--primary-blue-lighter);
}

.table> :not(caption)>*>* {
	color: var(--text-primary);
	vertical-align: middle;
}

table#jumps {
	width: 100%;
	border-collapse: collapse;
	margin: 0 auto;
	font-size: 14px
}

table#jumps thead th {
	background-color: var(--primary-blue-dark);
	color: var(--text-light);
	font-weight: 600
}

table#jumps thead th a {
	color: var(--text-light);
	text-decoration: none;
}

table#jumps td {
	padding: 10px 15px;
	text-wrap: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	cursor: pointer;
	border-bottom: 1px solid var(--secondary-gray-lighter)
}

table#jumps tr.newYear td {
	border-top: 2px dashed var(--primary-blue-dark);
}

table#jumps ul {
	margin: 0;
}

table#jumps td.ttrackers,
table#jumps td.vid,
table#jumps td.action,
table#jumps td.tvisibility {
	line-height: 0
}

table#jumps td.vid,
table#jumps td.action,
table#jumps td.tvisibility {
	text-align: center;
}

table#jumps td.tvisibility i,
table#jumps td.ttrackers i {
	opacity: 0.5;
}

table#jumps td.ttrackers i:hover {
	opacity: 1;
}


table#jumps td.vid i {
	font-size: 22px;
}

table#jumps td.ttags {
	padding: 5px 15px !important
}

table#jumps td.tvisibility i,
table#jumps td.action i {
	font-size: 16px;
}

table#jumps .btn-tag {
	margin: 0
}

table td.multiSelector,
table th.multiSelector {
	display: none
}

td.action a {
	text-decoration: none
}

input.jumpNbr {
	width: 80px
}

input.datetime {
	width: 120px
}

input.altitude {
	width: 100px
}

input.time {
	width: 100px
}

th.datetime {
	min-width: 120px
}

th.jumpNbr,
td.jumpNbr {
	min-width: 50px;
}

th.altitude,
td.altitude {
	min-width: 80px;
}

th.speed,
td.speed {
	min-width: 90px;
}

th.time,
td.time {
	min-width: 60px;
}

th.location,
td.location,
th.aircraft,
td.aircraft,
th.maneuver,
td.maneuver {
	min-width: 150px;
}

th.rig,
td.rig {
	min-width: 100px;
}

th.vid,
td.vid,
td.tvisibility {
	width: 40px;
}

th.action,
td.action {
	width: 65px !important;
	text-align: center
}

#footer {
	border-top: 1px solid #555;
	margin-top: 50px;
	background: var(--accent-sky);
	padding: 20px 0 30px;
	color: var(--text-light);
	font-weight: 100;
	line-height: 1.5rem;
	font-size: 1rem;
	font-family: Helvetica;
}

#footer .big {
	font-size: 1.4rem;
	font-weight: 400;
	margin: 0.75rem 0 0.5rem;
}

#footer ul {
	padding-left: 5px;
	list-style: none;
}

#footer ul li {
	padding: 4px 0;
}

#footer a {
	color: var(--text-light);
	text-decoration: none;
}

.video {
	aspect-ratio: 16/9;
	width: 100%;
	height: 100%;
	min-width: 200px;
}

.contact_ph {
	color: var(--text-muted);
	font-style: italic;
}

.manufacturer {
	display: block;
	font-size: 12px;
	font-style: italic
}

.italic {
	font-style: italic
}

.smaller {
	font-size: 12px
}

h2 .small i,
h1 .small i {
	font-size: 16px
}

.localmenu {
	margin: 10px 0 20px;
	border: 1px solid var(--border-color);
	border-radius: 12px;
}

.localmenu h1 {
	border: none;
	color: var(--text-secondary);
	font-size: 2rem;
	margin: 0 !important;
	font-weight: 400
}

.localmenu .nav-item a {
	font-weight: 400
}

.localmenu .nav-item:hover,
.localmenu .nav-item *:hover,
.localmenu .nav-tabs *:hover,
.localmenu .nav-item *:focus,
.localmenu .nav-tabs *:focus {
	border: none;
	background: var(--bg-light)
}

.localmenu .nav-item a {
	color: var(--text-muted);
	border: none;
}

.localmenu .nav-item .nav-link.active {
	border: none;
	border-bottom: 4px solid var(--accent-sky) !important;
	border-radius: 0 !important;
	color: var(--text-primary);
	background: var(--bg-main);
}

.localmenu .selectcontainer,
.localmenu .navlinkcontainer {
	background: var(--bg-light)
}

.nav-item {
	padding: 0 5px
}

.nav-pills .nav-link {
	background-color: var(--primary-blue-lighter);
	color: var(--primary-blue-dark);
	font-weight: 400;
}

.nav-pills .nav-link.active {
	background-color: var(--primary-blue);
}

.alert-sm {
	font-size: 14px;
	padding: 2px 5px;
}

.btn {
	color: var(--text-btn);
}

.btn-primary {
	background-color: var(--primary-blue);
	border-color: var(--primary-blue);
	border-radius: 6px;
	font-weight: 500;
}

.btn-primary:hover {
	background-color: var(--primary-blue-dark);
	border-color: var(--primary-blue-dark);
}

.btn-secondary {
	background-color: var(--secondary-gray);
	border-color: var(--secondary-gray);
	border-radius: 6px;
	font-weight: 500;
}

.btn-secondary:hover {
	background-color: var(--secondary-gray-dark);
	border-color: var(--secondary-gray-dark);
}

.btn-outline {
	color: var(--primary-blue);
	border: 2px solid var(--primary-blue);
	border-radius: 6px;
	font-weight: 500;
}

.btn-outline:hover {
	background-color: var(--primary-blue);
	color: white;
}

.btn-tag,
.btn-tag:hover {
	color: var(--text-secondary);
	border: 2px solid var(--primary-blue-light);
	border-radius: 20px;
	margin: 2px 0;
	padding: 3px 10px
}

.btn-tag:hover {
	opacity: 0.7
}

.btn-tag a {
	color: var(--danger-red)
}

.delUser {
	color: var(--danger-red)
}

.select2-selection__clear {
	color: var(--danger-red);
}

.btn-xs {
	font-size: 12px !important;
	padding: 1px 4px
}

.form-control::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: var(--text-muted);
	opacity: 1;
	/* Firefox */
}

.form-control:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: var(--text-muted);
}

.form-control::-ms-input-placeholder {
	/* Microsoft Edge */
	color: var(--text-muted);
}

.form-text {
	color: var(--text-muted);
}

#modal .modal-content {
	background: var(--bg-card);
}

#modal .modal-header {
	margin: 0 20px;
	padding: 10px 0 5px
}

#modal h5.modal-title {
	font-weight: 200;
	font-size: 18px;
	font-style: italic
}

#modal .modal-header .btn-close {
	font-size: 14px;
	position: relative;
	bottom: 7px;
	left: 7px
}

.lightbox {
	display: flex;
	/* Hidden by default */
	position: fixed;
	/* Overlay covers entire screen */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	/* Semi-transparent black overlay */
	z-index: 9999;
	/* On top of everything */
	justify-content: center;
	/* Center horizontally if using flex */
	align-items: center;
	/* Center vertically if using flex */
}


.lightbox-content {
	position: relative;
	margin: auto;
	/* If not using flex, or you can rely on flex centering */
	width: 90%;
	max-height: 80%;
	background: #000;
	/* optional black background behind video */
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* A simple close (X) button in top-right */
.lightbox-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 30px;
	color: #fff;
	background: transparent;
	border: none;
	cursor: pointer;
}

.lightbox-close:hover {
	color: #ccc;
}

#goup {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	opacity: .5;
}


.fixedTooltip * {
	font-size: 12px;

}

.fixedTooltip .val {
	font-weight: 600;
}

.highcharts-series path {
	stroke-width: 1px !important;
}

.select2-container .select2-selection--single {
	height: 36px;
	padding-top: 3px;
	border: var(--bs-border-width) solid var(--bs-border-color);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 36px
}


.highcharts-reset-zoom-custom {

	font-size: 40px;

}

.highcharts-reset-zoom-custom .highcharts-button-box {
	fill: transparent !important;
	stroke: transparent !important;
}

#visualPane .card-header {
	font-size: 24px;
}

#visualPane .card-header i.bg-tracker,
#main.utils .card-header i.bg-tracker {
	position: relative;
	top: 3px
}

.bg-tracker {
	height: 22px;
	background: url('/images/sprites/trackers.png');
	display: inline-block;
	background-repeat: no-repeat;

}

.bg-LB {
	width: 36px;
	background-position: -69px -5px;
}

.bg-boogie {
	width: 26px;
	background-position: -3px -5px;
}

.bg-flysight {
	width: 28px;
	background-position: -35px -5px;
}

.noUi-connect {

	background: var(--primary-blue-lighter);
}

.select2-selection.is-invalid {
	border-color: var(--bs-form-invalid-border-color) !important;
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='16' height='16' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	padding-right: 4.125rem;
	background-repeat: no-repeat;
	background-position: right 20px center, center right 20px;
	background-size: 18px 18px;
}

#main.pages figure {
	text-align: center
}

#main.pages figure img {
	max-width: 100%;
	height: auto;
}

.modal-dialog {
	position: absolute;
	margin: 0;
	top: 15px
		/* remove auto margin */
}

.breakout {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Responsive design */
/* Responsive desktop only styles */
@media only screen and (min-width: 701px) {
	.nodesktop {
		display: none
	}

	table#jumps * {
		font-size: 14px
	}

	.modal .modal-dialog.large {
		width: 80%;
		max-width: 80%
	}

	.modal .modal-dialog.xlarge {
		width: 95%;
		max-width: 95%
	}

	.floater {
		width: auto;
		left: auto;
		right: 0;
		border-radius: 12px 0 0 0;
		border-left: var(--border-color) solid 1px;
	}

}

/* Responsive design */
/* Responsive mobile only styles */
@media only screen and (max-width: 700px) {
	table#jumps * {
		font-size: 12px
	}

	.nomobile {
		display: none
	}

	.navbar-toggler {
		color: var(--text-primary);
		border: var(--border-color) solid 1px;
		padding: 10px 15px
	}

	#navbarNavDropdown {
		margin-top: 15px
	}

	#navbarNavDropdown .dropdown-menu {
		margin-top: 0;
		padding-top: 0
	}

	.dropdown-menu {
		background: none;
		border: none;
		box-shadow: none;
	}

	.user-menu {
		border-top: 1px solid var(--border-color);
	}

	.user-menu .dropdown-menu {
		display: block;
		position: static;
		width: 100%;
		padding: 0;
	}

	.localmenu .nav-item a {
		padding: 2px 5px;
		margin-bottom: 5px
	}

	.user-menu #navbarDropdownMenuLink {
		display: none
	}

	.user-menu .dropdown-menu .dropdown-item {
		padding-left: 0px;
		font-weight: 300;
		padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
		color: var(--bs-nav-link-color);
	}

	/* Hide dropdown toggle caret */
	.user-menu .dropdown-toggle::after {
		display: none;
	}
}

@media screen and (orientation: landscape) {
	.lightbox-content {
		width: calc(80vh * (16/9));
		/* Let width be whatever is needed for 16:9 ratio */
		height: 80%;
		/* Constrain to 80% of screen height */
		max-width: 90%;
		/* still keep some margin if on a wide desktop */
	}
}

@media only screen and (max-width: 1140px) {
	.expandContainer {
		display: none;
	}
}