@font-face {
	font-family: 'ShareTech';
	src: url('ShareTech-Regular.ttf') format('truetype');
}


body {
	background-color: #1b263b;
	color: white;
	margin: 0;
	padding: 0;
	font-family: 'ShareTech';
}

.clear:after {
    content: "";
    display: table;
    clear: both;
}


#settings {
	position: fixed;
	top: 20px;
	bottom: 50px;
	left: 20px;
	right: 20px;
	
	border-radius: 20px;
	background-color: #0d1b2a;
}

#settings .content {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 90%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
    
    border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.1);
}

#settings .content p {
	margin: 10px 0 0 0;
}

#settings .content p:first-child {
	margin-top: 0;
}

#settings .content p a.button {
	color: inherit;
	text-decoration: none;
}

#settings .content p a.button i {
	font-size: 150%;
	vertical-align: middle;
	padding-right: 10px;
}

#settings .content p a.button i.hide {
	display: none;
}

#settings .content p a.speedButton {
	display: inline-block;
	width: 80px;
	margin: 0 10px 10px 0;
	padding: 10px 0;
	float: left;
	box-sizing: border-box;
	
	border-radius: 10px;
	text-align: center;
	color: inherit;
	text-decoration: none;
	background-color: rgba(255, 255, 255, 0.1);
	
	border-right: 4px solid red;
}

#settings .content p a.okButton {
	display: block;
	width: 150px;
	height: 40px;
	line-height: 40px;
	margin: 0 auto;
	
	text-align: center;
	color: inherit;
	border-radius: 10px;
	text-decoration: none;
	background-color: rgba(255, 255, 255, 0.2);
}






#speedBar {
	display: block;
	position: fixed;
	top: 20px;
	bottom: 50px;
	left: 20px;
	right: 20px;
	
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	border-radius: 20px;
	background-color: #0d1b2a;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
}

#speedBar .red {
	display: none;
	
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	
	height: 0;
	box-sizing: border-box;
	
	background-color: #780000;
	border-top: 5px solid #530000;
}

#speedBar .green {
	display: none;
	
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	
	height: 0;
	box-sizing: border-box;
	
	background-color: #2c6e49;
	border-top: 5px solid #18482c;
}


#speed {
	display: none;
	
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 250px;
    height: 150px;
    line-height: 120px;
    
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    font-size: 100px;
    text-align: center;
}

#speed .value {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

#speed .kmh {
	position: absolute;
	display: block;
	
	left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
	
	line-height: normal;
	font-size: 20px;
	text-align: center;
}

#status {
	position: fixed;
	bottom: 0;
	height: 50px;
	line-height: 50px;
	text-align: center;
	width: 100%;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.4);
}