@font-face {
	font-family: Bangers;
	src: url(/fonts/Bangers/Bangers-Regular.ttf);
}

@font-face {
	font-family: IndieFlower;
	src: url(/fonts/indie_flower/indieflower.ttf);
}

@font-face {
	font-family: Roboto;
	src: url(/fonts/roboto_condensed/robotocondensed-regular.ttf);
}

@font-face {
	font-family: Roboto;
	src: url(/fonts/roboto_condensed/robotocondensed-bold.ttf);
	font-weight: bold;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: transparent;
	margin: 0;
	padding: 0;
}

html {
    font-family: Roboto, sans-serif;
	font-size: 100%;
}

body {
    font-family: Roboto, sans-serif;
	font-size: 1em;
	text-align: left;
	color: #000;
}

img {
	border: none;
}

/* Syles Logo Chargement ----------------------------------------------------------------- */

div#app {
	position: absolute;
	background: #fff url(/imgs/background.jpg) no-repeat center fixed;
	background-size: cover;
	z-index: 10;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

div#subapp {
	position: absolute;
	background: rgba(255, 255, 255, 0.8);
	z-index: 11;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

div#applogo {
	background: #ffffff;
	border: 2px solid #000000;
	border-radius: .5em;
	width: 350px;
	/* height: 200px; */
}

div#applogo p {
	text-align: center;
	padding: 10px;
}

div#applogo img {
	height: 80px;
}

div#applogo p.apptitle {
    font-family: Bangers, sans-serif;
	font-size: 2em;
	color: #47aae7;
	padding: 0 10px;
}

div#applogo p.appsubtitle {
    font-family: IndieFlower, sans-serif;
	font-size: 1em;
	color: #000000;
	text-align: center;
	padding: 10px;
}

/* Syles Carte ----------------------------------------------------------------- */

div#map {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.mapboxgl-popup {
	max-width: 400px;
}

.mapboxgl-popup-content {
	text-align: left;
}

.popuptitle {
	font-weight: bold;
}


/* Syles Markers carte ----------------------------------------------------- */

.markerVOR {
	display: block;
	background-image: url('/imgs/icone-vor.png');
	background-size: cover;
	width: 32px;
	height: 32px;
	border: none;
	cursor: pointer;
	padding: 0;
}

.markerDME {
	display: block;
	background-image: url('/imgs/icone-dme.png');
	background-size: cover;
	width: 32px;
	height: 32px;
	border: none;
	cursor: pointer;
	padding: 0;
}

.markerVORDME {
	display: block;
	background-image: url('/imgs/icone-vordme.png');
	background-size: cover;
	width: 32px;
	height: 32px;
	border: none;
	cursor: pointer;
	padding: 0;
}

.markerNDB {
	display: block;
	background-image: url('/imgs/icone-ndb.png');
	background-size: cover;
	width: 32px;
	height: 32px;
	border: none;
	cursor: pointer;
	padding: 0;
}

.markerILS {
	display: block;
	background-image: url('/imgs/ILS.png');
	background-size: cover;
	width: 32px;
	height: 32px;
	border: none;
	cursor: pointer;
	padding: 0;
}


/* Syles Menu Configuration de carte ----------------------------------------------------- */

div#mapStyles {
	position: absolute;
	z-index: 5;
	top: .5em;
	left: .5em;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: .25em;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

div#mapStylesBT {
	font-size: 1em;
	padding: .5em;
	cursor: pointer;
}

div#subMapStyles {
	display: none;
	padding: 1em;
}

fieldset {
	width: 100%;
	background-color: #ffffff;
	border: 1px dashed #000000;
	padding: .5em;
}

fieldset span {
	display: inline-block;
	width: 155px;
}

legend {
	background-color: #ffffff;
	border: 1px dashed #000000;
	color: #000000;
	margin: 0 0 0 .5em;
	padding: .25em .5em;
}

label {
	cursor: pointer;
}

input[type="radio"] {
	cursor: pointer;
}
input[type="radio"]:checked {
	cursor: pointer;
}


/* Syles menu configuration avion ----------------------------------------------------- */

div#planeCfg {
	position: absolute;
	z-index: 5;
	top: .5em;
	right: .5em;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: .25em;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

