
html {
    margin: 0;
    padding: 0;
}

body {
    /* margin: 0; */
    /* padding: 0; */
    /* overflow-y: hidden; */
    font-size: 24px;
    /*     font-family: system-ui; */
    font-family: 'Open Sans', sans-serif;
}
.player-container {
    /* width: 50%; */
    /* margin: 0 auto; */
    height: 100vh;
    width: 100vw;
    padding: 5px;
}
.clearfix {
  clear: both;
  display: block;
}
.header-container {
    height: 87px;
    /* background-color: red; */
}
#gauges {
    display: inline;
}
#speedometer {
	/* width: 40%; */
	/* display: block; */
	/* height: 775px; */
	/* position: relative; */
}
.inline {
	display: flex;
	/* float: left; */
	/* width: 50%; */
	margin: 0 auto;
	flex-direction: row;
}
.light {/* float: left; */width: 80vw;margin: 0 auto;text-align: center;vertical-align: middle;padding: 20px;}
.light .light-header, .light .light-content{
	display: inline-block;
}
.light h3#name {
	font-size: 30px;
}
h3#lightName {
    font-size: 42px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    text-align: center;
    /* background-color: whitesmoke; */
    /* height: 100vh; */
    z-index: 1;
}

.light .light-content {
}

.light .state {
  background-size: 270px 210px;
  float: left;
  height: 170px;
  width: 76px;
}
.light .state.red {
  background-image: url("../images/lights.jpg");
  background-position: -15px -20px;
}
.light .state.orange {
  background-image: url("../images/lights.jpg");
  background-position: -97px -20px;
}
.light .state.green {
  background-image: url("../images/lights.jpg");
  background-position: -179px -20px;
}

.light.next .light-content {
  float: right;
}

#light-state {height: 200px;width: 91px;background-size: 270px 210px;float: left;scale: 0.9;display: inline;background-repeat: no-repeat;/* margin: auto 0; */}
#light-state.red {background-image: url("../images/lights.jpg");background-position: -7px -10px;}
#light-state.orange {background-image: url("../images/lights.jpg");background-position: -90px -10px;}
#light-state.green {background-image: url("../images/lights.jpg");background-position: -173px -10px;}
#light-state.none {background-image: url("../images/no-light.jpg");background-position: -7px 0;background-size: contain;}

.gauges {
	width: 600px;
	height: 400px;
	margin: 0 auto;
	float: left;
}
.gauges .solid {
}
.gauges #container-speed {
}
.gauges #container-rpm {
}
.gauges #speedometer {
	width: 100%;
	margin: 0 auto;
}

.buttons {
  text-align: center;
}

button.normal {height: 80px;width: 150px;font-size: 1rem;}
button.big {
	width: 33%;
	height: 150px;
}
.remainingTime, .currentSpeed {
  font-size: 65px;
  font-weight: bold;
  margin-left: 80px;
  margin-top: 98px;
  display: inline;
}
.currentSpeed {
	/* display: inline; */
}
.good {
    color: #2b5901;
}
.reach-green {
	color: #3c7c03;
}
.reach-orange {
	color: #906703;
}
.reach-red {
	color: #c80303;
}

.light-distance-container {
    font-size: 3rem;
    /* width: 140px; */
    margin-left: 10px;
    padding: 10px;
    display: flow-root;
    flex-direction: row;
}
.gauges-container {
    /* transform: scale(0.8); */
    /* position: absolute; */
    /* background: transparent; */
    /* bottom: 0; */
}
@media only screen and (max-width: 800px) {
	.player-container {
	    width: 50%;
	    margin: 0 auto;
	}
	
}
@media only screen and (max-width: 1204px) {
  .light {
	  width: 75vw;
	  /* margin: 0 auto; */
	  /* padding: 20px; */
	  /* text-align: center; */
	  /* vertical-align: middle; */
	  height: 260px;
	 }
  .gauges-container {
	  /* transform: scale(0.7); */
	  /* margin-left: 200px; */
	 }
}

.speedometer {
    width: 100vw;
    height: 100vh;
}

.highcharts-figure,
.highcharts-data-table table {
  min-width: 310px;
  max-width: 500px;
  margin: 0 auto;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}