* {
	box-sizing: border-box;
}

html{
	height: 100vh;
}

body{
	font-family: verdana;
	font-size: 12px;
	height: 100vh;
	display: flex;
	margin: 0;
	background-color: #000;
	flex-direction: column;
	
	box-sizing: border-box;
}

a{
	text-decoration: none;
}

#modalContainer{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.3 );
	z-index: 9999;
	display: none;
}
#modalContainer.activ{
	display: block;
}

#modalWindow a:first-of-type{
	float: right;
}


#modalWindow{
	position: relative;
	width: 50%;
	max-height: 80%;
	overflow: hidden;
	background-color: white;
	margin: 0 auto;
	top: 25%;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0px 0px 20px 5px rgba( 0, 0, 0, 0.5 );
}


#header{
	font-size: 20px;
	background-color: #eee;
	background-color: hsl(217, 73%, 60%);
	color: #fff;
	padding-left: 8px;
}

#main{
	height: 100%;
	overflow: hidden;
}

#embed {
	width: 600px;
	height: 400px;
}

#footer{
	height: 5%;
	padding: 3px;
	text-align: center;
	background-color: #eee;
	color: #000;
}

#overlayWaypoints {
	top: 10px;
	right: 0;
	text-align: left;
	padding-left: 4px;
	width: 150px;
	border-radius: 4px 0 0 4px;
	padding: 4px;
}

#overlayNavigation{
	top: 10px;
	left: 0;
	text-align: left;
	padding: 0;
	border-radius: 0 4px 4px 0;
}

#overlayExtensions{
	top: 140px;
	left: 0;
	text-align: left;
	padding: 0;
	border-radius: 0 4px 4px 0;
}

#overlayExtensionsUi{
	bottom: 0;
	left: 50%;
	text-align: left;
	padding: 0;
	border-radius: 4px 4px 0 0;
	width: 200px;
	cursor: auto;
	margin-left: -100px;
}

.btn-plane {
	display: inline-block;
	width: 22px;
	height: 22px;
	background-image: url('/img/extension-plane.png');
	background-repeat: no-repeat;
	background-position: center;
}


.toolsContent{
	margin-top: 0;
	padding-bottom: 0;
	padding: 0 5px;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.2s, margin-top 0.2s;
}

.toolsContent.activ{
	margin-top: 5px;
	padding-bottom: 10px;
	max-height: 300px;
}

.ico_expend{
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url( /img/expand_more.png );
}
.ico_expend.activ{
	background-image: url( /img/expand_less.png );
}

.btn{
	cursor: pointer;
	display: inline-block;
	padding: 4px;
	min-width: 50px;
	text-align: center;
	background-color: hsl(217, 0%, 100%);
	color: #000;
	border: 1px solid #eee;
}
.btn.activ{
	background-color: hsl(217, 73%, 60%);
	color: #fff;
	border: 1px solid #fff;
}

.btn:hover{
	background-color: hsl(217, 73%, 60%);
	color: #fff;
	border: 1px solid #fff;
}

#threeContainer{
	background-color: #fff;
	text-align: center;
	margin: auto 0;
	position: relative;
	cursor: move;
}

.floating-btn {
	cursor: pointer;
	display: inline-block;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	display: flex;
}

.floating-btn:first-child {
	border-radius: 0 4px 0 0;
}

.floating-btn > * {
	margin: auto
}

.floating-btn:hover {
	background-color: rgba(0, 0, 0, 0.4);
}
.overlayUI{
	position: absolute;
	color: white;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 2px;
	cursor: auto;
}

#overlayUICoords{
	bottom: 0;
	left: 0;
	text-align: left;
}

#overlayCurtile{
	width: 256px;
	bottom: 0;
	right: 0;
	text-align: right;
	cursor: auto;
}

#params_planes{
	max-height: 300px;
	overflow: scroll;
}

#minimapMarkerCam{
	position: absolute;
	border-radius: 50%;
	width: 4px;
	height: 4px;
	background-color: #ff0000;
}

#minimapMarkerSun{
	position: absolute;
	border-radius: 50%;
	width: 8px;
	height: 8px;
	background-color: #ffff00;
}


h2{
	margin-top: 0;
	margin-bottom: 5px;
}


.waypoint{
	cursor: pointer;
}

.hand{
	cursor: pointer;
}


.heading{
	border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: white;
    border: 10px solid white;
    border-top: 10px solid #4f88e3;
    margin: auto;
}

.extension-switch {
	position: relative;
}

.extension-switch::after {
	content: attr(data-loading_nb);
    display: inline-block;
    position: absolute;
    bottom: 0px;
    right: 0;
    line-height: normal;
	color: #a7a7a7;
	font-size: 9px;
    width: 100%;
}

.extension-switch>img {
	pointer-events: none;
}

.extension-switch.active {
	background-color: rgba(0, 0, 0, 0.6);
}


.ws_user_entry{
	cursor: pointer;
}

.ws_user_entry.current_user{
	color: #41a62a;
	font-weight: bold;
}

#ws_chat{
	margin-top: 5px;
}

#ws_chat_histo{
	background-color: #fff;
	max-height: 50px;
	overflow-y: scroll;
}


#ws_chat_histo div.current_user{
	color: #41a62a;
}

.rs-base {
	background-color: #fff;
}