div#planesbt {
	font-size: 1em;
	padding: .5em;
	cursor: pointer;
	text-align: right;
}

div#subplanes {
	display: none;
	padding: 1em;
}

div#subplanes select {
	width: 100%;
	margin: 0 0 .5em 0;
}

.markerAircraft {
	display: block;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* Syles menu Outils ----------------------------------------------------- */

div#tools {
	position: absolute;
	z-index: 5;
	top: 40%;
	right: .5em;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: .25em;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

div#toolsBT {
	font-size: 1em;
	padding: .5em;
	text-align: right;
	cursor: pointer;
}

div#subtools {
	display: none;
	padding: 1em;
}

fieldset#ResultDist {
	display: none;
}

fieldset#ResultAngle {
	display: none;
}

/* Syles Panneau autoPilot ----------------------------------------------------- */

div#AutoPilotScreen {
	position: absolute;
	z-index: 4;
	background: rgba(0,0,0,0.8);
	border: 1px solid #ffffff;
	border-top: 0;
	border-radius: 0 0 .25em .25em;
	top: 0;
	left: calc(50% - 300px);
	width: 600px;
	height: 50px;
	overflow: hidden;
}

div#AutoPilotScreen div.AutoPilotScreenDivs {
	float: left;
	color: #ffffff;
	height: 50px;
}

div#AutoPilotScreen div.AutoPilotScreenDivs p {
    font-family: Roboto, sans-serif;
	font-size: 1.125em;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	padding: .125em .5em 0 0;
}

div#AutoPilotScreen div.AutoPilotScreenDivs p.AutoPilotScreenFirstLine {
	color: #00ff00;
}

div#AutoPilotScreenSpeed {
	width: 175px;
	border-right: 1px solid #ffffff;
}

div#AutoPilotScreenNav {
	width: 125px;
	border-right: 1px solid #ffffff;
}

div#AutoPilotScreenMaster {
	width: 125px;
	border-right: 1px solid #ffffff;
}

div#AutoPilotScreenAlt {
	width: 170px;
	padding: 0 0 0 1em;
}

span#AltMode {
	float: left;
	text-align: left;
}

span#AltSelected {
	float: right;
	text-align: right;
}

div#AutoPilotScreen div.AutoPilotScreenDivs p.AutoPilotScreenAltSecondLine {
	clear: both;
	text-align: left;
	color: #ffffff;
}

span#AutoPilotScreenAltActiveVSouFLC {
	float: left;
	text-align: left;
}

span#GSHold {
	float: right;
	text-align: right;
}

/* Syles Gauge Vitesse ----------------------------------------------------- */

div#Speed {
	position: absolute;
	z-index: 4;
	bottom: 1em;
	left: 120px;
	overflow: hidden;
	pointer-events: none;
}

.SpeedGaugeTxt {
    font-family: Bangers, sans-serif;
	font-size: 1.5em;
	text-align: center;
	margin: .25em 0;
	color: #000000;
}

#SpeedGauge {
	margin: 0 0 .25em 0;
}

/* Syles Gyro ----------------------------------------------------- */

div#Gyro {
	position: absolute;
	z-index: 4;
	top: calc(50% - 225px);
	left: calc(50% - 225px);
	width: 450px;
	height: 450px;
	pointer-events: none;
	background: transparent url('/imgs/gyro.png') center center no-repeat;
	/* overflow: hidden; */
}

div#Gyro img {
	/* transform: rotate(-90deg); */
}

div#GyroVar {
	position: absolute;
	width: 50px;
	top: -20px;
	left: 200px;
	background: #000000;
	border: 1px solid #ffffff;
	color: #ffffff;
    font-family: Bangers, sans-serif;
	font-size: 1.125em;
	padding: .25em 0;
	text-align: center;
}

div#autopilotHdgDir {
	position: absolute;
	width: 50px;
	top: 20px;
	left: 50px;
	background: #000000;
	border: 1px solid #ffffff;
	color: #47aae7;
    font-family: Bangers, sans-serif;
	font-size: 1.125em;
	padding: .25em 0;
	text-align: center;
}

