/*
  Rui Santos
  Complete project details at https://RandomNerdTutorials.com/esp32-mpu-6050-web-server/

  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files.
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/

html {
  font-family: Arial;
  display: inline-block;
  text-align: center;
}
p {
  font-size: 1.2rem;
}
body {
  margin: 0;
}
.topnav {
  overflow: hidden;
  background-color: #003366;
  color: #FFD43B;
  font-size: 1rem;
}
.content {
  padding: 20px;
}
.card {
  background-color: white;
  box-shadow: 2px 2px 12px 1px rgba(140,140,140,.5);
}
.card-title {
  color:#003366;
  font-weight: bold;
}
.cards {
  max-width: 800px;
  margin: 0 auto;
  display: grid; grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.reading {
  font-size: 1.2rem;
}
.cube-content{
  width: 100%;
  background-color: white;
  height: 300px; margin: auto;
  padding-top:2%;
}
#reset, #cmdEmulate{
  border: none;
  color: #FEFCFB;
  background-color: #003366;
  padding: 10px;
  text-align: center;
  display: inline-block;
  font-size: 14px; width: 150px;
  border-radius: 4px;
}
#resetX, #resetY, #resetZ{
  border: none;
  color: #FEFCFB;
  background-color: #003366;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  display: inline-block;
  font-size: 14px;
  width: 20px;
  border-radius: 4px;
}

/* DIV GRAFICO */
.dato_grp {
	position: absolute;
	left: -275px;
	_border: 1px solid green;
	display: none;
}

.graph {
    position: relative;
	left: 10px;
    width: 95%; /*240px;				/* ancho total en pixel es el 100% de la grafica */
    height: 320px;				/* 20px por cada linea o barra */
    _border: 1px solid blue;
    background-color: white; 	/* // lightgrey; */
}
.bar {
    position: absolute;
    _border: 1px solid red;
    _background-color: white;
	left: 0; height: 18px;
}

.barG {
    position: absolute;
    _border: 1px solid white;
    background-color: cyan;
	left: 80px; height: 18px; 
}

.barO {
    position: absolute;
    _border: 1px solid white;
    background-color: magenta;
	left: 80px; height: 18px; 
}

.barR {
    position: absolute;
    _border: 1px solid white;
    background-color: red;
	left: 80px; height: 18px; 
}

.barB {
    position: absolute;
    _border: 1px solid white;
    background-color: lime;
	left: 80px; height: 18px; 
}

.barY {
    position: absolute;
    _border: 1px solid white;
    background-color: orange;
	left: 80px; height: 18px; 
}

.barYw {
    position: absolute;
    _border: 1px solid white;
    background-color: yellow;
	left: 80px; height: 18px; 
}

.barBl {
    position: absolute;
    _border: 1px solid white;
    background-color: rgb(110, 150, 255);
	left: 80px; height: 18px; 
}

.barN {
    position: absolute;
    _border: 1px solid white;
    background-color: LightSlateGray;
	left: 80px; height: 18px; 
}

.barG::after, .barO::after, .barR::after, .barG::after, .barB::after, .barY::after, .barYw::after, .barBl::after,
.barN::after {
	content: "" attr(unidad);
}

// para ocultar publicidad, pero tiene !importantimportant si que no funciona
div[z-index] {
  display: none;
}

