/* Elements */

html,body{
	/* padding: 0px; margin: 0px;  */
	
	
	width: 100%;
	height: 100%;
	
	background-color: #fff;

	font-family: 'GothamLight' !important;

	padding: 0px;
	margin: 0px;
	
	font-size: 18px;

}
}
input,textarea,select,button {
	font-family: 'GothamLight' !important;
    font-family : inherit;
}


#side{
	width: 100%;
	background-color: white;
	box-shadow: 0 0px 2px rgba(0,0,0,.3);
	
	z-index: 100;
	position: absolute; 
	top: 10px;
	right: 10px;
	
	width: 35%;
	max-width: 300px; 
	font-family: monospace;

	display: none;
}


#info{
	width: 30%;
	background-color: white;
	box-shadow: 0 0px 2px rgba(0,0,0,.3);
	
	z-index: 300;
	position: absolute; 
	top: 55px;
	left: 10px;
	
	max-width: 300px; 
	/* font-family: monospace; */
	
	min-height: calc(20% ); 
	overflow-y: scroll;
	overflow-x: hidden;
}


#infoSim{
	
	background-color: white;
	box-shadow: 0 0px 2px rgba(0,0,0,.3);
	
	z-index: 300;
	position: absolute; 
	
	top: 10px;
	right: 66px;
	width: 445px;
	height: 40px;
	line-height: 40px;
	
	font-size: 22px;
	font-style: bold;
		
	text-align: center;
	
	cursor: pointer;
	user-select: none;
}

#infoSim:hover{
	background-color: #ccc;
}




.bearingless{
	margin-bottom: 5px;
	text-align: center;
	padding: 3px;
	color: white;
	font-family: monospace !important; 
}
.bearingless:before{
	content: "✈";
	display: block;
	float : left;
}

.infoTitle{
	padding: 10px;
	background-color: #0c0c0c; 
	color: white;
	text-align: center;
	font-family: 'GothamLight';
}
.infoTitle span{font-size: 11px; letter-spacing: 1px;}

.infoHolder{
	padding: 5px;
}

.infoHolder b{
	margin-top: 15px;
	margin-bottom: 5px;
	display: block;
	background-color: #ccc;
}

#renderer{
	background-color: black;
	
}

@media screen and (max-width: 970px) {
	#side{
		width: 25%;
	}
}



#map{
	height: calc( 100% - 180px );
}

#bottom{
	height: 180px;
	background-color: grey;
	z-index: 200;
	position: relative;
	cursor: pointer;
}



#controls{
	height: 100%;
	width: 50px;
	float: left; 
	background-color: #0c0c0c; 
	color: white; 
	text-align: center;
}




#canvasHolder{
	position: relative;
	width: calc( 100% );
	height: 100%;
	float: left;
}


/*
@media screen and (max-width: 970px) {
	#controls{
		width: 25%;
	}
	#canvasHolder{
		width: 75%;
	}
}
*/




#slider{  /* canvas */
	
	width: 100%;
	height: 100%;
	position: absolute;
}

#sliderIcons{}
#sliderIcons div{
	position: absolute;
	font-size: 12px;
	user-select: none;
}

#sliderIconInfo{
	position: absolute;
	font-size: 16px;
	user-select: none;
	background-color: white;
    box-shadow: 0 0px 2px rgba(0,0,0,.3);
    z-index: 100;
	padding: 3px;
	
	display: none;
	
	pointer-events: none;

	margin-top: -35px;
}

#dragger{
	position: absolute;
	height: calc( 100% + 40px);
	width: 3px;
	background-color: black;
	
	top: 24px;
	left: 40px;
	
	cursor: pointer;
}

#dragger,#sliderIconInfo{
	user-select: none; 
	pointer-events: none;
}


#draggerTime{

    position: absolute;
    top: -40px;
    text-align: center;
    width: 200px;
    left: -96px;
    pointer-events: none;
    font-size: 19px;
    text-shadow: white;
    text-shadow: 0px 0px 10px #ffffffb8;
	
}