div#navObsVar {
	position: absolute;
	width: 50px;
	top: 20px;
	left: 350px;
	background: #000000;
	border: 1px solid #ffffff;
	color: #ff479e;
    font-family: Bangers, sans-serif;
	font-size: 1.125em;
	padding: .25em 0;
	text-align: center;
}

/* Syles Gauge Altitude ----------------------------------------------------- */

div#Altitude {
	position: absolute;
	z-index: 4;
	/* background: rgba(0,0,0,0.4); */
	/* border-radius: .25em; */
	top: calc(50% - 250px);
	right: 120px;
	width: 120px;
	pointer-events: none;
}

div#AltitudeSelected {
	width: 120px;
	background: #000000;
	border: 1px solid #ffffff;
	border-radius: 0 .5em 0 0;
	color: #47aae7;
    font-family: Bangers, sans-serif;
	font-size: 1.25em;
	padding: .25em;
}

div#AltitudeContainer {
	background: rgba(0,0,0,0.5);
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	width: 120px;
	height: 400px;
	overflow: hidden;
}

div.AltZero {
	background: rgba(255,0,0,0.2);
	width: 100%;
	height: 200px;
	bottom: 0;
	overflow: hidden;
}

div.AltVal {
	background: transparent url(/imgs/fond_alt.png) left top no-repeat;
	width: 100%;
	height: 20px;
    font-family: Bangers, sans-serif;
	font-size: 1.125em;
	color: #ffffff;
	text-align: right;
	padding: .125em .5em 0 0;
	overflow: hidden;
}

div#PressureSelected {
	background: #000000;
	border: 1px solid #ffffff;
	border-radius: 0 0 .5em 0;
	width: 120px;
	color: #47aae7;
    font-family: Bangers, sans-serif;
	font-size: 1.25em;
	padding: .25em;
	text-align: center;
}

div#CurrentAlt {
	position: absolute;
	top: calc(50% - .875em);
	left: 50px;
	background: rgba(0,0,0,0.8);
	border: 1px solid #ffffff;
	border-radius: 40% 0 0 40%;
	width: 120px;
	color: #ffffff;
    font-family: Bangers, sans-serif;
	font-size: 1.25em;
	padding: .25em 1em .25em 1em;
	text-align: right;
}


















div#pannel {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100px;
	height: 100%;
	background: #505050;
	text-align: center;
	overflow: hidden;
}

.pannelBT {
	/* height: 60px; */
	width: 80px;
	border-radius: .5em;
	margin: 1em 0 0 0;
	padding: 1em 1em;
	box-shadow: inset 0 1px 1px #9c9c9c;
	color: #fff;
	/* color: #ff9000; */
	/* color: #0f0; */
	background: 
		radial-gradient(at 0 -15%, rgba(#fff, .07) 70%, rgba(#fff, 0) 71%) 0 0/ 80% 90% no-repeat content-box, 
		linear-gradient(#4e4e4e, #040404) content-box, 
		linear-gradient(#292929, #010101) border-box;
}

.PannelBtTitleHDG {
	color: #fff;
}

.PannelBtValHDG {
	color: #00a8ff;
	font-size: .75em;
}

.PannelBtTitleNAV {
	color: #fff;
}

.PannelBtValNAV {
	color: #00a8ff;
	font-size: .75em;
}

.PannelBtTitleALT {
	color: #fff;
}

.PannelBtValALT {
	color: #00a8ff;
	font-size: .75em;
}

.PannelBtTitleVS {
	color: #fff;
}

.PannelBtValVS {
	color: #00a8ff;
	font-size: .75em;
}









div#planepannel {
	position: absolute;
	z-index: 3;
	top: 11em;
	left: 110px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: .25em;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	cursor: pointer;
}

div#planepannelbt {
	float: left;
	font-size: 1em;
	padding: .5em;
}

div#subplanepannel {
	display: none;
	margin: 0 0 0 2em;
	padding: .5em 1em;
}


div#angleContainer {
	position: absolute;
	z-index: 2;
	top: 18em;
	left: 110px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: .25em;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	cursor: pointer;
}

div#angleContainerBT {
	float: left;
	font-size: 1em;
	padding: .5em;
}

div#angleContainerValue {
	display: none;
	/* display: block; */
	margin: 0 0 0 2em;
	padding: .5em 1em;
}















