* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    /* border: 1px solid #888; */
}

body {
    box-sizing: border-box;
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: text;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    border: 1px solid #888;
    /*background: #fdf9e8;*/
    width:100%;
    /*height:100%;*/
    /*margin:20px;*/
    padding:0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    margin: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-right, 0px);
    
    /*border: 4px solid #FF00a3;*/
    text-align: center;
    overflow: visible;
    /*display:table;*/
}

div {
    /* padding: 10px; */
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  /*background-color: #2196F3;*/
  padding: 10px;
}

.grid-item {
  /*background-color: rgba(255, 255, 255, 0.8);*/
  /*border: 1px solid rgba(0, 0, 0, 0.8);*/
  border-radius: 5px;
  padding: 2px;
  margin: 2px;
  /*font-size: 30px;
  text-align: center;*/
}

.grid-item-border {
  /*background-color: rgba(255, 255, 255, 0.8);*/
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  padding: 2px;
  margin: 10px;
  /*font-size: 30px;
  text-align: center;*/
}


.dataDisplay {
  /*display:table-row;*/
  box-sizing: border-box;
  border: 1px solid #888;
  margin:2%;
  padding:2%;
  background: #dee6ff;
  width:96%;
  height:40vh;
  line-height: 120%;
  text-align: center;
  font-family:"Courier New", Courier, monospace;
  font-size:1em;
  overflow: auto;
}

.debugList {  
  /*display:table-row;*/
  box-sizing: border-box;
  border: 1px solid #888;
  margin:2%;
  padding:2%;
  background: #dee6ff;
  width:96%;
  height:40vh;
  overflow-y: scroll;
  
  line-height: 80%;
  text-align: left;
  font-family:"Courier New", Courier, monospace;
  font-size:1em;
}

.panel {
  border: 1px solid #888;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.05);
  margin:2%;
  padding:2%;
  text-align: left;
}

.panel_fuel {
  border: 1px solid #888;
  border-radius: 5px;
  background-color: rgba(255, 255, 0, 0.1);
  margin:2%;
  padding:2%;
  text-justify:inter-word; 
  text-align:justify;
}

.panel_status {
  border: 1px solid #888;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.05);
  margin:2%;
  padding:2%;
  text-justify:inter-word; 
  text-align:justify;
}

.panel_ble {
  border: 1px solid #888;
  border-radius: 5px;
  background-color: #ccd8fd;
  margin:2%;
  padding:2%;
  text-align: left;
}

.chart-container {
  position:relative;
  width:400px; /*80vw;*/
  height:200px; /*40vh;*/
}

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  /*background-color:rgba(0, 0, 0, 0.05); */
}

.IndicatorColorRed {
  color:rgb(0, 0, 0); 
  background:rgb(255, 158, 158); 
  border: 1px solid;
  margin:1%;
  padding:1%;
}

.IndicatorColorYellow {
  color:rgb(0, 0, 0); 
  background:rgb(240, 255, 158); 
  border: 1px solid;
  margin:1%;
  padding:1%;
}

.IndicatorColorGreen {
  color:rgb(0, 0, 0); 
  background:rgb(197, 255, 197); 
  border: 1px solid;
  margin:1%;
  padding:1%;
}


button {
  border: 1;
  border-radius: 5px;
  margin:1px;
  padding:1px;
  color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.05);
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.1s;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.2); 
  /*color: white;*/
}

button:active {
  background-color: #0000007e;
  transform: translate(1px,1px);
}

select {
  border: 1;
  border-radius: 5px;
  margin:2px;
  padding:2px;
  color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 255, 0.05);
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}


h1 {
    font-size:3em;
}

h2 {
  font-size:2em;
}

h3 {
  font-size:1em;
}

h4 {
  font-size:0.75em;
}