#dragger:after{
	
	display: block;
	content: "";
	
	width: 20px;
	height: 20px;

    background-color:#fff;
    border: 3px solid black;    

    border-radius:50%;
	
	position: relative;
	left: -11px;
	
	cursor: help !important;
	
}



.popup-tip-anchor {
	height: 0;
	position: absolute;
	/* The max width of the info window. */
	width: 200px;
}
/* The bubble is anchored above the tip. */
.popup-bubble-anchor {
	position: absolute;
	width: 100%;
	bottom: /* TIP_HEIGHT= */ 8px;
	left: 0;
}


/* The popup bubble itself. */
.popup-bubble-content {
	position: absolute;
	top: -20px;
	left: 0;
	transform: translate(-50%, -100%);
	background-color: rgba(255,255,255,0.75);
	font-family: sans-serif;
	//overflow-y: auto;
	box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.2);	
}


.popupName{background-color: #333; color: white; padding: 2px; text-align: center; }
.popupName i{ color: #ddd; }
.popupName b{ position: relative; top: -2px; left: -4px;  padding-left: 5px; }

.popupInfo{padding: 5px; box-sizing: border-box; color: grey;} 
.popupInfo b{ color: black; }

.popup-bubble-content{ opacity: 0.7; }
.popup-bubble-content:hover{ opacity: 1; }



.transmissionType:hover{background-color: #ccc; cursor: help;}

.transmissionType:hover::before{background-color: #ccc; position: absolute; white-space: nowrap;
top: -20px; left: 50px; text-align: center; font-size: 16px; width: fit-content; }

/* Old */
/* http://forum.pilotaware.com/index.php/topic,535.msg7015.html#msg7015  */
/* $PAWRT,<ICAO>,<Mode-A>,<Mode-C>,<Mode-S>,<ADS-B>,<P3I>,<Flarm-IN> */

.transmissionType.oldA:hover::before{content: "Mode-A"; }
.transmissionType.oldC:hover::before{content: "Mode-C"; }
.transmissionType.oldS:hover::before{content: "Mode-S"; }
.transmissionType.oldB:hover::before{content: "ADS-B";}
.transmissionType.oldP:hover::before{content: "PilotAware";}
.transmissionType.oldF:hover::before{content: "Flarm"; }
.transmissionType.oldU:hover::before{content: "Uplink"; }


/* New */
/* A,C,S,ES,P,F,U */
.transmissionType.newA:hover::before{content: "Mode-A"; }
.transmissionType.newC:hover::before{content: "Mode-C"; }
.transmissionType.newS:hover::before{content: "Mode-S"; }
.transmissionType.newB:hover::before{content: "ADS-B"; }
.transmissionType.newP:hover::before{content: "PilotAware";}
.transmissionType.newF:hover::before{content: "Flarm"; }
.transmissionType.newU:hover::before{content: "Uplink"; }
.transmissionType.newM:hover::before{content: "MLAT"; }



/*








Older PilotAware Software Version Codes http://forum.pilotaware.com/index.php/topic,535.msg7015.html#msg7015
Newer PilotAware Software Version Codes http://forum.pilotaware.com/index.php/topic,1356.msg15578.html#msg15578



NEW                     OLD (not used?)

C (ModeC) x             C <Mode-C>
S (ModeS) x             S <Mode-S>
A (ADS-B) x             B <ADS-B> 
                       A <Mode-A>
P (PilotAware)         P <P3I>
F (FLARM)              F <Flarm-IN>
U (Uplink)  
ES 

*/


.transmissionType{ 
    height: 15px;
    width: 16px;
    font-size: 13px;
    letter-spacing: 0px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
    font-family: monospace;
    overflow: hidden;
}





#gpsStatus{
	font-size: 20px; text-align: center;  width: 160px; height: 30px; background-color: red; color: white; position: absolute; top: -40px; left: calc( 50% - 80px );  pointer-events: none; user-select: none;
	display: none;
	opacity: 0.8;
	
}





